/* Who We Are Page Styles */
:root {
    --section-spacing: 5rem;
    --content-spacing: 2rem;
    --border-radius: 12px;
    --primary-color-rgb: 0, 168, 199; /* RGB values of the primary-color (#00a8c7) */
}

.page-hero.hero-who-we-are {
    /* Inherit standard hero styles from styles.css */
    /* Only set the page-specific background */
    background-image: url('../images/heroes/hero-who-we-are.webp');
}

/* Remove duplicated hover styles as they're now in styles.css */

/* Purpose Section starts here */
.purpose-section {
    padding: var(--section-padding);
}

/* Mission & Vision Section */
.mission-vision {
    padding: var(--section-spacing) 0;
    background-color: var(--light-background);
}

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

.mission-card, .vision-card {
    background-color: var(--background);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.mission-card h3, .vision-card h3 {
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.mission-card p, .vision-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-bio {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-bottom 0.3s ease;
    margin-bottom: 0;
}

.member-bio.expanded {
    max-height: 500px;
    margin-bottom: 1.5rem;
}

/* Leadership Section */
.leadership-section {
    padding: 5rem 0;
    background: var(--light-background);
}

.director-card {
    max-width: 1000px;
    margin: 3rem auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .director-card {
        flex-direction: row;
    }
}

.director-image {
    width: 100%;
    height: 350px;
}

@media (min-width: 768px) {
    .director-image {
        width: 350px;
        height: auto;
        min-height: 350px;
    }
}

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

.director-info {
    padding: 2.5rem;
    overflow: hidden;
    flex: 1;
}

.director-info h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.director-info .role {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.director-info .bio {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.director-info .social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.director-info .social-links a {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.director-info .social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Board Members Section */
.board-section {
    padding: 5rem 0;
}

.board-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.board-member {
    flex: 1 1 240px;
    max-width: 290px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--member-index, 0) * 0.15s);
}

.board-member:nth-child(1) { --member-index: 1; }
.board-member:nth-child(2) { --member-index: 2; }
.board-member:nth-child(3) { --member-index: 3; }
.board-member:nth-child(4) { --member-index: 4; }
.board-member:nth-child(5) { --member-index: 5; }
.board-member:nth-child(6) { --member-index: 6; }
.board-member:nth-child(7) { --member-index: 7; }
.board-member:nth-child(8) { --member-index: 8; }
.board-member:nth-child(9) { --member-index: 9; }

.board-member-inner {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.board-member-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.board-member-inner img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #f1f1f1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.board-member-inner .placeholder-container {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 4px solid #f1f1f1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.board-member .name {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.board-member .role {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.board-member .bio {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 0.5rem 0;
    line-height: 1.5;
}

.board-member .tenure {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: calc(var(--item-index, 0) * 0.2s);
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(1) { --item-index: 1; }
.timeline-item:nth-child(2) { --item-index: 2; }
.timeline-item:nth-child(3) { --item-index: 3; }
.timeline-item:nth-child(4) { --item-index: 4; }
.timeline-item:nth-child(5) { --item-index: 5; }
.timeline-item:nth-child(6) { --item-index: 6; }
.timeline-item:nth-child(7) { --item-index: 7; }
.timeline-item:nth-child(8) { --item-index: 8; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

.timeline-year::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-year::before {
    right: -38px;
}

.timeline-item:nth-child(even) .timeline-year::before {
    left: -38px;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-hero {
        min-height: 50vh;
        padding: 100px 0;
    }
    
    .page-hero h1 {
        font-size: 2.8rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .director-card {
        max-width: 90%;
    }
    
    .director-info h3 {
        font-size: 1.8rem;
    }
    
    .director-info .bio {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .board-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        padding: 80px 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-card, .vision-card {
        padding: 2rem;
    }
    
    .director-image {
        height: 300px;
    }
    
    .director-info {
        padding: 2rem;
    }
    
    .director-info h3 {
        font-size: 1.75rem;
    }
    
    .director-info .role {
        font-size: 1.1rem;
    }
    
    .director-info .bio {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
        width: 100%;
        margin: 0 0 30px 0;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-year::before {
        left: -45px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .board-grid {
        gap: 1.5rem;
    }
    
    .team-grid-new {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
    
    .board-member-inner {
        padding: 1.25rem;
    }
    
    .board-member-inner img {
        width: 100px;
        height: 100px;
    }

    .board-member-inner .placeholder-container {
        width: 100px;
        height: 100px;
    }
    
    /* Ensure footer social links stay white even on mobile */
    .footer .social-links a {
        color: #FFFFFF !important;
    }
    
    .footer .social-links a:hover {
        color: #FFFFFF !important;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 35vh;
        padding: 60px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .board-grid {
        max-width: 280px;
        margin: 0 auto;
    }

    .board-member {
        flex-basis: 100%;
        max-width: 100%;
    }
    
    .director-image {
        height: 250px;
    }
    
    .director-info {
        padding: 1.5rem;
    }
    
    .director-info h3 {
        font-size: 1.5rem;
    }
    
    .director-info .role {
        font-size: 1rem;
    }
    
    .director-info .bio {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .board-member-inner {
        padding: 1rem;
    }
    
    .board-member-inner img {
        width: 90px;
        height: 90px;
    }

    .board-member-inner .placeholder-container {
        width: 90px;
        height: 90px;
    }
    
    .board-member .name {
        font-size: 1.1rem;
    }
    
    .board-member .role {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .board-grid {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .director-card {
        margin: 2rem auto;
    }
}

/* Print Styles */
@media print {
    .page-hero {
        height: auto;
        padding: 2rem 0;
        background: none;
    }

    .hero-content {
        color: var(--text-color);
    }

    .team-member, .director-card {
        break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }
}

/* Update values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--card-index) * 0.1s);
    opacity: 0;
    transform: translateY(20px);
}

.value-card:nth-child(1) { --card-index: 1; }
.value-card:nth-child(2) { --card-index: 2; }
.value-card:nth-child(3) { --card-index: 3; }
.value-card:nth-child(4) { --card-index: 4; }
.value-card:nth-child(5) { --card-index: 5; }
.value-card:nth-child(6) { --card-index: 6; }

.value-card h3 {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    position: relative;
    z-index: 1;
    color: white;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
    animation-delay: calc(var(--stat-index, 0) * 0.2s);
}

.stat-item:nth-child(1) { --stat-index: 1; }
.stat-item:nth-child(2) { --stat-index: 2; }
.stat-item:nth-child(3) { --stat-index: 3; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-section .stat-number {
        font-size: 3rem;
    }
}

@supports (-webkit-touch-callout: none) {
    .stats-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1 1 250px;
    }
}

/* Scroll Reveal Animation */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for children */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-reveal.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-reveal.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-reveal.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* General improvements */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: #00A8C7;
    margin: 1rem auto 1.5rem;
}

/* Hero Header Section */
.hero-header {
    padding: calc(var(--header-height) + var(--section-spacing)) 0 var(--section-spacing);
    position: relative;
    background-color: var(--light-background);
}

.header-content {
    display: flex;
    position: relative;
}

.section-title-vertical {
    transform: rotate(-90deg);
    transform-origin: top left;
    position: absolute;
    left: 0;
    top: 19px;
}

.section-title-vertical h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
}

.header-text {
    margin-left: 96px;
    width: 100%;
}

.header-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.header-main h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    max-width: 718px;
    font-family: 'Poppins', sans-serif;
}

.header-side {
    max-width: 465px;
}

.header-side h3 {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--content-spacing);
    font-family: 'Poppins', sans-serif;
}

.header-side p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.7;
    font-family: 'Poppins', sans-serif;
}

/* Video Section */
.video-section {
    padding: 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.video-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.video-bg {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--primary-color-dark);
}

.play-button i {
    color: white;
    font-size: 2.5rem;
    margin-left: 8px;
}

/* Mission & Vision New */
.mission-vision-new {
    padding: var(--section-spacing) 0;
    background-color: var(--primary-color);
    color: white;
}

.mission-vision-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--content-spacing);
}

.mission-box, .vision-box {
    flex: 1;
    min-width: 300px;
}

.mission-box h5, .vision-box h5 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--content-spacing);
    font-family: 'Poppins', sans-serif;
    color: white;
}

.mission-box h3, .vision-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: var(--content-spacing);
    font-family: 'Poppins', sans-serif;
    color: white;
}

.mission-box p, .vision-box p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
    color: white;
}

/* Impact Section */
.impact-section {
    padding: var(--section-spacing) 0;
    background-color: var(--primary-color);
    color: white;
}

.impact-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--content-spacing);
}

.impact-text {
    flex: 1;
    min-width: 300px;
}

.impact-text h5 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.625rem;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.impact-text h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.875rem;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.impact-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.impact-image {
    flex: 1;
    min-width: 300px;
}

.rounded-image {
    width: 100%;
    height: 448px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.875rem;
    margin-top: 2.5rem;
}

.stats-row .stat-item {
    margin-bottom: 0;
}

.stats-row .stat-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.3125rem;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.stats-row .stat-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
    color: white;
}

