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


:root {
    --primary-color: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #dbeafe;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #F9FAFB;
    --bg-dark: #1E40AF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Buttons */
.btn, .cta-button, .submit-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover, .cta-button:hover, .submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Header & Navigation */
.header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
}

.desktop-nav {
    display: none;
}

.nav-link {
    margin-left: 2rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.mobile-menu-button {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav .nav-link {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    display: block;
}

.mobile-nav.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Announcement Banner */
.announcement-banner {
    background-color: var(--accent-color);
    padding: 0.75rem 0;
    color: white;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.announcement-content i {
    font-size: 1.25rem;
}

.announcement-content a {
    text-decoration: underline;
    font-weight: 600;
}

.announcement-content a:hover {
    color: var(--primary-light);
}

/* Hero Section with Slideshow */
.hero {
    position: relative;
    height: 500px;
    width: 100%;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: white;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    max-width: 600px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-content .cta-button {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

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

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: #fff;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-info {
    color: white;
    text-align: center;
    padding: 1rem;
}

.gallery-info h3 {
    margin-bottom: 0.5rem;
}

.gallery-info p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.view-image-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.view-image-btn:hover {
    background-color: var(--primary-dark);
}

.gallery-load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

#modal-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

#modal-caption {
    color: white;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.25rem;
}

/* Principal Section */
.principal-section {
    padding: 4rem 0;
    background-color: var(--primary-light);
}

.principal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.principal-image {
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.principal-info {
    text-align: center;
}

.principal-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.principal-position {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.principal-info p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.principal-info blockquote {
    font-style: italic;
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.5);
    margin: 1.5rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Teachers Section */
.teachers-section {
    padding: 4rem 0;
    background-color: #fff;
}

.teachers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.teacher-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-image {
    height: 16rem;
    width: 100%;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.1);
}

.teacher-info {
    padding: 1.5rem;
}

.teacher-info h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.teacher-position {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.teacher-info p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.testimonial-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-prev, .testimonial-next {
    background-color: white;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-color);
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: var(--transition);
}

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

/* News Section */
.news-section {
    padding: 4rem 0;
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-align: center;
    line-height: 1.2;
}

.news-date .day {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}

.news-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.contact-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
}

.contact-map {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-social {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-social h3 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    transition: var(--transition);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

.btn-icon {
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.form-message {
    display: none;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-top: 1.5rem;
    align-items: center;
    gap: 1rem;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background-color: #fee2e2;
    color: #b91c1c;
}

.form-message.active {
    display: flex;
}

.form-message i {
    font-size: 1.5rem;
}

/* Newsletter */
.newsletter {
    margin-top: 1.5rem;
}

.newsletter h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p, .footer-section address {
    color: #bfdbfe;
    font-style: normal;
    margin-bottom: 1rem;
}

.footer-logo {
    margin-top: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #bfdbfe;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    margin-right: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid #3b82f6;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #93c5fd;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #93c5fd;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Media Queries */
@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .desktop-nav {
        display: flex;
    }

    .mobile-menu-button {
        display: none;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-content {
        flex-direction: row;
    }

    .about-text {
        flex: 1;
    }

    .about-image {
        flex: 1;
    }

    .principal-content {
        flex-direction: row;
        text-align: left;
    }

    .principal-image {
        flex: 1;
    }

    .principal-info {
        flex: 2;
        text-align: left;
    }

    .principal-info .social-links {
        justify-content: flex-start;
    }

    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .teachers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}