/* ============================================
   ABOUT.CSS - PromptSupply2011 About Page
   Professional & Modern Design
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    --primary-navy: #1B2A41;
    --primary-teal: #00A99D;
    --teal-dark: #008B80;
    --teal-light: #00C9BA;
    --accent-gold: #D4A853;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #F9FAFB;
    --text-muted: #9CA3AF;
    --bg-light: #F3F4F6;
    --bg-white: #FFFFFF;
    --bg-dark: #111827;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ============================================
   2. BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================
   3. SECTION COMMON STYLES
   ============================================ */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-teal);
    margin-bottom: 15px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 169, 157, 0.1), rgba(0, 169, 157, 0.05));
    border-radius: var(--radius-full);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-label {
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    color: #123a75;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   4. PAGE HERO SECTION
   ============================================ */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2D4156 50%, #3D5A80 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* ============================================
   5. STORY SECTION
   ============================================ */
.story-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.content-text .section-title {
    margin-top: 10px;
}

.content-text p {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-image {
    position: relative;
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.content-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary-teal);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ============================================
   6. MISSION & VISION SECTION
   ============================================ */
.mission-vision-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-teal), var(--teal-light));
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mv-icon {
    font-size: 56px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(0, 169, 157, 0.15), rgba(0, 169, 157, 0.05));
    border-radius: 50%;
    color: var(--primary-teal);
}

.mv-icon svg {
    width: 44px;
    height: 44px;
    stroke: var(--primary-teal);
}

.mv-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.mv-text {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   7. VALUES SECTION
   ============================================ */
.values-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.value-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    background: white;
    border-color: var(--primary-teal);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    color: var(--primary-teal);
}

.value-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary-teal);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--primary-teal);
    transform: scale(1.1) rotate(5deg);
}

.value-card:hover .value-icon svg {
    stroke: white;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.value-text {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   8. MILESTONES / TIMELINE SECTION
   ============================================ */
.milestones-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2D4156 100%);
    color: white;
}

.milestones-section .section-label {
    background: rgba(0, 169, 157, 0.2);
    color: var(--teal-light);
}

.milestones-section .section-title {
    color: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    /* Removed horizontal padding to fix alignment math */
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-teal), var(--teal-light), var(--primary-teal));
    border-radius: 4px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
    padding: 0 20px;

    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Year Bubble - Absolutely Centered */
.timeline-year {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-teal), var(--teal-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: white;
    z-index: 5;
    box-shadow: 0 0 30px rgba(0, 169, 157, 0.5);
}

/* Timeline Content Base Styles */
.timeline-content {
    grid-row: 1;
    width: 100%;
    min-width: 350px;
    /* Force rectangular shape */
    padding: 25px 40px;
    /* Wider padding for banner look */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Odd Items: Content on Left (Col 1) */
.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
    justify-self: end;
    margin-right: 60px;
    /* Space for absolute bubble */
}

/* Even Items: Content on Right (Col 2) */
.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
    justify-self: start;

    /* Space for absolute bubble */
}



.timeline-content:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ============================================
   9. TEAM SECTION
   ============================================ */
.team-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.team-stat {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.team-stat.animate {
    opacity: 1;
    transform: translateY(0);
}

.team-stat:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-teal);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    font-size: 36px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   10. CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--teal-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    min-width: 180px;
    transition: all 0.3s ease;
}

.button-primary {
    background: white;
    color: var(--primary-teal);
}

.button-primary:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.button-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}



/* ============================================
   12. RESPONSIVE - TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .content-image img {
        height: 500px;
    }

    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   14. RESPONSIVE - DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   15. RESPONSIVE - MOBILE TIMELINE
   ============================================ */
@media (max-width: 767px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        display: flex;
        flex-direction: row !important;
        align-items: flex-start;
        padding-left: 0;
        opacity: 1;
        transform: none;
        gap: 0;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        order: 1;
        margin: 0;
        width: 60px;
        height: 60px;
        font-size: 14px;
        flex-shrink: 0;
        position: static;
        /* RESET ABSOLUTE POS on Mobile */
        transform: none;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        order: 2;
        margin: 0 0 0 20px !important;
        /* Force left margin */
        text-align: left !important;
        flex: 1;
        max-width: none;
        min-width: 0;
        /* Reset min-width on mobile */
    }

    .page-hero {
        padding: 140px 0 80px;
    }

    .story-section,
    .mission-vision-section,
    .values-section,
    .milestones-section,
    .team-section,
    .cta-section {
        padding: 70px 0;
    }

    .team-stats {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .stat-number {
        font-size: 48px;
    }
}

/* ============================================
   16. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.mv-card,
.value-card {
    opacity: 0;
    transform: translateY(30px);
}

.mv-card.animate,
.value-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   17. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

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

    .timeline-item,
    .mv-card,
    .value-card,
    .team-stat {
        opacity: 1 !important;
        transform: none !important;
    }
}