@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@700;800&display=swap");




/* =========================================
           HERO SLIDER SECTION (STAYS AS IS)
        ========================================= */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #050505;
  overflow: hidden;
}

.hanging-container {
  position: absolute;
  top: -20px;
  left: 70%;
  z-index: 50;
  transform-origin: top center;
  animation: swingCrane 7s ease-in-out infinite;
  pointer-events: none;
}

.crane-rope {
  width: 2px;
  height: 180px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.4),
    #333
  );
  margin: 0 auto;
}

.crane-hook {
  width: 30px;
  height: 25px;
  border: 4px solid #222;
  border-top: none;
  border-radius: 0 0 15px 15px;
  margin: -5px auto 0;
  background: #111;
  position: relative;
}

.container-image-wrapper {
  width: 340px;
  filter: drop-shadow(0 50px 40px rgba(0, 0, 0, 0.9));
  margin-top: -2px;
}

.container-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes swingCrane {
  0% {
    transform: rotate(2.5deg);
  }
  50% {
    transform: rotate(-2.5deg);
  }
  100% {
    transform: rotate(2.5deg);
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
  padding-left: 8%;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
}

.bg-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-visual img {
  width: 100%;
  height: 100%;
  
  transition: transform 8s linear;
}

.slide.active .bg-visual img {
  transform: scale(1.15);
}

.fluid-content {
  position: relative;
  width: 100%;
  max-width: 650px;
  padding:0px 60px;
  color: white;
  border-left: 6px solid#0062ff;
  border-radius: 4px 100px 10px 4px;
}

.slide h1,
.slide p,
.slide .cta-button {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide.active h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
.slide.active p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.slide.active .cta-button {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}



.cta-button {
  background: #0062ff;
  color: white;
  padding: 20px 45px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  transition: all 0.4s;
  border: 1px solid#0062ff;
}

.cta-button:hover {
  background: transparent;
  border-color: white;
  transform: scale(1.05);
}

.nav-control {
  position: absolute;
  bottom: 60px;
  right: 8%;
  z-index: 100;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 55px;
  height: 55px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
}

.nav-control:hover {
  background: #0062ff;
  border-color: #0062ff;
  width: 70px;
}

.prev-btn {
  right: calc(8% + 75px);
}


/* ============================================================
   1. BASE STYLES (No Changes Here)
   ============================================================ */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #050505;
  overflow: hidden;
}

/* ============================================================
   2. HANGING CRANE (Responsive Adjustments)
   ============================================================ */
.hanging-container {
  position: absolute;
  top: -20px;
  left: 70%;
  z-index: 50;
  transform-origin: top center;
  animation: swingCrane 7s ease-in-out infinite;
  pointer-events: none;
}

.crane-rope {
  width: 2px;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), #333);
  margin: 0 auto;
}

.container-image-wrapper {
  width: 340px;
  filter: drop-shadow(0 50px 40px rgba(0, 0, 0, 0.9));
  margin-top: -2px;
}

.container-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   3. SLIDE CONTENT & TYPOGRAPHY
   ============================================================ */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  padding-left: 8%;
  z-index: 1;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
  pointer-events: auto;
}



.fluid-content h1 {
  font-size: clamp(32px, 6vw, 70px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.fluid-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  overflow-wrap: break-word;
}

/* .cta-button {
  background: #0062ff;
  color: white;
  padding: 16px 35px; 
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  border: 1px solid #0062ff;
  transition: 0.4s;
} */

/* ============================================================
   4. RESPONSIVE BREAKPOINTS (Tablet, Mobile, Small Mobile)
   ============================================================ */

/* TABLET (1024px to 769px) */
@media (max-width: 1024px) {
  .slide { padding-left: 5%; }
  .hanging-container { left: 65%; }
  .container-image-wrapper { width: 280px; }
  .crane-rope { height: 140px; }
}

/* MOBILE (768px to 481px) */
@media (max-width: 768px) {
 
  .slide {
    padding-left: 0;
    justify-content: center;
    text-align: center;
  }
.slider-wrapper {
     height: 60vh;
  }
  .fluid-content {
    max-width: 90%;
    padding: 20px;
    border-left: none;
   
    border-radius: 0;
   
    backdrop-filter: blur(5px);
  }

 
  .hanging-container {
    top: 50px;
    left: 70%;
}
 .fluid-content h1{
    font-size: 36px;
  }
  .fluid-content p{
    width: 100%;
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }

  .container-image-wrapper { width: 200px; }
  .crane-rope { height: 100px; }

  .nav-control {
    bottom: 30px;
    width: 45px;
    height: 45px;
  }
}

/* SMALL MOBILE (480px and Below) */
@media (max-width: 480px) {
  .fluid-content h1 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .fluid-content p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 14px;
  }

  /* Crane further minimized for small screens */
  .container-image-wrapper { width: 150px; }
  .crane-rope { height: 80px; }

 .hanging-container {
    position: absolute;
    top: -20px;
    left: 70%;
  
}

  .nav-control {
    right: 5%;
    bottom: 20px;
  }
  .prev-btn { right: calc(5% + 55px); }
}

