.header {
    width: 100%;
    background: white;
    padding: 8px 0;
}

.header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    height: 60px;
}

.full-logo {
    width: 450px;
    height: 70px;
}

.navbar {
    width: 100%;
    background: var(--primary-color);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1;
}
.nav-links li.active > a {
    color: #fff;
    position: relative;
}

.nav-links li.active > a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}
.navbar .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.social-icon {
    display: inline-flex;
    gap: 10px;
}

.social-icon img {
    width: 20px;
    height: 20px;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-links li a:hover {
    opacity: 0.6;
}
.menu {
    position: relative;
}

.logo {
    display: none;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    border-radius: 2px;
    padding: 4px 18px;
}
.submenu-content {
    position: absolute;
    background: white;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.submenu-content li a {
    color: #333;
    padding: 10px 16px;
    display: block;
    font-size: 0.9rem;
}

.submenu-content li a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.menu:hover .submenu-content {
    display: block;
}

.home-icon {
    width: 22px;
    align-self: center;
}

.mobile-ebanking {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-right img {
    width: 24px;
    cursor: pointer;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}
.hamburger span:nth-child(2) {
    top: 8px;
}
.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

@media (max-width: 992px) {
    .container {
        padding: 0 40px;
    }
    .header .logo {
        display: inline;
        width: 200px;
        height: auto;
    }

    .full-logo {
        display: none;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 10000;
        background: white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .header .inner {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header .contact {
        display: none;
    }

    .header .social-icon {
        display: none;
    }

    .nav-contact {
        display: none;
    }

    .hamburger {
        display: block;
        position: relative;
        right: 0;
        top: 0;
    }

    .mobile-ebanking {
        display: block;
    }

    .mobile-ebanking a {
        font-weight: 600;
        color: #fff;
    }

    .navbar-right {
        display: none;
    }

    .navbar {
        position: static;
        background: white;
        padding: 0;
    }

    .navbar .inner {
        padding: 0;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 80px;
        right: 0;
        background: var(--primary-color);
        width: 80%;
        height: 0;
        opacity: 0;
        overflow: hidden;
        gap: 0;
        padding: 0;
        transition: height 0.4s ease, opacity 0.3s ease;
        z-index: 9999;
    }

    .nav-links.show {
        width: 80%;
        height: calc(100vh - 80px);
        opacity: 1;
        padding-top: 20px;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        font-size: 1.1rem;
        padding: 15px 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:first-child a {
        justify-content: flex-start;
    }

    .home-icon {
        margin-right: 10px;
    }

    .menu {
        position: relative;
    }

    .submenu-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .submenu-toggle::after {
        content: "▼";
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .menu.open .submenu-toggle::after {
        transform: rotate(180deg);
    }

    .submenu-content {
        position: static;
        display: none;
        background: rgba(0, 0, 0, 0.1);
        width: 100%;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .menu.open .submenu-content {
        display: block;
    }

    .submenu-content li a {
        padding-left: 60px !important;
        color: white !important;
        font-size: 1rem;
    }

    .submenu-content li a:hover {
        background: rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .header .logo {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .header .logo {
        width: 130px;
    }

    .nav-links li a {
        padding: 15px 30px;
    }

    .submenu-content li a {
        padding-left: 50px !important;
    }
}
