@import url('https://fonts.googleapis.com/css2?family=Balthazar&family=Charm:wght@400;700&display=swap');

/* =====================
   NAVBAR CONTAINER
   ===================== */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #ffffff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-container.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

/* =====================
   NAVBAR INNER
   ===================== */
.navbar {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    box-sizing: border-box;
}

/* =====================
   LOGO
   ===================== */
a {
    text-decoration: none;
    color: inherit;
}

.nav-logo .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

.logo-title {
    font-family: 'Balthazar', sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    color: #4bb811;
    white-space: nowrap;
}

/* =====================
   DESKTOP NAV LINKS
   ===================== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.95em;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #22c55e;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #22c55e;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* =====================
   SERVICES DROPDOWN
   ===================== */
.services-container {
    position: relative;
}

.services-arrow {
    font-size: 0.75em;
    transition: transform 0.3s ease;
}

.services-container:hover .services-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 220px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    border-top: 3px solid #22c55e;
}

.services-container:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-weight: 500;
    font-size: 0.9em;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown li a:hover {
    background-color: #f0fdf4;
    color: #22c55e;
    border-left-color: #22c55e;
}

.dropdown li + li {
    border-top: 1px solid #f0f0f0;
}

/* =====================
   GET CONSULTATION BUTTON (Desktop)
   ===================== */
.btn-consultation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88em;
    border-radius: 50px;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    margin-left: 8px;
}

.btn-consultation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s ease;
    border-radius: 50px;
}

.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.btn-consultation:hover::before {
    background: rgba(255, 255, 255, 0.08);
}

.btn-consultation:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.btn-consultation .wa-icon {
    width: 16px;
    height: 16px;
    fill: #ffffff;
    flex-shrink: 0;
}

/* =====================
   GET CONSULTATION BUTTON (Mobile)
   ===================== */
.btn-consultation-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 16px 16px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95em;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 14px rgba(37, 211, 102, 0.4);
    letter-spacing: 0.01em;
}

.btn-consultation-mobile:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
    color: #ffffff !important;
}

.btn-consultation-mobile .wa-icon {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    flex-shrink: 0;
}

/* =====================
   HAMBURGER
   ===================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* =====================
   MOBILE MENU
   ===================== */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu.active {
    max-height: 700px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 24px;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.mobile-nav-link:hover {
    background-color: #f0fdf4;
    color: #22c55e;
}

.services-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    padding: 14px 24px;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.services-toggle:hover {
    color: #22c55e;
}

.toggle-icon {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.mobile-services-container.open .toggle-icon {
    transform: rotate(180deg);
}

.mobile-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9fafb;
}

.mobile-services-container.open .mobile-dropdown {
    max-height: 400px;
}

.mobile-dropdown li a {
    display: block;
    padding: 11px 24px 11px 36px;
    color: #555;
    font-size: 0.9em;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.mobile-dropdown li a:hover {
    background-color: #f0fdf4;
    color: #22c55e;
    border-left-color: #22c55e;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .logo-title {
        font-size: 1em;
    }
}

@media (max-width: 996px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}








/* =====================
   MOBILE CONSULT BUTTON (NEW)
   ===================== */

.mobile-consult-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 16px;
    padding: 14px;

    background: linear-gradient(135deg, #25d366, #1da851);
    color: #fff;
    font-weight: 600;
    font-size: 15px;

    border-radius: 12px;
    text-decoration: none;

    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);

    width: calc(100% - 32px);
    box-sizing: border-box;

    transition: 0.2s ease;
}

/* icon */
.mobile-consult-btn i {
    font-size: 18px;
}

/* text */
.mobile-consult-btn span {
    white-space: nowrap;
}

/* hover */
.mobile-consult-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}