/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --primary-color: #0056b3;
  --text-color: #2c3e50;
  --text-color-light: #6c757d;
  --background-color: #ffffff;
  --soft-blue: #007bff;
  --soft-text: #495057;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a8a9b4; /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #ffffff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--text-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.6;
}

a {
  text-decoration: none !important;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none !important;
  color: #007bff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {
  .header ~ main,
  .header ~ #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown > .dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: #ffffff;
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
}

.section-title p {
  font-size: 1.1rem;
  color: #636e72;
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(rgba(4, 11, 20, 0.5), rgba(4, 11, 20, 1.5));
}

/* Image Carousel Styles */
.hero-carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  animation: fadeInOut 15s infinite;
  filter: brightness(1.1);
  transform: scale(1.1);
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  3% {
    opacity: 1;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.05);
  }
  25%, 100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Faster sequence with shorter delays */
.hero-carousel-image:nth-child(1) {
  opacity: 1;
  animation: firstImageLoad 1s ease-out;
}
.hero-carousel-image:nth-child(2) { animation-delay: 3s; }
.hero-carousel-image:nth-child(3) { animation-delay: 6s; }
.hero-carousel-image:nth-child(4) { animation-delay: 9s; }
.hero-carousel-image:nth-child(5) { animation-delay: 12s; }
.hero-carousel-image:nth-child(6) { animation-delay: 15s; }

@keyframes firstImageLoad {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero Text Styles */
.hero-text-container {
  padding: 20px;
  margin-bottom: 100px;
  animation: fadeIn 1s ease-out;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #eaeaea;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #c7baba, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding-top: 15%;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #d4d4d4;
  margin-top: 1rem;
}

.hero-subtitle span {
  color: var(--soft-blue) !important;
}

.typed {
  color: #007bff9a;
  font-weight: 500;
}


/* Skills Carousel Styles */
.skills-carousel-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 40px 0;
}

.skills-carousel {
  display: flex;
  gap: 30px;
  padding: 0 20px;
  animation: scrollSkills 6s linear infinite;
}

@keyframes scrollSkills {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 15px)); }
}

.skills-carousel-item {
  min-width: 250px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.skills-carousel-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #007bff, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.skills-carousel-item h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem !important;
    
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .skills-carousel-item {
    min-width: 220px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .skills-carousel-item {
    min-width: 200px;
    padding: 15px;
  }
  
  .skill-icon {
    font-size: 1.5rem;
  }
  
  .skills-carousel-item h4 {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 80px 0;
  background: #ffffff;
}

.about .profile-image-wrapper {
  position: relative;
  padding: 15px;
}

.about .profile-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.about .profile-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #007bff;
  border-radius: 15px;
  transform: translate(15px, 15px);
  transition: transform 0.4s ease;
}

.about .profile-image-wrapper:hover .profile-image {
  transform: translate(5px, 5px);
}

.about .profile-image-wrapper:hover::before {
  transform: translate(10px, 10px);
}

.about .content {
  padding: 30px;
}

.about .content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.about .content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
}

.about .content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #636e72;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.about .content p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #007bff;
}

.about .content .highlight {
  color: #2d3436;
  font-weight: 500;
}

.about .contact-btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  background: linear-gradient(45deg, #007bff, #00d2ff);
  border: none;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.about .contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Contact Modal Styles */
.contact-modal .modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-modal .modal-header {
  background: linear-gradient(45deg, #007bff, #00d2ff);
  border-radius: 15px 15px 0 0;
  padding: 20px 30px;
}

.contact-modal .modal-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.3rem;
}

.contact-modal .modal-body {
  padding: 30px;
}

.contact-modal .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-modal .contact-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-modal .contact-item:last-child {
  border-bottom: none;
}

.contact-modal .contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #007bff, #00d2ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.contact-modal .contact-icon i {
  color: #fff;
  font-size: 1.2rem;
}

.contact-modal .contact-info {
  flex: 1;
}

.contact-modal .contact-label {
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 3px;
}

.contact-modal .contact-value {
  color: #636e72;
}

.contact-modal .modal-footer {
  padding: 20px 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-modal .close-btn {
  padding: 8px 25px;
  border-radius: 50px;
  background: #f1f2f6;
  color: #2d3436;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-modal .close-btn:hover {
  background: #e4e5e9;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 35px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills {
  padding: 80px 0;
  background-color: #fff; /* White background */
}

.skills .section-title h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.skills .section-title h3 {
  font-size: 18px;
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 50px;
}

.skills .skills-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.skills .skill-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills .skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skills .skill-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-right: 15px;
}

.skills .skill-item .skill {
  font-size: 18px;
  font-weight: 500;
  color: var(--heading-color);
  text-transform: capitalize;
  display: flex;
  align-items: center;
}

