/* About Page Styles - Production Ready */

.about-page {
    --about-bg-light: #f9f8f4;
    --about-accent-green: #4a7c59;
    --about-accent-yellow: #d4a373;
    padding-top: 0;
    overflow-x: hidden;
}

/* Background Gradients */
.about-page section {
    position: relative;
}

/* Hero Section */
.about-hero {
    position: relative;
    height: 75vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, white, transparent);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.about-hero-tag {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--about-accent-yellow);
    margin-bottom: 25px;
    display: block;
    font-weight: 600;
}

.about-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-hero h1 span {
    color: var(--about-accent-yellow);
    font-style: italic;
}

/* Intro Section */
.about-intro {
    padding: 60px 10%;
    background: white;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--about-accent-yellow);
    margin-bottom: 30px;
}

.about-intro-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #333;
}

.about-intro-content h2 span {
    color: var(--about-accent-green);
    display: block;
}

.about-intro-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.about-collaboration-box {
    background: var(--about-accent-green);
    border-radius: 16px;
    padding: 35px;
    margin-top: 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: none;
}

.about-collaboration-box p {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: #ffffff;
    line-height: 1.7;
}

.about-collaboration-box strong {
    color: var(--about-accent-yellow);
    font-weight: 700;
}

.about-intro-image-container {
    position: relative;
    padding: 20px;
}

.image-decorative-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 40px;
    bottom: 40px;
    border: 2px dashed rgba(74, 124, 89, 0.2);
    border-radius: 30px;
    z-index: 1;
}

.about-intro-image {
    position: relative;
    z-index: 2;
    transform: translate(20px, 20px);
}

.about-intro-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 30px 30px 80px rgba(0, 0, 0, 0.1);
}

.about-founded-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: #463d36;
    color: white;
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.about-founded-badge h3 {
    font-size: 28px;
    margin: 0;
    color: var(--about-accent-yellow);
    font-weight: 700;
}

.about-founded-badge p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Vision Section */
.about-vision {
    background: var(--about-accent-green);
    color: white;
    padding: 80px 10%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vision-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 40px;
    color: var(--about-accent-yellow);
}

.vision-icon svg {
    width: 100%;
    height: 100%;
}

.about-vision h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-vision blockquote {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
    font-style: italic;
    opacity: 0.95;
    border: none;
    padding: 0;
}

.vision-dots {
    display: flex;
    gap: 12px;
}

.vision-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.vision-dots span.active {
    background: var(--about-accent-yellow);
    transform: scale(1.2);
}

/* Goals Section */
.about-goals {
    padding: 60px 10%;
    background: var(--about-bg-light);
}

.about-goals-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-line {
    width: 2px;
    height: 60px;
    background: rgba(74, 124, 89, 0.2);
    margin-bottom: 25px;
}

.about-goals-header span {
    letter-spacing: 2px;
    color: var(--about-accent-yellow);
    font-weight: 600;
    font-size: 14px;
}

.about-goals-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    margin-top: 15px;
    color: #333;
}

/* 3-2 Grid Layout */
.about-goals-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.goal-card {
    grid-column: span 2;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-goals-grid .goal-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.about-goals-grid .goal-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.goal-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.goal-icon {
    width: 60px;
    height: 60px;
    background: #f0f4f1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--about-accent-green);
}

.goal-icon svg {
    width: 30px;
    height: 30px;
}

.goal-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #222;
}

.goal-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 80px 10%;
    background: #f0ede8;
}

.team-header {
    margin-bottom: 80px;
}

.team-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.2rem;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-arrow {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
}

.team-loop-container {
    overflow: hidden;
    padding: 60px 0;
    margin: 0 -10vw;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.team-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: team-scroll 40s linear infinite;
}

.team-loop-container:hover .team-track {
    animation-play-state: paused;
}

@keyframes team-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.team-card {
    flex: 0 0 320px;
    background: #222;
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}

.team-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* Bio hidden on card — shown in modal */

/* Hide Initials and badge holders for the new look */
.team-card::before,
.team-badge-container {
    display: none;
}

.team-info {
    position: relative;
    z-index: 3;
    padding: 30px;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
}

.team-header-info {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
}

.team-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin-bottom: 0px;
    color: #fff;
}

.team-info .role {
    font-size: 13px;
    color: var(--about-accent-yellow);
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 0;
    display: block;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.team-bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    padding-top: 10px;
    position: relative;
    z-index: 3;
}

.team-bio p {
    display: none;
}

