
/* =====================================================
ROOT VARIABLES
===================================================== */
:root{
  --brand:#0179b4;
  --brand-dark:#005f8f;
  --brand-light:#88d8ff;
  --text-dark:#1f2937;
  --text-body:#4b5563;
  --text-muted:#6b7280;
  --bg-soft:#f5fcff;
}

/* =====================================================
RESET & GLOBAL
===================================================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Manrope",sans-serif;
}

body{
  background:linear-gradient(180deg,#f5fcff,#ebfaff);
  color:var(--text-body);
  margin: 0px;
  padding: 0px;
  /* margin-bottom: 0; */
}

img{max-width:100%;height:auto;}
section{overflow-x:hidden;}

.container{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* =====================================================
GLOBAL BUTTON SYSTEM (ALL BUTTONS SAME)
===================================================== */
.btn-primary,
.btn-secondary,
.help-form button,
.hero button a{
  display:inline-block;
  padding:16px 36px;
  border-radius:14px;
  font-weight:800;
  letter-spacing:.3px;
  text-decoration:none;
  background:linear-gradient(120deg,var(--brand),var(--brand-dark));
  color:#fff;
  border:none;
  cursor:pointer;
  transition:all .35s ease;
  
}

.btn-secondary{
  background:#fff;
  color:var(--brand);
  border:2px solid var(--brand);
}

.btn-primary:hover,
.btn-secondary:hover,
/* .portfolio-btn:hover, */
.help-form button:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(1,121,180,.35);
}

.btn-primary:active,
.btn-secondary:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(1,121,180,.25);
}

/* =====================================================
HEADER
===================================================== */
.header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:1000;
}

.header-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:90px;
}

.logo{width:110px;}

.nav{
  display:flex;
  gap:36px;
}

.nav a{
  position:relative;
  text-decoration:none;
  font-weight:600;
  color:#3d3d3d;
  padding-bottom:6px;
}

.nav a.active,
.nav a:hover{
  color:var(--brand);
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:var(--brand);
  transition:.3s;
}

.nav a:hover::after,
.nav a.active::after{
  width:100%;
}

/* =====================================================
MOBILE NAV
===================================================== */
.hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.hamburger span{
  width:26px;
  height:3px;
  background:#0a2e72;
  border-radius:2px;
}

