﻿/* ============================================
   Alemayan Class of 1985 - Custom Styles
   ============================================ */

/* Color Variables */
:root {
    --primary-green: #006400;
    --primary-green-dark: #004d00;
    --primary-green-light: #008000;
    --accent-gold: #C5A100;
    --accent-gold-light: #D4B020;
    --accent-gold-dark: #B08F00;
    --base-beige: #F5F5DC;
    --base-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --gradient-green: linear-gradient(135deg, #006400 0%, #008000 50%, #004d00 100%);
    --gradient-gold: linear-gradient(135deg, #C5A100 0%, #D4B020 100%);
}

/* Typography */
body {
    font-family: 'Source Sans 3', 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--base-white);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
    line-height: 1.85;
    letter-spacing: 0.01em;
}

p,
li {
    font-size: 1em;
    line-height: 1.85;
    letter-spacing: 0.01em;
}

/* Responsive container widths */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 100%;
    padding-left: clamp(1rem, 3vw, 4rem);
    padding-right: clamp(1rem, 3vw, 4rem);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-green);
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 100, 0, 0.1);
}

.department-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    padding: 2rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 1.4rem + 1.2vw, 2.8rem);
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.02em;
}

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

/* Header Styles */
.header-top-bar {
    background: var(--gradient-gold);
    height: 4px;
    width: 100%;
}

.main-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-gold);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: nowrap;
    text-align: center;
    padding: 0.65rem 0.6rem;
    width: 100%;
}

.header-logo-area {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-center {
    flex: 1 1 320px;
}

.header-logo {
    width: clamp(135px, 14vw, 210px);
    max-width: 100%;
    max-height: 110px;
    height: auto;
    object-fit: contain;
    display: block;
    transform: none;
    transform-origin: center;
}

.logo-placeholder {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-green);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
}

.header-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

.navbar {
    padding: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 1rem;
    padding: 0.55rem 1.4rem;
    margin: 0.2rem 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    background-color: rgba(0, 100, 0, 0.08);
    border-radius: 999px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
    background-color: rgba(0, 100, 0, 0.15);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background-color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: var(--base-beige);
    color: var(--primary-green);
    padding-left: 2rem;
}

/* Responsive Header Layout */
@media (max-width: 1200px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        padding: 0.65rem 0.5rem;
    }

    .header-center {
        flex: 1 1 100%;
        order: 3;
    }

    .header-logo {
        width: clamp(110px, 18vw, 160px);
        max-height: 90px;
    }

    .site-title {
        font-size: clamp(1.8rem, 1.2rem + 1vw, 2.2rem);
    }

    .navbar {
        padding: 0.35rem 0;
    }

    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.45rem 0.4rem;
    }

    .header-logo {
        width: 95px;
        max-height: 72px;
    }

    .header-tagline {
        font-size: 0.78rem;
        margin-top: 0.2rem;
    }

    .navbar-nav {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.92rem;
        padding: 0.45rem 1rem;
        margin: 0.1rem;
    }
}