.team-read-more {
    position: relative;
    z-index: 3;
    display: block;
    color: var(--about-accent-yellow);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 30px 25px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.team-read-more:hover {
    color: #fff;
}

.team-read-more svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.team-read-more:hover svg {
    transform: translateX(3px);
}

.team-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.team-link svg {
    width: 20px;
    height: 20px;
}

/* Team Modal Overlay */
.team-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.team-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.team-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.team-modal-overlay.active .team-modal {
    transform: translateY(0) scale(1);
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.3s ease;
    line-height: 1;
}

.team-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
}

.team-modal-content {
    display: flex;
    flex-direction: column;
}

.team-modal-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.team-modal-info {
    padding: 30px 35px 35px;
}

.team-modal-name {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: #222;
    margin-bottom: 4px;
}

.team-modal-role {
    font-size: 14px;
    color: var(--about-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 20px;
}

.team-modal-bio {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.team-modal-bio p {
    margin-bottom: 15px;
}

.team-modal-bio a {
    color: var(--about-primary);
    text-decoration: underline;
}

.team-modal-bio .team-link {
    display: inline-flex;
    align-items: center;
    color: var(--about-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-top: 10px;
}

.team-modal-bio .team-link:hover {
    opacity: 1;
}

.team-modal-bio .team-link svg {
    width: 22px;
    height: 22px;
    stroke: var(--about-primary);
}

/* New Sections UI */
.container.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.alumni-interns-section {
    padding: 100px 10%;
    background: #fdfcf9;
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.subtitle-icon {
    width: 32px;
    height: 32px;
    background: #fdf5e6;
    color: #8b6f47;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.section-subtitle h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin: 0;
    color: #333;
}

.alumni-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alumni-card {
    background: #f9f5ed;
    border: 1px solid rgba(139, 111, 71, 0.1);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.alumni-card:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.alumni-initials {
    width: 40px;
    height: 40px;
    background: #e9e2d5;
    color: #4a7c59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.alumni-initials.gold {
    color: #b08f54;
}

.alumni-name {
    font-weight: 600;
    color: #444;
    flex: 1;
}

.alumni-name .year {
    font-weight: 400;
    font-size: 0.85rem;
    color: #888;
}

.linkedin-icon {
    color: #a0a0a0;
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.linkedin-icon:hover {
    color: #0077b5;
}

/* Illustrators Section */
.illustrators-section {
    background: #463d36;
    color: white;
    padding: 60px 10%;
}

.illustrators-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 5px;
}

.illustrators-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.illustrators-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.illustrator-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.illustrator-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* CTA Section */
.about-cta-section {
    padding: 80px 10%;
    background: #fafaf8;
}

.cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.btn-primary {
    background: #4a7c59;
    color: white;
}

.btn-primary:hover {
    background: #3d6849;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 124, 89, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #4a7c59;
    color: #4a7c59;
}

.btn-outline:hover {
    background: rgba(74, 124, 89, 0.05);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1200px) {
    .about-goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-goals-grid .goal-card:nth-child(n) {
        grid-column: span 1;
    }

    .about-goals-grid .goal-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-hero {
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 3rem;
    }

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

    .about-vision h2 {
        font-size: 3rem;
    }

    .about-vision blockquote {
        font-size: 1.5rem;
    }

    .team-header h2 {
        font-size: 3rem;
    }

    .team-card {
        flex: 0 0 260px;
        height: 400px;
    }

    .team-modal {
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .team-modal-image {
        height: 250px;
        border-radius: 16px 16px 0 0;
    }

    .team-modal-info {
        padding: 20px 25px 25px;
    }

    .team-modal-name {
        font-size: 24px;
    }

    .about-goals-grid {
        grid-template-columns: 1fr;
    }

    .about-goals-grid .goal-card:nth-child(n) {
        grid-column: span 1;
    }

    /* Stack grid-2 columns on mobile */
    .container.grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .alumni-interns-section {
        padding: 60px 5%;
    }

    .illustrators-section {
        padding: 60px 5%;
    }

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

    .cta-title {
        font-size: 2.5rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Decorative Illustration Overlay */
.about-page-illustration {
    position: absolute;
    top: 2350px;
    left: -100px;
    z-index: 100;
    width: clamp(250px, 35vw, 550px);
    transform: rotate(0deg);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.about-page-illustration img {
    width: 85%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .about-page-illustration {
        width: 180px;
        left: -40px;
        top: 600px;
    }
}

/* Bottom-Right Illustration Overlay */
.about-page-bottom-illustration {
    position: absolute;
    top: 4900px;
    right: -120px;
    z-index: 100;
    width: clamp(280px, 40vw, 550px);
    transform: rotate(0deg);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.about-page-bottom-illustration img {
    width: 85%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
    .about-page-bottom-illustration {
        width: 200px;
        right: -50px;
        bottom: 50px;
    }
}