/* ============================================
   CONTENT PAGES STYLES (About, Contact, Gallery, Teachers)
   ============================================ */

/* ============================================
   PAGE HEADERS & TITLES
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    opacity: 0.9;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.welcome-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.professional-text {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.leadership-card {
    text-align: center;
    padding: 24px;
}

.leadership-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

.leadership-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.leadership-role {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.map-container {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
    padding: 60px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-card-content {
    padding: 15px;
}

.gallery-card-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.gallery-card-description {
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   TEACHERS PAGE
   ============================================ */
.teachers-section {
    padding: 60px 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.teacher-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.teacher-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.teacher-info {
    padding: 20px;
    text-align: center;
}

.teacher-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.teacher-subject {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.teacher-qualification {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.teacher-bio {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   NOTICES PAGE
   ============================================ */
.notices-section {
    padding: 60px 0;
}

.notices-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.notice-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.notice-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.notice-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.notice-date {
    color: var(--danger);
    font-size: 13px;
    font-weight: 600;
}

.notice-content {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 14px;
}

.notice-attachment {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.attachment-link:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .teacher-image {
        height: 240px;
    }
}
