/* ================= ABOUT VISION / MISSION ================= */

.about-vm {
  padding: 50px 20px;
  margin-bottom: 0;
  padding-bottom: 300px; /* ðŸ”¥ IMPORTANT */
}
.about-vm-container {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */

.about-vm-header {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  margin-bottom: 30px;
}

.about-vm-header h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  color: #3e4649;

}

.about-vm-header p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  max-width: 100%;
  text-align: justify;
}

/* IMAGE AREA */

.about-vm-media {
  position: relative;
  
}

.about-vm-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

/* CARDS OVER IMAGE */

.about-vm-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: absolute;
  bottom: -170px;              /* â¬… push cards more downward */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 70px);   /* â¬… tighter like figma */
}
/* INDIVIDUAL ITEM */

.vm-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* TRANSPARENT CARD */

.vm-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 18px;

  /* â¬‡ increase vertical padding */
  padding: 72px 50px 48px;

  display: flex;
  align-items: center;
  gap: 14px;
}


/* ICON */

.vm-card{
  width:100%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  border-radius:18px;

  padding:48px 40px 40px;   /* more height like figma */

  display:flex;
  flex-direction:column;   /* ðŸ”¥ stack icon & text */
  align-items:flex-start;  /* left aligned like figma */
  gap:14px;
}
/* TITLE */

.vm-icon{
  margin-bottom:6px;
}
.vm-icon img{
  width:56px;
  height:56px;
  object-fit:contain;

}

.vm-card h4{
  font-size:26px;
  font-weight:600;
  margin:0;
  color:  #3e4649;
}

/* TEXT BELOW CARD (DESKTOP) */

.vm-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-top: 16px;
  max-width: 100%;
  text-align: justify;
  margin-left: 10px;
  margin-bottom: -50px;
}
.logo-mobile {
  display: none;
}
@media (max-width: 768px) {

  /* SECTION */
  .about-vm {
    padding: 40px 16px;
  }
  .about-vm-header br{
    display: none;
  }

  .about-vm-cards p {
  

  }

  /* HEADER */
  .about-vm-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
    text-align: center;
  }

  .about-vm-header h2 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
  }

  .about-vm-header p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* IMAGE */
  .about-vm-image img {
    height: 260px;
    border-radius: 20px;
  }

  /* STACK VISION / MISSION */
  .about-vm-cards {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }

  /* REMOVE CARD LOOK */
  .vm-card {
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;

    display: flex;
    flex-direction: column;   /* ðŸ”¥ icon â†’ title â†’ text */
    align-items: flex-start;
    gap: 8px;
  }



  /* TITLE */
  .vm-card h4 {
    font-size: 26px;
    font-weight: 600;
    margin: 6px 0 0;
  }

  /* PARAGRAPH â€” BELOW TITLE */
   .vm-text {
    font-size: 15px;
    line-height: 1.6;
    margin: 8px 0 0 0;   /* tight spacing below title */
    padding: 0;
    color: #666;

    max-width: 100%;
    text-align: justify;   /* justify looks bad on mobile */
  }


}
@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    width: 36px !important;
    height: auto;
    margin-bottom: 0px !important;
  }
}

/* ================= ABOUT SLIDER ================= */
.about-slider-track{
  scroll-behavior: smooth;
}
.about-slider{
  background:#E7F1F5;
  padding:100px 20px;
  border-radius:40px;
  margin:120px auto;
  margin-top: 0%;
  margin-bottom: 0%;
}

.about-slider-inner{
  max-width:1200px;
  margin:auto;
}

/* HEADER */
.about-slider-header{
  text-align:center;
  margin-bottom:20px;
  margin-top: -20px;
}

.about-slider-header h3{
  font-size:36px;
  font-weight:600;
  margin-bottom:16px;
  color: #3e4649;
}

.about-slider-header p{
  font-size:15px;
  max-width:620px;
  margin:auto;
  color:#555;
}

/* SLIDER */.about-slider-track{
  display: flex;
  gap: 22px;
  overflow: hidden;

}

/* ALL SLIDES â€” SAME HEIGHT */
.about-slide{
  flex: 0 0 300px;          /* small width */
  height: 300px;           /* ðŸ”¥ SAME HEIGHT FOR ALL */
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: 
    flex-basis .45s ease,
    transform .45s ease,
    opacity .45s ease;
  opacity: .75;
  margin-left: 15px;
  margin-right: -15px;
}

/* ACTIVE â€” ONLY WIDTH CHANGES */
.about-slide.active{
  flex-basis: 400px;        /* ðŸ”¥ wider only */
  transform: scaleX(1.03); /* subtle horizontal emphasis */
  opacity: 1;
  z-index: 2;
}

/* IMAGE */
.about-slide img{
  width:100%;
  height:100%;
  object-fit: cover;
  margin-right: -10px;
}


/* OVERLAY */
.about-slide-content{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:28px;

  color:#fff;
}

.about-slide-content h4{
  font-size:26px;
  font-weight:600;
  margin-bottom:6px;
}

.about-slide-content p{
  font-size:15px;
  line-height:1.6;
}

