      main {
            padding: 0 !important;
            min-height: 70vh;
        }
        
    /* Hero Section with Carousel */
    .hero-section {
        position: relative;
        color: white;
        padding: 120px 0 80px;
        text-align: center;
        overflow: hidden;
        height: 350px;
        display: flex;
        align-items: center;
    }

    .hero-carousel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }

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

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 24px;
        font-weight: 700;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
        animation: fadeInUp 1s ease-out;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    /* Arabic specific styling */
    [lang="ar"] .hero-content h1 {
        font-family: var(--font-family-ar);
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 0;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    }

    .hero-content p {
        font-size: 1.3rem;
        margin-bottom: 32px;
        opacity: 0.95;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
        animation: fadeInUp 1s ease-out 0.3s both;
        line-height: 1.6;
        font-weight: 400;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Arabic specific styling for paragraph */
    [lang="ar"] .hero-content p {
        font-family: var(--font-family-ar);
        font-size: 1.4rem;
        line-height: 1.8;
        font-weight: 500;
        letter-spacing: 0;
    }

    .latest-news {
        background-color: var(--news-bg);
        padding: 60px 0;
        margin: 40px 0;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .latest-news .container {
        position: relative;
        z-index: 1;
    }

    .hero-carousel-nav {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
        z-index: 3;
    }

    .prev-hero:hover, .next-hero:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .prev-hero, .next-hero {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .prev-hero:hover, .next-hero:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    /* Hero Carousel Dots */
    .hero-carousel-dots {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 3;
    }

    .hero-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid white;
        background: transparent;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .hero-dot.active {
        background: white;
        transform: scale(1.2);
    }

    .hero-dot:hover {
        background: white;
    }

    /* Section Headers */
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        border-bottom: 2px solid var(--light-bg);
        padding-bottom: 15px;
    }

    /* Additional improvements for text clarity */
    .hero-content .btn {
        animation: fadeInUp 1s ease-out 0.6s both;
    }

    /* Ensure proper RTL support for Arabic */
    [lang="ar"] .hero-content {
        text-align: right;
    }

    [lang="ar"] .prev-hero, 
    [lang="ar"] .next-hero {
        transform: scaleX(1); /* Flip arrows for RTL */
    }

    .hero-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
        animation: fadeInUp 1s ease-out 0.6s both;
    }

    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1.1rem;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

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

    .hero-buttons .btn-secondary:hover {
        background: var(--white);
        color: var(--primary-color);
    }

    /* Welcome Text Box - Different Style */
.welcome-text-box {
    background: rgba(0, 77, 64, 0.689) !important; /* Dark green background */
    /* background: rgba(0, 0, 0, 0.7); */
    border-radius: 20px !important;
    padding: 40px 35px !important;
    margin-top: 120px !important;
    max-width: 100% !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    animation: fadeInUp 1s ease-out 0.6s both !important;
    min-height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(1px) !important;
}

.welcome-text-box::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    pointer-events: none;
}

/* Welcome Box Content */
.welcome-text-box .hero-box-content h3 {
    font-size: 2rem !important;
    margin-bottom: 20px !important;
    color: white !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6) !important;
    line-height: 1.3 !important;
    position: relative;
}

.welcome-text-box .hero-box-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

[lang="ar"] .welcome-text-box .hero-box-content h3::after {
    left: auto;
    right: 0;
}

.welcome-text-box .hero-box-content p {
    font-size: 1.2rem !important;
    margin-bottom: 30px !important;
    opacity: 0.95 !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5) !important;
}

/* Welcome Read More Button */
.welcome-text-box .hero-read-more-btn {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    padding: 14px 35px !important;
    border-radius: 30px !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.welcome-text-box .hero-read-more-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

/* News Text Box - Updated Style */
.news-text-box {
    background: rgba(0, 0, 0, 0.7) !important;
    border-radius: 15px !important;
    padding: 30px 25px !important;
    margin-top: 350px !important;
    max-width: 100% !important;
    border-left: 4px solid var(--accent-color) !important;
    animation: fadeInUp 1s ease-out 0.6s both !important;
    min-height: 260px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* backdrop-filter: blur(5px) !important; */
}

[lang="ar"] .news-text-box {
    border-left: none !important;
    border-right: 4px solid var(--accent-color) !important;
}

.news-text-box .hero-box-content h3 {
    font-size: 1.6rem !important;
    margin-bottom: 15px !important;
    color: white !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7) !important;
    line-height: 1.3 !important;
}

