/* ==========================================================
   Vital Immune Network - Global Styles
   ========================================================== */
:root{
  --teal:#0b4f4a;
  --teal-2:#127a70;
  --teal-3:#2fb99c;
  --mint:#e8f8f3;
  --lime:#a7e8bd;
  --coral:#ff7a59;
  --ink:#1d2b2a;
  --muted:#5b6f6c;
  --shadow:0 18px 45px rgba(11,79,74,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  color:var(--ink);
  background:#fbfffd;
  line-height:1.7;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,h6{color:var(--teal);font-weight:700;line-height:1.25}
a{color:var(--teal-2);text-decoration:none}
a:hover{color:var(--coral)}
img{max-width:100%}

/* ---------- Header / Logo ---------- */
.site-header{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 6px 25px rgba(11,79,74,.06);
  z-index:1030;
}
.navbar{padding:.75rem 0}
.logo{height:46px;width:auto;display:block}
.navbar-brand{padding:0}
.nav-link{color:var(--teal);font-weight:500;padding:.5rem .85rem !important;position:relative}
.nav-link::after{
  content:"";position:absolute;left:.85rem;right:.85rem;bottom:.2rem;height:2px;
  background:var(--coral);transform:scaleX(0);transition:transform .3s ease;border-radius:2px
}
.nav-link:hover::after,.nav-link.active::after{transform:scaleX(1)}
.nav-link:hover,.nav-link.active{color:var(--coral)}
.navbar-toggler{border:0;box-shadow:none !important}

/* ---------- Buttons ---------- */
.btn-cta{
  background:linear-gradient(135deg,var(--coral),#ff9f6b);
  color:#fff !important;border:0;border-radius:50px;
  padding:.65rem 1.5rem;font-weight:600;
  box-shadow:0 10px 25px rgba(255,122,89,.35);
  transition:transform .25s ease, box-shadow .25s ease;
}
.btn-cta:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(255,122,89,.45)}
.btn-ghost{
  border:2px solid #fff;color:#fff !important;border-radius:50px;
  padding:.6rem 1.5rem;font-weight:600;background:transparent;transition:.25s
}
.btn-ghost:hover{background:#fff;color:var(--teal) !important}
.btn-teal{
  background:var(--teal);color:#fff !important;border-radius:50px;
  padding:.6rem 1.4rem;font-weight:600;border:0;transition:.25s
}
.btn-teal:hover{background:var(--teal-2);transform:translateY(-2px)}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(120deg,#0b4f4a 0%,#127a70 55%,#2fb99c 100%);
  color:#fff;position:relative;overflow:hidden;
  padding:110px 0 130px;border-radius:0 0 60px 60px;
}
.hero h1{color:#fff;font-size:clamp(2.2rem,5vw,3.8rem);font-weight:800}
.hero p.lead{color:#e3fbf4;font-size:1.15rem}
.hero .eyebrow{background:rgba(255,255,255,.15);color:#fff}
.hero-img{
  border-radius:32px;box-shadow:0 30px 60px rgba(0,0,0,.25);
  width:100%;height:460px;object-fit:cover;
  animation:float 6s ease-in-out infinite;
}
.blob{position:absolute;border-radius:50%;filter:blur(2px);opacity:.25;background:var(--lime);z-index:0}
.blob-1{width:380px;height:380px;top:-120px;left:-120px}
.blob-2{width:260px;height:260px;bottom:-80px;right:10%;background:var(--coral)}
.hero .container{position:relative;z-index:1}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}

/* Inner page hero */
.page-hero{
  background:linear-gradient(120deg,#0b4f4a,#127a70 60%,#2fb99c);
  color:#fff;padding:90px 0 110px;position:relative;overflow:hidden;
  border-radius:0 0 50px 50px;text-align:center;
}
.page-hero h1{color:#fff;font-weight:800;font-size:clamp(2rem,4.5vw,3.2rem)}
.page-hero p{color:#e3fbf4;max-width:680px;margin:0 auto}
.page-hero .blob-1{opacity:.18}

/* ---------- Sections ---------- */
.section{padding:95px 0;position:relative}
.section-alt{background:linear-gradient(180deg,var(--mint),#fbfffd)}
.eyebrow{
  display:inline-block;background:var(--mint);color:var(--teal-2);
  text-transform:uppercase;letter-spacing:2px;font-size:.78rem;font-weight:600;
  padding:.35rem 1rem;border-radius:50px;margin-bottom:1rem
}
.section-title{font-size:clamp(1.8rem,3.5vw,2.6rem);margin-bottom:1rem}
.section-sub{color:var(--muted);max-width:650px;margin:0 auto 3rem}
.text-muted-2{color:var(--muted)}

.about-img{border-radius:30px;box-shadow:var(--shadow);width:100%;height:440px;object-fit:cover}
.about-badge{
  position:absolute;bottom:-25px;right:-20px;background:#fff;border-radius:22px;
  padding:1.2rem 1.5rem;box-shadow:var(--shadow);display:flex;align-items:center;gap:.8rem
}
.about-badge .icon-circle{margin:0}
.check-list{list-style:none;padding:0}
.check-list li{padding:.4rem 0 .4rem 2rem;position:relative}
.check-list li::before{
  content:"\2714";position:absolute;left:0;top:.4rem;color:var(--teal-3);font-weight:700
}

/* ---------- Feature / Why cards ---------- */
.feature-card{
  background:#fff;border-radius:26px;padding:2.2rem 1.8rem;height:100%;
  box-shadow:var(--shadow);border:1px solid rgba(11,79,74,.05);
  transition:transform .35s ease, box-shadow .35s ease;position:relative;overflow:hidden
}
.feature-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--teal-3),var(--lime));
}
.feature-card:hover{transform:translateY(-10px);box-shadow:0 30px 60px rgba(11,79,74,.18)}
.icon-circle{
  width:70px;height:70px;border-radius:22px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--mint),#c9f2e4);font-size:1.9rem;margin-bottom:1.2rem;
  transition:transform .35s ease
}
.feature-card:hover .icon-circle{transform:rotate(-8deg) scale(1.08)}

/* ---------- Service cards ---------- */
.service-card{
  border:0;border-radius:26px;overflow:hidden;background:#fff;height:100%;
  box-shadow:var(--shadow);transition:transform .35s ease, box-shadow .35s ease;
  display:flex;flex-direction:column
}
.service-card:hover{transform:translateY(-10px);box-shadow:0 30px 60px rgba(11,79,74,.18)}
.service-card .card-img-wrap{height:210px;overflow:hidden;position:relative}
.service-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.service-card:hover img{transform:scale(1.1)}
.service-card .card-body{padding:1.6rem 1.6rem 1.8rem;display:flex;flex-direction:column;flex:1}
.service-card h3{font-size:1.25rem;margin-bottom:.6rem}
.service-card p{color:var(--muted);font-size:.95rem;flex:1}
.service-card .btn{align-self:flex-start;margin-top:.6rem}

/* ---------- Testimonials ---------- */
.testimonial-card{
  background:#fff;border-radius:26px;padding:2.2rem;box-shadow:var(--shadow);height:100%;position:relative
}
.testimonial-card::before{
  content:"\201C";position:absolute;top:10px;right:24px;font-size:6rem;line-height:1;
  color:var(--mint);font-family:Georgia,serif
}
.testimonial-card .stars{color:#ffb547;letter-spacing:3px}
.testimonial-card p{color:var(--ink);font-style:italic;position:relative;z-index:1}
.avatar{
  width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--teal-3),var(--teal));color:#fff;font-weight:700;font-size:1.1rem
}

/* ---------- Blog cards ---------- */
.blog-card{
  border:0;border-radius:26px;overflow:hidden;background:#fff;height:100%;
  box-shadow:var(--shadow);transition:.35s ease;display:flex;flex-direction:column
}
.blog-card:hover{transform:translateY(-8px);box-shadow:0 30px 60px rgba(11,79,74,.18)}
.blog-card img{height:230px;width:100%;object-fit:cover}
.blog-card .card-body{padding:1.8rem;display:flex;flex-direction:column;flex:1}
.blog-card .tag{font-size:.75rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--coral);font-weight:600}
.blog-card h3{font-size:1.3rem;margin:.5rem 0 .8rem}
.blog-card h3 a{color:var(--teal)}
.blog-card h3 a:hover{color:var(--coral)}
.blog-card p{color:var(--muted);flex:1}
.blog-hero-img{width:100%;height:440px;object-fit:cover;border-radius:30px;box-shadow:var(--shadow)}
.article{background:#fff;border-radius:30px;padding:3rem;box-shadow:var(--shadow);margin-top:-80px;position:relative;z-index:2}
.article h2{font-size:1.6rem;margin-top:2rem}
.article p,.article li{color:#34504c;font-size:1.05rem}
.article blockquote{
  border-left:5px solid var(--coral);background:var(--mint);padding:1.2rem 1.5rem;border-radius:0 18px 18px 0;
  font-style:italic;color:var(--teal);margin:2rem 0
}

/* ---------- FAQ ---------- */
.accordion-item{border:0;margin-bottom:1rem;border-radius:20px !important;overflow:hidden;box-shadow:0 8px 25px rgba(11,79,74,.07)}
.accordion-button{font-weight:600;color:var(--teal);padding:1.3rem 1.6rem;background:#fff;box-shadow:none !important}
.accordion-button:not(.collapsed){background:var(--mint);color:var(--teal)}
.accordion-body{color:var(--muted);padding:1.2rem 1.6rem 1.6rem}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,#0b4f4a,#127a70 60%,#2fb99c);
  border-radius:40px;color:#fff;padding:4.5rem 3rem;position:relative;overflow:hidden;text-align:center
}
.cta-band h2{color:#fff;font-weight:800;font-size:clamp(1.8rem,4vw,2.8rem)}
.cta-band p{color:#e3fbf4;max-width:620px;margin:0 auto 2rem}
.cta-band .blob-1{top:-120px;right:-100px;left:auto}
.cta-band .blob-2{bottom:-120px;left:-80px;right:auto}

/* ---------- Forms & Contact ---------- */
.form-card{background:#fff;border-radius:30px;padding:2.8rem;box-shadow:var(--shadow)}
.form-control,.form-select{
  border-radius:14px;padding:.8rem 1.1rem;border:1.5px solid #d6ebe6;background:#fbfffd
}
.form-control:focus,.form-select:focus{border-color:var(--coral);box-shadow:0 0 0 .2rem rgba(255,122,89,.18)}
.form-label{font-weight:500;color:var(--teal);font-size:.95rem}
.info-card{
  background:#fff;border-radius:26px;padding:2rem;box-shadow:var(--shadow);height:100%;
  display:flex;gap:1.1rem;align-items:flex-start;transition:.3s
}
.info-card:hover{transform:translateY(-6px)}
.info-card h5{margin-bottom:.3rem}
.info-card p{margin:0;color:var(--muted)}
.success-msg{display:none;background:var(--mint);color:var(--teal);border-radius:16px;padding:1rem 1.3rem;font-weight:500;margin-top:1.2rem}
.success-msg.show{display:block;animation:fadeIn .5s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- Legal pages ---------- */
.legal{background:#fff;border-radius:30px;padding:3.2rem;box-shadow:var(--shadow);margin-top:-80px;position:relative;z-index:2}
.legal h2{font-size:1.4rem;margin-top:2.2rem;color:var(--teal)}
.legal p,.legal li{color:#34504c}

/* ---------- Newsletter page ---------- */
.news-wrap{margin-top:-80px;position:relative;z-index:2}
.news-side{
  background:linear-gradient(160deg,var(--teal),var(--teal-2));color:#fff;border-radius:30px;padding:3rem;height:100%
}
.news-side h3{color:#fff}
.news-side li{color:#e3fbf4;margin-bottom:.6rem}

/* ---------- Footer ---------- */
.site-footer{
  background:linear-gradient(180deg,#0a3f3b,#082f2c);color:#cfe9e4;padding:80px 0 0;position:relative;overflow:hidden
}
.site-footer h5{color:#fff;font-weight:600;margin-bottom:1.2rem}
.site-footer a{color:#cfe9e4;transition:.25s;display:inline-block;margin-bottom:.45rem}
.site-footer a:hover{color:var(--lime);transform:translateX(4px)}
.site-footer p{color:#a9cfc8}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:50px;padding:24px 0;color:#8fbcb4;font-size:.9rem}
.social a{
  width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.08);
  display:inline-flex;align-items:center;justify-content:center;margin-right:.5rem;margin-bottom:0
}
.social a:hover{background:var(--coral);transform:translateY(-3px)}
.footer-logo{height:46px;width:auto}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(35px);transition:opacity .8s ease, transform .8s ease}
.reveal.visible{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px){
  .hero{padding:80px 0 110px}
  .hero-img{height:340px;margin-top:2rem}
  .about-badge{right:10px;bottom:-20px}
  .section{padding:70px 0}
  .article,.legal{padding:2rem;margin-top:-60px}
  .cta-band{padding:3rem 1.5rem}
  .navbar-collapse{background:#fff;border-radius:20px;padding:1rem;margin-top:1rem;box-shadow:var(--shadow)}
  .nav-link::after{display:none}
}
@media (max-width: 575.98px){
  .logo{height:38px}
  .about-img{height:300px}
  .blog-hero-img{height:260px}
  .form-card{padding:1.8rem}
}
