﻿/* Header Base */
.goda-header {
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 15px 0;
    z-index: 1000;
    animation: fadeInDown 0.7s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

    .logo-section a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

/* Logo Image */
.header-logo {
    height: 90px;
    transition: transform 0.4s ease-in-out;
}

.logo-section:hover .header-logo {
    transform: scale(1.1);
}

/* Logo Text */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    animation: fadeInLeft 1s ease-in-out;
}

    .logo-text .logo-main {
        font-size: 1.6rem;
        font-weight: 700;
        font-family: 'Montserrat', sans-serif;
        color: #1a3d7c; /* Deep Blue - professional look */
        transition: color 0.3s ease;
    }

    .logo-text .logo-sub {
        font-size: 0.95rem;
        font-weight: 500;
        font-family: 'Poppins', sans-serif;
        color: #555; /* Dark grey for sub text */
        letter-spacing: 0.5px;
    }

/* Hover Animation for Text */
.logo-section:hover .logo-main {
    color: #0d6efd; /* Blue on hover */
}

.logo-section:hover .logo-sub {
    color: #28a745; /* Green on hover */
}

/* Animation Keyframes */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Navigation */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: #2e7d32;
    }

    .nav-link.active {
        color: #00796b;
        border-bottom: 2px solid #00796b;
    }

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 6px;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 240px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .dropdown-menu li a:hover {
        background-color: #e0f2f1;
        color: #00796b;
    }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

    .mobile-toggle span {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 4px 0;
        border-radius: 2px;
    }

/* Responsive */
@media screen and (max-width: 768px) {
    .main-nav .nav-list {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        display: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .main-nav.active .nav-list {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-sub {
    font-size: rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: var(--transition);
    }

    .nav-link:hover:after,
    .nav-link.active:after {
        width: 100%;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
    }