.news-text-box .hero-box-content p {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
    opacity: 0.9 !important;
    line-height: 1.5 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6) !important;
}

.news-text-box .hero-read-more-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.news-text-box .hero-read-more-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .welcome-text-box {
        padding: 25px 20px !important;
        margin-top: 80px !important;
        min-height: 220px !important;
        border-radius: 15px !important;
    }
    
    .welcome-text-box .hero-box-content h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }
    
    .welcome-text-box .hero-box-content p {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
    
    .welcome-text-box .hero-read-more-btn {
        padding: 12px 25px !important;
        font-size: 1rem !important;
    }
    
    .news-text-box {
        padding: 20px 15px !important;
        margin-top: 100px !important;
        min-height: 200px !important;
    }
    
    .news-text-box .hero-box-content h3 {
        font-size: 1.1rem !important;
    }
    
    .news-text-box .hero-box-content p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .welcome-text-box {
        padding: 20px 15px !important;
        margin-top: 60px !important;
        min-height: 200px !important;
    }
    
    .welcome-text-box .hero-box-content h3 {
        font-size: 1.1rem !important;
    }
    
    .welcome-text-box .hero-box-content p {
        font-size: 0.9rem !important;
    }
    
    .welcome-text-box .hero-read-more-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .news-text-box {
        padding: 15px 12px !important;
        margin-top: 80px !important;
        min-height: 180px !important;
    }
    
    .news-text-box .hero-box-content h3 {
        font-size: 1rem !important;
    }
    
    .news-text-box .hero-box-content p {
        font-size: 0.85rem !important;
    }
}

    /* For Arabic/RTL languages */
    [lang="ar"] .hero-text-box {
        margin-left: auto;
        margin-right: 20px;
        text-align: right;
        direction: rtl;
    }

    /* For LTR languages */
    [lang="en"] .hero-text-box {
        margin-right: auto;
        margin-left: 20px;
        text-align: left;
    }

    .hero-box-content {
        width: 100%;
    }

    .hero-box-content h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: var(--white);
        font-weight: 600;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        line-height: 1.4;
    }

    .hero-box-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        opacity: 0.9;
        line-height: 1.6;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        min-height: 60px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Arabic styling for hero box */
    [lang="ar"] .hero-box-content h3 {
        font-family: var(--font-family-ar);
        font-size: 2rem;
        line-height: 1.5;
        font-weight: bold;
        margin-bottom: 25px;
    }

    [lang="ar"] .hero-box-content p {
        font-family: var(--font-family-ar);
        font-size: 1.3rem;
        line-height: 1.7;
        font-weight: 400;
        margin-bottom: 25px;
    }

    /* Read More Button */
    .hero-read-more-btn {
        display: inline-block;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding: 12px 30px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.3);
        font-size: 1rem;
        position: relative;
        overflow: hidden;
    }

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

    .hero-read-more-btn:hover::before {
        left: 100%;
    }

    [lang="ar"] .hero-read-more-btn {
        font-family: var(--font-family-ar);
        font-size: 1.1rem;
    }

    .hero-read-more-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    /* Additional styles for news slides in hero */
    .news-text-box {
        background: rgba(0, 0, 0, 0.5);
        border-left: 4px solid var(--accent-color);
    }

    [lang="ar"] .news-text-box {
        border-left: none;
        border-right: 4px solid var(--accent-color);
    }

    .news-slide .hero-overlay {
        /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%); */
    }

    .welcome-slide .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 77, 64, 0.1) 100%);
    }

    /* Ensure text is readable on various background images */
    .hero-box-content h3,
    .hero-box-content p {
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .hero-text-box {
            max-width: 85% !important;
            margin: 20px auto !important;
            min-height: 220px; /* Increased height */
            padding: 20px;
        }
        .section-header h2{
            font-size: 1rem !important;
        }
        [lang="ar"] .hero-text-box {
            margin-right: 10px !important; /* Move to right */
            margin-left: auto !important;
            min-height: 240px !important; /* More height for Arabic */
            width: 100% !important; /* Slightly wider for Arabic */
        }
        
        .hero-box-content h3 {
            font-size: 0.9rem;
            line-height: 1.3;
            margin-bottom: 8px;
        }
        
        .hero-box-content p {
            font-size: 0.85rem;
            line-height: 1.4;
            min-height: 70px; /* Ensure minimum height for text */
        }
        
        [lang="ar"] .hero-box-content h3 {
            font-size: 1rem;
            line-height: 1.4;
            margin-bottom: 10px;
            min-height: 50px; /* Height for Arabic heading */
        }
        
        [lang="ar"] .hero-box-content p {
            font-size: 0.9rem;
            line-height: 1.6; /* Increased line height for Arabic */
            margin-bottom: 10px;
            min-height: 90px !important; /* More height for Arabic text */
            display: flex;
            align-items: center;
        }
        
        .hero-read-more-btn {
            padding: 10px 20px;
            font-size: 0.9rem !important;
            border-radius: 20px;
        }
    }

    /* For even smaller screens */
    @media (max-width: 480px) {
        .hero-text-box {
            max-width: 85% !important;
            margin: 20px auto !important;
            min-height: 200px;
            padding: 15px;
        }
        .section-header h2{
            font-size: 1rem !important;
        }
        [lang="ar"] .hero-text-box {
            margin-right: 5px !important; /* Move more to right on small screens */
            margin-left: auto !important;
            min-height: 220px !important;
            width: 100% !important;
        }
        
        .hero-box-content h3 {
            font-size: 0.8rem;
            line-height: 1.2;
            margin-bottom: 6px;
        }
        
        .hero-box-content p {
            font-size: 0.75rem;
            line-height: 1.3;
            min-height: 60px;
        }
        
        [lang="ar"] .hero-box-content h3 {
            font-size: 0.9rem;
            line-height: 1.3;
            margin-bottom: 10px;
            min-height: 45px;
        }
        
        [lang="ar"] .hero-box-content p {
            font-size: 0.8rem;
            line-height: 1.5;
            margin-bottom: 10px;
            min-height: 80px !important;
        }
        
        .hero-read-more-btn {
            padding: 8px 16px;
            font-size: 0.85rem !important;
            border-radius: 18px;
            font-weight: 400;
        }
    }

    /* Additional fixes for Arabic text box positioning */
    [lang="ar"] .hero-text-box {
        margin-left: auto !important;
        margin-right: 20px !important;
    }

    /* Ensure hero content container doesn't restrict positioning */
    .hero-content {
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    /* Make sure the text box can position properly */
    .hero-slide .hero-content {
        display: flex;
        justify-content: flex-end; /* Align to right for Arabic */
    }

    [lang="ar"] .hero-slide .hero-content {
        justify-content: flex-start; /* Align to left for Arabic */
    }

    /* Adjust hero overlay positioning */
    .hero-overlay {
        display: flex;
        align-items: center;
        justify-content: flex-end; /* Content to right for English */
    }

    [lang="ar"] .hero-overlay {
        justify-content: flex-start; /* Content to left for Arabic */
    }

        /* Contact Section - Mobile Optimized */
        .contact-container {
            margin-bottom: 40px;
            padding: 0 15px;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            flex-direction: row;
            align-items: center;
            text-align: left;
            padding: 20px 15px;
            background: var(--light-bg);
            border-radius: 12px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            gap: 15px;
        }

        [lang="ar"] .contact-item {
            text-align: right;
            direction: rtl;
        }

        .contact-item:hover {
            background: var(--white);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .contact-item:hover .contact-icon {
            background: var(--secondary-color);
            transform: scale(1.1);
        }

        .contact-details h3 {
            margin: 0 0 5px 0;
            color: var(--primary-color);
            font-size: 1rem;
        }

        .contact-details p {
            margin: 0;
            color: var(--text-color);
            line-height: 1.4;
            font-size: 0.9rem;
        }

        .contact-hover-glow {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(0,107,92,0.05) 0%, rgba(0,77,64,0.1) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 1;
        }

        .contact-item:hover .contact-hover-glow {
            opacity: 1;
        }

        /* Map Section */
        .map-section {
            background: var(--white);
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            margin-top: 20px;
        }

        .map-section .section-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .map-section .section-header h3 {
            color: var(--primary-color);
            font-size: 1.3rem;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .map-embed {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }

        .map-embed iframe {
            height: 250px;
        }

        /* Section Headers */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            border-bottom: 2px solid var(--light-bg);
            padding-bottom: 12px;
            padding: 0 15px;
        }

        .section-header h2 {
            color: var(--primary-color);
            font-size: 1.5rem;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .view-all {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
            position: relative;
            padding: 5px 0;
            font-size: 0.9rem;
        }

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

        .view-all:hover {
            color: var(--primary-color);
            transform: translateX(5px);
        }

        .view-all:hover::after {
            width: 100%;
        }

        [lang="ar"] .view-all:hover {
            transform: translateX(-5px);
        }

        /* News Section - Mobile Optimized */
        .latest-news {
            margin-bottom: 40px;
        }

        .news-carousel-container {
            position: relative;
            margin-bottom: 30px;
            padding: 0 15px;
        }

        .news-carousel-wrapper {
            overflow: hidden;
            border-radius: 10px;
            margin-bottom: 15px;
        }

        .news-carousel {
            display: flex;
            transition: transform 0.4s ease-in-out;
            gap: 0;
        }

        .news-slide {
            flex: 0 0 100%;
            min-width: 100%;
            padding: 0 10px;
            box-sizing: border-box;
        }

        .news-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
            transform: translateY(0);
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .news-image {
            position: relative;
            height: 180px;
            overflow: hidden;
        }

        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
        }

        .news-card:hover .news-image img {
            transform: scale(1.05);
        }

        .news-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(0,107,92,0.7) 0%, rgba(0,77,64,0.8) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .news-card:hover .news-overlay {
            opacity: 1;
        }

        .read-more-btn {
            color: white;
            background: transparent;
            padding: 10px 20px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: 600;
            border: 2px solid white;
            transform: translateY(15px);
            opacity: 0;
            transition: all 0.3s ease 0.1s;
            font-size: 0.9rem;
        }

        .news-card:hover .read-more-btn {
            transform: translateY(0);
            opacity: 1;
        }

        .news-content {
            padding: 20px;
        }

        .news-date {
            color: var(--white);
            font-size: 0.85rem;
            margin-bottom: 8px;
            display: block;
        }

        .news-content h3 {
            margin: 0 0 12px 0;
            line-height: 1.3;
            font-size: 1.1rem;
        }

        .news-content h3 a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .news-content h3 a:hover {
            color: var(--secondary-color);
        }

        .news-content p {
            color: var(--text-color);
            margin-bottom: 15px;
            line-height: 1.5;
            font-size: 0.9rem;
        }

        .news-meta {
            margin-top: 15px;
        }

        .news-link {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.85rem;
            transition: all 0.3s ease;
        }

        .news-link:hover {
            color: var(--primary-color);
            gap: 8px;
        }

        /* Carousel Navigation */
        .news-carousel-nav {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 15px;
        }

        .prev-slide, .next-slide {
            background: var(--primary-color);
            color: var(--white);
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .prev-slide:hover, .next-slide:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
        }

        /* Tablet Styles for News Carousel */
        @media (min-width: 768px) {
            .news-slide {
                flex: 0 0 50%;
                min-width: 50%;
            }
        }

        /* Desktop Styles for News Carousel */
        @media (min-width: 1024px) {
            .news-slide {
                flex: 0 0 33.333%;
                min-width: 33.333%;
            }
        }

        /* Events Section - Mobile Optimized */
        .upcoming-events {
            margin-bottom: 40px;
        }

        .events-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 30px;
            padding: 0 15px;
        }

        .event-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .event-card-link:hover {
            transform: translateY(-5px);
        }

        .event-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
        }

        .event-card-link:hover .event-card {
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .event-image {
            position: relative;
            height: 180px;
            overflow: hidden;
        }

        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
        }

        .event-card-link:hover .event-image img {
            transform: scale(1.05);
        }

        .event-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(0,107,92,0.8) 0%, rgba(0,77,64,0.9) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .event-card-link:hover .event-overlay {
            opacity: 1;
        }

        .view-event-btn {
            color: white;
            background: transparent;
            padding: 10px 20px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: 600;
            border: 2px solid white;
            transform: translateY(15px);
            opacity: 0;
            transition: all 0.3s ease 0.1s;
            font-size: 0.9rem;
        }

        .event-card-link:hover .view-event-btn {
            transform: translateY(0);
            opacity: 1;
        }

        .event-content {
            padding: 20px;
            position: relative;
        }

    
        .event-card-link:hover .event-date-badge {
            background: var(--secondary-color);
            transform: scale(1.05);
        }

        .event-date-badge .day {
            display: block;
            font-size: 1.2rem;
            font-weight: bold;
            line-height: 1;
        }

        .event-date-badge .month {
            display: block;
            font-size: 0.8rem;
            text-transform: uppercase;
            margin-top: 2px;
        }

        .event-details h3 {
            margin: 0 0 12px 0;
            color: var(--primary-color);
            font-size: 1.1rem;
            line-height: 1.3;
            transition: color 0.3s ease;
        }

        .event-card-link:hover .event-details h3 {
            color: var(--secondary-color);
        }

        .event-meta {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .event-time, .event-location {
            color: var(--text-color);
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .event-hover-glow {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(0,107,92,0.05) 0%, rgba(0,77,64,0.1) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .event-card-link:hover .event-hover-glow {
            opacity: 1;
        }

        /* No Content States */
        .no-content {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-color);
            width: 100%;
            grid-column: 1 / -1;
        }

        .no-content i {
            font-size: 3rem;
            margin-bottom: 15px;
            color: #ddd;
        }

        .no-content p {
            font-size: 1rem;
            margin: 0;
        }

        /* Quick Links - Mobile Optimized */
        .quick-links {
            margin-bottom: 40px;
        }

        .links-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 30px;
            padding: 0 15px;
        }

        .link-card {
            background: var(--light-bg);
            border-radius: 10px;
            padding: 20px 15px;
            text-align: center;
            text-decoration: none;
            color: inherit;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .link-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-color);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .link-icon {
            width: 50px;
            height: 50px;
            background: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: var(--primary-color);
            font-size: 1.3rem;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .link-card:hover .link-icon {
            background: var(--primary-color);
            color: var(--white);
            transform: scale(1.1);
        }

        .link-card h3 {
            margin: 0 0 8px 0;
            color: var(--primary-color);
            font-size: 1rem;
            position: relative;
            z-index: 2;
        }

        .link-card p {
            color: var(--text-color);
            margin: 0;
            line-height: 1.4;
            font-size: 0.85rem;
            position: relative;
            z-index: 2;
        }

        .link-hover-effect {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,107,92,0.05) 0%, rgba(0,77,64,0.1) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .link-card:hover .link-hover-effect {
            opacity: 1;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Tablet Styles */
        @media (min-width: 768px) {
            .hero-section {
                height: 60vh;
                min-height: 500px;
                padding: 100px 0 60px;
            }
            
            .hero-text-box {
                padding: 30px 25px;
            }
            
            .hero-box-content h3 {
                font-size: 1.6rem;
            }
            
            .hero-box-content p {
                font-size: 1.1rem;
            }
            
            .contact-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            
            .events-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
                padding: 0 20px;
            }
            
            .event-image {
                height: 200px;
            }
            
            .event-content {
                padding: 25px;
            }
            
            .event-details h3 {
                font-size: 1.2rem;
            }
            
            .links-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
            
            .section-header {
                padding: 0 20px;
            }
            
            .news-carousel-container, 
            .events-grid, 
            .links-grid {
                padding: 0 20px;
            }
        }

        /* Desktop Styles */
        @media (min-width: 1024px) {
            .hero-section {
                height: 70vh;
                min-height: 600px;
                padding: 120px 0 80px;
            }
            
            .hero-text-box {
                padding: 35px 30px;
            }
            
            .hero-box-content h3 {
                font-size: 1.8rem;
            }
            
            .contact-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .events-grid {
                grid-template-columns: repeat(4, 1fr);
                padding: 0;
            }
            
            .event-image {
                height: 180px;
            }
            
            .section-header {
                padding: 0;
            }
            
            .news-carousel-container, 
            .events-grid, 
            .links-grid {
                padding: 0;
            }
        }

        /* Touch-friendly improvements */
        

        /* Hero Section - Split Layout */
.split-layout {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

/* Image Side - Fixed 1200x630 aspect ratio */
.split-image {
    flex: 0 0 50% !important;
    width: 50% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.split-image::before {
    content: '';
    display: block;
    padding-top: 52.5%; /* 630/1200 = 0.525 = 52.5% */
}

.split-image {
    background-size: 100% ,50% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: local !important;
}

.image-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 77, 64, 0.3) 0%, rgba(0, 107, 92, 0.2) 100%) !important;
}

/* Content Side */
.split-content {
    flex: 0 0 50% !important;
    width: 50% !important;
    height: 100% !important;
    /* background: linear-gradient(135deg, #004d40 0%, #006b5c 100%) !important; */
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

/* Hero Slide Visibility */
.hero-slide {
    display: none !important;
    opacity: 0 !important;
    transition: opacity 1s ease-in-out !important;
}

.hero-slide.active {
    display: flex !important;
    opacity: 1 !important;
}

/* Welcome slide stays full width */
.welcome-slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Rest of your CSS remains the same... */
.split-text-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 40px !important;
    margin-top: 0 !important;
    min-height: auto !important;
    text-align: left !important;
}

[lang="ar"] .split-text-box {
    text-align: right !important;
}

.split-text-box .hero-box-content h3 {
    font-size: 2.2rem !important;
    color: white !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.split-text-box .hero-box-content p {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 25px !important;
    line-height: 1.6 !important;
    min-height: auto !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column !important;
    }
    
    .split-image {
        flex: 0 0 50% !important;
        width: 100% !important;
        height: 50% !important;
    }
    
    .split-image::before {
        padding-top: 56.25%; /* 16:9 aspect ratio for mobile */
    }
    
    .split-content {
        flex: 0 0 50% !important;
        width: 100% !important;
        height: 50% !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .split-image::before {
        padding-top: 75%; /* Square-ish for smaller screens */
    }
    
    .split-text-box {
        padding: 20px !important;
    }
    
    .split-text-box .hero-box-content h3 {
        font-size: 1.5rem !important;
    }
    
    .split-text-box .hero-box-content p {
        font-size: 1rem !important;
    }
}

/* Calendar Modal Styles */
.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    backdrop-filter: blur(3px);
    animation: fadeIn 0.2s ease;
    overflow-y: auto;
    padding: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.calendar-modal-content {
    position: relative;
    background: var(--white);
    margin: 10px auto;
    padding: 15px;
    width: 98%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--primary-color);
    animation: slideUp 0.25s ease;
    max-height: 95vh;
    overflow-y: auto;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-bg);
    flex-wrap: wrap;
    gap: 8px;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.close-modal {
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close-modal:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.calendar-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 15px;
    min-height: auto;
}

.calendar-container {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.holiday-sidebar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00695c 100%);
    border-radius: 10px;
    padding: 15px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.holiday-sidebar h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.holiday-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 100%;
    overflow-y: auto;
}