/* Team Section New */
.team-section-new {
    padding: var(--section-spacing) 0;
    background-color: var(--light-background);
}

.section-header {
    text-align: center;
    margin-bottom: 3.125rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.9375rem;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.section-header p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.7;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.team-grid-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.team-member-new {
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.member-image-new {
    width: 100%;
    height: 320px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 0.9375rem;
}

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

.team-member-new:hover .member-image-new img {
    transform: scale(1.05);
}

.member-info-new {
    padding: 1.5rem;
    text-align: center;
}

.member-info-new h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.member-role-new {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-links-new {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    opacity: 0.8;
}

.social-links-new a {
    color: var(--text-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links-new a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

/* Events Section */
.events-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light-background);
}

.section-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-title-row h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin-right: 1.25rem;
    font-family: 'Poppins', sans-serif;
}

.section-line {
    flex: 1;
    height: 1px;
    background-color: var(--text-color);
    opacity: 0.2;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.875rem;
}

.event-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem 2.5rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.event-content {
    display: flex;
    align-items: center;
}

.event-date {
    margin-right: 1.25rem;
}

.event-date h3 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
}

.event-date p {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.event-info {
    flex: 1;
    margin-left: 1.25rem;
}

.event-tag {
    position: relative;
    margin-bottom: 0.625rem;
}

.event-tag span {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    display: inline-block;
    margin-right: 0.625rem;
    font-family: 'Poppins', sans-serif;
}

.tag-line {
    display: inline-block;
    width: 44px;
    height: 2px;
    background-color: var(--text-color);
    vertical-align: middle;
    opacity: 0.2;
}

.event-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 0.3125rem;
    font-family: 'Poppins', sans-serif;
}

.event-arrow {
    margin-left: auto;
}

.arrow-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--light-background);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-circle:hover {
    background-color: var(--primary-color);
}

