/* static/css/about.css */
/* ============================================
   ABOUT US PAGE — Specific Styles
   ============================================ */

/* --- PAGE HERO BANNER --- */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: 1;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 31, 63, 0.85) 0%,
        rgba(0, 61, 107, 0.7) 50%,
        rgba(0, 97, 162, 0.6) 100%
    );
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 5%;
}

.page-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-hero-content h1 span {
    color: var(--accent-gold);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.breadcrumb a {
    color: var(--accent-gold);
    font-weight: 500;
}

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

.breadcrumb-separator {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* Decorative shapes in hero */
.page-hero .shape {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    opacity: 0.1;
}

.page-hero .shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-gold);
    top: -100px;
    right: -50px;
}

.page-hero .shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    bottom: -80px;
    left: 10%;
}

/* --- INTRO SECTION --- */
.about-intro {
    padding: 80px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text .section-label {
    margin-bottom: 12px;
}

.about-intro-text h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-intro-text p {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 18px;
    text-align: justify;
    line-height: 1.85;
}

.about-intro-text p strong {
    color: var(--dark-blue);
}

.highlight-quote {
    background: linear-gradient(135deg, var(--bg-warm), #fff8e7);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 25px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 25px 0;
    font-style: italic;
    color: var(--dark-blue);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-intro-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.5;
}

.about-intro-image .image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 20px 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.image-badge .badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: block;
    line-height: 1;
}

.image-badge .badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 5px;
}

/* --- MISSION / VISION / VALUES SECTION --- */
.values-section {
    background: var(--bg-light);
    padding: 80px 8%;
}

.values-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,97,162,0.1), rgba(247,168,35,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary-blue);
    transition: all var(--transition-base);
}

.value-card:hover .value-card-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    transform: scale(1.1);
}

.value-card h3 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Second card gold accent variant */
.value-card.gold::before {
    background: var(--accent-gold);
}

.value-card.blue::before {
    background: var(--primary-blue);
}

.value-card.cranberry::before {
    background: var(--cranberry);
}

/* --- PROJECTS / INITIATIVES SECTION --- */
.projects-section {
    padding: 80px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-card-image .project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-body h3 {
    color: var(--dark-blue);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.project-card-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
}

.project-card-body .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: var(--transition-fast);
}

.project-card-body .read-more:hover {
    color: var(--accent-gold);
    gap: 10px;
}

/* --- LEADERSHIP SIDEBAR (now full width section) --- */
.leadership-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--dark-blue) 100%);
    padding: 80px 8%;
    color: white;
    position: relative;
    overflow: hidden;
}

.leadership-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(247, 168, 35, 0.05);
    top: -200px;
    right: -100px;
}

.leadership-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.leadership-section .section-label {
    color: var(--accent-gold);
}

.leadership-section .section-title {
    color: white;
}

.leadership-section .section-subtitle {
    color: rgba(255,255,255,0.7);
    margin: 0 auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(5px);
}

.leader-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.leader-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
    margin: 0 auto 20px;
}

.leader-card-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.leader-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.leader-card-period {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* --- ROTARY CONNECTION SECTION --- */
.rotary-connection {
    padding: 80px 8%;
    background: var(--bg-warm);
}

.rotary-connection-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rotary-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.fact-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

.fact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.fact-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.fact-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.rotary-connection-image {
    position: relative;
}

.rotary-connection-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(
        135deg,
        rgba(0, 97, 162, 0.95),
        rgba(0, 61, 107, 0.95)
    ),
    url('/media/Images/VocationalTraining1.jpg') center/cover;
    padding: 80px 8%;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .about-intro-grid {
        gap: 40px;
    }

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

    .rotary-connection-inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .about-intro {
        padding: 50px 5%;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-intro-image::before {
        display: none;
    }

    .about-intro-image img {
        height: 350px;
    }

    .about-intro-image .image-badge {
        bottom: -10px;
        left: 10px;
        padding: 15px 18px;
    }

    .values-section {
        padding: 50px 5%;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .projects-section {
        padding: 50px 5%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .leadership-section {
        padding: 50px 5%;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .rotary-connection {
        padding: 50px 5%;
    }

    .rotary-connection-inner {
        grid-template-columns: 1fr;
    }

    .rotary-facts {
        grid-template-columns: 1fr 1fr;
    }

    .rotary-connection-image img {
        height: 300px;
    }

    .cta-section {
        padding: 50px 5%;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }
}