*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Poppins,sans-serif;
}

/* ================= THEME SYSTEM ================= */
:root{
  --bg:#f7f9fb;
  --text:#2b2b2b;

  --surface:#ffffff;
  --surface-2:#eef3f5;
  --surface-3:#e6edf0;

  --glass:rgba(255,255,255,0.6);

  --dark:#02575c;
  --light:#049695;
  --accent:#eaad40;
}

/* ================= DARK MODE (FIXED PROPERLY) ================= */
body.dark{
  --bg:#0b1416;
  --text:#e8f1f1;

  --surface:#152326;
  --surface-2:#0f1a1d;
  --surface-3:#0c1517;

  --glass:rgba(15,26,29,0.7);
}

body{
  background:var(--bg);
  color:var(--text);
  transition:0.3s ease;
}

/* ================= NAVBAR ================= */
.navbar{
  position:fixed;
  width:100%;
  z-index:1000;
  background:var(--glass);
  backdrop-filter:blur(12px);
}

.nav-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 20px;
}

.logo{
  color:var(--dark);
  font-weight:700;
}

/* NAV LINKS */
.nav-links{
  display:flex;
  gap:15px;
  list-style:none;
}

.nav-links a{
  padding:8px 14px;
  border-radius:8px;
  text-decoration:none;
  color:var(--text);
  transition:0.3s;
  cursor:pointer;
}

.nav-links a:hover{
  background:var(--dark);
  color:#fff;
}

/* CONTROLS */
.controls button{
  margin-left:5px;
  border:none;
  padding:6px 10px;
  border-radius:6px;
  background:var(--light);
  color:#fff;
  cursor:pointer;
}

/* HAMBURGER */
.hamburger{
  display:none;
  font-size:24px;
  cursor:pointer;
}

/* ================= HERO ================= */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  color:#fff;
}

.hero-video{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}

.hero-overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
}

.hero-content{
  text-align:center;
  z-index:2;
  max-width:750px;
}

/* FIXED HERO SPACING */
.hero-content p{
  margin-top:18px;
  margin-bottom:38px; /* 🔥 MORE SPACE BEFORE BUTTONS */
  font-size:1.05rem;
  opacity:0.95;
}

/* BUTTONS */
.btn{
  padding:12px 22px;
  border-radius:30px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.primary{
  background:var(--accent);
  color:#000;
}

.whatsapp-cta{
  background:#049695;
  color:#fff;
}

/* BUTTON ALIGNMENT */
.hero-buttons{
  display:flex;
  gap:14px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

/* ================= GLASS ================= */
.glass{
  background:var(--glass);
  backdrop-filter:blur(12px);
  border-radius:20px;
}

/* ================= SECTIONS (FIXED DEPTH SYSTEM) ================= */
.section{
  padding:100px 20px;
  background:var(--surface);
}

.section.alt{
  background:var(--surface-2);
}

/* EXTRA VARIATION FOR BETTER VISUAL SEPARATION */
.section:nth-child(odd){
  background:var(--surface);
}

.section:nth-child(even){
  background:var(--surface-2);
}

/* DARK MODE SECTION DEPTH FIX */
body.dark .section:nth-child(odd){
  background:var(--surface);
}

body.dark .section:nth-child(even){
  background:var(--surface-2);
}

/* HEADINGS */
h2{
  text-align:center;
  margin-bottom:40px;
  color:var(--dark);
}

body.dark h2{
  color:#7fd6d6;
}

/* ================= CARDS ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.card{
  padding:25px;
  border-radius:16px;
  background:var(--surface);
  box-shadow:0 15px 30px rgba(0,0,0,0.05);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-8px) scale(1.02);
}

/* DARK CARD FIX */
body.dark .card{
  background:var(--surface);
  box-shadow:0 15px 25px rgba(0,0,0,0.25);
}

/* ================= STEPS ================= */
.steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
}

.step{
  background:var(--surface);
  padding:25px;
  border-radius:14px;
  text-align:center;
}

body.dark .step{
  background:var(--surface);
}

/* ================= CONTACT ================= */
.contact-form{
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:15px;
}

.contact-form input,
.contact-form textarea{
  padding:14px;
  border-radius:10px;
  border:1px solid #ddd;
  background:var(--surface);
  color:var(--text);
}

body.dark .contact-form input,
body.dark .contact-form textarea{
  border:1px solid #2f4f4f;
}

/* ================= STATS ================= */
.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
}

.stat{
  text-align:center;
  background:var(--surface);
  padding:25px;
  border-radius:14px;
}

body.dark .stat{
  background:var(--surface);
}

/* ================= FLOAT BUTTONS ================= */
.float-btn{
  position:fixed;
  width:55px;
  height:55px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.whatsapp{
  right:20px;
  bottom:20px;
  background:#25D366;
  color:#fff;
}

#backToTop{
  right:20px;
  bottom:90px;
  background:var(--accent);
  border:none;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
  .nav-links{
    display:none;
    flex-direction:column;
    position:absolute;
    top:60px;
    right:0;
    background:var(--surface);
    padding:20px;
    border-radius:10px;
  }

  .nav-links.active{
    display:flex;
  }

  .hamburger{
    display:block;
  }
}

.hero-media{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  overflow:hidden;
  z-index:-2;
}

.hero-video{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.8s ease-in-out;
}

.hero-video.active{
  opacity:1;
}

/* ================= FOOTER (FIXED CENTER PROPERLY) ================= */
.footer{
  width:100%;
  text-align:center;
  padding:25px 20px;
  background:#111;
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:0.95rem;
  letter-spacing:0.5px;
}

@media(max-width:768px){
  .hero-video{
    object-fit: cover;
    min-height: 100%;
    background: #000;
  }
}