/* CONTROLS */
.about-slider-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  margin-top: 28px;
}

/* PROGRESS BAR (FIGMA WIDTH) */
.progress-bar{
  width: 100%;
  max-width: 920px;      /* ðŸ”¥ matches figma visual */
  height: 4px;
  background: #d9e7ea;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill{
  width: 0%;
  height: 100%;
  background: #123c40;
  border-radius: 4px;
  transition: width .4s ease;
}
/* ARROWS */
.arrow-buttons{
  display:flex;
  gap:12px;
}

.arrow-btn{
  width:44px;
  height:44px;
  border-radius:12px;
  border:none;
  background:#fff;
  font-size:18px;
  color: #7bc144;
}

.arrow-btn.active{
  color:#7bc144;
}


/* ---------- ABOUT SLIDER CARD EFFECT (SAME AS SERVICES) ---------- */

.about-slide {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* OVERLAY */
.about-slide-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(30, 72, 86, 0.9),
    rgba(30, 72, 86, 0.25),
    transparent
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Title at bottom initially */
}

/* TITLE */
.about-slide-content h4 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  transition: transform 0.4s ease;
}

/* SUBTEXT */
.about-slide-content p {
  font-size: 15px;
  line-height: 1.5;
  color: #eee;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

/* ACTIVE STATE (same as :hover) */
.about-slide.active .about-slide-content h4 {
  transform: translateY(-2px);
}

.about-slide.active .about-slide-content p {
  opacity: 1;
  max-height: 200px;
}

/* ================= MOBILE RESET (STOP DESKTOP LOGIC) ================= */
@media (max-width: 768px) {

  /* STOP desktop slider behavior */
  .about-slider-track {
    overflow: hidden;
    gap: 0;
  }

  .about-slide {
    flex: 0 0 100% !important;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    height: auto !important;
    padding: 16px;
    box-sizing: border-box;
  }

  .about-slide.active {
    flex-basis: 100% !important;
    transform: none !important;
  }
  .about-slider h3 {
    font-size: 30px;
    font-weight: 600;
  }

  /* IMAGE â€” FULLY VISIBLE */
  .about-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;       /* âœ… FULL IMAGE */
    border-radius: 16px;
    background: #eaeaea;
    display: block;
    margin: 0 auto;
  }

  /* REMOVE OVERLAY BEHAVIOR */
  .about-slide-content {
    position: relative !important;
    inset: unset !important;
    background: none !important;
    padding: 16px 4px 0;
    display: block;
  }

  /* TEXT â€” ALWAYS VISIBLE */
  .about-slide-content h4 {
    font-size: 18px;
    margin: 12px 0 6px;
    color: #000;
    transform: none !important;
  }

  .about-slide-content p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0;
    text-align: justify;
  }
}



/* ================= STATS SECTION ================= */

.stats-section{
  padding-top:60px;
  padding-bottom:30px;
  margin-bottom: 0%;
}

.stats-container{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:80px;
  margin-bottom: 0%;
}

/* LEFT CONTENT */
.stats-content h3{
  margin-left: 40px;
  font-size:36px;
  line-height:1.2;
  margin-bottom:16px;
  color: #3e4649;
  font-weight: 600;
}

.stats-content p{
  max-width:420px;
  font-size:15px;
  color:#555;
  margin-left: 40px;
  text-align: justify;
}

/* RIGHT STACK */
.stats-cards{
  position:relative;
  width:300px;
  height:420px;
}

/* BASE CARD */

.stats-card{
  position:absolute;
  width:150%;          /* KEEP */
  height:80%;
  border-radius:24px;
  margin:40px;
}

/* TOP SHADOW CARDS */
.card-1{
  background:#5f7f87;
  top:-80px;
  z-index:1;
}

.card-2{
  background:#3f646f;
  top:-40px;
  z-index:2;
}

/* MAIN CARD */
.card-3{
  background:#1f4b58;
  padding:32px;
  z-index:3;
  display:flex;
  flex-direction:column;
  color:#fff;
  align-items:center;
  justify-content:center;
   height: 400px;
}

.card-3 h3{
  font-size:40px;
  margin-bottom:8px;
}

.card-3 p{
  font-size:15px;
  opacity:.9;
}

.card-1 .icon,
.card-2 .icon{
  display:none;
}
.card-3{
  background:#1f4b58;
  z-index:3;
  overflow:hidden;     /* VERY IMPORTANT */
}
.card-image{
  width:90%;
  height:90%;          /* 🔑 THIS FIXES IT */
  max-width:520px;
  max-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
}


.card-image img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
}