.holiday-list::-webkit-scrollbar {
    width: 5px;
}

.holiday-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.holiday-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.holiday-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin-bottom: 6px;
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.holiday-list li:hover {
    background: rgba(255, 255, 255, 0.2);
}

.holiday-list li i {
    color: var(--accent-color);
    font-size: 14px;
    flex-shrink: 0;
}

.holiday-list li div {
    flex: 1;
    min-width: 0;
}

.holiday-list li strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
    color: var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.holiday-list li span {
    font-size: 11px;
    opacity: 0.9;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-holidays {
    text-align: center;
    padding: 15px;
    font-style: italic;
    opacity: 0.8;
    font-size: 13px;
}

/* Calendar Specific Styles */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-bg);
    flex-wrap: nowrap;
    gap: 10px;
}

.calendar-nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.calendar-nav button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.calendar-nav button:hover {
    background: var(--secondary-color);
}

.calendar-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    flex: 1;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 5px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.day-header {
    text-align: center;
    padding: 8px 2px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 77, 64, 0.08);
    border-radius: 5px;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    padding: 3px;
    font-size: 11px;
    min-height: 35px;
    min-width: 0;
    overflow: hidden;
}

.calendar-day:hover:not(.empty) {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.calendar-day.current-day {
    background: var(--accent-color) !important;
    color: white !important;
    font-weight: bold;
    border: 2px solid var(--secondary-color) !important;
}

.calendar-day.open-day {
    background: #e8f5e8;
    color: var(--text-color);
    border: 1px solid #c8e6c9;
}

.calendar-day.closed-day {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.calendar-day.holiday {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b26500 100%);
    color: white;
    border: 2px solid var(--accent-color);
}

.calendar-day.weekend {
    background: linear-gradient(135deg, #757575 0%, #9e9e9e 100%);
    color: white;
    border: 1px solid #bdbdbd;
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
    visibility: hidden;
}

.day-number {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 1px;
    line-height: 1;
}

.day-status {
    text-align: center;
    font-size: 8px;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 600;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 1px;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--light-bg);
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    flex-shrink: 0;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-open { background: #e8f5e8; border: 1px solid #c8e6c9; }
.legend-closed { background: #ffebee; border: 1px solid #ffcdd2; }
.legend-weekend { background: linear-gradient(135deg, #757575 0%, #9e9e9e 100%); }
.legend-holiday { background: linear-gradient(135deg, var(--secondary-color) 0%, #b26500 100%); }
.legend-today { background: var(--accent-color); border: 2px solid var(--secondary-color); }

.working-hours-note {
    margin-top: 12px;
    padding: 10px;
    background: rgba(0, 77, 64, 0.08);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    font-size: 14px;
    line-height: 1.4;
}

.working-hours-note strong {
    color: var(--primary-color);
}

.working-hours-note p {
    margin: 3px 0 0 0;
}

/* Day Details Modal */
.day-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000 !important;
    animation: fadeIn 0.2s ease;
    padding: 15px;
}

.day-details-content {
    background: white;
    padding: 15px;
    border-radius: 10px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 2px solid var(--primary-color);
    animation: slideUp 0.2s ease;
}

.day-details-header {
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.day-details-header h3 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.day-details-body {
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.4;
}

.day-details-body p {
    margin: 6px 0;
}

.day-details-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.day-details-close:hover {
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .calendar-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .calendar-modal-content {
        padding: 12px;
        margin: 8px auto;
        max-height: 90vh;
    }
    
    .holiday-sidebar {
        order: -1;
    }
    
    .holiday-list {
        max-height: 180px;
    }
    
    .calendar-grid {
        gap: 3px;
    }
    
    .day-header {
        padding: 6px 1px;
        font-size: 10px;
    }
    
    .calendar-day {
        min-height: 32px;
        font-size: 10px;
        padding: 2px;
    }
    
    .day-number {
        font-size: 11px;
    }
    
    .day-status {
        font-size: 7px;
    }
}

@media (max-width: 768px) {
    .calendar-modal {
        padding: 5px;
    }
    
    .calendar-modal-content {
        width: 99%;
        margin: 3px auto;
        padding: 10px;
        border-radius: 8px;
    }
    
    .modal-header h2 {
        font-size: 16px;
    }
    
    .close-modal {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .calendar-title {
        font-size: 14px;
    }
    
    .calendar-nav button {
        width: 28px;
        height: 28px;
    }
    
    .calendar-grid {
        gap: 2px;
    }
    
    .calendar-day {
        min-height: 28px;
    }
    
    .day-number {
        font-size: 10px;
    }
    
    .day-status {
        font-size: 6px;
        display: none; /* Hide status text on very small screens */
    }
    
    .holiday-list li {
        padding: 8px;
        gap: 6px;
    }
    
    .holiday-list li strong {
        font-size: 11px;
    }
    
    .holiday-list li span {
        font-size: 10px;
    }
    
    .calendar-legend {
        gap: 6px;
    }
    
    .legend-item {
        font-size: 9px;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
    }
    
    .day-details-content {
        padding: 12px;
        max-width: 280px;
    }
    
    .day-details-header h3 {
        font-size: 14px;
    }
    
    .day-details-body {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .calendar-modal-content {
        margin: 0 auto;
        max-height: 98vh;
    }
    
    .calendar-header {
        flex-direction: row;
        align-items: center;
    }
    
    .calendar-title {
        order: 0;
        font-size: 13px;
    }
    
    .calendar-day {
        min-height: 26px;
    }
    
    .holiday-sidebar h3 {
        font-size: 14px;
    }
    
    .modal-header {
        flex-direction: row;
        align-items: center;
    }
    
    .modal-header h2 {
        font-size: 14px;
        min-width: auto;
    }
}

@media (max-width: 360px) {
    .calendar-day {
        min-height: 24px;
    }
    
    .day-number {
        font-size: 9px;
    }
    
    .day-header {
        font-size: 9px;
        padding: 5px 1px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .calendar-modal-content {
        max-height: 90vh;
        margin: 5px auto;
    }
    
    .calendar-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .calendar-day {
        min-height: 22px;
    }
    
    .day-number {
        font-size: 9px;
    }
}

/* Touch improvements */
.touch-active {
    transform: scale(0.95) !important;
    opacity: 0.9 !important;
}

/* Accessibility improvements */
.calendar-day:focus:not(.empty) {
    outline: 2px solid var(--accent-color);
    outline-offset: 1px;
}

.calendar-nav button:focus,
.close-modal:focus,
.day-details-close:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .calendar-modal {
        position: static !important;
        display: block !important;
        background: white !important;
        padding: 0 !important;
    }
    
    .calendar-modal-content {
        margin: 0 !important;
        padding: 5px !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        max-width: 100% !important;
        max-height: none !important;
    }
    
    .close-modal,
    .calendar-nav {
        display: none !important;
    }
    
    .holiday-list {
        max-height: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .calendar-day.open-day {
        border: 2px solid #000 !important;
    }
    
    .calendar-day.holiday {
        border: 2px solid #000 !important;
    }
    
    .calendar-day.weekend {
        border: 2px solid #000 !important;
    }
    
    .calendar-day.current-day {
        border: 3px solid #000 !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .calendar-modal,
    .calendar-modal-content,
    .day-details-modal,
    .day-details-content,
    .calendar-day,
    .holiday-list li,
    .calendar-nav button,
    .close-modal {
        animation: none !important;
        transition: none !important;
    }
    
    .calendar-day:hover:not(.empty),
    .holiday-list li:hover,
    .calendar-nav button:hover,
    .close-modal:hover,
    .day-details-close:hover {
        transform: none !important;
    }
}

/* Scrollbar styling */
.calendar-modal-content::-webkit-scrollbar {
    width: 6px;
}

.calendar-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.calendar-modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.calendar-modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}





/*welcom message*/