/* EXTRA SMALL (Smallest Phones like iPhone SE) */
@media (max-width: 360px) {
  .fluid-content h1 { font-size: 24px; }
  .container-image-wrapper { width: 120px; }
}

/* ==========================================================================
   ABOUT PAGE ABOUT US SECTION - UPDATED WITH FIXED DIMENSIONS
   ========================================================================== */

.about-page-about-us-wrapper {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 80px 8%;
  position: relative;
  background-color: #0f172a; /* Base Dark Theme */
}

/* Subtle Background Gradient */
.about-page-about-us-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.about-page-about-us-main-grid {
  display: -ms-grid;
  display: grid;
  /* Fixed Width Columns for Desktop */
  -ms-grid-columns: 550px 80px 1.1fr;
  grid-template-columns: 550px 1.1fr;
  gap: 80px;
  max-width: 1400px;
  z-index: 2;
  align-items: center;
}

/* --- VISUAL SIDE (FIXED SIZE) --- */
.about-page-about-us-visual-side {
  position: relative;
  width: 550px;  /* Fixed Width */
  height: 600px; /* Fixed Height */
}

.about-page-about-us-img-card {
  position: absolute;
  border-radius: 35px;
  overflow: hidden;
  -webkit-box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  -webkit-transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.5s ease;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.5s ease;
}

/* Image 1: Fixed Size */
.about-page-about-us-pic-1 {
  width: 450px; 
  height: 480px;
  top: 0; left: 0;
  z-index: 2;
  -webkit-transform: translate(-100px, -100px);
  transform: translate(-100px, -100px);
}

/* Image 2: Fixed Size */
.about-page-about-us-pic-2 {
  width: 320px;
  height: 350px;
  bottom: 20px; right: 0;
  z-index: 3;
  border: 10px solid #1e293b;
  -webkit-transform: translate(100px, 100px);
  transform: translate(100px, 100px);
}

