/* InzpireX - About Page Specific Styles
   This file contains styles specific to the about page (about.html)
   General/shared styles remain in style.css */

/* ============================================
   ABOUT HERO SECTION
   ============================================ */

.about-hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-hero .hero-container {
    text-align: center;
}

.about-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero .hero-title {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-hero .hero-title span {
    background: linear-gradient(135deg, var(--accent-400), var(--accent-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero .hero-description {
    max-width: 680px;
    margin: 0 auto;
    color: var(--slate-400);
    font-size: 1.125rem;
}

/* Hero Responsive */
@media (max-width: 768px) {
    .about-hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    .about-hero .hero-description {
        font-size: 1rem;
    }
}

/* ============================================
   FEATURE SECTIONS - About Page
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-grid.reverse {
    direction: rtl;
}

.feature-grid.reverse > * {
    direction: ltr;
}

.feature-content {
    max-width: 540px;
}

.feature-content p {
    color: var(--slate-600);
    line-height: 1.7;
}

.feature-content p strong {
    color: var(--slate-900);
    font-weight: 600;
}

.feature-title {
    margin-bottom: 1.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-image-container {
    position: relative;
}

.feature-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark Section Feature Adjustments */
.section-dark .feature-list li {
    border-color: var(--slate-700);
}

.section-dark .feature-content p {
    color: var(--slate-300);
}

/* Feature Grid Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .feature-grid.reverse {
        direction: ltr;
    }
    
    .feature-content {
        max-width: 100%;
    }
    
    .feature-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .feature-grid {
        gap: 2rem;
    }
    
    .feature-title {
        margin-bottom: 1rem;
    }
    
    .feature-list {
        margin-top: 1rem;
    }
    
    .feature-list li {
        padding: 0.5rem 0;
    }
}

/* ============================================
   VALUE CARDS - Our Values Section
   ============================================ */

.value-card {
    text-align: center;
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.value-card .card-icon {
    margin: 0 auto 1.25rem;
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
}

.value-card .card-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-card:hover .card-icon {
    transform: scale(1.1);
    transition: transform var(--transition-base);
}

@media (max-width: 640px) {
    .value-card {
        padding: 2rem;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-400);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--slate-400);
    display: block;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
}

/* ============================================
   WORKSHOPS GRID - Programs Section
   ============================================ */

.section-light .cards-grid .card {
    position: relative;
    overflow: hidden;
}

.section-light .cards-grid .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-500), var(--primary-600));
    transition: height var(--transition-base);
}

.section-light .cards-grid .card:hover::before {
    height: 100%;
}

/* Workshop Cards Specific Styling */
.card .card-icon {
    font-size: 1.75rem;
    width: 64px;
    height: 64px;
}

/* ============================================
   MISSION & VISION SECTION
   ============================================ */

.section-dark h4 {
    color: var(--accent-400);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.section-dark .feature-content > div {
    padding-left: 1rem;
    border-left: 3px solid var(--accent-400);
}

.section-dark .feature-content > div:not(:last-child) {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section-dark .feature-content > div {
        padding-left: 0.75rem;
        border-left-width: 2px;
    }
}

/* ============================================
   CTA SECTION - About Page
   ============================================ */

.cta-section {
    text-align: center;
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    border-radius: var(--radius-2xl);
    margin: 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%232dd4bf' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M30 0v60M0 30h60'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cta-description {
    color: var(--slate-300);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .cta-section {
        padding: 3rem 1.5rem;
        margin: 0 1rem;
        border-radius: var(--radius-xl);
    }
    
    .cta-title {
        margin-bottom: 0.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* ============================================
   TIMELINE (Optional - if you add timeline)
   ============================================ */

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-500), var(--primary-600));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-500);
    transform: translateX(-5px);
    box-shadow: 0 0 0 4px var(--slate-100);
}

.timeline-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--slate-900);
}

.timeline-description {
    color: var(--slate-600);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* ============================================
   TEAM SECTION (Optional - if you add team)
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--slate-200);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-400);
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--slate-200), var(--slate-300));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 3rem;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--slate-900);
}

.team-role {
    color: var(--accent-500);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   SECTION SPACING - About Page
   ============================================ */

.section {
    padding: 6rem 1.5rem;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 1rem;
    }
}

/* ============================================
   ABOUT PAGE ANIMATIONS
   ============================================ */

/* Stagger animations for value cards */
.value-card.animate-on-scroll.delay-1 {
    animation-delay: 0.1s;
}

.value-card.animate-on-scroll.delay-2 {
    animation-delay: 0.2s;
}

.value-card.animate-on-scroll.delay-3 {
    animation-delay: 0.3s;
}

/* Stats fade in animation */
.stats-grid.animate-on-scroll.animated .stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

.stats-grid .stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stats-grid .stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stats-grid .stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stats-grid .stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ACCESSIBILITY - About Page
   ============================================ */

.feature-list li:focus-within {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.value-card:focus-within {
    outline: 2px solid var(--accent-500);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .value-card:hover {
        transform: none;
    }
    
    .stats-grid .stat-item {
        animation: none;
    }
    
    .feature-grid,
    .cards-grid .card {
        animation: none;
    }
}

/* ============================================
   PRINT STYLES - About Page
   ============================================ */

@media print {
    .about-hero,
    .section-dark {
        background: white !important;
        color: black !important;
    }
    
    .about-hero .hero-title,
    .about-hero .hero-description,
    .section-dark .feature-title,
    .section-dark h4,
    .section-dark p {
        color: black !important;
    }
    
    .cta-section {
        display: none;
    }
    
    .card,
    .value-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .feature-grid {
        display: block;
    }
    
    .feature-image-container {
        display: none;
    }
}