﻿
/* About Hero Section */
.section-title {
    text-align: center;
    font-size: 35px;
    margin-bottom: 36px;
    color: #a94442;
}

.about-hero {
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

    .about-hero h1 {
        font-size: 35px;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .about-hero p {
        font-size: 17px;
        max-width: 800px;
        margin: 0 auto;
    }

/* Intro Section */
.intro-section {
    padding: 80px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-text {
    flex: 1;
}

    .intro-text p {
        font-size: 16px;
        line-height: 1.8;
        text-align: justify;
    }

.intro-image {
    flex: 1;
}

    .intro-image img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Messages Carousel Section */
.messages-section {
    padding-top: 80px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    /* max-width: 1000px; */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.message-slide {
    flex: 0 0 100%;
}

.message-box {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    position: relative;
}

.message-heading {
    font-size: 24px;
    color: #a94442;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

    .message-text p {
        /* margin-bottom: 20px; */
        text-indent: 40px;
    }

.signature {
    text-align: right;
    margin-top: 40px;
    font-style: italic;
    color: #666;
}

.signature-name {
    font-size: 20px;
    font-weight: 700;
    color: #a94442;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0px;
    border: 1px solid #a94442;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Carousel Navigation - MODIFIED */
.carousel-nav {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.carousel-btn {
    background-color: #a58989;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
}

    .carousel-btn:hover {
        background-color: #8a3634;
        transform: scale(1.05);
    }

/* School Infrastructure Section */
.infrastructure-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.infrastructure-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .infrastructure-item:hover {
        transform: translateY(-5px);
    }

.infrastructure-image {
    height: 200px;
    overflow: hidden;
}

    .infrastructure-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.infrastructure-item:hover .infrastructure-image img {
    transform: scale(1.05);
}

.infrastructure-name {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

/* Our Staff Section */
.staff-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.staff-horizontal-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.staff-group {
    text-align: center;
    max-width: 500px;
    flex: 1;
}

.staff-group-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2px;
}

    .staff-group-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.staff-group:hover .staff-group-image img {
    transform: scale(1.05);
}

.staff-group-title {
    font-size: 20px;
    font-weight: bold;
    color: #5e5959;
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .intro-content {
        flex-direction: column;
    }

    .message-box {
        padding: 30px;
    }

    .message-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .infrastructure-grid {
        grid-template-columns: 1fr;
    }

    .staff-horizontal-container {
        display: block;
    }

    .staff-group {
        max-width: 100%;
    }

    .staff-group-image {
        height: 280px;
    }

    .staff-group-title {
        font-size: 22px;
    }

    .message-box {
        padding: 20px;
    }

    .message-heading {
        font-size: 20px;
    }

    .message-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .signature-name {
        font-size: 18px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .carousel-nav {
        top: 15px;
        right: 15px;
    }

    .carousel-btn {
        width: 20px;
        height: 20px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .staff-horizontal-container {
        display: block;
    }

    .staff-group-image {
        height: 220px;
    }

    .staff-group-title {
        font-size: 20px;
    }
}