/* ================= MOBILE VIEW (UPDATED & CLEAN) ================= */
@media (max-width: 768px) {
.choose-section {
    padding-top:9% !important;
}
  .stats-section{
    padding:30px 16px;

  }

  .stats-container{
    display:flex;
    flex-direction:column;
    gap:40px;
  }

  /* LEFT CONTENT */
  .stats-content h3{
    margin-left:0;
    font-size:30px;
    line-height:1.25;
    text-align:center;
    font-weight:600;
  }

  .stats-content p{
    margin:0 6px;
    font-size:14.5px;
    max-width:100%;
    text-align:justify;
  }

  /* CARDS WRAPPER */
  .stats-cards{
    width:320px;
     height:450;
    margin:0 auto;
    position:relative;
  }

  /* BASE CARD */
  .stats-card{
    width:100%;
    height:170px;
    border-radius:18px;
    margin:0;
    left:0;
  }

  /* STACKED POSITIONS */
  .card-1{
    top:0;
  }

  .card-2{
    top:60px;
  }

  .card-3{
    top:130px;
    height:280px;                 /* main card */
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  /* IMAGE WRAPPER */
  .card-image{
    width:90%;
    height:90%;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  /* IMAGE */
  .card-image img{
    width:100%;
    height:100%;
    object-fit:contain;           /* FULL IMAGE VISIBLE */
    display:block;
  }

}


/* ================= TABLET ONLY FIX ================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .stats-container {
    gap: 40px;                 /* reduce huge gap */
  }

  /* Move text slightly left */
  .stats-content h3,
  .stats-content p {
    margin-left: 10px;         /* was 40px on desktop */
  }

  /* Pull image/cards slightly left */
  .stats-cards {
    margin-left: -40px;        /* shift left safely */
  }

  /* Reduce oversized cards effect on tablet */
  .stats-card {
    width: 135%;               /* was 150% */
    margin: 20px;
  }
}

/* ================= CONTACT SECTION ================= */

.contact-section{
  padding:50px 20px;
  
}

.contact-header{
  text-align:center;
  max-width:600px;
  margin:0 auto 60px;
}

.contact-header h2{
  font-size:36px;
  margin-bottom:10px;
  color: #3e4649;

  font-weight: 600;
}

.contact-header p{
  font-size:15px;
  color:#666;
}

/* ================= GRID ================= */

.contact-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px;
  align-items:stretch;
}

/* ================= CARDS ================= */

.contact-card{
  background:#eaf2f4;
  border-radius:20px;
  padding:32px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}

.contact-card.primary{
  background:#1f4b58;
  color:#fff;
}

.contact-card h3{
  font-size:18px;
}

.contact-card span{
  font-size:15px;
  opacity:.9;
}

/* ICON */
.contact-card .icon{
  width:40px;
  height:40px;
}

.contact-card .icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* ================= MAP ================= */

.contact-map{
  max-width:1200px;
  height:260px;
  background:#ddd;
  border-radius:20px;
  margin:40px auto 0;
}

/* ================= MOBILE (AUTO STACK) ================= */

@media (max-width: 768px){

  .contact-header h2{
    font-size:30px;
    font-weight: 600;
    margin-bottom:0px;
  }
  .contact-header p{
  font-size:15px;
  color:#666;
}


  .contact-grid{
    grid-template-columns:1fr;
  }

  .contact-card{
    padding:28px;
  }

  .contact-map{
    height:220px;
  }
}
/* ================= TABLET ONLY (NO MOBILE) ================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .about-vm {
    padding-bottom: 120px;   /* reduced from 300px */
  }

  .about-vm-header {
    grid-template-columns: 300px 1fr;
    gap: 24px;               /* reduced gap */
    margin-bottom: 20px;
  }

  .about-vm-header h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .about-vm-header p {
    font-size: 14.5px;
    line-height: 1.6;
  }
}
/* ================= TABLET ONLY FIX ================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Reduce excessive bottom space */
  .about-vm {
    padding-bottom: 180px;   /* was 300px */
  }

  /* Reduce card overlap distance */
  .about-vm-cards {
    bottom: -110px;          /* was -170px */
    gap: 20px;
  }

  /* Reduce card padding (height) */
  .vm-card {
    padding: 40px 32px 32px;
  }

  /* Reduce title size slightly */
  .vm-card h4 {
    font-size: 22px;
  }

  /* REMOVE negative overlap text */
  .vm-text {
    margin-bottom: 0;        /* was -50px */
    margin-left: 0;
  }
}


/* ================= TABLET = DESKTOP LOCK ================= */
@media (min-width: 601px) and (max-width: 1024px) {

  /* Keep cards over image */
  .about-vm-cards {
    position: absolute;
    bottom: -170px;
    left: 50%;
    transform: translateX(-50%);
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 70px);
  }

  /* Keep blur cards */
  .vm-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    padding: 48px 40px 40px;
    border-radius: 18px;
  }

  /* Keep image height same as desktop */
  .about-vm-image img {
    height: 320px;
    object-fit: cover;
  }

}
/* ================= TABLET ONLY – PUSH CARDS DOWN ================= */
@media (min-width: 601px) and (max-width: 1024px) {

  .about-vm-cards {
    bottom: -220px;   /* 👈 push further down */
  }

}
/* ================= TABLET ONLY – FIX OVERLAP AFTER TEXT ================= */
@media (min-width: 601px) and (max-width: 1024px) {

  /* Reserve space for absolute cards */
  .about-vm {
    padding-bottom: 260px;   /* 🔑 THIS is the real fix */
  }

}
