/* General Styles */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Header Styles */
header {
    position: relative;
    z-index: 10;
    background-color: #2c3e50;
    padding: 10px 20px;
    text-align: center;
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
} */

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px;
    position: relative;
}

nav ul li a {
    color: white;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}

nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #34495e;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li:hover .dropdown {
    display: block;
}

nav ul li .dropdown li {
    margin: 0;
}

nav ul li .dropdown li a {
    padding: 10px;
    white-space: nowrap;
}

/* Background Image with Blinking Text */
.background-image {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blinking-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    color: maroon;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: blink 3s infinite;
    text-align: center;
}

@keyframes blink {
    0%,
    50%,
    100% {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0;
    }
}

/* Hero Section */
.hero-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f4f4f9;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
}

.cta-button {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* About Us Section */
.about-section {
    padding: 50px 20px;
    text-align: center;
}

.about-section ul {
    list-style-type: none;
    padding: 0;
}

.about-section ul li {
    margin: 10px 0;
}

.about-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
}

/* Programs Section */
.programs-section {
    padding: 50px 20px;
    background-color: #ecf0f1;
}

.programs-table {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #3498db;
    color: white;
}

/* Gallery Section */
.gallery-section {
    padding: 50px 20px;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Call to Action Section */
.cta-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #2c3e50;
    color: white;
}

.cta-section .cta-button {
    background-color: #e74c3c;
}

/* Contact Information Section */
.contact-section {
    padding: 50px 20px;
    text-align: center;
}

.contact-section img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin-top: 20px;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 20px;
    background-color: #34495e;
    color: white;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .blinking-text {
        font-size: 2.5rem;
    }

    .gallery img {
        max-width: 250px;
    }

    .about-image {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .blinking-text {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-image {
        width: 90%;
    }

    .gallery img {
        max-width: 100%;
    }

    table {
        font-size: 0.9rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    nav ul li .dropdown {
        position: static;
        background-color: #2c3e50;
    }

    /* nav ul {
        display: none;
        flex-direction: column;
        background-color: #2c3e50;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    } */

    .background-image {
        height: auto;
        width: 100vw;
    }
}

@media (max-width: 480px) {
    .blinking-text {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        -fmfont-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-section,
    .about-section,
    .programs-section,
    .gallery-section,
    .cta-section,
    .contact-section {
        padding: 30px 15px;
    }

    th,
    td {
        padding: 10px;
        font-size: 0.8rem;
    }

    .gallery img {
        max-width: 100%;
    }

    .about-image {
        max-width: 100%;
    }

    .contact-section img {
        max-width: 100%;
    }

    header {
        padding: 10px 15px;
    }

    nav ul li a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .blinking-text {
        font-size: 3.5rem;
    }

    .gallery img {
        max-width: 350px;
    }

    .about-image {
        max-width: 700px;
    }

    .contact-section img {
        max-width: 1000px;
    }
}
