/* === INDEX-STYLES.CSS - FINAL UNIFIED & CORRECTED VERSION === */

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* KEY FIX: Prevents content from hiding under the sticky header on anchor jumps.
     Set to the max possible header height (header + banner). This works for all pages. */
  scroll-padding-top: 115px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: #38bdf8; }
img { max-width: 100%; height: auto; display: block; }

#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* --- KEY FIX: The new wrapper that holds all sticky elements --- */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* --- Header & Info Banner (They are NO LONGER sticky themselves) --- */
.info-banner {
  background: linear-gradient(to right, #007bff, #2dbadd);
  color: #ffffff;
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #004085;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

header {
  background-color: rgba(17, 28, 51, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-content-scroll {
  display: flex;
  width: fit-content;
  animation: scrollLeftAnimation 20s linear infinite;
}
.banner-content-scroll span {
  white-space: nowrap;
  padding: 0 15px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.banner-content-scroll span i { margin-right: 8px; }
.banner-separator { padding: 0 5px !important; opacity: 0.7; }
.banner-spacer { padding: 0 40px !important; }

@keyframes scrollLeftAnimation {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Navbar Styles */
.navbar {
  max-width: 1320px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 2rem;
}
.logo a { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 38px; width: auto; border-radius: 4px; }
.logo-text { font-size: 1.3rem; font-weight: bold; color: #38bdf8; margin-left: 8px; }

header .nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
header .nav-links li a:not(.nav-dropdown-toggle) {
  font-weight: 500;
  color: #cbd5e1; /* Text color suitable for the blurred background */
  padding: 0.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}
header .nav-links li a:not(.nav-dropdown-toggle)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #38bdf8;
  transition: width 0.4s cubic-bezier(0.25,0.8,0.25,1);
  transform-origin: left;
}
header .nav-links li a:not(.nav-dropdown-toggle):hover,
header .nav-links li a.active {
  color: #38bdf8; /* Highlight color for hover/active */
}
header .nav-links li a:not(.nav-dropdown-toggle):hover {
  transform: translateY(-2px); /* Slight lift on hover */
}
header .nav-links li a:not(.nav-dropdown-toggle):hover::after,
header .nav-links li a.active::after {
  width: 100%; /* Underline effect */
}
/* Nav Dropdown Styles */
.nav-item-dropdown {
  position: relative; /* For positioning the dropdown menu */
}
.nav-dropdown-toggle {
  font-weight: 500;
  color: #cbd5e1;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.nav-dropdown-toggle:hover,
.nav-item-dropdown:hover .nav-dropdown-toggle, /* Handles opening on parent LI hover */
.nav-dropdown-toggle.open { /* Handles opening via JS click (for touch/accessibility) */
  color: #38bdf8;
}
.nav-dropdown-toggle .fa-caret-down {
  transition: transform 0.3s ease; /* Smooth caret rotation */
}
.nav-dropdown-toggle.open .fa-caret-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%; /* Position below the toggle */
  left: 0;
  background-color: rgba(30, 41, 59, 0.9); /* Slightly more opaque dropdown background with blur */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 230px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
  border-radius: 0 0 8px 8px; /* Rounded bottom corners */
  padding: 0.5rem 0;
  list-style: none;
  z-index: 1001; /* Above other header content */
  opacity: 0; /* For fade-in transition */
  transform: translateY(10px); /* For slide-in transition */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s linear;
  visibility: hidden; /* Ensures menu is not interactive when invisible */
  max-height: 60vh; /* Max height before scrolling starts */
  overflow-y: auto; /* Enable vertical scrolling if content exceeds max-height */

  /* Visually hide scrollbar but keep functionality */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}
.dropdown-menu::-webkit-scrollbar {
  display: none; /* Webkit browsers (Chrome, Safari, Edge Chromium) */
}

/* Show dropdown on hover of parent LI or when .open class is present (JS click) */
.nav-item-dropdown:hover .dropdown-menu,
.dropdown-menu.open {
  display: block; /* Make it visible */
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s; /* Apply transition immediately */
}
.dropdown-menu li a.dropdown-item {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #e2e8f0; /* Lighter text for dropdown items for contrast */
  font-size: 0.95rem;
  white-space: nowrap; /* Prevent text wrapping */
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.dropdown-menu li a.dropdown-item:hover {
  background-color: #05354b; /* Bright hover background */
  color: #0f172a;           /* Dark text on hover for strong contrast */
  padding-left: 1.5rem;     /* Indent on hover */
}
.dropdown-menu .dropdown-divider {
  height: 1px;
  margin: 0.5rem 0;
  overflow: hidden;
  background-color: #4a5568; /* Adjusted divider color for new dropdown bg */
  border: 0;
}
header .hamburger {
  display: none; /* Hidden on desktop */
  font-size: 1.8rem;
  cursor: pointer;
  color: #f1f5f9; /* Hamburger icon color */
}


/* ========== HERO BANNER & CONTENT STYLES ========== */
.home-banner {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  height: 450px;
}
.hero-slider-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.7s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.hero-slider-background .slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.home-banner .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(30, 41, 59, 0.6);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 4;
}
.home-banner .slider-nav:hover { background-color: rgba(51, 65, 85, 0.8); }
.home-banner .slider-nav.prev { left: 20px; }
.home-banner .slider-nav.next { right: 20px; }
.hero-content-section {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 80px 5%;
}
.hero-content-section .home-text { max-width: 1100px; margin: 0 auto; }
.hero-content-section .tagline { color: #94a3b8; font-weight: 500; }
.hero-content-section h1 { color: #fff; font-size: 2.8rem; margin-top: 10px; margin-bottom: 20px; }
.hero-content-section .description { font-size: 1.1rem; line-height: 1.7; max-width: 800px; }
.hero-content-section .cta-btn { margin-top: 30px; margin-bottom: 50px; }
.hero-content-section .hero-metrics { display: flex; gap: 40px; padding-top: 30px; border-top: 1px solid #334155; }
.hero-content-section .metric h3 { color: #fff; }

/* --- General Content Section Styling --- */
.content-section {
  padding: 80px 15px;
  position: relative;
  z-index: 2; /* Above #tsparticles */
  overflow: hidden;
}
/* Specific section backgrounds on homepage */
.insights-section { background-color: rgba(17, 28, 51, 0.92); }
#courses { background-color: rgba(12, 19, 35, 0.95); }
.feedback-section {
    overflow: hidden;
    background-color: rgba(12, 19, 35, 0.95);
    padding: 80px 0;
}
#partners { background-color: #0f172a; }
#projects { background-color: rgba(17, 28, 51, 0.92); }
#advantage { background-color: #0f172a; }
#career-path { background-color: rgba(17, 28, 51, 0.92); }
#upcoming-batches { background-color: #0f172a; }
#certificate-showcase { background-color: #0f172a; }


/* Content sections on separate About/Contact pages */
/* REMOVED: All problematic margin-top/padding-top rules are gone from here. */
#about-page-content, #contact-page-content {
    background-color: #0f172a;
}

.section-container { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; padding: 0 15px; }
.section-title { font-size: 2.2rem; color: #f1f5f9; margin-bottom: 0.75rem; text-align: center; font-weight: 700; }
.section-subtitle { font-size: 1.05rem; color: #94a3b8; text-align: center; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Insights Section Styles */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.insight-item { background-color: #1e293b; padding: 1.5rem; border-radius: 10px; text-align: center; box-shadow: 0 6px 15px rgba(0,0,0,0.35); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.insight-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3); }
.insight-icon { font-size: 2.5rem; color: #38bdf8; margin-bottom: 1rem; display: inline-block; }
.insight-number { font-size: 2rem; color: #f1f5f9; font-weight: 700; margin-bottom: 0.5rem; }
.insight-label { font-size: 0.95rem; color: #cbd5e1; }

/* Courses (Trainings) Section Styles */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.course-card-link { border-radius: 12px; display: block; }
.course-card { background-color: #ffffff; border-radius: 12px; box-shadow: 0 8px 16px rgba(0,0,0,0.1); color: #0f172a; display: flex; flex-direction: column; height: 100%; position: relative; z-index: 1; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid transparent; }
.course-card-link:hover .course-card { transform: translateY(-10px) scale(1.02); box-shadow: 0 15px 35px rgba(0,0,0,0.2), 0 0 0 4px #38bdf8; border-color: #38bdf8; }
.course-card-image-container { width: 100%; height: 180px; overflow: hidden; }
.course-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.course-card-link:hover .course-card-image { transform: scale(1.1) rotate(1deg); }
.course-card-content { padding: 1.25rem; flex-grow: 1; display: flex; flex-direction: column; }
.course-card-category { color: #555; font-weight: 600; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.4rem; }
.course-card-title { color: #1e293b; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4; flex-grow: 1; }
.course-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #475569; margin-top: auto; padding-top: 0.6rem; border-top: 1px solid #e2e8f0; }
.course-card-meta .meta-item { display: flex; align-items: center; gap: 0.3rem; }
.course-card-meta .meta-item i { color: #38bdf8; font-size: 0.85rem; }

/* Hiring Partners Logo Scroller */
.logo-scroller { max-width: 1000px; margin: 2rem auto 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent); mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent); }
.scroller-inner { display: flex; gap: 3rem; width: fit-content; animation: scrollLogos 30s linear infinite; }
@keyframes scrollLogos { to { transform: translateX(calc(-100% / 2)); } }
.scroller-inner img { height: 50px; width: auto; max-width: 150px; filter: brightness(0) invert(1) grayscale(100%) opacity(60%); transition: filter 0.3s ease, transform 0.3s ease; }
.logo-scroller:hover .scroller-inner { animation-play-state: paused; }
.scroller-inner img:hover { filter: brightness(0) invert(1) grayscale(0%) opacity(100%); transform: scale(1.1); }

/* Advantage Tabbed Showcase */
.advantage-tabs-container { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-top: 3rem; max-width: 1100px; margin-left: auto; margin-right: auto; }
.advantage-tab-list { display: flex; flex-direction: column; gap: 0.5rem; }
.advantage-tab-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 8px; border: 1px solid transparent; background-color: transparent; color: #8892b0; font-size: 1rem; font-weight: 500; cursor: pointer; text-align: left; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.advantage-tab-item i { font-size: 1.2rem; width: 25px; }
.advantage-tab-item:hover { background-color: #112240; color: #ccd6f6; }
.advantage-tab-item.active { background-color: #112240; color: #38bdf8; border-color: #233554; }
.advantage-content-panes { position: relative; min-height: 300px; background-color: #112240; border-radius: 12px; border: 1px solid #233554; padding: 2.5rem; }
.advantage-content-pane { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s 0.5s linear; text-align: center; }
.advantage-content-pane.active { opacity: 1; visibility: visible; transition-delay: 0s; }
.pane-icon { font-size: 2.5rem; color: #38bdf8; margin-bottom: 1.5rem; }
.pane-title { font-size: 1.5rem; color: #ccd6f6; margin-bottom: 1rem; }
.pane-description { font-size: 1rem; color: #8892b0; line-height: 1.7; max-width: 500px; margin: 0 auto; }

/*
=================================================
CAREER PATH TIMELINE STYLES (MODERN & ANIMATED)
=================================================
*/

.career-timeline {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
}

/* The central vertical line */
.career-timeline::after {
  content: '';
  position: absolute;
  width: 2px; /* Thinner line for a sleeker look */
  background-color: #233554; /* Dark, subtle line color */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  z-index: 1; /* Places the line on a lower layer */
}

/* Container for each timeline item */
.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The animated glowing point on the timeline */
.timeline-step-icon {
  position: absolute;
  width: 20px; /* Smaller base size */
  height: 20px;
  right: -10px; /* Adjusted for new size */
  background-color: #38bdf8; /* The solid inner dot color */
  border: 3px solid #38bdf8; /* Outer ring color */
  top: 30px;
  border-radius: 50%;
  z-index: 2; /* Sits on TOP of the line */
  font-size: 0; /* Hides the old number text */
  
  /* The glowing pulse animation */
  animation: pulse-glow 2s infinite ease-out;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
}

/* Keyframes for the glowing pulse animation */
@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

/* Place containers to the left and right */
.left-container { left: 0; }
.right-container { left: 50%; }

/* Pointing arrows for the text boxes */
.left-container-arrow, .right-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 35px; /* Aligned with the new icon position */
  border-style: solid;
}
.left-container-arrow {
  right: -10px;
  border-width: 10px 0 10px 10px;
  /* Match the text box's background */
  border-color: transparent transparent transparent #112240;
}
.right-container-arrow {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent #112240 transparent transparent;
}

/* Fix the circle position for right-sided containers */
.right-container .timeline-step-icon {
  left: -10px;
}

/* The modern text box style */
.timeline-text-box {
  padding: 25px 30px;
  /* Subtle gradient for depth */
  background: linear-gradient(145deg, #112240, #0f172a); 
  position: relative;
  border-radius: 8px;
  border: 1px solid #233554; /* Subtle border */
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-text-box:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.timeline-text-box h3 {
  color: #ccd6f6;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.timeline-text-box p {
  color: #8892b0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Media queries - Responsive timeline */
@media screen and (max-width: 768px) {
  .career-timeline::after {
    left: 10px; /* Aligned with new icon size */
  }
  .timeline-container {
    width: 100%;
    padding-left: 45px; /* Adjusted padding */
    padding-right: 15px;
  }
  .right-container {
    left: 0%;
  }
  .left-container .timeline-step-icon, 
  .right-container .timeline-step-icon {
    left: 0;
  }
  .left-container-arrow, .right-container-arrow {
    border-width: 10px 10px 10px 0;
    border-color: transparent #112240 transparent transparent;
    left: -10px;
  }
}
/* Feedback Section Styles */
.feedback-grid { display: flex; gap: 20px; animation: scrollFeedback 100s linear infinite; width: fit-content; padding: 20px 0; }
.feedback-grid:hover { animation-play-state: paused; }
@keyframes scrollFeedback { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% - 20px)); } }
.feedback-card { flex: 0 0 350px; background: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.feedback-card:hover { transform: translateY(-5px); }
.feedback-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; }
.feedback-quote { font-size: 1rem; line-height: 1.6; color: #4a5568; margin-bottom: 15px; font-style: italic; }
.feedback-name { font-size: 1.1rem; color: #2d3748; margin-bottom: 5px; font-weight: 600; }
.feedback-course { font-size: 0.9rem; color: #718096; }

/* Certificate Showcase Section */
.certificate-container { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 40px 0; text-align: center; }
.certificate-text-content { max-width: 800px; }
.certificate-text-content ul { list-style: none; padding: 0; margin-top: 20px; display: inline-block; text-align: left; }
.certificate-text-content li { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #e2e8f0; }
.certificate-text-content li i { color: #4ade80; }
.certificate-image-wrapper { width: 100%; max-width: 800px; display: flex; justify-content: center; align-items: center; }
.certificate-image-wrapper img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }


/* --- Footer Styles --- */
.site-footer {
  background: transparent;
  color: #cbd5e1;
  padding: 30px 15px 15px;
  border-top: 3px solid #38bdf8;
  position: relative;
  z-index: 2;
}
.footer-container { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; padding-bottom: 1.5rem; }
.footer-logo-area .footer-logo-img { height: 45px; width: auto; border-radius: 4px; display: inline-block; vertical-align: middle; margin-right: 8px; margin-bottom: 0; }
.footer-logo-area .footer-logo-text { font-size: 1.4rem; font-weight: bold; color: #38bdf8; display: inline-block; vertical-align: middle; margin-bottom: 0; }
.footer-logo-area .footer-tagline { font-size: 0.85rem; color: #94a3b8; display: block; margin-top: 8px; }
.footer-links h4, .footer-social h4, .footer-address-area h4 { font-size: 1.1rem; color: #f1f5f9; margin-bottom: 0.8rem; position: relative; padding-bottom: 0.4rem; }
.footer-links h4::after, .footer-social h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 35px; height: 2px; background-color: #38bdf8; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-links ul li a { color: #cbd5e1; font-size: 0.9rem; transition: color 0.3s ease, padding-left 0.3s ease, transform 0.3s ease; display: inline-block; }
.footer-links ul li a:hover { color: #38bdf8; padding-left: 6px; transform: translateX(2px); }
.footer-links-container { display: flex; gap: 30px; }
.footer-links-row { list-style: none; padding: 0; margin: 0; }
.footer-links-row li { margin-bottom: 10px; }
.footer-links-row li:last-child { margin-bottom: 0; }
.footer-address-area { flex: 1; min-width: 250px; }
 .footer-address-area h4 {
    justify-content: center; 
  }
.footer-address-area p { color: #94a3b8; line-height: 1.6; margin-bottom: 15px; }
.footer-phones { display: flex; flex-direction: column; gap: 8px; }
.footer-phones a { color: #94a3b8; display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; }
.footer-phones a:hover { color: #4ade80; }
.social-icons { display: flex; gap: 0.8rem; }
.social-icons a { color: #cbd5e1; font-size: 1.2rem; width: 36px; height: 36px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid #334155; border-radius: 50%; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.social-icons a:hover { color: #0f172a; background-color: #38bdf8; border-color: #38bdf8; transform: translateY(-3px) scale(1.1); }
.footer-bottom { text-align: center; padding-top: 1rem; border-top: 1px solid #334155; font-size: 0.85rem; color: #94a3b8; }


/* --- Floating Buttons & Modals --- */
.whatsapp-float { position: fixed; width: 50px; height: 50px; bottom: 20px; right: 20px; background-color: #25D366; color: #FFF; border-radius: 50px; text-align: center; font-size: 24px; box-shadow: 2px 2px 6px rgba(0,0,0,0.3); z-index: 1050; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background-color 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); background-color: #128C7E; }
/* ... (Modal styles can go here if needed) ... */


/* ========================================
   MERGED STYLES FOR ABOUT.HTML
   ======================================== */
#about-page-content, #journey, #drives-us, #presence, #about-cta { background-color: #0f172a; }
.about-content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.about-item { background-color: #1e293b; padding: 1.25rem; border-radius: 8px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); position: relative; z-index: 1; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; }
.about-item:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 10px 25px rgba(0,0,0,0.4); background-color: #28364d; }
.about-icon { font-size: 2.2rem; color: #38bdf8; margin-bottom: 1rem; transition: transform 0.4s ease;}
.about-item:hover .about-icon { transform: scale(1.2) rotate(10deg); }
.about-item h3 { font-size: 1.3rem; color: #f1f5f9; margin-bottom: 0.75rem; }
.about-item p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; flex-grow: 1;}
.timeline { position: relative; max-width: 800px; margin: 40px auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: #233554; transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 10px 40px; box-sizing: border-box; }
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; background: #0a192f; border: 3px solid #007bff; border-radius: 50%; top: 35px; z-index: 1; }
.timeline-item:nth-child(odd)::after { right: -9px; }
.timeline-item:nth-child(even)::after { left: -9px; }
.timeline-content { padding: 25px 30px; background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); color: #fff; border-radius: 8px; box-shadow: 0 5px 20px rgba(2, 12, 27, 0.7); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.timeline-content:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 10px 30px rgba(0, 86, 179, 0.4); }
.timeline-content h3 { color: #fff; font-weight: 600; margin-bottom: 0.75rem; }
.timeline-content p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }
.drives-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.drives-us-text p { color: #8892b0; line-height: 1.7; }
.drives-us-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.drive-card { display: flex; align-items: flex-start; gap: 1.5rem; background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); color: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 5px 20px rgba(2, 12, 27, 0.7); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.drive-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 10px 30px rgba(0, 86, 179, 0.4); }
.drive-icon { font-size: 2rem; color: #fff; opacity: 0.8; margin-top: 5px; }
.drive-card h4 { margin: 0 0 0.5rem 0; color: #fff; font-weight: 600; }
.drive-card p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; line-height: 1.6; }
.map-container { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); margin-top: 3rem; border: 1px solid #233554; }
.map-container iframe { border: 0; /* Filter removed */ }
.about-cta-section { background-color: transparent; border-top: 1px solid #233554; text-align: center; padding-top: 80px; }
.cta-container h2 { font-size: 2.5rem; margin-bottom: 1rem; color: #ccd6f6; }
.cta-container p { color: #8892b0; margin-bottom: 2rem; }
.cta-container .btn-primary { background: #007bff; color: #fff; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; display: inline-block; transition: background-color 0.3s ease, transform 0.3s ease; }
.cta-container .btn-primary:hover { background: #0056b3; transform: translateY(-3px); }


/* --- Responsive Styles --- */
/* REMOVED: All problematic margin-top/padding-top rules from media queries */
@media (max-width: 992px) {
    .navbar { padding: 0.9rem 1.5rem; }
    header .nav-links { display: none; flex-direction: column; position: absolute; right: 0; top: 100%; background: rgba(17, 28, 51, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); width: 260px; align-items: flex-start; box-shadow: 0 8px 16px rgba(0,0,0,0.4); padding: 0.5rem 0; gap: 0; border-radius: 0 0 8px 8px; z-index: 1000; max-height: calc(100vh - 70px); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
    header .nav-links::-webkit-scrollbar { display: none; }
    header .nav-links.open { display: flex; }
    header .nav-links li { width: 100%; text-align: left; }
    header .nav-links li a:not(.nav-dropdown-toggle), header .nav-links .nav-dropdown-toggle { display: block; padding: 0.75rem 1.5rem; color: #cbd5e1; border-bottom: 1px solid rgba(74, 85, 104, 0.5); }
    header .nav-links li:last-child > a, header .nav-links li:last-child > .nav-dropdown-toggle { border-bottom: none; }
    header .nav-links li a:not(.nav-dropdown-toggle):hover, header .nav-links .nav-dropdown-toggle:hover, header .nav-links li a.active { background-color: rgba(56,189,248,0.2); color: #38bdf8; transform: none; }
    header .nav-links li a:not(.nav-dropdown-toggle)::after { display: none; }
    header .nav-links .dropdown-menu { position: static; width: 100%; box-shadow: none; border-radius: 0; padding: 0; background-color: transparent; display: none; opacity: 1; transform: none; max-height: none; overflow-y: visible; border-top: 1px solid rgba(74, 85, 104, 0.3); }
    header .nav-links .dropdown-menu.open { display: block; }
    header .nav-links .dropdown-menu li a.dropdown-item { padding: 0.6rem 1.5rem 0.6rem 2.2rem; color: #b0c4de; border-bottom: 1px solid rgba(74, 85, 104, 0.2); }
    header .nav-links .dropdown-menu li:last-child a.dropdown-item { border-bottom: none; }
    header .nav-links .dropdown-menu li a.dropdown-item:hover { background-color: #38bdf8; color: #0f172a; }
    header .nav-links .nav-dropdown-toggle .fa-caret-down { margin-left: auto; }
    header .hamburger { display: block; }
}

@media (max-width: 768px) {
  .navbar, .section-container, .footer-container { padding-left: 1rem; padding-right: 1rem; }
  .content-section { padding: 60px 1rem; }
  .section-title { font-size: 2rem; }
  .section-subtitle { font-size: 1rem; }
  .home-banner { height: 300px; }
  .hero-content-section { padding: 60px 7%; text-align: center; }
  .hero-content-section .description { margin-left: auto; margin-right: auto; }
  .hero-content-section .hero-metrics { justify-content: center; gap: 25px; }
  .footer-container { text-align: center; }
  .footer-links h4::after, .footer-social h4::after { left: 50%; transform: translateX(-50%); }
  .social-icons { justify-content: center; }
  .footer-address-area { text-align: center; }
  .footer-phones { align-items: center; }
  .footer-links-container { flex-direction: column; gap: 15px; }
  .timeline::before { left: 8px; }
  .timeline-item { width: 100%; padding-left: 50px; padding-right: 20px; text-align: left !important; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item::after { left: 0; }
  .drives-us-grid { grid-template-columns: 1fr; }
  .section-title { text-align: center !important; }
  .cta-container h2 { font-size: 2rem; }
 /* =================================== */
/* Advantage Section - Responsive Fix  */
/* =================================== */

@media (max-width: 768px) {
  /* Keep your existing styles for the tabs */
  .advantage-tabs-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .advantage-tab-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  /* Hide scrollbar for Chrome, Safari and Opera */
  .advantage-tab-list::-webkit-scrollbar {
    display: none;
  }
  .advantage-tab-item {
    flex-shrink: 0;
    justify-content: center;
  }
  .advantage-tab-item span {
    display: none; /* Hide text labels on mobile tabs */
  }

  /* --- FIX STARTS HERE --- */

  /* 1. Allow the main container to have a dynamic height */
  .advantage-content-panes {
    min-height: auto; /* Remove the fixed minimum height */
    padding: 2rem; /* Adjust padding for a better mobile look */
  }

  /* 2. Change how panes are displayed */
  .advantage-content-pane {
    position: static; /* Remove absolute positioning */
    height: auto; /* Let height be determined by content */
    width: auto;  /* Let width be determined by parent's padding */
    padding: 0; /* Parent container handles padding now */
    opacity: 1; /* Override desktop fade styles */
    visibility: visible; /* Override desktop fade styles */
    display: none; /* Hide all panes by default */
  }

  /* 3. Show only the active pane */
  .advantage-content-pane.active {
    display: flex; /* Use flex to keep the icon/text alignment */
  }
}
}

@media (max-width: 576px) {
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 0.95rem; }
    .courses-grid, .insights-grid, .about-content-grid { grid-template-columns: 1fr; }
}