.arrow-circle:hover i {
    color: white;
}

.arrow-circle i {
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-main {
        flex-direction: column;
    }
    
    .header-main h1 {
        font-size: 2.625rem;
    }
    
    .header-side {
        max-width: 100%;
    }
    
    .impact-content {
        flex-direction: column;
    }
    
    .team-grid-new {
        justify-content: center;
    }
    
    .events-grid {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title-vertical {
        display: none;
    }
    
    .header-text {
        margin-left: 0;
    }
    
    .header-main h1 {
        font-size: 2.25rem;
    }
    
    .mission-vision-row {
        flex-direction: column;
    }
    
    .event-content {
        flex-wrap: wrap;
    }
    
    .event-arrow {
        margin-top: 1.25rem;
        margin-left: 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .header-main h1 {
        font-size: 2rem;
    }
    
    .impact-text h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .event-date h3 {
        font-size: 2.5rem;
    }

    .event-info h3 {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* Placeholder Image Styles */
.image-placeholder {
    background-color: #f0f0f0;
    position: relative;
}

.image-placeholder.placeholder {
    background-color: #e0e0e0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.director-image .image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-member-inner .image-placeholder, 
.member-image-new .image-placeholder {
    object-fit: cover;
}

/* Additional Style Improvements */
.section-header {
    margin-bottom: 3rem;
}

.section-divider {
    height: 4px;
    width: 60px;
    background-color: #00A8C7;
    margin: 1rem auto 1.5rem;
}

/* Team Grid Spacing */
.team-grid-new {
    gap: 2.5rem;
}

/* Ensure team social links don't affect footer */
.team-member .social-links,
.team-section .social-links,
.board-section .social-links,
.director-info .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-member .social-links a,
.team-section .social-links a,
.board-section .social-links a,
.director-info .social-links a {
    margin-right: 10px;
    color: var(--primary-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.team-member .social-links a:hover,
.team-section .social-links a:hover,
.board-section .social-links a:hover,
.director-info .social-links a:hover {
    color: var(--primary-color);
}

/* Ensure footer social links stay white */
.footer .social-links a {
    font-size: 1.5rem;
    color: white;
    margin-right: 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer .social-links a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Who We Are Section */
.who-we-are-section {
    background-color: #333;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.text-white {
    color: white;
}

.who-we-are-section .section-divider {
    background-color: var(--primary-color);
    margin: 1.5rem auto;
}

.who-we-are-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Purpose Section */
.purpose-section {
    padding: 6rem 0;
    background-color: #f6f9fb;
}

.purpose-section .section-header {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.purpose-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.purpose-card {
    background-color: white;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
    padding: 2.25rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purpose-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.12);
}

.purpose-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.purpose-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.purpose-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

.mission-card,
.vision-card {
    border-top: 4px solid var(--primary-color);
    padding: 2.6rem;
    text-align: left;
}

.mission-card h3,
.vision-card h3 {
    font-size: 2rem;
}

.mission-card h3:after,
.vision-card h3:after {
    left: 0;
    transform: none;
}

.mission-card p,
.vision-card p {
    font-size: 1.16rem;
}

.g21-card {
    text-align: left;
}

.g21-logo {
    display: block;
    width: min(220px, 75%);
    height: auto;
    margin: 0 auto 1.5rem;
}

.g21-card h3 {
    text-align: center;
}

.g21-card p {
    text-align: center;
}

.g21-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.g21-list li {
    color: #555;
    line-height: 1.55;
    padding: 0.55rem 0 0.55rem 1.4rem;
    position: relative;
}

.g21-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--primary-color);
}

.values-faith-section {
    background: #fff;
}

.values-faith-section .section-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.values-faith-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.identity-panel {
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
    padding: 2rem;
}

.identity-panel h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.values-faith-section .identity-panel {
    border-top: 5px solid var(--primary-color);
}

.values-faith-section .identity-panel h3 {
    color: var(--primary-color);
    font-size: 1.65rem;
    margin-bottom: 1.6rem;
}

.identity-list {
    counter-reset: identity-items;
    list-style: none;
    margin: 0;
    padding: 0;
}

.identity-list li {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #555;
    line-height: 1.6;
    min-height: 3.25rem;
    padding: 1rem 0 1rem 3.25rem;
    position: relative;
}

.identity-list li::before {
    align-items: center;
    background: rgba(0, 160, 198, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    content: counter(identity-items, decimal-leading-zero);
    counter-increment: identity-items;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 1rem;
    width: 2rem;
}

.identity-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.identity-list li:first-child::before {
    top: 0;
}

.identity-list li:last-child {
    padding-bottom: 0;
}

.identity-list strong {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .purpose-cards {
        grid-template-columns: 1fr;
    }
    
    .purpose-card {
        width: 100%;
    }

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

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        background-attachment: scroll;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.8rem;
    }
    
    .purpose-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.5rem;
        margin-left: 5px;
    }
    
    .who-we-are-section p,
    .purpose-card p {
        font-size: 1rem;
    }
    
    .purpose-card h3 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .page-hero {
        height: auto;
        padding: 2rem 0;
        background: none;
    }

    .video-section,
    .play-button {
        display: none;
    }
    
    .purpose-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Volunteers Section */
.volunteers-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light-background);
}

.volunteers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.volunteer-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.volunteers-grid .volunteer-card:nth-child(4) {
    order: 1;
}

.volunteers-grid .volunteer-card:nth-child(3) {
    order: 2;
}

.volunteers-grid .volunteer-card:nth-child(5) {
    order: 3;
}

.volunteers-grid .volunteer-card:nth-child(6) {
    order: 4;
}

.volunteers-grid .volunteer-card:nth-child(1) {
    order: 5;
}

.volunteers-grid .volunteer-card:nth-child(2) {
    order: 6;
}

.volunteers-grid .volunteer-card:nth-child(7) {
    order: 7;
}

.volunteer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.volunteer-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.volunteer-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Position to show faces better */
    transition: transform 0.3s ease;
}

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

.volunteer-image .placeholder-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.volunteer-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.volunteer-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.volunteer-role {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.volunteer-quote {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
    font-style: italic;
    margin-top: auto;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

/* Responsive styles for volunteers section */
@media (max-width: 992px) {
    .volunteers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .volunteers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .volunteers-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Custom Placeholder Styling */
.placeholder-container {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.placeholder-container:hover {
    background-color: #d5d5d5;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
}

.placeholder-content i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    font-size: 42px;
    color: rgba(0, 0, 0, 0.2);
} 
