/* CSS Variables */
:root {
    --primary-color: #8B0000;
    --secondary-color: #DC143C;
    --cream-color: #F5E6D3;
    --light-cream: #FDF5E6;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.95), rgba(220, 20, 60, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.98), rgba(220, 20, 60, 0.98));
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 0.5rem;
    position: relative;
    z-index: 1002;
}

.nav-brand h2 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.nav-brand h2:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.nav-brand h2::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-brand h2:hover::before {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 85%;
    justify-content: space-between;
    flex: 1;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    white-space: nowrap;
    text-align: center;
    min-width: fit-content;
    flex: 1;
    max-width: 120px;
    line-height: 1.3;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    min-width: 35px;
    min-height: 35px;
}

.nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-toggle:hover::before {
    opacity: 1;
}

.nav-toggle:hover {
    transform: scale(1.05);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nav-toggle:hover .bar {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: var(--white);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: var(--white);
}

/* Mobile menu overlay */
@media (max-width: 768px) {
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active::before {
        opacity: 1;
    }
    
    /* Ensure body doesn't scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
}

.title-logo {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-right: 10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cream-color) 0%, var(--light-cream) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%238B0000" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.doctor-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.specialties {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Hero Carousel Section */
    .hero-carousel-section {
        background: linear-gradient(135deg, #F5E6D3 0%, #FF6B6B 50%, #BA55D3 100%);
        padding: 40px 0;
        position: relative;
        overflow: hidden;
    }

.hero-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hero-carousel-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-carousel {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.hero-carousel:hover::before {
    left: 100%;
}

.carousel-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 95%;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    height: auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.slide-content:hover::before {
    left: 100%;
}

.slide-content i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.slide-content h4 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    line-height: 1.3;
}

.slide-content h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.slide-content:hover h4::after {
    width: 50px;
}

.slide-content p {
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slide-features {
    list-style: none;
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
    flex-shrink: 0;
}

.slide-features li {
    color: var(--white);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.slide-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s ease;
}

.dot:hover::before {
    background: rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.carousel-nav {
    display: none;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

    .stat-item i {
        font-size: 1.6rem;
        color: var(--secondary-color);
        margin-bottom: 0.3rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    animation: bounce 0.6s ease;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    animation: glow 0.6s ease;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-hover);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-color);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
        overflow: visible;
        position: relative;
        display: block;
    }
    
    .hero-container {
        padding: 0 15px;
        overflow: visible;
        position: relative;
        z-index: 3;
        margin-bottom: 0;
    }
    
    .hero::after {
        display: none;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-content h1,
    .hero-content h2,
    .hero-content .doctor-title,
    .hero-content .specialties,
    .hero-content .hero-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    .doctor-title {
        font-size: 1rem;
    }
    
    .specialties {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-carousel-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .hero-carousel {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .carousel-container {
        height: 500px;
    }
    
    .slide-content {
        padding: 15px;
        min-height: 450px;
        max-height: 470px;
        overflow-y: auto;
    }
    
    .slide-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .slide-features {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .slide-features li {
        font-size: 0.8rem;
        padding: 0.25rem 0;
        line-height: 1.3;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 0;
    }
    
    .stat-item {
        padding: 10px;
        min-height: 90px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .stat-item h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        line-height: 1.1;
    }
    
    .stat-item p {
        font-size: 0.7rem;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .contact-info {
        gap: 1rem;
        order: 1;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        min-width: 40px;
    }
    
    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .contact-link {
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
        display: inline-block;
        position: relative;
    }
    
    .contact-link:hover {
        color: var(--primary-color);
        transform: translateY(-2px);
    }
    
    .contact-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    .contact-link:hover::after {
        width: 100%;
    }
    
    .map-link-text {
        display: block;
        font-size: 0.8rem;
        color: var(--primary-color);
        font-weight: 600;
        margin-top: 0.3rem;
        opacity: 0.8;
        transition: all 0.3s ease;
    }
    
    .contact-link:hover .map-link-text {
        opacity: 1;
        color: var(--secondary-color);
        transform: translateX(5px);
    }
    
    @media (max-width: 768px) {
        .map-link-text {
            font-size: 0.75rem;
            margin-top: 0.2rem;
        }
        
        .contact-link:hover .map-link-text {
            transform: translateX(3px);
        }
    }
    
    .website-link-text {
        display: block;
        font-size: 0.8rem;
        color: var(--primary-color);
        font-weight: 600;
        margin-top: 0.3rem;
        opacity: 0.8;
        transition: all 0.3s ease;
    }
    
    .contact-link:hover .website-link-text {
        opacity: 1;
        color: var(--secondary-color);
        transform: translateX(5px);
    }
    
    @media (max-width: 768px) {
        .website-link-text {
            font-size: 0.75rem;
            margin-top: 0.2rem;
        }
        
        .contact-link:hover .website-link-text {
            transform: translateX(3px);
        }
    }
    
    .contact-form {
        padding: 1.2rem;
        margin-top: 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .about-stats .stat-item {
        padding: 1rem;
        min-height: 100px;
    }
    
    .about-stats .stat-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .about-stats .stat-item p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .about-stats .stat-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
}

/* About Us Section */
.about {
    background: var(--cream-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%238B0000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(139, 0, 0, 0.1);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.about-stats .stat-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.about-stats .stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-stats .stat-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-stats .stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Team Section */
.team {
    background: var(--white);
}

.team-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    width: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.member-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.member-image i {
    font-size: 4rem;
    color: var(--white);
}

.member-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-specialties {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.member-dmc {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--light-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(0.5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.service-content:hover {
    background: rgba(255, 255, 255, 0.6);
}

.service-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.service-content ul {
    list-style: none;
}

.service-content li {
    color: var(--text-dark);
    padding: 0.3rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.service-content li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

/* Treatment Section */
.treatment {
    background: var(--cream-color);
}

.treatment-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.treatment-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: glow 0.6s ease;
}

.treatment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.treatment-content-inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(0.5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.treatment-content-inner h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.treatment-content-inner p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.treatment-content-inner ul {
    list-style: none;
}

.treatment-content-inner li {
    color: var(--text-dark);
    padding: 0.3rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.treatment-content-inner li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Consultation Section */
.consultation {
    background: var(--light-cream);
}

.consultation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.consultation-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.consultation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.consultation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.consultation-content-inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(0.5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.consultation-content-inner h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.consultation-content-inner p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.consultation-content-inner ul {
    list-style: none;
}

.consultation-content-inner li {
    color: var(--text-dark);
    padding: 0.3rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.consultation-content-inner li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--cream-color) 0%, var(--light-cream) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%238B0000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 1rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(245, 230, 211, 0.5);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item:first-child {
    animation: pulse 2s infinite;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form {
    background: rgba(245, 230, 211, 0.5);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid rgba(139, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
    background: var(--white);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    margin: 0.2rem 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section a:hover {
    color: var(--cream-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-link {
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--cream-color);
    transform: translateY(-1px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cream-color);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Professional Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Additional Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.floating-call-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    animation: pulse 1s ease-in-out;
}

.floating-call-btn i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.floating-call-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    opacity: 0.3;
    animation: pulse 2s infinite;
    z-index: -1;
}

.floating-call-btn::after {
    content: 'Call Now';
    position: absolute;
    right: 80px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-call-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile responsive for floating call button */
@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
    
    .floating-call-btn i {
        font-size: 1.5rem;
    }
    
    .floating-call-btn::after {
        display: none;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(139, 0, 0, 0.98), rgba(220, 20, 60, 0.98));
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: all 0.3s ease;
        z-index: 1000;
        gap: 0.8rem;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        border-radius: 0 20px 20px 0;
    }

    .nav-menu.active {
        left: 0;
        visibility: visible;
        opacity: 1;
        display: flex !important;
        animation: slideInFromLeft 0.3s ease;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
    }

    .nav-toggle {
        display: flex !important;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        position: relative;
    }
    
    .nav-toggle.active {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: rotate(90deg);
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        width: 85%;
        text-align: center;
        border-radius: 8px;
        margin: 0.3rem 0;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: block !important;
        color: var(--white) !important;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1002;
        cursor: pointer;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        color: var(--white);
    }
    
    .nav-link:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.3);
    }
}