/* Top Header */
.top-header {
    background: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1050;
}

.top-header a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-header a:hover {
    color: var(--secondary);
}

.social-icons a {
    margin-left: 15px;
    font-size: 0.9rem;
}

/* Appointment Button */
.btn-appointment {
    background: var(--secondary);
    color: var(--primary) !important;
    font-weight: 800;
    border-radius: 12px;
    padding: 8px 15px !important;
    margin-left: 10px;
    border: 2px solid var(--secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    font-size: 0.7rem;
    text-align: center;
    text-transform: uppercase;
}

.navbar.scrolled .btn-appointment {
    padding: 4px 10px !important;
    font-size: 0.6rem;
    border-radius: 8px;
}

.btn-appointment:hover {
    background: transparent;
    color: var(--secondary) !important;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.4);
    transform: translateY(-2px);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Header Logo Styling */
.header-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    background: #fff;
    padding: 5px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-left: 5px;
}

.navbar.scrolled .header-logo {
    height: 45px;
    padding: 4px 10px;
}

/* Navbar Customization */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: transparent !important;
}

.navbar.scrolled {
    background: #0a192f !important;
    padding: 8px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary) !important;
}

/* Dropdown Customization */
.dropdown-menu {
    background: #0a192f;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1rem 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.dropdown-item {
    color: white !important;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--secondary);
    color: white !important;
    padding-left: 2rem;
}

/* Multi-level Dropdown Styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.dropdown-submenu:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
    
    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        margin-left: 20px;
        box-shadow: none;
        border-left: 2px solid #f39c12;
    }
}

/* Premium Footer Styling */
.main-footer {
    background: #0a192f;
    color: #fff;
    padding: 80px 0 0;
    position: relative;
}

.footer-column {
    margin-bottom: 40px;
}

.footer-logo-wrap {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 0;
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.footer-heading {
    color: #f39c12;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #f39c12;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-contact-info li i {
    color: #f39c12;
    font-size: 1.2rem;
}

.footer-contact-info li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.footer-contact-info li:hover {
    transform: translateX(10px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: #f39c12;
}

.footer-links a:hover {
    color: #f39c12;
    padding-left: 10px;
}

.visiting-hours-list {
    list-style: none;
    padding: 0;
}

.visiting-hours-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.visiting-hours-list li span:first-child {
    font-weight: 700;
}

.footer-address-wrap {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-address-wrap i {
    color: #f39c12;
    font-size: 1.5rem;
}

/* Copyright Bar */
.copyright-bar {
    background: #f39c12;
    color: #fff;
    padding: 20px 0;
    margin-top: 50px;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #f39c12;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #d35400;
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .copyright-content { flex-direction: column; gap: 20px; text-align: center; }
}

/* --- Mobile Header Restored Styling --- */
@media (max-width: 991px) {
    .top-header {
        position: relative;
        background: var(--primary);
        font-size: 0.7rem;
        padding: 5px 0;
    }
    
    .top-header .container > .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .navbar {
        background: transparent !important; /* Transparent like laptop */
        padding: 10px 0;
        position: absolute;
        top: 30px; /* Offset for top-header */
        width: 100%;
    }
    
    .navbar.scrolled {
        background: #0a192f !important; /* Solid on scroll */
        top: 0;
        position: fixed;
    }
    
    .navbar > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-logo {
        height: 40px; /* Small logo */
        padding: 4px 10px;
        margin: 0;
        border-radius: 8px;
    }
    
    .navbar-collapse {
        background: #0a192f;
        padding: 20px;
        margin-top: 10px;
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        border: 1px solid rgba(255,255,255,0.1);
        max-height: 70vh; /* Make it scrollable */
        overflow-y: auto;
    }
    
    .navbar-brand {
        font-size: 1rem;
        margin: 0;
        padding: 0;
        flex-grow: 1;
        text-align: left;
    }
    
    .nav-link {
        padding: 12px 5px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 0.9rem;
    }
    
    .navbar-toggler {
        border: 1.5px solid var(--secondary);
        padding: 4px 8px;
        border-radius: 6px;
        color: var(--secondary);
        margin-left: 10px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .btn-appointment {
        margin: 15px 0 10px 0 !important;
        width: 100%;
        padding: 10px !important;
        font-size: 0.7rem;
        display: flex;
    }
}