.mobile-menu{
  display:none;
  flex-direction:column;
  background:#fff;
  padding:20px;
  gap:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.mobile-menu a{
  text-decoration:none;
  font-weight:600;
  color:#3d3d3d;
}

.mobile-menu.active{display:flex;}

/* =====================================================
HERO
===================================================== */
/* ================================
HERO SECTION
================================ */

.hero{
  position: relative;
  margin-top: -50px;
  padding: 200px 0 140px;
  background:
    /* linear-gradient(
      to right,
      rgba(255,255,255,0.96),
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.2)
    ), */
    url("img/hero\ final.png"); /* 🔥 YOUR HERO IMAGE */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* HERO CONTENT */
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* TEXT */
.hero-text h1{
  font-size: 48px;
  line-height: 56px;
  color: var(--text-dark);
}

.hero-text h1 span{
  background: linear-gradient(100deg,var(--brand),var(--brand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p{
  margin-top: 20px;
  max-width: 520px;
  line-height: 26px;
  color: var(--text-body);
}
@media (max-width: 992px){
  .hero{
    padding: 160px 24px 120px;
    margin-top: -30px;
    background-position: right center;
  }

  .hero-content{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1{
    font-size: 40px;
    line-height: 48px;
  }

  .hero-text p{
    margin: 16px auto 0;
  }
}
@media (max-width: 576px){
  .hero{
    padding: 140px 20px 100px;
    margin-top: 0;
    background-position: center top;
  }

  .hero-text h1{
    font-size: 32px;
    line-height: 40px;
  }

  .hero-text p{
    font-size: 15px;
    line-height: 24px;
    max-width: 100%;
  }
}

/* REMOVE IMAGE CONTAINER (IMAGE IS BG NOW) */
.hero-visual{
  display: none;
}
/* =====================================================
STATS
===================================================== */
.stats{
  margin-top: -120px;   /* ONLY if overlap venum */
}


.frame-33{
  max-width:1200px;
  margin:80px auto;
  display:flex;
  gap:48px;
  padding:40px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 60px rgba(123,212,255,.25);
}

.frame-33>div{
  flex:1;
  text-align:center;
}

.count{
  font-size:48px;
  font-weight:800;
  background:linear-gradient(90deg,var(--brand),var(--brand-light));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* =====================================================
ABOUT
===================================================== */
.story{
  padding-bottom: 100px;   /* content ku mattum space */
  margin-top: -90px;       /* mela move aagum */
  margin-bottom: 0;        /* keela space illa */
}



.story-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.story h2 span{
  background:linear-gradient(90deg,var(--brand),var(--brand-light));
  -webkit-background-clip:text;
  color:transparent;
}

.story p{
  line-height:26px;
  margin:20px 0;
}

/* =====================================================
PRODUCT PORTFOLIO
===================================================== */
.product-portfolio{
  padding: 100px 0;     /* section spacing */
  text-align: center;
  margin-top: -200px;   /* mela move aagum */
  margin-bottom: 0;     /* keela unwanted space illa */
}



.portfolio-title{
  font-size:40px;
  color:var(--text-dark);
}

.portfolio-title span{color:var(--brand);}

.portfolio-sub{
  max-width:720px;
  margin:14px auto 0;
  color:var(--text-muted);
}

.portfolio-grid{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.portfolio-card{
  background:#fff;
  padding:50px 20px;
  border-radius:18px;
  border:1px solid #e5f3fb;
  font-size:20px;
  font-weight:700;
  transition:.35s;
   cursor: pointer;   
   pointer-events: auto;
   position: relative;
  z-index: 5;
}

.portfolio-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(1,121,180,.18);
}

.portfolio-grid a{
  text-decoration: none;
  color: #6d6d6d;
}

/* ===============================
PORTFOLIO CTA BUTTON – FIXED
=============================== */

.portfolio-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin-top:50px;
  padding:16px 36px;

  border-radius:14px;
  font-weight:800;
  letter-spacing:.3px;

  text-decoration:none;
  background:linear-gradient(120deg,var(--brand),var(--brand-dark));
  color:#ffffff;

  cursor:pointer;
  transition:all .35s ease;

  position:relative;
  z-index:9999;     /* 🔥 THIS IS THE REAL FIX */
  pointer-events:auto;
}

/* Hover */
.portfolio-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(1,121,180,.35);
}

/* Active */
.portfolio-btn:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(1,121,180,.25);
}
/* =====================================================
WHY CHOOSE US
===================================================== */
.why{
  padding:100px 0;
  text-align:center;
  position: relative;
 bottom: 160px; 
}

.why-grid{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.card{
  background:#fff;
  padding:40px;
  border-radius:14px;
  border:1px solid #b6e6ff;
  transition:.35s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(1,121,180,.18);
}

/* =====================================================
TRUSTED BRANDS
===================================================== */

/* ================= CONTINUOUS BRAND CAROUSEL ================= */
.brand-carousel-section{
   position: relative;
 bottom: 230px; 
}

.brand-carousel{
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
  
}

.brand-track{
  display: flex;
  gap: 60px;
  width: max-content;
  animation: brandScroll 28s linear infinite;
}

.brand-card{
  min-width: 200px;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e5f3fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card img{
  max-width: 140px;
  max-height: 60px;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.brand-card:hover img{
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes brandScroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* PAUSE ON HOVER */
.brand-carousel:hover .brand-track{
  animation-play-state: paused;
}

/* =====================================================
CLIENTS
===================================================== */
.clients-carousel-section{
  padding:100px 0;
  text-align:center;
    position: relative;
 bottom: 250px; 
}

.clients-carousel{
  margin-top:50px;
  overflow:hidden;
}

.clients-track{
  display:flex;
  gap:30px;
  transition:.6s;
}

.client-card{
  flex:0 0 calc(100% / 3);
  background:#fff;
  padding:30px;
  border-radius:16px;
  border:1px solid #e5f3fb;
  display:flex;
  justify-content:center;
}

.client-card img{
  max-width:120px;
  max-height:60px;
  /* filter:grayscale(100%); */
}
/* =========================
TESTIMONIALS
========================= */
.testimonials{
  padding:120px 20px;
  /* background:linear-gradient(180deg,#f5fcff,#ffffff); */
  text-align:center;
  margin-top: -25%;
}

.testimonials h2{
  font-size:40px;
  color:#1f2937;
}

.testimonials h2 span{
  color:#0179b4;
}

.testimonials .sub{
  margin-top:10px;
  color:#6b7280;
}

/* VIEWPORT */
.testimonial-carousel{
  max-width:900px;
  margin:60px auto 0;
  overflow:hidden;
}

/* TRACK */
.testimonial-track{
  display:flex;
  animation:slide 35s infinite;
}

/* SINGLE SLIDE */
.testimonial{
  flex:0 0 100%;
  background:#fff;
  padding:42px;
  border-radius:22px;
  border:2px solid #ccecff;
  display:flex;
  align-items:center;
  gap:28px;
  text-align:left;
  box-shadow:0 18px 50px rgba(1,121,180,.15);
}

/* IMAGE */
.testimonial img{
  width:90px;
  height:90px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid #e6f6ff;
}

/* TEXT */
.testimonial p{
  font-style:italic;
  margin-bottom:10px;
}

.testimonial strong{
  display:block;
  color:#0179b4;
}

.testimonial span{
  font-size:14px;
  color:#6b7280;
}

/* AUTO SLIDE – 7 TESTIMONIALS */
@keyframes slide{
  0%,12%   {transform:translateX(0);}
  18%,30%  {transform:translateX(-100%);}
  36%,48%  {transform:translateX(-200%);}
  54%,66%  {transform:translateX(-300%);}
  72%,84%  {transform:translateX(-400%);}
  90%,100% {transform:translateX(-500%);}
}
.rating-text{
  color:#fbbf24;
  font-size:18px;
  letter-spacing:2px;
  margin-bottom:8px;
}
/* MOBILE */
@media(max-width:768px){
  .testimonial{
    flex-direction:column;
    text-align:center;
  }
}


/* =====================================================
FOOTER
===================================================== */
/* FOOTER */
.footer{
  background:#f2faff;
  padding:60px 0 20px;
  margin-top: 10px; 
   
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
}

.footer-logo{width:120px;margin-bottom:12px;}

.footer h4{color:#00a4f4;margin-bottom:12px;}

.footer a, .footer p{
  color:#6d6d6d;
  font-size:15px;
  text-decoration:none;
  display:block;
  margin-bottom:8px;
}
.footer-bottom{
  text-align:center;
  margin-top:40px;
  color:#b0b0b0;
  font-size:14px;
}

/* FLOATING SOCIAL ICONS */
.social-float {
  position: fixed;
  right: 24px;
  bottom: 120px; /* corner-la irukka */
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  margin-top: 0px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

/* BRAND COLORS */
.social-icon.whatsapp {
  background: #25d366;
}

.social-icon.instagram {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.social-icon.linkedin {
  background: #0077b5;
}

/* HOVER */
.social-icon:hover {
  transform: scale(1.12) translateX(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}

.social-icon:hover img {
  transform: rotate(8deg) scale(1.1);
}

/* ACTIVE (CLICK) */
.social-icon:active {
  transform: scale(0.95);
}

/* MOBILE SAFE */
@media (max-width: 768px) {
  .social-float {
    right: 16px;
    bottom: 80px;
  }
}
/* ================================
MODAL OVERLAY
================================ */
.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6); /* overlay only */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ================================
MODAL CONTENT (MAIN)
================================ */
.modal-content{
  background: #ffffff;          /* 🔥 solid white */
  opacity: 1;
  position: relative;
  z-index: 10;
  border-radius: 14px;
  padding: 30px;
  width: 92%;
  max-width: 1100px;
  max-height: 85vh;
  overflow-y: auto;
}

/* CLOSE BUTTON */
.close{
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #111827;
}

/* ================================
PRODUCT GRID (3 COLUMNS)
================================ */
.product-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

/* PRODUCT CARD */
.product-card{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* PRODUCT IMAGE */
.product-card img{
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* PRODUCT TITLE */
.product-card h4{
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

/* ================================
DETAIL MODAL (IMAGE + CONTENT)
================================ */
#detailModal{
  z-index: 10000; /* above list modal */
}

#detailModal .modal-content{
  display: flex;
  gap: 30px;
  background: #ffffff;
  opacity: 1;
}

/* IMAGE SIDE */
.modal-image{
  flex: 1;
  background: #f9fafb;
  padding: 20px;
  border-radius: 12px;
}

.modal-image img{
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

/* CONTENT SIDE */
.modal-details{
  flex: 1;
  background: #ffffff;
  opacity: 1;
}

.modal-details h2{
  color: #111827;
  margin-bottom: 10px;
}

.modal-details p{
  color: #374151;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* PDF BUTTON */
.pdf-btn{
  display: inline-block;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

/* ================================
RESPONSIVE GRID
================================ */
@media(max-width: 992px){
  .product-list{
    grid-template-columns: repeat(2, 1fr);
  }

  #detailModal .modal-content{
    flex-direction: column;
  }
}

@media(max-width: 576px){
  .product-list{
    grid-template-columns: 1fr;
  }
}
/* ================================
RESPONSIVE
================================ */
@media (max-width: 900px) {
  .story-flex {
    flex-direction: column;
    gap: 40px;
  }

  .story-image,
  .story-content {
    flex: 100%;
  }

  .story-content {
    text-align: center;
  }
}


/* RESPONSIVE */
@media(max-width:900px){
  .about-grid,
  .vm-grid{
    grid-template-columns:1fr;
  }

  .values-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  .values-grid{
    grid-template-columns:1fr;
  }

  .brand{
    min-width:160px;
    font-size:16px;
  }
}


/* =====================================================
ROOT VARIABLES
===================================================== */
:root{
  --brand:#0179b4;
  --brand-dark:#005f8f;
  --brand-light:#88d8ff;
  --text-dark:#1f2937;
  --text-body:#4b5563;
  --text-muted:#6b7280;
  --bg-soft:#f5fcff;
}

/* =====================================================
RESET & GLOBAL
===================================================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Manrope",sans-serif;
}

body{
  background:linear-gradient(180deg,#f5fcff,#ebfaff);
  color:var(--text-body);
  margin: 0px;
  padding: 0px;
}

img{max-width:100%;height:auto;}
section{overflow-x:hidden;}

.container{
  max-width:1200px;
  margin:auto;
  padding:0 24px;
}

/* =====================================================
GLOBAL BUTTON SYSTEM (ALL BUTTONS SAME)
===================================================== */
.btn-primary,
.btn-secondary,
.help-form button,
.hero button a{
  display:inline-block;
  padding:16px 36px;
  border-radius:14px;
  font-weight:800;
  letter-spacing:.3px;
  text-decoration:none;
  background:linear-gradient(120deg,var(--brand),var(--brand-dark));
  color:#fff;
  border:none;
  cursor:pointer;
  transition:all .35s ease;
  
}

.btn-secondary{
  background:#fff;
  color:var(--brand);
  border:2px solid var(--brand);
}

.btn-primary:hover,
.btn-secondary:hover,
.portfolio-btn:hover,
.help-form button:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(1,121,180,.35);
}

.btn-primary:active,
.btn-secondary:active,
.portfolio-btn:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(1,121,180,.25);
}

/* =====================================================
HEADER
===================================================== */
.header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:1000;
}

.header-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:90px;
}

.logo{width:110px;}

.nav{
  display:flex;
  gap:36px;
}

.nav a{
  position:relative;
  text-decoration:none;
  font-weight:600;
  color:#3d3d3d;
  padding-bottom:6px;
}

.nav a.active,
.nav a:hover{
  color:var(--brand);
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:var(--brand);
  transition:.3s;
}

.nav a:hover::after,
.nav a.active::after{
  width:100%;
}

/* =====================================================
MOBILE NAV
===================================================== */
.hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.hamburger span{
  width:26px;
  height:3px;
  background:#0a2e72;
  border-radius:2px;
}

.mobile-menu{
  display:none;
  flex-direction:column;
  background:#fff;
  padding:20px;
  gap:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.mobile-menu a{
  text-decoration:none;
  font-weight:600;
  color:#3d3d3d;
}

.mobile-menu.active{display:flex;}

/* =====================================================
HERO
===================================================== */
.hero{
  padding:100px 0;
}

.hero-content{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}

.hero-text h1{
  font-size:48px;
  line-height:56px;
  color:var(--text-dark);
}

.hero-text h1 span{
  background:linear-gradient(100deg,var(--brand),var(--brand-light));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-text p{
  margin-top:20px;
  max-width:520px;
  line-height:26px;
}

.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
}

.hero-bg-shape{
  width:380px;
  height:400px;
  background:linear-gradient(180deg,#00a4f4,#c2ebff);
  border-radius:300px 300px 24px 24px;
}

.hero-doctor{
  position:absolute;
  bottom:-10px;
  width:460px;
}

/* =====================================================
STATS
===================================================== */
.stats{
  /* position: relative;
 bottom: 70px; */
}

.frame-33{
  max-width:1200px;
  margin:80px auto;
  display:flex;
  gap:48px;
  padding:40px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 60px rgba(123,212,255,.25);
}

.frame-33>div{
  flex:1;
  text-align:center;
}

.count{
  font-size:48px;
  font-weight:800;
  background:linear-gradient(90deg,var(--brand),var(--brand-light));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* =====================================================
ABOUT
===================================================== */
.story{
  margin:100px 0;
  /* position: relative;
 bottom: 80px; */
}

.story-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.story h2 span{
  background:linear-gradient(90deg,var(--brand),var(--brand-light));
  -webkit-background-clip:text;
  color:transparent;
}

.story p{
  line-height:26px;
  margin:20px 0;
}

/* =====================================================
PRODUCT PORTFOLIO
===================================================== */
.product-portfolio{
  padding:100px 0;
  text-align:center;
  /* position: relative;
 bottom: 205px; */
}


.portfolio-title{
  font-size:40px;
  color:var(--text-dark);
}

.portfolio-title span{color:var(--brand);}

.portfolio-sub{
  max-width:720px;
  margin:14px auto 0;
  color:var(--text-muted);
}

.portfolio-grid{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.product-card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.product-card img{
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}

.product-card h4{
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}
@media(max-width: 992px){
  .product-list{
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media(max-width: 576px){
  .product-list{
    grid-template-columns: 1fr; /* mobile */
  }
}

/* =====================================================
WHY CHOOSE US
===================================================== */
.why{
  padding:100px 0;
  text-align:center;
  /* position: relative;
 bottom: 330px; */
}

.why-grid{
  margin-top:60px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}
.why .card i{
  width:72px;
  height:72px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--brand),var(--brand-light));

  display:flex;                 /* 🔥 center trick */
  align-items:center;
  justify-content:center;

  margin:0 auto 18px;           /* horizontal center */
  color:#fff;
  font-size:32px;
}

.why .card h3{
  margin-bottom:10px;
}

.card{
  background:#fff;
  padding:40px;
  border-radius:14px;
  border:1px solid #b6e6ff;
  transition:.35s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(1,121,180,.18);
}

/* =====================================================
TRUSTED BRANDS
===================================================== */

/* ================= CONTINUOUS BRAND CAROUSEL ================= */
.brand-carousel-section{
   /* position: relative;
 bottom: 350px; */
}

.brand-carousel{
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
  
}

.brand-track{
  display: flex;
  gap: 60px;
  width: max-content;
  animation: brandScroll 28s linear infinite;
}

.brand-card{
  min-width: 200px;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e5f3fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card img{
  max-width: 140px;
  max-height: 60px;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.brand-card:hover img{
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes brandScroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* PAUSE ON HOVER */
.brand-carousel:hover .brand-track{
  animation-play-state: paused;
}

/* =====================================================
CLIENTS
===================================================== */
.clients-carousel-section{
  padding:100px 0;
  text-align:center;
}

.clients-carousel{
  margin-top:50px;
  overflow:hidden;
}

.clients-track{
  display:flex;
  gap:30px;
  transition:transform 0.6s ease;
}

.client-card{
  flex:0 0 calc(100% / 3);
  background:#fff;
  padding:30px;
  border-radius:16px;
  border:1px solid #e5f3fb;
  display:flex;
  justify-content:center;
}
/* =====================================================
HELP DESK
===================================================== */
.helpdesk{
  background:#f0f9ff;
  text-align:center;
  padding:80px 24px;
  }

.helpdesk span{color:#00a4f4;}

.help-form{
  margin-top:30px;
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

.help-form input{
  padding:16px;
  width:260px;
  border-radius:12px;
  border:1px solid #ccecff;
}

.help-form button{
  background:#00a4f4;
  color:#fff;
  padding:16px 28px;
  border-radius:12px;
  border:none;
  font-weight:700;
}

/* =====================================================
FOOTER
===================================================== */
/* FOOTER */
.footer{
  background:#f2faff;
  padding:60px 0 20px;
    position: relative;
 bottom: -10px; 

}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
}

.footer-logo{width:120px;margin-bottom:12px;}

.footer h4{color:#00a4f4;margin-bottom:12px;}

.footer a, .footer p{
  color:#6d6d6d;
  font-size:15px;
  text-decoration:none;
  display:block;
  margin-bottom:8px;
}
.footer-bottom{
  text-align:center;
  margin-top:40px;
  color:#b0b0b0;
  font-size:14px;
}

/* FLOATING SOCIAL ICONS */
.social-float {
  position: fixed;
  right: 24px;
  bottom: 120px; /* corner-la irukka */
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
  margin-top: 0px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

/* BRAND COLORS */
.social-icon.whatsapp {
  background: #25d366;
}

.social-icon.instagram {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.social-icon.linkedin {
  background: #0077b5;
}

/* HOVER */
.social-icon:hover {
  transform: scale(1.12) translateX(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}

.social-icon:hover img {
  transform: rotate(8deg) scale(1.1);
}

/* ACTIVE (CLICK) */
.social-icon:active {
  transform: scale(0.95);
}

/* MOBILE SAFE */
@media (max-width: 768px) {
  .social-float {
    right: 16px;
    bottom: 80px;
  }
}


/* ================================
RESPONSIVE
================================ */
@media (max-width: 900px) {
  .story-flex {
    flex-direction: column;
    gap: 40px;
  }

  .story-image,
  .story-content {
    flex: 100%;
  }

  .story-content {
    text-align: center;
  }
}


/* RESPONSIVE */
@media(max-width:900px){
  .about-grid,
  .vm-grid{
    grid-template-columns:1fr;
  }

  .values-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  .values-grid{
    grid-template-columns:1fr;
  }

  .brand{
    min-width:160px;
    font-size:16px;
  }
}


/* =====================================================
RESPONSIVE
===================================================== */
@media(max-width:900px){
  .nav,.desktop-cta{display:none;}
  .hamburger{display:flex;}
  .hero-content,
  .story-grid{grid-template-columns:1fr;text-align:center;}
  .portfolio-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:1fr;}
  .client-card{flex:0 0 50%;}
}

@media(max-width:520px){
  .portfolio-grid{grid-template-columns:1fr;}
  .frame-33{flex-wrap:wrap;}
  .frame-33>div{flex:0 0 100%;}
  .client-card{flex:0 0 100%;}
}
@media(max-width:768px)
{
  .brand-track{
    gap: 40px;
    animation-duration: 22s;
  }
}
/* =====================================================
RESPONSIVE
===================================================== */
@media(max-width:900px){
  .nav,.desktop-cta{display:none;}
  .hamburger{display:flex;}
  .hero-content,
  .story-grid{grid-template-columns:1fr;text-align:center;}
  .portfolio-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:1fr;}
  .client-card{flex:0 0 50%;}
}

@media(max-width:520px){
  .portfolio-grid{grid-template-columns:1fr;}
  .frame-33{flex-wrap:wrap;}
  .frame-33>div{flex:0 0 100%;}
  .client-card{flex:0 0 100%;}
}
@media(max-width:768px)
{
  .brand-track{
    gap: 40px;
    animation-duration: 22s;
  }
}
@media(max-width: 768px){
  .hero{
    padding: 150px 20px 100px;
    background-position: center;
  }

  .hero-content{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p{
    margin: 20px auto;
  }
}