:root {
    --primary-dark: #212121;
    --primary-teal: #2F5755;
    --secondary-teal: #5A9690;
    --light-bg: #e6f2f1;
    --white: #ffffff;
    --dark: #432323;
    --gray: #6B6B6B;
    --footer-color: #2F5755;
    --bg-light: #e6f2f1;
    --text-light: #8B8B8B;
}

/* Navigation Base Styles */
nav {
    position: fixed;
    top: 0px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.7rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(47, 87, 85, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(47, 87, 85, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

/* navbar img.  */

.logo-img {
    width: auto;
    max-width: 150px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-img:hover {
    transform: scale(1.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-teal);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-teal);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .logo-img {
        max-width: 120px;
        max-height: 50px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-width: 100px;
        max-height: 40px;
        margin: auto;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 80px;
        max-height: 35px;
    }
}

/* Responsive Navbar - Tablet & Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(47, 87, 85, 0.2);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }
}

/* footer underline css  */

.footer-section ul li a {
    position: relative;
    text-decoration: none;
    color: #fff;
    /* your footer link color */
    padding-bottom: 3px;
    display: inline-block;
}

.footer-section ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #8B8B8B;
    ;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* On hover: expand from center */
.footer-section ul li a:hover::after,
.footer-section ul li a:focus::after {
    width: 100%;
}

/* footer underline css  */



.see-more-link {
    text-decoration: none;
    color: var(--primary-teal);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    z-index: 1002;
}

.explore-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.8rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1002;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px);
}

.dropdown-menu li {
    padding: 0;
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--light-bg, #f8f9fa);
    color: var(--primary-teal);
    padding-left: 1.8rem;
}

.dropdown-menu li a::after {
    display: none;
    /* Remove underline from main nav styles */
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        width: 90%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Hidden by default */
        padding: 0;
        margin-top: 0.5rem;
        transition: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    .dropdown.active .mobile-dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        padding: 0.8rem;
        text-align: center;
        font-size: 1rem;
    }

    .dropdown-menu li a:hover {
        padding-left: 0.8rem;
        background: transparent;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}