/* Top Bar */
.top-bar {
    background-color: #673AB7;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a, .top-bar-right a {
    margin-right: 20px;
}

.top-bar-left a:last-child, .top-bar-right a:last-child {
    margin-right: 0;
}

.top-bar-left i {
    margin-right: 5px;
}


.nav-item {
    position: relative;
}

.nav-link {
    cursor: pointer;
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 180px;
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #0d2c54;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background: #00bfa6;
    color: #fff;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
    display: block;
}


/* Header Styles */
header {
    background-color: rgb(110, 48, 224);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-left: 8px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-link:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    color: white;
    font-weight: 500;
}

.mobile-menu-btn {
    display: none; /* default hidden */
}


/* Responsive Top Bar & Navbar */

/* Tablet View */
@media (max-width: 1024px) {
    .top-bar-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        width: 100%;
    }

    .header-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .logo {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .nav-menu {
        flex: 2;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .header-buttons {
        flex: 1;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .header-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #ddd;
    } */

    .header-buttons {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 22px;
        cursor: pointer;
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    .top-bar {
        font-size: 12px;
    }

    .logo img {
        width: 50px;
    }

    .logo-text {
        font-size: 16px;
    }

    .mobile-menu-btn {
        font-size: 20px;
    }

    .nav-menu li {
        font-size: 14px;
    }
}


/* Mobile Menu */
/* .mobile-menu-btn {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
} */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #673AB7;
    z-index: 1001;
    padding: 20px;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    color: white;
    font-size: 24px;
    text-align: right;
    cursor: pointer;
}

.mobile-menu-items {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-link {
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.overlay.active {
    display: block;
}


/* Footer */
.footer {
    background-color: rgb(110, 48, 224);
    color: white;
    padding-top: 50px;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-contact {
    display: flex;
    gap: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-item i {
    color: #00bfa6;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 20px;
    padding: 50px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo-text {
    color: white;
    font-size: 17px;
    font-weight: 700;
    margin-left: 8px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: #00bfa6;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #00bfa6;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.footer-gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

.footer-gallery-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.footer-subscribe {
    margin-top: 20px;
}

.footer-subscribe-form {
    display: flex;
    margin-top: 15px;
}

.footer-subscribe-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.footer-subscribe-btn {
    background-color: #00bfa6;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-subscribe-btn:hover {
    background-color: #00a38e;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 30px;
        text-align: center;
    }

    .footer-main > div {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-subscribe-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-subscribe-input {
        width: 100%;
    }

    .footer-subscribe-btn {
        width: auto;
    }

    .map-container {
        width: 100%;
        height: 250px;
    }

    .map-container iframe {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .footer-text {
        font-size: 14px;
    }

    .footer-social-link {
        font-size: 14px;
        margin: 5px;
    }

    .footer-subscribe-input {
        padding: 8px;
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 12px;
        text-align: center;
    }
}