.skills .skill-item .skill span {
  display: inline-block;
  margin-left: 5px;
}

/* Ensure two-column layout without stretching */
@media (min-width: 768px) {
  .skills .skills-content {
    display: flex;
    justify-content: space-between;
  }

  .skills .col-lg-6 {
    width: 48%;
  }
}

/* Stack skills vertically on mobile */
@media (max-width: 767px) {
  .skills .skills-content {
    flex-direction: column;
    align-items: center;
  }

  .skills .col-lg-6 {
    width: 100%;
  }

  .skills .skill-item {
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
  background: #ffffff;
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Service Grid */
.services .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 30px 0;
}

.services .col-lg-4 {
  flex: 0 0 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
  padding: 0;
}

/* Service Items */
.service-item {
  background: #ffffff;
  border-radius: 15px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #007bff, #00d2ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-item:hover::before {
  opacity: 1;
}

/* Icon Styles */
.service-item .icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: rgba(0, 123, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.service-item .icon i {
  font-size: 32px;
  color: #007bff;
  transition: all 0.4s ease;
}

.service-item:hover .icon {
  background: linear-gradient(45deg, #007bff, #00d2ff);
}

.service-item:hover .icon i {
  color: #ffffff;
}

/* Content Styles */
.service-item .content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-item .title {
  font-size: 22px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 20px;
  padding-right: 15px;
}

.service-item .title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-item .title a:hover {
  color: #007bff;
}

.service-item .description {
  font-size: 16px;
  line-height: 1.7;
  color: #636e72;
  margin: 0;
  padding-right: 15px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .services .container {
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  .services .container {
    padding: 0 25px;
  }

  .services .col-lg-4 {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .service-item {
    padding: 30px 25px;
    min-height: 330px;
  }

  .service-item .icon {
    width: 60px;
    height: 60px;
  }

  .service-item .icon i {
    font-size: 28px;
  }

  .service-item .title {
    font-size: 20px;
  }

  .service-item .description {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .services .container {
    padding: 0 20px;
  }
  
  .services .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .service-item {
    padding: 25px 20px;
    min-height: 300px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: #ffffff;
}

/* Section Title */
.testimonials .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
  display: inline-block;
}

.testimonials .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
}

/* Testimonial Items */
.testimonial-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  height: auto;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Quote Icons */
.testimonial-item .quote-icon-left,
.testimonial-item .quote-icon-right {
  font-size: 26px;
  color: #007bff;
  opacity: 0.15;
  transition: all 0.3s ease;
}

.testimonial-item:hover .quote-icon-left,
.testimonial-item:hover .quote-icon-right {
  opacity: 0.3;
}

.testimonial-item .quote-icon-left {
  position: absolute;
  top: 30px;
  left: 30px;
}

.testimonial-item .quote-icon-right {
  position: absolute;
  bottom: 30px;
  right: 30px;
  transform: scale(-1, -1);
}

/* Testimonial Content */
.testimonial-item p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #636e72;
  font-style: italic;
  margin-bottom: 30px;
  flex-grow: 1;
  overflow: visible;
  display: block;
}

/* Profile Section */
.testimonial-item .profile-section {
  margin-top: 30px;
  text-align: center;
  padding-bottom: 20px;
}

.testimonial-item .testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* Swiper Adjustments */
.testimonials .swiper-slide {
  height: auto;
}

.testimonials .swiper-wrapper {
  align-items: stretch;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .testimonial-item {
    padding: 30px;
    margin: 15px;
    min-height: 400px;
  }

  .testimonial-item p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .testimonials .section-title h2 {
    font-size: 2rem;
  }

  .testimonial-item {
    padding: 25px;
    margin: 10px;
    min-height: 380px;
  }

  .testimonial-item .testimonial-img {
    width: 70px;
    height: 70px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid
    color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
.progress-bar-wrap {
  background-color: transparent;
}
.progress-bar {
  height: 2px; /* Thin line appearance */
  background-color: #007bff;
  width: 100%; /* Full width to act like an underline */
}
.skill {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  display: block;
  margin-bottom: 10px;
}
.thin-line {
  height: 2px; /* Adjust thickness of the underline here */
}
.skill-item {
  margin-bottom: 20px;
  position: relative;
}

.skill {
  font-weight: bold;
  font-size: 18px;
  color: #333;
  display: block;
  position: relative;
  padding-bottom: 10px;
}

.skill:after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #007bff; /* Blue underline */
  position: absolute;
  bottom: 0;
  left: 0;
}
.resume-item h4 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #007bff;
}

.resume-item h5 {
  font-size: 1rem;
  color: #6c757d;
}

.resume-item ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 20px;
}

.resume-item ul li {
  margin-bottom: 10px;
}

.resume-item p {
  margin-bottom: 5px;
}

.section-title p {
  margin-bottom: 30px;
}

.underline {
  border-bottom: 2px solid #007bff;
  width: 100%;
  margin-bottom: 15px;
}
.recent-works {
  padding: 60px 0;
  background: #ffffff; /* Changed to solid white */
}

.post-item {
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.post-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.read-more {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #0056b3;
}

.read-more i {
  margin-left: 5px;
}

.post-item h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.post-item p {
  font-size: 1rem;
  color: #777;
  margin-bottom: 20px;
}

.post-item .post-icon i {
  transition: transform 0.3s ease;
}

.post-item .post-icon i:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .post-item h4 {
    font-size: 1.15rem;
  }

  .post-item p {
    font-size: 0.9rem;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.scroll-link {
  text-decoration: none; /* Remove underline from the link */
}
/* Companies Section */
.work-experience {
  padding: 80px 0;
}

/* Update section title styles */
.work-experience .section-title {
  margin-bottom: 40px;
}

.work-experience .section-title h2 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

.work-experience .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
}

/* Adjust company list spacing */
.companies-list {
  margin-top: 20px;
}

.company-column li {
  height: 70px; /* Slightly larger height */
  padding: 15px 25px; /* More horizontal padding */
  margin-bottom: 18px; /* Slightly more space between items */
}

.company-column li .logo-container {
  width: 120px; /* Larger logo container */
  min-width: 120px;
}

.company-column li img {
  height: 45px; /* Slightly larger logos */
  max-width: 120px;
}

.company-column li .company-name {
  font-size: 1.15rem; /* Slightly larger font */
  font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .work-experience .section-title h2 {
    font-size: 2.2rem;
  }
  
  .company-column li {
    height: 60px;
    padding: 12px 20px;
  }
  
  .company-column li .logo-container {
    width: 90px;
    min-width: 90px;
  }
  
  .company-column li img {
    height: 35px;
    max-width: 90px;
  }
  
  .company-column li .company-name {
    font-size: 1.05rem;
  }
}

/* Container */
.work-experience-section {
  padding: 80px 0;
  background: #ffffff;
}

.experience-row {
  margin: 0 -15px;
}

.experience-item {
  padding: 15px;
}

.experience-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience-card:hover::before {
  opacity: 1;
}

.experience-icon {
  margin-bottom: 20px;
}

.experience-icon i {
  font-size: 2rem;
  color: #007bff;
  background: linear-gradient(45deg, #007bff, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.experience-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.experience-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #e0e0e0;
  transition: width 0.3s ease;
}

.experience-description {
  color: #636e72;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.experience-card:hover .experience-icon i {
  transform: scale(1.1);
}

.experience-card:hover .experience-title::after {
  width: 80px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .experience-row {
    margin: 0 -10px;
  }
  
  .experience-item {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .experience-item {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .experience-card {
    padding: 25px;
  }
  
  .experience-icon i {
    font-size: 1.75rem;
  }
  
  .experience-title {
    font-size: 1.1rem;
  }
  
  .experience-description {
    font-size: 0.9rem;
  }
}

/* Section Title Enhancement */
.work-experience-section .section-title {
  margin-bottom: 50px;
  text-align: center;
}

.work-experience-section .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: inline-block;
}

.work-experience-section .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
}

.work-experience-section .section-title p {
  font-size: 1.1rem;
  color: #636e72;
  max-width: 700px;
  margin: 0 auto;
}

/* Recent Works Section Styles */
.recent-works {
  padding: 60px 0;
  background: #ffffff;
}

.recent-works .row {
  display: flex;
  flex-wrap: wrap;
  margin: -12px;
}

.recent-works .col-lg-4 {
  width: calc(33.333% - 24px);
  margin: 12px;
  display: flex;
}

.recent-works .post-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 380px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 16px;
  background: #ffffff;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.recent-works .post-item .post-icon {
  margin-bottom: 1.5rem;
}

.recent-works .post-item .post-icon i {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #007bff, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.recent-works .post-item h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.recent-works .post-item p {
  flex-grow: 1;
  font-size: 1rem;
  color: #777;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.recent-works .post-item .read-more {
  margin-top: auto;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.recent-works .post-item .read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* Hover Effects */
.recent-works .post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.recent-works .post-item:hover .post-icon i {
  transform: scale(1.1);
}

.recent-works .read-more:hover {
  color: #0056b3;
  gap: 12px;
}

.recent-works .read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.recent-works .read-more:hover i {
  transform: translateX(5px);
}

/* Loading Animation */
.recent-works .post-item {
  animation: cardAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger the animation for each card */
.recent-works .col-lg-4:nth-child(1) .post-item { animation-delay: 0.1s; }
.recent-works .col-lg-4:nth-child(2) .post-item { animation-delay: 0.2s; }
.recent-works .col-lg-4:nth-child(3) .post-item { animation-delay: 0.3s; }
.recent-works .col-lg-4:nth-child(4) .post-item { animation-delay: 0.4s; }
.recent-works .col-lg-4:nth-child(5) .post-item { animation-delay: 0.5s; }
.recent-works .col-lg-4:nth-child(6) .post-item { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .recent-works .col-lg-4 {
    width: calc(50% - 24px);
  }
}

@media (max-width: 768px) {
  .recent-works .col-lg-4 {
    width: 100%;
    margin: 12px 0;
  }
  
  .recent-works .post-item {
    min-height: 320px;
    padding: 25px;
  }
  
  .recent-works .post-item h4 {
    font-size: 1.15rem;
  }

  .recent-works .post-item p {
    font-size: 0.9rem;
  }
}

/* Portfolio Section */
.portfolio {
  padding: 80px 0;
  background: #ffffff;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.portfolio-filters li {
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #2d3436;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-filters li:hover {
  color: #007bff;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.portfolio-filters li.filter-active {
  background: linear-gradient(45deg, #007bff, #00d2ff);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

/* Portfolio Grid */
.portfolio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.portfolio-item {
  flex: 0 0 calc(33.333% - 20px);
  margin-bottom: 30px;
}

.portfolio-content {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 300px;
}

.portfolio-img-wrapper {
  width: 100%;
  height: 100%;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, 
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    transparent 100%
  );
  padding: 30px 20px;
  transform: translateY(100px);
  transition: transform 0.4s ease;
}

.portfolio-title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portfolio-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* Hover Effects */
.portfolio-content:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-content:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-content:hover .portfolio-description {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .portfolio-item {
    flex: 0 0 calc(50% - 15px);
  }
  
  .portfolio-content {
    height: 250px;
  }
  
  .portfolio-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-item {
    flex: 0 0 100%;
  }
  
  .portfolio-content {
    height: 220px;
  }
  
  .portfolio-filters li {
    padding: 6px 16px;
    font-size: 0.9rem;
  }
  
  .portfolio-overlay {
    padding: 20px;
  }
}

/* Contact Form Styles */
.php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 15px;
  border-radius: 4px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 4px;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 4px;
}

@keyframes animate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Update these styles for the companies list */
.companies-list {
  margin-top: 30px;
}

.company-column {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-column li {
  display: flex;
  align-items: center;
  padding: 12px 20px; /* Reduced vertical padding */
  margin-bottom: 15px; /* Reduced margin between items */
  background: #ffffffa8;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  color: #2d3436;
  height: 64px; /* Fixed height for all items */
  border: 0.3px solid #00000097;
}

.company-column li:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Logo container to ensure consistent width */
.company-column li .logo-container {
  width: 100px; /* Fixed width for logo area */
  min-width: 100px; /* Ensure minimum width */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.company-column li img {
  height: 40px;
  width: auto;
  max-width: 100px; /* Maximum width for logos */
  object-fit: contain;
}

/* Company name styles */
.company-column li .company-name {
  flex: 1;
  white-space: nowrap; /* Keep name in one line */
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .company-column li {
    font-size: 1rem;
    padding: 10px 15px;
    height: 54px; /* Slightly smaller height on mobile */
  }
  
  .company-column li .logo-container {
    width: 80px;
    min-width: 80px;
    margin-right: 15px;
  }
  
  .company-column li img {
    height: 30px;
    max-width: 80px;
  }
}

/* Training Institutes Section */
.training-institutes {
  padding: 60px 0;
  background: #ffffff;
}

.training-institutes .section-title {
  margin-bottom: 40px;
}

.training-institutes .section-title h2 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

.training-institutes .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d2ff);
}



.institute-card {
  background: #ffffffb8;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #000;
  

  min-height: 150px; /* Reduced height */
  display: flex;
  flex-direction: column;
  justify-content: center;
 
  
  
  
 
  
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;

}

.institute-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.institute-logo {
  margin-bottom: 15px;
}

.institute-logo i {
  font-size: 2rem;
  color: #007bff;
  background: linear-gradient(45deg, #007bff, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.institute-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 5px;
}

.institute-card p {
  font-size: 0.9rem;
  color: #636e72;
  margin: 0;
}

/* Update Swiper settings for better display */
.institutes-carousel .swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.institutes-carousel .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #007bff;
  opacity: 0.5;
}

.institutes-carousel .swiper-pagination-bullet-active {
  opacity: 1;
  background: linear-gradient(90deg, #007bff, #00d2ff);
}

@media (max-width: 768px) {
  .training-institutes .section-title h2 {
    font-size: 2.2rem;
  }
  
  
}

.section-title h2{
  font-size: 1.7rem !important;
  color: rgb(49, 49, 49) !important
}