@media (max-width: 576px) {
    .header-top-bar {
        height: 2px;
    }
    
    .header-content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.1rem;
        padding: 0.1rem 0.3rem;
    }

    .header-logo-left {
        order: 1;
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .header-logo-right {
        order: 3;
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .header-center {
        order: 2;
        flex: 1 1 100%;
        margin-top: 0;
    }

    .header-logo {
        width: 50px;
        max-height: 38px;
    }

    .site-title {
        font-size: 1rem;
        line-height: 1.1;
    }

    .header-tagline {
        font-size: 0.55rem;
        margin-top: 0.05rem;
        line-height: 1.1;
    }

    .navbar {
        padding: 0.1rem 0;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.15rem;
    }

    .navbar-nav .nav-link {
        width: 100%;
        margin: 0;
        padding: 0.2rem 0.5rem;
        border-radius: 8px;
        font-size: 0.75rem;
    }
    
    .main-footer {
        margin-top: 1rem;
    }
    
    .main-footer .row {
        --bs-gutter-y: 0.3rem;
    }
    
    .footer-content {
        padding: 0.5rem 0 0.35rem;
    }
    
    .footer-title {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-description {
        font-size: 0.65rem;
        line-height: 1.25;
    }
    
    .footer-social {
        gap: 0.3rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-social-icon {
        width: 24px;
        height: 24px;
    }
    
    .footer-social-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .footer-contact {
        font-size: 0.65rem;
        margin-top: 0.25rem;
    }
    
    .footer-bottom {
        padding: 0.3rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.65rem;
    }
}

@media (max-width: 420px) {
    .header-content {
        padding: 0.08rem 0.25rem;
        gap: 0.08rem;
    }

    .header-logo {
        width: 45px;
        max-height: 34px;
    }

    .site-title {
        font-size: 0.9rem;
        line-height: 1.05;
    }

    .header-tagline {
        font-size: 0.5rem;
        margin-top: 0.03rem;
        line-height: 1.05;
    }

    .header-center {
        margin-top: 0;
    }

    .navbar {
        padding: 0.08rem 0;
    }

    .navbar-nav {
        gap: 0.12rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
    
    .main-footer {
        margin-top: 0.75rem;
    }
    
    .main-footer .row {
        --bs-gutter-y: 0.25rem;
    }
    
    .footer-content {
        padding: 0.4rem 0 0.3rem;
    }
    
    .footer-title {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }
    
    .footer-description {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .footer-social {
        gap: 0.25rem;
        margin-bottom: 0.2rem;
    }
    
    .footer-social-icon {
        width: 22px;
        height: 22px;
    }
    
    .footer-social-icon svg {
        width: 11px;
        height: 11px;
    }
    
    .footer-contact {
        font-size: 0.6rem;
        margin-top: 0.2rem;
    }
    
    .footer-bottom {
        padding: 0.25rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.6rem;
    }
}


/* Hero Section */
/* Hero Section with Carousel */
.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.hero-section .carousel {
    height: 100%;
}

.hero-section .carousel-inner {
    height: 100%;
}

.hero-section .carousel-item {
    height: 600px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base-white);
    text-align: center;
}

/* Hero slide background images */
.hero-slide-1 {
    background-image: url('../images/slide1.jpg');
}

.hero-slide-2 {
    background-image: url('../images/slide2.JPG');
}

.hero-slide-3 {
    background-image: url('../images/slide3.jpg');
}

.hero-slide-4 {
    background-image: url('../images/slide4.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--base-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--base-white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

/* Carousel Controls Styling */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 100, 0, 0.5);
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-section .carousel-control-prev {
    left: 30px;
}

.hero-section .carousel-control-next {
    right: 30px;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background-color: rgba(0, 100, 0, 0.8);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(197, 161, 0, 0.4);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* Carousel Indicators */
.hero-section .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--accent-gold);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background-color: var(--accent-gold);
    transform: scale(1.3);
}

.hero-section .carousel-indicators button:hover {
    background-color: var(--accent-gold);
    opacity: 0.8;
}

.btn-hero {
    background-color: var(--accent-gold);
    color: var(--base-white);
    border: 2px solid var(--accent-gold);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.btn-hero:hover {
    background-color: transparent;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(197, 161, 0, 0.4);
}

/* Section Padding */
.section-padding {
    padding: 4rem 0;
}

/* Statistics Card */
.stat-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, rgba(0, 100, 0, 0.9) 100%);
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 25px rgba(0, 100, 0, 0.2);
    color: var(--base-white);
}

.stat-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.stat-content {
    flex-grow: 1;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.stat-description {
    font-size: 1.15rem;
    color: var(--base-white);
    margin: 0;
    line-height: 1.6;
}

/* About Section */
.about-image-placeholder {
    background-color: var(--base-beige);
    border-radius: 10px;
    padding: 3rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--accent-gold);
}

.timeline-placeholder {
    text-align: center;
}

/* Department Cards */
.department-card {
    background-color: var(--base-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.department-image-placeholder {
    background-color: var(--base-beige);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 1rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.department-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.department-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.department-card p {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.department-stats {
    margin-bottom: 1rem;
}

.stat-badge {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--base-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(197, 161, 0, 0.3);
}

.department-card .btn {
    margin-top: auto;
    background-color: var(--primary-green);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.department-card .btn:hover {
    background-color: var(--accent-gold);
    transform: scale(1.05);
}

/* Department Header */
.department-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, rgba(0, 100, 0, 0.9) 100%);
    color: var(--base-white);
    padding: 3rem 0;
}

.department-header .department-title {
    color: var(--base-white);
}

/* Instructor Cards */
.instructor-card {
    background-color: var(--base-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.instructor-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--base-beige);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-gold);
}

.instructor-card h5 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Facility Cards */
.facility-card {
    background-color: var(--base-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.facility-image-placeholder {
    background-color: var(--base-beige);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.facility-card h5 {
    color: var(--primary-green);
    padding: 1rem 1.5rem 0.5rem;
    margin: 0;
}

.facility-card p {
    color: var(--text-light);
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Student Cards */
.student-card {
    background-color: var(--base-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Intro & PDF viewer layout */
.intro-section,
.pdf-viewer-card {
    background: var(--base-white);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    padding: 1.5rem;
}

.pdf-viewer-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.pdf-section-title {
    font-size: clamp(1.35rem, 1rem + 0.7vw, 1.8rem);
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pdf-embed-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    background-color: #f7f7f7;
    flex: 1;
    min-height: 360px;
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: none;
    background-color: #fff;
}

.pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .pdf-embed-wrapper,
    .pdf-iframe {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .pdf-embed-wrapper,
    .pdf-iframe {
        min-height: 240px;
    }
}

.student-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--base-beige);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-green);
}

.student-card h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.student-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.student-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.student-contact-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.student-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--base-beige);
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.student-contact-link:hover {
    background-color: var(--primary-green);
    color: var(--base-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 100, 0, 0.3);
}

.student-contact-link svg {
    width: 18px;
    height: 18px;
}

.student-email {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    word-break: break-word;
}

.student-email a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.student-email a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.btn-profile {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background-color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.btn-profile:hover {
    background-color: var(--primary-green);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 100, 0, 0.3);
}

.btn-profile[href*="_bio"] {
    background: var(--gradient-gold);
    border-color: var(--accent-gold);
    color: #fff;
    box-shadow: 0 8px 18px rgba(197, 161, 0, 0.35);
}

.btn-profile[href*="_bio"]:hover {
    background: var(--accent-gold-dark);
    border-color: var(--accent-gold-dark);
    color: #fff;
    box-shadow: 0 10px 22px rgba(176, 143, 0, 0.4);
}

/* Yearbook Section */
.yearbook-viewer-container {
    background-color: var(--base-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.yearbook-pdf-viewer {
    width: 100%;
    height: 600px;
    border: 2px solid var(--base-beige);
    border-radius: 8px;
}

.yearbook-gallery-placeholder {
    background-color: var(--base-beige);
    border-radius: 10px;
    padding: 4rem;
    text-align: center;
    border: 2px dashed var(--accent-gold);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anniversary Cards */
.anniversary-card {
    background-color: var(--base-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.anniversary-image-placeholder {
    background-color: var(--base-beige);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.anniversary-card h5 {
    color: var(--primary-green);
    padding: 1rem 1.5rem 0.5rem;
    margin: 0;
}

.anniversary-card p {
    color: var(--text-light);
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-green);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(197, 161, 0, 0.3);
}

/* Footer Styles */
.main-footer {
    background: var(--gradient-green);
    color: var(--base-white);
    margin-top: 4rem;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.footer-content {
    padding: 2rem 0 1.5rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--accent-gold);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 1rem;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon svg {
    width: 18px;
    height: 18px;
}

.footer-social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(197, 161, 0, 0.4);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.footer-contact a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

.footer-bottom {
    background-color: var(--primary-green-dark);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Visitor Counter */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.visitor-counter-label {
    font-weight: 500;
}

.visitor-counter-number {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    min-width: 60px;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .footer-bottom .d-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .visitor-counter {
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        justify-content: center;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .header-logo {
        max-width: 160px;
        max-height: 110px;
    }
    
    .hero-section .carousel-item {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .hero-section .carousel-control-prev {
        left: 15px;
    }
    
    .hero-section .carousel-control-next {
        right: 15px;
    }
    
    .department-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .stat-icon {
        font-size: 3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-description {
        font-size: 1rem;
    }
    
    .social-sharing {
        gap: 1rem;
    }
    
    .social-icon {
        min-width: 100px;
        padding: 1rem;
    }
    
    .social-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .hero-section .carousel-item {
        height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-section .carousel-control-prev {
        left: 10px;
    }
    
    .hero-section .carousel-control-next {
        right: 10px;
    }
    
    .hero-section .carousel-indicators {
        bottom: 20px;
    }
    
    .department-title {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-description {
        font-size: 0.95rem;
    }
    
    .social-icon {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .social-icon span {
        font-size: 0.8rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-logo {
        max-width: 130px;
        max-height: 90px;
    }
    
    .logo-placeholder {
        margin: 0 auto;
    }
    
    .footer-content {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .news-date {
        padding: 0.5rem 0.75rem;
        min-width: 50px;
    }
    
    .news-day {
        font-size: 1.5rem;
    }
    
    .news-month {
        font-size: 0.75rem;
    }
    
    .news-year {
        font-size: 0.7rem;
    }
    
    .news-image-placeholder {
        min-height: 150px;
    }
    
    .news-content {
        padding: 1.25rem;
    }
    
    .news-content h4 {
        font-size: 1.1rem;
    }
}

/* Background Colors */
.bg-light {
    background-color: var(--base-beige) !important;
}

/* Legacy Section */
.legacy-content {
    background-color: var(--base-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.legacy-content p:last-child {
    margin-bottom: 0;
}

/* Social Sharing */
.social-sharing {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: var(--base-white);
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icon svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icon span {
    font-size: 0.9rem;
    font-weight: 600;
}

.social-icon:hover {
    background-color: var(--primary-green);
    color: var(--base-white);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 100, 0, 0.3);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    color: var(--base-white);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-gold);
    border-color: var(--primary-green);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(197, 161, 0, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transform: rotate(180deg);
}

/* News & Updates Section */
.news-card {
    background-color: var(--base-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-green);
    color: var(--base-white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 100, 0, 0.3);
    min-width: 60px;
}

.news-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.news-month {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.news-year {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.2rem;
}

.news-image-placeholder {
    background-color: var(--base-beige);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 3px solid var(--accent-gold);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.news-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.news-link:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.content-card {
    background-color: var(--base-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-card p {
    font-size: inherit;
    line-height: inherit;
}

.department-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-courses {
    background-color: var(--primary-green);
    color: var(--base-white);
    border: none;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-courses:hover {
    background-color: var(--primary-green-dark);
    color: var(--base-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.3);
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-gold-dark);
    margin-bottom: 0.75rem;
}

.trivia-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.trivia-list li {
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.trivia-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-size: 1rem;
}

/* Iconic Moments Section */
.iconic-moments-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) var(--base-beige);
}

.iconic-moments-container::-webkit-scrollbar {
    height: 8px;
}

.iconic-moments-container::-webkit-scrollbar-track {
    background: var(--base-beige);
    border-radius: 10px;
}

.iconic-moments-container::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.iconic-moments-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}

.iconic-moments-scroll {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1rem;
    min-width: min-content;
}

.iconic-moment-card {
    background-color: var(--base-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.iconic-moment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.iconic-moment-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--base-beige);
    position: relative;
}

.iconic-moment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.iconic-moment-card:hover .iconic-moment-image img {
    transform: scale(1.05);
}

.iconic-moment-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.iconic-moment-content h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.iconic-moment-note {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
    flex-grow: 1;
}

/* Responsive adjustments for Iconic Moments */
@media (max-width: 768px) {
    .iconic-moment-card {
        flex: 0 0 280px;
        min-height: 380px;
    }
    
    .iconic-moment-image {
        height: 180px;
    }
    
    .iconic-moment-content {
        padding: 1.25rem;
    }
    
    .iconic-moment-content h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .iconic-moment-card {
        flex: 0 0 260px;
        min-height: 360px;
    }
    
    .iconic-moment-image {
        height: 160px;
    }
    
    .iconic-moments-scroll {
        gap: 1rem;
    }
}

/* Department Tables */
.department-table {
    background-color: var(--base-white);
    border-collapse: collapse;
    width: 100%;
    margin-top: 1rem;
}

.department-table thead {
    background: var(--gradient-green);
    color: var(--base-white);
}

.department-table thead th {
    padding: 1rem;
    font-weight: 600;
    text-align: left;
    border: 1px solid var(--primary-green-dark);
}

.department-table tbody td {
    padding: 0.875rem 1rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.department-table tbody tr:nth-child(even) {
    background-color: var(--base-beige);
}

.department-table tbody tr:hover {
    background-color: rgba(0, 100, 0, 0.05);
}

/* Portrait PDF Container */
.portrait-pdf-container {
    background-color: var(--base-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portrait-pdf {
    width: 100%;
    height: 600px;
    border: 2px solid var(--base-beige);
    border-radius: 8px;
}

/* Group Photo Container */
.group-photo-container {
    background-color: var(--base-white);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.group-photo-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--base-beige);
    margin-bottom: 1rem;
}

/* Student List Table */
.student-list-table {
    background-color: var(--base-white);
    border-collapse: collapse;
    width: 100%;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.student-list-table thead {
    background: var(--gradient-green);
    color: var(--base-white);
}

.student-list-table thead th {
    padding: 0.875rem;
    font-weight: 600;
    text-align: left;
    border: 1px solid var(--primary-green-dark);
    font-size: 0.9rem;
}

.student-list-table tbody td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.student-list-table tbody tr:nth-child(even) {
    background-color: var(--base-beige);
}

.student-list-table tbody tr:hover {
    background-color: rgba(0, 100, 0, 0.05);
}

@media (max-width: 768px) {
    .portrait-pdf {
        height: 400px;
    }
    
    .yearbook-pdf-viewer {
        height: 400px;
    }
    
    .group-photo-img {
        max-height: 300px;
    }
    
    .group-photo-container {
        margin-bottom: 1.5rem;
    }
    
    .student-list-table {
        font-size: 0.85rem;
    }
    
    .student-list-table thead th,
    .student-list-table tbody td {
        padding: 0.5rem;
    }
    
    .department-table {
        font-size: 0.9rem;
    }
    
    .department-table thead th,
    .department-table tbody td {
        padding: 0.5rem;
    }
}

/* Utility Classes */
.text-muted {
    color: var(--text-light) !important;
}

.about-signoff {
    margin-top: 2rem;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