.about-page-about-us-reveal .about-page-about-us-pic-1,
.about-page-about-us-reveal .about-page-about-us-pic-2 {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.about-page-about-us-img-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* --- EXPERIENCE BADGE (FIXED) --- */
.about-page-about-us-experience-badge {
  position: absolute;
  top: 15%; right: -8px;
  background: #4f46e5;
  width: 140px;  /* Fixed Width */
  height: 110px; /* Fixed Height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  z-index: 10;
  opacity: 0;
  -webkit-transform: scale(0.7);
  transform: scale(0.7);
  -webkit-transition: all 0.8s 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.8s 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-page-about-us-reveal .about-page-about-us-experience-badge {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.exp-number{
  font-size: 32px; font-weight: 800; margin:0;
}

/* For JS Rotation Smoothness */
.exp-number, .exp-label {
  display: block;
  color: white;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* --- CONTENT STYLING --- */
.about-page-about-us-content-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  transform: translateY(30px);
  transition: 1.2s 0.4s ease;
}

.about-page-about-us-reveal .about-page-about-us-content-side {
  opacity: 1;
  transform: translateY(0);
}

.about-page-about-us-headline {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: white;
}

.about-page-about-us-headline span {
  display: block;
  color: #0ea5e9;
  font-size: 0.75em;
  margin-top: 8px;
}

.about-page-about-us-legacy-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid #0ea5e9;
  padding: 25px;
  border-radius: 0 20px 20px 0;
  font-style: italic;
  color: #f1f5f9;
}

.about-page-about-us-btn-main {
  background: #4f46e5;
  color: #fcdc4d;
  padding: 18px 45px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  transition: 0.4s;
  margin-top: 15px;
}

.about-page-about-us-btn-main:hover {
  background: #0ea5e9;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.hero-main-img {
    width: 100%;
    height: 475px; /* Desktop ki fix height */
    object-fit: cover; /* Image stretch nahi hogi, perfectly area fill karegi */
    display: block;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .about-page-about-us-main-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-page-about-us-visual-side {
    width: 100%;
    max-width: 500px;
    height: 450px;
    margin: 0 auto;
    order: 2;
  }
  .about-page-about-us-pic-1 { width: 80%; height: 80%; }
  .about-page-about-us-pic-2 { width: 60%; height: 60%; }
  
  .about-page-about-us-content-side {
    text-align: center;
    align-items: center;
    order: 1;
  }
}
/* Mobile View (Standard Phones) */
@media (max-width: 768px) {
  .about-page-about-us-wrapper {
    padding: 30px 30px;
    overflow: hidden;
  }

  .slider-wrapper {
     height: 60vh;
  }

  p.about-page-about-us-desc-main {
    font-size: 16px;
}

  .about-page-about-us-visual-side {
    height: 400px; /* Further reduced height */
    max-width: 400px;
  }

  .about-page-about-us-experience-badge {
    width: 100px;
    height: 80px;
    right: 0;
    top: 10%;
  }

  .about-page-about-us-headline {
    font-size: 32px;
  }

  .about-page-about-us-btn-main {
    padding: 15px 35px;
    font-size: 14px;
    width: 100%; 
    justify-content: center;
  }

  .hero-main-img {
        height: 350px; /* Mobile par height thodi kam rakhein taaki content dikhe */
        min-height: 300px;
    }
    
    .bg-visual {
        height: 350px;
        overflow: hidden;
    }

    /* Agar container mobile par bahut bada dikh raha ho */
    .container-image-wrapper img {
        width: 180px; 
        height: auto;
    }
}

@media (max-width: 480px) {
  .about-page-about-us-visual-side {
    height: 320px;
  }

  .about-page-about-us-headline {
    font-size: 26px;
    word-break: break-word; 
  }

  .about-page-about-us-pic-2 {
    border: 5px solid #1e293b;
  }

  .about-page-about-us-experience-badge {
    transform: scale(0.8);
    right: -10px;
    height: 70px;
  }
  .exp-number{
     font-size: 14px;
  }
  p.about-page-about-us-desc-main{
    font-size: 14px;
  }
  .about-page-about-us-legacy-box{
    font-size: 14px;
    padding:15px;
  }
  p.about-page-about-us-desc-sub{
    font-size: 14px;
  }
}
/* === LEGACY STATS GALLERY (REPLACEMENT) === */

.legacy-stats {
  grid-template-columns: repeat(4, 1fr);
}

.legacy-stats .stat-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  cursor: default;
}

.legacy-stats .stat-card h3 {
  font-size: 28px;
  font-weight: 900;
  color: #ffac1c;
  margin-bottom: 4px;
}

