/* ================================ Header/Navbar ================================ */
.navbar {
    color:#333;
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* -------- Logo -------- */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo img {
    height: 40px;
    width: auto;
}
.logo span {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

/* -------- Nav Links -------- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    position: relative;
}
.nav-links a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}
.nav-links a:hover {
    color: #006400;
}

/* -------- CTA Button -------- */
.btn-orange {
    background: #006400;
    color: #fff;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    margin-right: 50px;
}
.btn-orange:hover {
    background: #e65c00;
}

/* -------- Dropdown -------- */
.nav-links li {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    color: #333;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    min-width: 220px;
    z-index: 10000;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
}
.dropdown-menu li a:hover {
    background: #333;
    color: #ffb84d;
}
.nav-links li:hover > .dropdown-menu {
    display: block;
}

/* -------- Mobile Toggle -------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* -------- Responsive -------- */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        width: 100%;
        padding: 15px 0;
        margin-top: 10px;
        border-radius: 5px;
        z-index: 9999;
        position: absolute; /* Add this line */
        top: 100%; /* Add this line to position below header */
        left: 0; /* Add this line */
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #fff;
        width: 100%;
    }
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    .logo { flex: 1; }

    /* Book Free Test button visible in mobile */
    .nav-links .cta {
        margin-top: 15px;
    }
    .nav-links .cta a {
        display: inline-block;
        width: 80%;
        margin: auto;
        text-align: center;
    }
}
/* Common Floating Button Style */
.float-btn {
  position: fixed;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: all 0.25s ease;
  text-decoration: none !important;  /* ✅ removes underline */
  border: none;
}

/* Hover Animation */
.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

/* WhatsApp Button */
.whatsapp-btn {
  bottom: 25px;
  right: 95px;
  background-color: #25d366;
}

/* Call Button */
.call-btn {
  bottom: 25px;
  right: 25px;
  background-color: #ff6600;
}

/* Icon Adjustment */
.float-btn i {
  line-height: 1;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  .whatsapp-btn {
    right: 80px;
  }
  .call-btn {
    right: 20px;
  }
}
