/* About Page - Refined & Elegant */
:root {
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

.about-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.about-hero-title {
    font-family: var(--heading-font);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.about-hero-subtitle {
    font-family: var(--body-font);
    font-size: 1.1rem;
    color: #f4e4a6;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* About Intro - Clean & Focused */
.about-intro {
    padding: 5rem 0;
    background: white;
}

.about-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro-text .section-title {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #1a365d;
    letter-spacing: -0.5px;
}

.about-description {
    font-family: var(--body-font);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Purpose Section - Simple & Clear */
.purpose-section {
    background: #10b981;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.purpose-section .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.purpose-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #f4e4a6;
    max-width: 700px;
    margin: 0 auto;
}

/* Mission & Vision - Compact & Elegant */
.mission-vision-about {
    padding: 4rem 0;
    background: #f8fafc;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.mission-card, .vision-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.mission-card {
    border-left: 4px solid #10b981;
}

.vision-card {
    border-left: 4px solid #d4af37;
}

.card-title {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: #1a365d;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.card-text {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #4a5568;
}

/* Values Section - Minimal Grid */
.values-section {
    padding: 4rem 0;
    background: white;
}

.values-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.value-card:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.value-title {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* What We Do - Essential Services */
.what-we-do {
    padding: 4rem 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid #d4af37;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a365d;
}

.service-title {
    font-size: 1.2rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

.services-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    color: #1a365d;
    font-style: italic;
}

/* Research Section - Clean */
.research-approach {
    padding: 4rem 0;
    background: white;
}

.research-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.research-text .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #1a365d;
}

.research-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Join Movement - Clean CTA */
.join-movement {
    background: #1a365d;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.join-movement .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.join-text {
    font-size: 1.2rem;
    color: #f4e4a6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.join-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .join-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .join-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 6rem 0 3rem;
    }
    
    .about-hero-title {
        font-size: 1.8rem;
    }
    
    .mission-card,
    .vision-card,
    .service-item,
    .value-card {
        padding: 1.5rem 1rem;
    }
}

/* JS-related styles */
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.nav-menu.active {
    right: 0;
}

.nav-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
}

/* Scroll top button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #d4af37;
    color: #1a365d;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-top-btn:hover {
    background-color: #f4e4a6;
    transform: translateY(-2px);
}

/* About Intro Section - Two Columns */
.about-intro {
    padding: 5rem 0;
    background: white;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-text {
    padding-right: 1rem;
}

.about-intro-text .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a365d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-family: 'Open Sans', sans-serif;
}

.about-intro-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-intro-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-intro-text {
        padding-right: 0;
        text-align: center;
    }
    
    .about-intro-image {
        order: -1;
    }
}