
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(106, 124, 170, 0.4) 0%, rgba(90, 128, 225, 0.2) 50%, rgba(87, 91, 172, 0.6) 100%);
        }
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    
}

.slides {
    position: relative;
    width: 100%;
    height: 60%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-position: center;
    background-size: cover;
  
}

.slide.active {
    opacity: 1;
    z-index: 5;
}

/* Image Style */
.slide img {
    width: 60%;
    height: 90%;
    object-fit: contain;
    object-position:bottom;
    position: relative;
    left:40%;
    top:5%;

    
}
#first{
   background-color: rgb(181, 240, 220);
}
/* Caption */
.caption {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 40%;
    color: #fff;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    padding: 0 6.5rem;
}

.caption.left {
    left: 5%;
}

.caption.right {
    right: 5%;
    text-align: right;
}

.caption h1 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 15px;
    color:#060447;
}

.caption p {
    font-size: 1.1rem;
    line-height: 1.6;
    width: 90%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(-40%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

/* Arrows */
.arrow {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    transition: 0.3s ease;
    z-index: 20;
}

.arrow:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* Dots */
.dots {
    position: absolute;
    width: 100%;
    bottom: 45%;
    text-align: center;
    z-index: 30;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ffffff60;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.dots span.active {
    background: #fff;
    transform: scale(1.3);
}




.incubation-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;

    background: #001f4d;          /* Navy blue */
    color: white;
    padding: 14px 28px;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1000;
    font-weight: 600;

    /* triangle effect */
    clip-path: polygon(
        12% 0%,     /* top-left inward */
        100% 0%,    /* top-right */
        100% 100%,  /* bottom-right */
        12% 100%,   /* bottom-left inward */
        0% 50%      /* triangle tip */
    );

    transition: 0.3s ease;
}

.incubation-btn a{
  text-decoration: none;
  color:white;
}
.incubation-btn:hover {
    background: #003b99;
    transform: scale(1.03);
}
/* Responsive */
@media (max-width: 768px) {
  
    .caption {
        width: 70%;
    }

    .caption.right {
        right: auto;
    }
.caption.left{
  padding-left: 0;
}
    .caption h1 {
        font-size: 2.2rem;
    }
}

        @keyframes glow {
            0% {
                text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
            }
            100% {
                text-shadow: 0 0 15px rgba(255,255,255,0.4), 2px 2px 8px rgba(0,0,0,0.7);
            }
        }
@media (max-width: 768px) {
  .hero-slider{
    height: 50vh;
  }
    /* Hide all slides except the first one */
    .slide {
        display: none !important;
        overflow: hidden;
    }
    
    .slide#first {
        display: block !important;
        height: 50vh;
    }
    
    /* Hide arrows on mobile */
    .arrow {
        display: none;
    }
    
    /* Optional: Hide dots navigation on mobile */
    .dots {
        display: none;
    }
    .caption{
      margin-top: 1rem;
    }
   
    /* Optional: Adjust first slide caption for mobile */
    .slide#first .caption h1 {
        font-size: 1.5rem;
    }
    
    .slide#first .caption p {
        font-size: 0.9rem;
    }
    .incubation-btn{
      bottom: -100px;
      right: 2px;
    }
}

/* Base layout (desktop) */
.overview {
  width: 100%;
  height: 30%;
  background: #fff;
  font-family: "Poppins", sans-serif;
  position: absolute;
  top: 80%;
  margin: auto;
}

.overview-container {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 40px;
  padding: 0 100px;
}

.column {
  text-align: center;
  padding: 1rem;
}

