/* =========================
   ROOT VARIABLES
========================= */
:root{
  --primary:#2f7df6;
  --primary-dark:#1d4ed8;
  --text-dark:#1f2937;
  --text-muted:#6b7280;
  --border:#e5e7eb;
  --bg:#f9fafb;
  --white:#ffffff;
  --radius:18px;
}

/* =========================
   BASE RESET
========================= */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:"Poppins",sans-serif;
  background:var(--bg);
  color:var(--text-dark);
  line-height:1.7;
  padding-top:80px; /* ✅ FIX: navbar overlap */
}

/* =========================
   NAVBAR
========================= */
nav{
  background:#ffffff;
  padding:10px 20px;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.nav-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Left */
.nav-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo{
  height:50px;
}

.brand-name{
  font-size:24px;
  font-weight:800;
  background:linear-gradient(90deg,#003cff,#46c4ee);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* Links */
.nav-links{
  display:flex;
  list-style:none;
}

.nav-links li{
  margin-left:20px;
}

.nav-links a{
  text-decoration:none;
  font-size:17px;
  font-weight:500;
  color:#0d2f4f;
}

.nav-links a:hover{
  color:var(--primary-dark);
}

/* =========================
   HAMBURGER
========================= */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  width:22px;
}

.hamburger span{
  height:3px;
  background:#092950;
  margin:4px 0;
  border-radius:4px;
  transition:0.3s ease;
}

/* Animation */
.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2){
  opacity:0;
}
.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* Mobile menu */
@media(max-width:992px){
  .hamburger{display:flex;}

  .nav-links{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    align-items:center;
    padding:20px 0;
    gap:15px;
    opacity:0;
    transform:translateY(-10px);
    pointer-events:none;
    transition:.3s ease;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
  }

  .nav-links.active{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .nav-links li{
    margin:0;
  }
}

/* =========================
   CONTAINER
========================= */
.container{
  max-width:1200px;
  margin:auto;
  padding:60px 20px;
}

/* =========================
   PAGE HEADER
========================= */
.page-header{
  text-align:center;
  margin-bottom:70px;
}

.page-header h1{
  font-size:44px;
  color:var(--primary);
  margin-bottom:12px;
}

.page-header p{
  max-width:760px;
  margin:auto;
  font-size:17px;
  color:var(--text-muted);
}

/* =========================
   GUARANTEE SECTIONS
========================= */
.guarantee-section{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:40px;
  margin-bottom:60px;
  box-shadow:0 10px 25px rgba(0,0,0,.04);
}

.guarantee-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

/* Image */
.guarantee-image{
  max-height:340px;
  overflow:hidden;
  border-radius:14px;
}

.guarantee-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Content */
.guarantee-content h2{
  font-size:30px;
  margin-bottom:15px;
}

.guarantee-content p{
  color:var(--text-muted);
  margin-bottom:22px;
  max-width:520px;
}

/* Points */
.points{
  display:grid;
  gap:14px;
}

.point{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.check{
  color:var(--primary);
  font-size:18px;
  min-width:22px;
  margin-top:3px;
}

.point p{
  font-size:15px;
  margin:0;
}

/* =========================
   COMMITMENT STRIP
========================= */
.commitment{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;
  border-radius:var(--radius);
  padding:50px 40px;
  text-align:center;
}

.commitment h3{
  font-size:28px;
  margin-bottom:12px;
}

.commitment p{
  max-width:820px;
  margin:auto;
  opacity:.95;
}

/* =========================
   FOOTER (FIXED ALIGNMENT)
========================= */
.footer{
  background:#1E2322;
  padding:60px 20px 30px;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}

.footer-col h3,
.footer-col h4{
  color:#fff;
  margin-bottom:15px;
}

.footer-col p{
  font-size:14px;
  color:#d1d5db;
  line-height:1.6;
}

.footer-col ul{
  list-style:none;
}

.footer-col ul li{
  margin-bottom:10px;
}

.footer-col ul a{
  color:#d1d5db;
  font-size:14px;
  font-weight:500;
  text-decoration:none;
}

.footer-col ul a:hover{
  color:#ffffff;
}

/* Logos */
.vision-logo{
  width:140px;
  filter:brightness(0) invert(1);
}

/* Certifications */
.certifications{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  margin:40px 0 20px;
  flex-wrap:wrap;
}

/* Social */
.footer-social{
  text-align:center;
  margin:20px 0;
}

.footer-social a{
  color:#ffffff;
  margin:0 10px;
  font-size:18px;
}

.footer-social a:hover{
  color:#00bcd4;
}

.footer-copy{
  text-align:center;
  font-size:13px;
  color:#9ca3af;
  margin-top:10px;
}

/* =========================
   SCROLL TO TOP
========================= */
#scrollTopBtn{
  position:fixed;
  right:20px;
  bottom:20px;
  background:#2759fb;
  color:#fff;
  border:none;
  width:45px;
  height:45px;
  border-radius:50%;
  cursor:pointer;
  display:none;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px){
  .guarantee-grid{
    grid-template-columns:1fr;
  }

  .guarantee-image{
    max-height:280px;
  }

  .guarantee-content p{
    max-width:100%;
  }
}

@media(max-width:600px){
  .footer{
    text-align:center;
  }
}

@media(max-width:480px){
  .page-header h1{
    font-size:32px;
  }

  .guarantee-content h2{
    font-size:24px;
  }

  .commitment h3{
    font-size:22px;
  }

  .guarantee-section{
    padding:28px;
  }
}
