/* NAVBAR SECTION */
.header {
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.logo-placeholder {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #6c5ce7, #00b894);
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
    margin-right: 8px;
}

/* Mobile Navigation */
.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px 0;
    gap: 15px;
    z-index: 999;
}

.nav-menu.active {
    display: flex;
}

.nav-menu > * {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
}

/* Base style for all nav links */
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 10px 15px;
    display: block;
    text-align: center;
}

.nav-menu > a:hover {
    color: #0984e3;
}

.nav-menu > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #0984e3;
    left: 50%;
    bottom: 5px;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-menu > a:hover::after {
    width: 80%;
    left: 10%;
}

/* WhatsApp Button Mobile */
.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    margin: 10px 15px;
    font-size: 14px;
}

.whatsapp-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
}

/* Dropdown Mobile */
.dropdown {
    position: relative;
    display: block;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: static;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}

.dropdown-content a {
    color: #666;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #0984e3;
}

.dropdown.active .dropdown-content {
    display: block;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .nav-container {
        padding: 0 20px;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 18px;
        margin-bottom: 0;
    }

    .logo-placeholder,
    .logo-image {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    .logo-placeholder {
        font-size: 20px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 25px;
    }

    .nav-menu > * {
        padding: 0;
        justify-content: flex-start;
    }

    .nav-menu a {
        padding: 10px 0;
        text-align: left;
    }

    .nav-menu > a::after {
        left: 0;
    }

    .nav-menu > a:hover::after {
        width: 100%;
        left: 0;
    }

    .whatsapp-btn {
        margin: 0;
        padding: 10px 20px;
    }

    .whatsapp-btn img {
        width: 20px;
        height: 20px;
    }

    .dropdown {
        display: inline-block;
        width: auto;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 180px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 1;
        border-radius: 5px;
        padding: 10px 0;
        left: 50%;
        transform: translateX(-50%);
        top: 100%;
        margin-top: 5px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .dropdown-content a {
        text-align: left;
        border-bottom: none;
        color: black;
        padding: 12px 16px;
    }

    .dropdown:hover .dropdown-content {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .nav-menu {
        gap: 30px;
    }

    .dropdown-content {
        min-width: 160px;
    }
}




/* FOOTER SECTION */

/* Mobile-First Footer Styles */
.footer-top-section {
    width: 100%;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 0;
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.footer-top-item-area {
    position: relative;
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1rem;
    text-align: left;
    background-color: #a0aec0;
    overflow: hidden;
}

.footer-top-item-area .footer-top-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.footer-top-item-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(41, 128, 185, 0.8), rgba(52, 152, 219, 0.8));
    z-index: 1;
}

.footer-top-item-area .image-placeholder-text {
    display: none;
}

.footer-top-item-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-top-item-content .top-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-top-item-content .bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.footer-top-item-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-top-item-content p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.contact-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-top: 1rem;
    display: block;
    text-align: center;
}

.appointment-button-top {
    background-color: transparent;
    color: white;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 9999px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: fit-content;
    align-self: center;
    font-size: 0.9rem;
}

.appointment-button-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Main footer styling */
.main-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    position: relative;
    z-index: 9;
    width: 100%;
}

.footer-content-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
}

.footer-section-item {
    margin-bottom: 1.5rem;
}

.footer-section-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section-item p,
.footer-section-item ul {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section-item ul li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3498db;
}

.opening-hours p {
    margin-bottom: 0.5rem;
}

.copyright-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(236, 240, 241, 0.1);
    margin-top: 2rem;
    font-size: 0.8rem;
    color: rgba(236, 240, 241, 0.7);
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-main {
    width: 120px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .footer-top-section {
        flex-direction: row;
        min-height: 300px;
    }
    
    .footer-top-item-area {
        padding: 2rem 2rem;
    }
    
    .footer-top-item-content .bottom-content {
        align-items: flex-end;
        text-align: right;
    }
    
    .contact-number {
        font-size: 2rem;
        text-align: right;
    }
    
    .appointment-button-top {
        align-self: flex-end;
        font-size: 1rem;
    }
    
    .footer-content-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .footer-logo-section {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-social-icons {
        justify-content: flex-start;
    }
    
    .footer-section-item h3 {
        font-size: 1.125rem;
    }
    
    .footer-section-item p,
    .footer-section-item ul {
        font-size: 0.95rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .footer-top-item-area {
        padding: 2.5rem 2.5rem;
    }
    
    .footer-top-item-content h3 {
        font-size: 1.5rem;
    }
    
    .footer-top-item-content p {
        font-size: 1rem;
    }
    
    .contact-number {
        font-size: 2.2rem;
    }
    
    .footer-content-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-logo-main {
        width: 150px;
        height: 60px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .logo-placeholder,
    .logo-image {
        width: 40px;
        height: 40px;
        margin-right: 6px;
    }
    
    .footer-top-item-area {
        padding: 1rem 0.75rem;
        min-height: 180px;
    }
    
    .footer-top-item-content h3 {
        font-size: 1.1rem;
    }
    
    .footer-top-item-content p {
        font-size: 0.85rem;
    }
    
    .contact-number {
        font-size: 1.5rem;
    }
    
    .appointment-button-top {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .footer-content-grid {
        padding: 0 0.75rem;
    }
    
    .footer-logo-main {
        width: 100px;
        height: 40px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
}

/* JavaScript for mobile menu toggle */
/* Add this to your HTML or separate JS file:

<script>

</script>