/* Introduction Page Specific Styles - Mobile First Refactor */

/* PAGE HERO - Mobile First */
.page-hero {
    position: relative;
    height: 60vh;
    /* Mobile height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 49, 111, 0.85) 0%, rgba(10, 140, 58, 0.75) 100%),
        url('https://images.unsplash.com/photo-1548013146-72479768bada?w=1600') center/cover;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 16px;
    animation: fadeInUp 0.8s ease;
}

.page-hero-content h1 {
    font-size: 32px;
    /* Mobile size */
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

.page-hero-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

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

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

/* CONTENT SECTIONS - Mobile First */
.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 16px;
    /* Mobile padding */
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile stack */
    gap: 32px;
    margin-bottom: 60px;
}

.intro-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 250px;
    /* Mobile height */
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-text h2 {
    font-size: 24px;
    /* Mobile size */
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.intro-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(10, 140, 58, 0.1), rgba(212, 175, 55, 0.1));
    border-left: 4px solid var(--brand-green);
    padding: 24px;
    /* Mobile padding */
    border-radius: 12px;
    margin: 24px 0;
}

.highlight-box h3 {
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

.highlight-box p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* MISSION SECTION - Mobile First */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile Stack */
    gap: 24px;
    margin: 40px 0;
}

.mission-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.mission-card h3 {
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 16px;
    font-weight: 700;
}

.mission-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* SPECS SECTION - Mobile First */
.specs-section {
    background: var(--bg-secondary);
    padding: 40px 16px;
    /* Mobile padding */
}

.specs-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    /* Mobile size */
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile stack */
    gap: 24px;
}

.spec-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--brand-green);
}

.spec-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-green);
    display: block;
    margin-bottom: 8px;
}

.spec-card h3 {
    color: var(--brand-blue);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.spec-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* TIMELINE SECTION - Mobile First */
.timeline-section {
    padding: 40px 16px;
}

.timeline {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 0;
}

/* Mobile Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--brand-green);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile Stack */
    padding-left: 50px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* VALUES SECTION - Mobile First */
.values-section {
    background: var(--bg-secondary);
    padding: 40px 16px;
}

.values-grid {
    max-width: 1280px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile Stack */
    gap: 24px;
}

.value-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-green), #068935);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 18px;
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

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

/* BREADCRUMB */
.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--brand-green);
}

.breadcrumb span {
    color: #333;
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* ANIMATIONS */
.spec-card,
.value-card,
.mission-card,
.timeline-item {
    will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ========================================
   DESKTOP ENHANCEMENTS (min-width)
   ======================================== */

/* Tablet & Up */
@media (min-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 400px;
    }

    .page-hero-content h1 {
        font-size: 40px;
    }

    .page-hero-content p {
        font-size: 20px;
    }

    .intro-grid,
    .mission-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .intro-image {
        height: 350px;
    }

    .specs-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 32px;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding-left: 0;
    }

    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
    }

    .timeline-item:nth-child(even) .timeline-year {
        grid-column: 1;
        text-align: right;
        display: block;
    }

    /* Odd items need specific handling to align with center line */
    .timeline-item:nth-child(odd) .timeline-year {
        text-align: left;
        display: block;
    }
}

/* Desktop & Up */
@media (min-width: 1024px) {

    .content-section,
    .specs-section,
    .timeline-section,
    .values-section {
        padding: 60px 24px;
    }

    .page-hero-content h1 {
        font-size: 48px;
    }

    .intro-text h2 {
        font-size: 36px;
    }

    .intro-grid {
        gap: 60px;
    }

    .intro-image img {
        height: 450px;
    }

    .highlight-box {
        padding: 32px;
    }

    .highlight-box h3,
    .mission-card h3 {
        font-size: 24px;
    }

    .section-title {
        font-size: 40px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .timeline-year {
        font-size: 36px;
    }

    .value-card {
        padding: 36px;
    }

    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .value-card h3 {
        font-size: 20px;
    }
}