/* ===========================
   About Page Premium Styles
   =========================== */

/* Shared Variables for About Page */
:root {
    --about-primary: #1F9D55;
    /* Match brand color */
    --about-dark: #1A365D;
    --about-text: #4A5568;
    --about-light-bg: #F9FAFB;
    --gradient-hero: linear-gradient(180deg, #F0FFF4 0%, #FFFFFF 100%);
}

.about-page {
    background: #FFFFFF;
    color: var(--about-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --------------------------------------------------
   1. HERO SECTION
-------------------------------------------------- */
.about-hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    /* Mobile responsive */
}

/* Text Side */
.hero-text-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    color: var(--about-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    background: rgba(31, 157, 85, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.story-title-main {
    font-family: 'Outfit', sans-serif;
    /* Premium font if available, fallback Inter */
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--about-dark);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #64748B;
}

/* Visual Side */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.illustration-wrapper {
    position: relative;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

.about-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.1));
    border-radius: 24px;
    /* Soften edges if image is rectangular */
}

/* Sparkles */
.floating-sparkle {
    position: absolute;
    font-size: 3rem;
    animation: sparkle 3s infinite ease-in-out alternate;
}

.s1 {
    top: -20px;
    right: 0;
    animation-delay: 0.5s;
}

.s2 {
    bottom: 20px;
    left: -10px;
    animation-delay: 1.2s;
    font-size: 2rem;
}

/* Animated Bubbles */
.about-bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about-bubble {
    position: absolute;
    background: rgba(31, 157, 85, 0.08);
    /* Transparent primary */
    border-radius: 50%;
    animation: rise-and-fade 12s infinite linear;
    bottom: -50px;
}

.b1 {
    left: 10%;
    width: 40px;
    height: 40px;
    animation-duration: 8s;
    animation-delay: 0s;
}

.b2 {
    left: 30%;
    width: 20px;
    height: 20px;
    animation-duration: 15s;
    animation-delay: 2s;
}

.b3 {
    left: 70%;
    width: 60px;
    height: 60px;
    animation-duration: 10s;
    animation-delay: 5s;
}

.b4 {
    left: 90%;
    width: 30px;
    height: 30px;
    animation-duration: 12s;
    animation-delay: 1s;
}


/* --------------------------------------------------
   2. VISION HOOK
-------------------------------------------------- */
.vision-section {
    padding: 100px 0;
    background: #FFFFFF;
    text-align: center;
}

.vision-content blockquote {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--about-dark);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.vision-content blockquote::before {
    content: "“";
    font-size: 6rem;
    color: var(--about-primary);
    opacity: 0.2;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}


/* --------------------------------------------------
   3. STORY JOURNEY TRANSITION
-------------------------------------------------- */
.journey-section {
    padding: 80px 0 120px;
    background: #FFFFFF;
}

.journey-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.journey-row:last-child {
    margin-bottom: 0;
}

.journey-row.reverse {
    flex-direction: row-reverse;
}

.journey-content {
    flex: 1;
}

.journey-number {
    font-size: 5rem;
    font-weight: 900;
    color: #F1F5F9;
    /* Very light subtle grey/white */
    line-height: 1;
    margin-bottom: -30px;
    position: relative;
    z-index: -1;
    font-family: 'Outfit', sans-serif;
}

.journey-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--about-dark);
    margin-bottom: 24px;
    position: relative;
}

.journey-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--about-text);
}

.journey-visual {
    flex: 1;
}

.journey-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.journey-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}


/* --------------------------------------------------
   4. CORE VALUES
-------------------------------------------------- */
.values-section {
    padding: 120px 0;
    background: var(--about-light-bg);
    /* F9FAFB */
}

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

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--about-dark);
    margin-bottom: 10px;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--about-text);
}

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

.value-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #F0FDF4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.value-icon {
    font-size: 2.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--about-dark);
    margin-bottom: 16px;
}

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

.value-card.highlight {
    background: var(--about-dark);
}

.value-card.highlight h3,
.value-card.highlight p {
    color: #FFFFFF;
}

.value-card.highlight .value-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
}


/* --------------------------------------------------
   5. PARENT COMPANY
-------------------------------------------------- */
.parent-company-section {
    padding: 80px 0;
    text-align: center;
    background: #FFFFFF;
}

.parent-text {
    font-size: 1.125rem;
    color: #94A3B8;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.solverra-link {
    color: var(--about-dark);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--about-primary);
    transition: color 0.2s;
}

.solverra-link:hover {
    color: var(--about-primary);
}


/* --------------------------------------------------
   ANIMATIONS
-------------------------------------------------- */
@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

@keyframes sparkle {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes rise-and-fade {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-50px) scale(1);
        opacity: 0;
    }
}


/* --------------------------------------------------
   RESPONSIVE DESIGN
-------------------------------------------------- */
@media (max-width: 1024px) {
    .story-title-main {
        font-size: 3rem;
    }

    .journey-row {
        gap: 40px;
        margin-bottom: 80px;
    }
}

@media (max-width: 768px) {

    /* Hero */
    .about-hero {
        padding: 120px 0 60px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-visual {
        width: 100%;
    }

    /* Journey */
    .journey-row,
    .journey-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .journey-content {
        text-align: center;
    }

    .journey-visual {
        width: 100%;
    }

    .journey-image {
        width: 280px;
        height: 280px;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Typography */
    .story-title-main {
        font-size: 2.5rem;
    }

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

    /* Buttons */
    .btn-cta {
        width: 100%;
        display: block;
        text-align: center;
    }
}