.legacy-stats .stat-card p {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

/* Hover effect – matches legacy feel */
.legacy-stats .stat-card:hover {
  transform: translateY(-6px);
  border-color: #ffac1c;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .legacy-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === Fixed Legacy Section (No Root, Proper Prefixes) === */

.legacy-section-wrapper {
  position: relative;
  width: 100%;
  /* min-height: 100vh; */
  /* background-color: #020817; */
  /* background-color: #00499a; */
  background: linear-gradient(180deg, #224984 0%, #0ea5e96e 100%);

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 60px 8%; /* Increased padding for safer clearance */
  z-index: 1;
  overflow: hidden; /* Ensures no content spills out */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Fixed Background Panel (Side Gradient) */
/* .legacy-section-wrapper::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 35%; 
        height: 100%;
        background: -webkit-linear-gradient(top, #0a192f 0%, #050b1a 100%);
        background: -o-linear-gradient(top, #0a192f 0%, #050b1a 100%);
        background: linear-gradient(180deg, #0a192f 0%, #050b1a 100%);
        z-index: -1;
    } */

.legacy-container {
max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.1fr 50px 1fr;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  position: relative;

  /* Change center to stretch to make columns equal height */
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch; 

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* --- CONTENT SIDE --- */
.legacy-content {
display: flex;
  flex-direction: column;
  justify-content: center; /* Text ko vertically center rakhega agar image zyada lambi ho */
  opacity: 0;
  -webkit-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: 0.8s all cubic-bezier(0.2, 0.8, 0.2, 1);
  -o-transition: 0.8s all cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: 0.8s all cubic-bezier(0.2, 0.8, 0.2, 1);
}

.legacy-eyebrow {
  color: #3b82f6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.legacy-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #3b82f6;
}

.legacy-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ffac1c;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

.legacy-desc {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 25px;
}

.legacy-card {
  /* background: rgba(255, 255, 255, 0.05); */
  background: #4f46e5;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: clamp(20px, 4vw, 30px);
  border-radius: 16px;
  border-left: 4px solid #ffac1c;
  /* margin-bottom: 25px; */
  color: #ffffff;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-size: 15px;
  line-height: 1.6;
}

/* --- IMAGE SIDE --- */
.legacy-visuals {
 display: flex; /* Visuals container ko flex banaya */
  flex-direction: column;
  position: relative;
  opacity: 0;
  -webkit-transform: translateX(40px);
  -ms-transform: translateX(40px);
  transform: translateX(40px);
  -webkit-transition: 1s all ease;
  -o-transition: 1s all ease;
  transition: 1s all ease;
  z-index: 2;
}

.legacy-hero-frame {
 position: relative;
  border-radius: 20px;
  overflow: hidden;
  -webkit-box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #020817;
  
  flex-grow: 1; 
  height: 100%;
  margin-bottom: 0; 
}

#legacyHero {
 width: 100%;
  height: 100%; 
  min-height: 400px; 
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.legacy-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.legacy-gallery {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 15px 1fr 15px 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}


@-webkit-keyframes legacyFloat {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes legacyFloat {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.legacy-reveal {
  opacity: 1 !important;
  -webkit-transform: translate(0) !important;
  -ms-transform: translate(0) !important;
  transform: translate(0) !important;
}

/* --- BLOCK OVERFLOW PROTECTION & RESPONSIVE --- */

@media (max-width: 1024px) {
  .legacy-section-wrapper {
    height: auto;
    padding: 80px 0;
  }
  .legacy-container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .legacy-section-wrapper::after {
    display: none;
  }
  .legacy-eyebrow {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .legacy-visuals {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .legacy-section-wrapper {
    padding: 30px 30px;
  }
  .legacy-gallery {
    gap: 10px;
  }
  .legacy-thumb {
    height: 75px;
  }
  .legacy-title {
    margin-bottom: 15px;
  }
}
@media (max-width: 480px) {
  .legacy-title{
    font-size: 24px;
  }
  .legacy-desc{
    font-size: 14px;
  }
  .legacy-card{
    font-size: 14px;
  }
}


/* ABOUT PAGE FOUNDER SECTION - ADDED WITH PREFIX */
.about-page-founder-section {
  max-width: 1200px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin: 40px auto;
}

/* Gradient background */
.about-page-founder-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 20%, #6a11cb 60%, #2575fc 100%);
  z-index: -1;
}

.about-page-founder-bg::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: about-page-founder-float 20s linear infinite;
}

.about-page-founder-container {
  display: flex;
  flex-wrap: wrap;
  align-items:center; 
  min-height: auto; 
}

/* Founder image section - Height Fixed at 500px */
.about-page-founder-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  padding: 40px 20px;
  position: relative;
}

.about-page-founder-image-wrapper {
  width: 380px; 
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  border: 8px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  animation: about-page-founder-floatUp 3s infinite ease-in-out;
}

.about-page-founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-page-founder-image-wrapper img {
    width: 100%;
    height: 104%;
    object-fit: cover;
}

.about-page-founder-image-wrapper:hover .about-page-founder-img {
  transform: scale(1.05);
}

/* Founder content section - Height matches left side */
.about-page-founder-content {
  flex: 1.2;
  min-width: 300px;
  padding: 40px; /* Top padding 60 se 40 ki taaki image ke barabar dikhe */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Text upar se start hoga */
  align-self: stretch; /* Isse right side ki height left ke barabar rahegi */
  backdrop-filter: blur(10px);
  background-color: rgba(15, 23, 42, 0.4);
}

.about-page-founder-title {
  font-size: 32px; /* Thoda adjust kiya */
  margin-bottom: 10px;
  background: linear-gradient(to right, #f8fafc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.about-page-founder-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #8b5cf6, #ff9933);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.about-page-founder-role {
  font-size: 18px;
  color: #ffef17;
  margin: 15px 0 10px 0;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-page-founder-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e2e8f0;
}

.about-page-founder-quote {
  font-style: italic;
  font-size: 17px;
  padding: 15px 20px;
  border-left: 4px solid #3b82f6;
  background-color: #4f46e5;
  border-radius: 0 10px 10px 0;
  margin-bottom: 20px;
  position: relative;
}

.about-page-founder-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.about-page-founder-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid #00ffaa;
}

/* Animations */
@keyframes about-page-founder-floatUp {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes about-page-founder-fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
   .about-page-founder-section {
    padding: 30px 0;
    margin: 0;
   }
   .about-page-founder-container {
    display: flex;
    flex-direction: column;

}
.about-page-founder-bg {
    width: 100%;
}

.about-page-founder-image-wrapper {
    width: 100%;
    height: 100%;
   
}
.about-page-founder-content {
    padding: 20px;
}
}

@media (max-width: 480px) {
  .about-page-founder-title {
    font-size: 24px;
  }
  .about-page-founder-role {
    font-size: 16px;
  }
  .about-page-founder-description {
    font-size: 14px;
  }
  .about-page-founder-quote {
    font-size: 14px;
  }
}



/*  */
.srt-modern-accordion {
  background: linear-gradient(180deg, #224984 0%, #0ea5e96e 100%);

  padding: 60px 6%;
}

.srt-acc-container {
  display: flex;
  width: 100%;
  max-width: 1400px;
  height: 350px; /* NEW HEIGHT */
  margin: 0 auto;
  gap: 15px;
}

.srt-acc-card {
  position: relative;
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  display: flex; /* Content split ke liye */
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1117;
}

@media (min-width: 1024px) {
  .srt-acc-card:hover {
    flex: 4; /* Card bada hoga */
    border-color: #0062ff;
  }
}

/* IMAGE STYLING */
.srt-acc-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.8s ease;
  z-index: 1;
  filter: brightness(0.6);
}

/* HOVER: Image slides to the left half */
.srt-acc-card:hover .srt-acc-img {
  width: 45%; /* Image left mein chali jayegi */
  filter: brightness(0.9);
  border-right: 1px solid rgba(0, 98, 255, 0.3);
}

/* GRADIENT OVERLAY FOR TEXT READABILITY */
.srt-acc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #010409 25%, transparent 70%);
  z-index: 2;
  transition: 0.5s;
}

.srt-acc-card:hover::after {
  opacity: 0; /* Remove gradient on hover to show split design */
}

/* CONTENT WRAPPER */
.srt-acc-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #fff;
  transition: all 0.8s ease;
  text-align: center;
}

/* HOVER: Content moves to the right side */
.srt-acc-card:hover .srt-acc-content-wrapper {
  width: 55%;
  margin-left: 45%;
  justify-content: center;
  background: #0d1117; /* Solid background for text clarity */
}

.srt-acc-top i {
  color: #0062ff;
  margin-bottom: 12px;
  width: 32px;
  height: 32px;
}

.srt-acc-top h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color:#ffac1c;
}

.srt-acc-top h3 span {
  color: #00d2ff;
}

/* HIDDEN CONTENT */
.srt-acc-hidden-body {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transition: all 0.4s ease;
}

.srt-acc-card:hover .srt-acc-hidden-body {
  opacity: 1;
  visibility: visible;
  max-height: 250px;
  margin-top: 20px;
}

.srt-acc-hidden-body p {
  font-size: 14px;
  color: #8b949e;
  line-height: 1.6;
  text-align: start;
}

.srt-acc-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
.srt-b-city,
.srt-b-route {
  background: rgba(0, 98, 255, 0.2);
  color: #00d2ff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.srt-acc-check-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}
.srt-acc-check-list li {
  font-size: 13px;
  color: #ccd6f6;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.srt-acc-check-list li::before {
  content: "✓";
  color: #0062ff;
  font-weight: 1000;
}

/* MOBILE VIEW */
@media (max-width: 991px) {
  .srt-acc-container {
    flex-direction: column;
    height: auto;
  }
  .srt-acc-card {
    height: 120px;
  }
  .srt-acc-card:hover {
    height: 400px;
    flex-direction: column;
  }
  .srt-acc-card:hover .srt-acc-img {
    width: 100%;
    height: 180px;
  }
  .srt-acc-card:hover .srt-acc-content-wrapper {
    width: 100%;
    margin-left: 0;
    padding-top: 200px;
  }
}


/* ============================================================
   KEEPING YOUR ORIGINAL DESKTOP STYLES UNCHANGED
   ============================================================ */
.srt-modern-accordion {
  background: linear-gradient(180deg, #224984 0%, #0ea5e96e 100%);
  padding: 60px 6%;
}

.srt-acc-container {
  display: flex;
  width: 100%;
  max-width: 1400px;
  height: 350px; 
  margin: 0 auto;
  gap: 15px;
}

.srt-acc-card {
  position: relative;
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1117;
}

@media (min-width: 1024px) {
  .srt-acc-card:hover {
    flex: 4;
    border-color: #0062ff;
  }
}

.srt-acc-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.8s ease;
  z-index: 1;
  filter: brightness(0.6);
}

.srt-acc-card:hover .srt-acc-img {
  width: 45%;
  filter: brightness(0.9);
  border-right: 1px solid rgba(0, 98, 255, 0.3);
}

.srt-acc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #010409 40%, transparent 90%);
  z-index: 2;
  transition: 0.5s;
}

.srt-acc-card:hover::after {
  opacity: 0;
}

.srt-acc-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #fff;
  transition: all 0.8s ease;
  text-align: center;
}

.srt-acc-card:hover .srt-acc-content-wrapper {
  width: 55%;
  margin-left: 45%;
  justify-content: center;
  background: #0d1117;
}

/* Icons & Typography */
.srt-acc-top h3 { font-size: 1rem; font-weight: 800; color:#ffac1c; text-transform: uppercase; }
.srt-acc-hidden-body { opacity: 0; visibility: hidden; max-height: 0; transition: all 0.4s ease; }
.srt-acc-card:hover .srt-acc-hidden-body { opacity: 1; visibility: visible; max-height: 250px; margin-top: 20px; }

/* ============================================================
   FIXED MOBILE & TABLET RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .srt-acc-container {
    flex-direction: column;
    height: auto; /* Allow container to grow */
    gap: 20px;
  }

  .srt-acc-card {
    height: 150px; 
    flex: none;
    display: block; 
  }

  .srt-acc-img {
    opacity: 1;
    z-index: 1;
  }

  .srt-acc-card:hover {
    height: auto;
    min-height: 450px;
  }

  .srt-acc-card:hover .srt-acc-img {
    width: 100%;
    height: 200px; 
    position: relative; 
    border-right: none;
    border-bottom: 2px solid #0062ff;
  }

  .srt-acc-card:hover .srt-acc-content-wrapper {
    width: 100%;
    margin-left: 0;
    position: relative;
    padding: 30px 20px;
    background: #0d1117;
    height: auto;
  }

  .srt-acc-card:hover::after {
    display: none; 
  }
  
  .srt-acc-top h3 {
    font-size: 1.2rem; 
  }
}

/* Small Mobile Fixes */
@media (max-width: 480px) {
  .srt-modern-accordion { padding: 40px 15px; }
  .srt-acc-card:hover { min-height: 420px; }
  .srt-acc-card:hover .srt-acc-img { height: 160px; }
}