.gradient-text {
  font-size: 42px;
  font-weight: 900;
  background: conic-gradient(
      #CA4246 16.666%, 
      #E16541 16.666%, 
      #E16541 33.333%, 
      #F18F43 33.333%, 
      #F18F43 50%, 
      #8B9862 50%, 
      #8B9862 66.666%, 
      #476098 66.666%, 
      #476098 83.333%, 
      #A7489B 83.333%);
  background-size: 27%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.overview-container p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.2;
  padding: 0 40px;
}



/* -----------------------------------------
   📱 Tablet (≤768px)
   Keeps 3 columns but tighter spacing
-------------------------------------------*/
@media (max-width: 768px) {
  .overview {
    height: auto;
    top: 90%; 
    position: static;
  }

  .overview-container {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    gap: 10px;
  }

  .gradient-text {
    font-size: 34px; /* Slightly smaller for tablet */
  }

  .overview-container p {
    padding: 0 20px;
  }
}


/* -----------------------------------------
   📱 Mobile (≤480px)
   1 column but SAME STYLE preserved
-------------------------------------------*/
@media (max-width: 480px) {
  .overview {
    height: auto;
    position: static; /* prevents overflow issues */
    margin-top: 2rem;
  }
 
  .overview-container {
    grid-template-columns: 1fr; /* stack elements for mobile */
    padding: 1rem 0.5rem;
    gap: 30px;
  }

  .gradient-text {
    font-size: 32px;
  }

  .overview-container p {
    padding: 0 10px;
  }
}

/* ===== Base Styling ===== */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 60px 8%;
  
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* ===== Video (Left Sid
e) ===== */
.video-wrapper {
  flex: 1;
  width: 50%;
  height: 100vh;
  position: relative;
  animation: slideInLeft 1s ease forwards;
  top:5%;
}

.video-wrapper video {
  width: 100%;
  height: 70%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* ===== Content (Right Side) ===== */
.about-content {
  flex: 1;
  width: 50%;
  height: 100vh;
  animation: slideInRight 1s ease forwards;
  margin-top: 5rem;
 

}

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff7b00;
  margin-bottom: 10px;
  font-weight: 600;
}

.about-content h2 {
   font-size: 2 rem;
  color: #060447;
  margin-bottom: 20px;

}


.about-content p{
   font-weight: 700;
    margin-bottom: 1.2rem;
    margin-top: 2.2rem;
    font-size: 1.2rem;
    text-align:justify;
color: rgb(11, 1, 70);
}
/* ===== Features List ===== */
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1rem;
  color: rgb(11, 1, 70);
}

.features .dot {
  width: 10px;
  height: 10px;
  background-color: #ff7b00;
  border-radius: 50%;
  margin-right: 12px;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ===== CTA Buttons ===== */
.cta-row {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background:rgb(15, 15, 70);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border: 1px solid white;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0055b3, #003366);
  transform: translateY(-5px);
}

.btn-outline {
  background: transparent;
  color: #003366;
  border: 2px solid #003366;
  padding: 12px 28px;

  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-outline a{
    text-decoration: none;
    color: #003366;
}
.btn-outline:hover {
  background: #003366;
  color: #fff;
}
.btn-outline:hover a{
    color:white;
}
/* .video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
} */

.video-about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 20, 112, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.4s ease;
    z-index: 10;
    width: 100%;
    height: 70%;
    border-radius: 10px;
}

.video-about-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    font-size: 60px;
    color: #fff;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}

.about-video {
    width: 100%;
    border-radius: 10px;
}

/* ===== Animations ===== */
@keyframes slideInLeft {
  from {
    transform: translateX(-80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ======= ABOUT SECTION MOBILE FIX ======= */
@media (max-width: 768px) {
  .overview-container{
    width: auto;
    height: auto;
  }
  .column p{
    display: none;
  }

  .gradient-text{
    font-size: 25px;
  }
  .about-section {
    display: flex;
    flex-direction: column;      /* stack video and content vertically */
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    position: relative;
    height: auto;                /* remove fixed height */
  }

  .video-wrapper {
    width: 100%;
    position: relative;          /* ensures overlay stays within video */
    margin-bottom: 30px;
  }

  .video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .video-about-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(12, 60, 134, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  }

  .about-content {
    width: 100%;
    height: auto;                /* removes fixed 100vh height */
    text-align: center;
    padding: 1rem;
    animation: none;             /* optional: disable animation on mobile */
  }

  .about-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .about-content .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .cta-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }
}

        @media (max-width: 480px) {
            .video-wrapper {
                height: 250px;
            }

            .about-content {
                padding: 2rem 1.2rem;
            }

            .about-content h2 {
                font-size: 1.5rem;
            }

            .lead {
                font-size: 0.95rem;
            }

            .features li div {
                font-size: 0.9rem;
            }
        }
