/* About Page Layout */
.about-page {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background-color: #f5f5f5;
    display: flex;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background-color: #1B3058;
    padding: 2rem 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 180, 0, 0.1);
    border-left: 4px solid #ffb400;
}

.sidebar-nav i {
    margin-right: 1rem;
    color: #ffb400;
    width: 20px;
    text-align: center;
}

/* Main Content Styles */
.content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #666;
}

.breadcrumb a {
    color: #1B3058;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Anthem Section */
.anthem-section {
    position: relative;
    overflow: hidden;
}

.anthem-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1B3058 0%, #2a4577 100%);
    border-radius: 8px;
    color: white;
    position: relative;
}

.anthem-text {
    flex: 1;
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.anthem-text p {
    margin: 1rem 0;
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.anthem-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.1;
    color: #ffb400;
}

.anthem-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/logo (2).png') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    z-index: 1;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #1B3058;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffb400;
}

.section-content {
    color: #333;
    line-height: 1.6;
}

/* Values Cards */
.value-card {
    background: #f8f9fa;
    border-left: 4px solid #ffb400;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 5px 5px 0;
}

.value-card h3 {
    color: #1B3058;
    margin-bottom: 0.5rem;
}

/* Leadership Profile */
.leadership-profile {
    display: flex;
    gap: 2rem;
    align-items: start;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.leadership-profile img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    border: 4px solid #ffb400;
}

.profile-info h3 {
    color: #1B3058;
    margin-bottom: 0.5rem;
}

.profile-info .position {
    color: #ffb400;
    font-weight: 500;
    margin-bottom: 1rem;
}

.profile-info .bio {
    line-height: 1.6;
    color: #333;
}

/* Leadership Message Styles */
.leadership-message {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 900px;
}

.head-teacher-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 2rem;
}

.head-teacher-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
}

.leadership-message h3 {
    color: #333;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.message-content {
    line-height: 1.8;
    color: #444;
}

.message-content p {
    margin-bottom: 1.5rem;
}

.head-teacher-signature {
    margin-top: 2rem;
}

.head-teacher-signature p {
    margin: 0.2rem 0;
    line-height: 1.4;
}

/* Fixed Navigation Bar */
header {
    width: 100%;
}

/* Administration Section Styles */
.admin-roles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.role-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #ffb400;
}

.role-card h3 {
    color: #1B3058;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.role-card p {
    color: #444;
    line-height: 1.6;
}

.role-group {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #1B3058;
}

.role-group h3 {
    color: #1B3058;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sub-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.sub-role {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #ffb400;
}

.sub-role h4 {
    color: #1B3058;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.sub-role p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

.intro {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #1B3058;
}

/* Identity Section Styles */
#Identity {
    background-color: #1B3058;
    color: white;
    margin: 2rem -2rem;
    padding: 3rem 2rem;
}

#Identity h2 {
    color: #ffb400;
    border-bottom-color: #ffb400;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.identity-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.identity-card h3 {
    color: #ffb400;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.identity-card p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
}

.core-values {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.core-values h3 {
    color: #ffb400;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ffb400;
}

.value-item h4 {
    color: #ffb400;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.value-item p {
    color: white;
    line-height: 1.6;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation styles */
.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-down {
    transform: translateY(-50px);
}

.zoom-in {
    transform: scale(0.9);
}

/* When elements become visible */
.fade-in-left.show,
.fade-in-right.show,
.fade-in-up.show,
.fade-in-down.show,
.zoom-in.show {
    transform: translate(0) scale(1);
}

/* Add animation delays for cascade effect */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 992px) {
    .about-page {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        padding: 1rem;
    }

    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-nav li {
        margin: 0;
        flex: 1 1 auto;
    }

    .sidebar-nav a {
        padding: 0.75rem 1rem;
        justify-content: center;
        text-align: center;
        font-size: 0.9rem;
    }

    .sidebar-nav i {
        margin-right: 0.5rem;
    }

    .content {
        padding: 1rem;
    }

    .leadership-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leadership-profile img {
        width: 150px;
        height: 200px;
    }

    .identity-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #Identity {
        margin: 1rem -1rem;
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .sub-roles {
        grid-template-columns: 1fr;
    }
    
    .role-card, .role-group {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .sidebar-nav {
        flex-direction: column;
    }

    .sidebar-nav a {
        justify-content: flex-start;
    }

    .content-section {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .leadership-message {
        padding: 1.5rem;
    }

    .head-teacher-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .head-teacher-image {
        width: 180px;
        height: 180px;
    }

    .head-teacher-signature {
        text-align: left;
    }
}
