/* About Page Specific Styles - Refined Luxury Edition */

:root {
    --about-bg: #ffffff;
    --about-off-white: #faf8f4;
    --about-navy: #0f172a;
    --about-gold: #c49a3c;
    --about-teal: #c49a3c;
    --about-blue: #c49a3c;
    --about-text-primary: #1e293b;
    --about-text-secondary: #475569;
    --about-light-gray: #f5f3ee;
    --contact-dark-navy: #0a0f1d;
}

/* Skills Grid — Redesigned */
.skills-grid-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0f1d 0%, #0f1e3d 40%, #0d1525 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skills-grid-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-10) 0%, transparent 70%);
    pointer-events: none;
}

.skills-section-header {
    margin-bottom: 4rem;
    position: relative;
}

.skills-section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}

.skills-section-header p {
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.skills-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

.skill-card-v2 {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 2rem 1.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.skill-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196,154,60,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.skill-card-v2:hover {
    transform: translateY(-8px);
    background: var(--accent-10);
    border-color: var(--accent-35);
    box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 0 1px var(--accent-20), inset 0 1px 0 rgba(255,255,255,0.1);
}

.skill-card-v2:hover::before { opacity: 1; }

.skill-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-25) 0%, rgba(28,43,74,0.5) 100%);
    border: 1px solid var(--accent-25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: background 0.35s ease, transform 0.35s ease;
}

.skill-card-v2:hover .skill-icon-wrap {
    background: linear-gradient(135deg, var(--accent-35) 0%, rgba(28,43,74,0.7) 100%);
    transform: scale(1.08);
}

.skill-icon-wrap svg {
    color: var(--accent-blue, #c49a3c);
    transition: color 0.35s ease;
}

.skill-card-v2:hover .skill-icon-wrap svg { color: #d4b06a; }

.skill-number-v2 {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 22px;
    height: 22px;
    background: var(--accent-15);
    border: 1px solid var(--accent-25);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: rgba(196,154,60,0.7);
    z-index: 1;
}

.skill-card-v2 h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 1;
}

.skill-card-v2 p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.35s ease;
}

.skill-card-v2:hover p { color: rgba(255,255,255,0.7); }

/* Base Transition for Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section - Luxury Header */
.about-hero-v2 {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--about-navy);
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1.1);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0) 100%);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 1rem;
}

.about-hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.about-hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
}

/* Mission & Vision - Bright & Spacious */
.mission-vision-wrapper {
    padding: 12rem 0;
    background: var(--about-bg);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(196, 154, 60, 0.08);
    color: var(--about-blue);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
}

.mv-content h2 {
    font-size: 3rem;
    color: var(--about-navy);
    margin-bottom: 2rem;
    font-weight: 800;
}

.mv-content p {
    font-size: 1.15rem;
    color: var(--about-text-secondary);
    line-height: 1.8;
}

/* Values Section - Abstract Background */
.values-section {
    position: relative;
    padding: 6rem 0;
    /* Reduced padding */
    background: url('../images/about-hero.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #fff;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Dark overlay */
    z-index: 1;
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
    /* Reduced margin */
    position: relative;
    z-index: 2;
}

.values-header h2 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    /* Slightly smaller */
    font-weight: 800;
    color: #ffffff;
    /* White text for contrast */
    margin-bottom: 1rem;
}

.values-header .section-tag {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    /* Reduced gap */
    position: relative;
    z-index: 2;
    max-width: 1100px;
    /* Constrain width slightly for compactness */
    margin: 0 auto;
}

.value-card-premium {
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism */
    backdrop-filter: blur(10px);
    border-radius: 30px;
    /* Slightly tighter corners */
    padding: 2.5rem;
    /* Reduced padding */
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    /* Explicitly white */
}

.value-card-premium:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--about-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Specific Card Spans */
.card-wide {
    grid-column: span 4;
}

.card-slim {
    grid-column: span 2;
}

.card-half {
    grid-column: span 3;
}

.value-card-navy {
    background: rgba(15, 23, 42, 0.4);
    /* Sophisticated transparency */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-card-blue {
    background: linear-gradient(135deg, rgba(196, 154, 60, 0.4) 0%, rgba(30, 64, 175, 0.4) 100%);
    color: #ffffff;
    border: 1px solid rgba(196, 154, 60, 0.3);
}

.value-icon-box-v3 {
    width: 44px;
    /* Smaller icons */
    height: 44px;
    background: rgba(196, 154, 60, 0.20);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    /* Reduced space */
    color: #ffffff;
    transition: all 0.3s ease;
}

.value-icon-box-v3 svg {
    width: 22px;
    height: 22px;
}

.value-card-navy .value-icon-box-v3,
.value-card-blue .value-icon-box-v3 {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.value-card-premium h3 {
    font-size: 1.5rem;
    /* Smaller heading */
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: #ffffff;
    /* Explicitly white */
}

.value-card-premium p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
    /* White text */
    opacity: 1;
    /* Full opacity for maximum readability */
}

.value-details-list {
    margin-top: 2rem;
    display: grid;
    gap: 0.75rem;
}

.value-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.value-detail-item svg {
    color: #ffffff;
    /* White icons */
}

.value-card-navy .value-detail-item svg,
.value-card-blue .value-detail-item svg {
    color: #ffffff;
}

/* Growth Catalyst Focus Section */
.growth-focus-section {
    padding: 12rem 0;
    background: #faf8f4;
    position: relative;
    border-top: 1px solid rgba(196, 154, 60, 0.05);
}

.growth-focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.growth-focus-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--about-navy);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.growth-focus-content p {
    font-size: 1.2rem;
    color: var(--about-text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.growth-focus-features {
    display: grid;
    gap: 1.5rem;
}

.growth-feature-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 32px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.growth-feature-item:hover {
    transform: translateX(10px);
    border-color: var(--about-blue);
}

.growth-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(196, 154, 60, 0.10);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--about-blue);
    flex-shrink: 0;
}

.growth-feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--about-navy);
}

.growth-feature-text p {
    font-size: 0.95rem;
    color: var(--about-text-secondary);
    margin: 0;
}

/* Why Choose Us - Data & Expert Focus */
.why-choose-v2 {
    padding: 12rem 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: center;
}

.why-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--about-navy);
    margin-bottom: 3rem;
}

.bullet-list {
    display: grid;
    gap: 2.5rem;
}

.bullet-item {
    display: flex;
    gap: 2rem;
}

.bullet-check {
    width: 32px;
    height: 32px;
    background: var(--about-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(196, 154, 60, 0.30);
}

.bullet-text h4 {
    font-size: 1.25rem;
    color: var(--about-navy);
    margin-bottom: 0.5rem;
}

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

/* Vision Mosaic Section - High-End Redesign */
.bento-story-section {
    padding: 12rem 0;
    background: #faf8f4;
    border-top: 2px solid rgba(196, 154, 60, 0.20);
    border-bottom: 2px solid rgba(196, 154, 60, 0.20);
    overflow: hidden;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
}

/* 1. Header Area */
.mosaic-header {
    grid-column: span 12;
    margin-bottom: 5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mosaic-header h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--about-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.mosaic-header h2 span {
    background: linear-gradient(135deg, #c49a3c, #1c2b4a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mosaic-header p {
    font-size: 1.25rem;
    color: var(--about-text-secondary);
    line-height: 1.7;
}

/* 2. Main Large Card - Contact Style Gradient */
.card-main {
    grid-column: span 7;
    background: linear-gradient(135deg, #c49a3c 0%, var(--accent-dark) 50%, #0f172a 100%);
    border-radius: 40px;
    padding: 4rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(30, 58, 138, 0.2);
    transition: transform 0.5s var(--transition);
}

.card-main::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.card-main:hover {
    transform: translateY(-10px);
}

.card-main .bento-icon-box {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
}

.card-main h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
}

.card-main p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* 3. Dark Secondary Card */
.card-secondary {
    grid-column: span 5;
    background: #0f172a;
    border-radius: 40px;
    padding: 3.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s var(--transition);
}

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

.card-secondary h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1rem;
}

.card-secondary p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 1.7;
}

/* 4. Glass Ecosystem Card */
.card-tertiary {
    grid-column: span 12;
    background: #faf9f6;
    border: 1px solid #e0d9cc;
    border-radius: 40px;
    padding: 3.5rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    transition: all 0.5s var(--transition);
}

.card-tertiary:hover {
    background: #ffffff;
    border-color: #c49a3c;
    box-shadow: 0 40px 80px rgba(196, 154, 60, 0.08);
}

.card-tertiary h3 {
    font-size: 2rem;
    color: var(--about-navy);
}

.card-tertiary p {
    color: var(--about-text-secondary);
}

/* Ecosystem List Wrapper */
.ecosystem-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ecosystem-item {
    background: #ffffff;
    padding: 1.25rem 2rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--about-navy);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.card-tertiary:hover .ecosystem-item {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(196, 154, 60, 0.1);
}

.ecosystem-item svg {
    color: #c49a3c;
}

.bento-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.bento-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.bento-list-item {
    background: rgba(196, 154, 60, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    color: var(--about-navy);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(196, 154, 60, 0.1);
    transition: all 0.3s ease;
}

.bento-card-glass:hover .bento-list-item {
    background: #fff;
    border-color: var(--about-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(196, 154, 60, 0.08);
}

.bento-list-item svg {
    color: var(--about-blue);
}

@media (max-width: 1100px) {
    .bento-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .bento-cards-container {
        grid-template-columns: 1fr;
    }

    .bento-card-dark {
        grid-row: auto;
    }
}

/* CTA & Footer Reveal */
.about-cta {
    padding: 10rem 0;
    background: var(--about-light-gray);
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cta-box h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--about-navy);
    margin-bottom: 2.5rem;
    /* Increased margin */
}

.cta-box p {
    margin-bottom: 4rem;
    /* Added significant space before the button */
    font-size: 1.25rem;
    color: var(--about-text-secondary);
}

/* Footer Fixes for About Page */
footer {
    position: relative;
    width: 100%;
    z-index: 1;
    height: auto;
}

/* Responsive Fixes */
@media (max-width: 1024px) {

    .mission-vision-grid,
    .why-grid,
    .growth-focus-grid {
        grid-template-columns: 1fr !important;
        gap: 4rem;
        text-align: center;
    }

    .mv-content {
        padding: 0 1rem;
    }

    .about-hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .about-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .mosaic-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .card-main,
    .card-secondary,
    .card-tertiary {
        grid-column: span 12 !important;
        padding: 2.5rem !important;
    }

    .card-tertiary {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .ecosystem-list {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .skills-grid-v2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3rem 1.5rem;
    }

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

    .growth-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 clamp(1rem, 5vw, 1.5rem); }

    .section-padding,
    .mission-vision-wrapper,
    .growth-focus-section,
    .why-choose-v2,
    .bento-story-section,
    .skills-grid-section,
    .about-cta {
        padding: 6rem 0 !important;
    }

    .about-hero-v2 {
        height: auto;
        min-height: 80vh;
        padding: 12rem 0 8rem;
    }

    .about-hero-content h1 {
        font-size: 2.5rem !important;
    }

    .about-hero-content p {
        font-size: 1.1rem;
    }

    .mv-content h2,
    .mosaic-header h2,
    .values-header h2,
    .growth-focus-content h2,
    .why-content h2,
    .skills-section-header h2,
    .cta-box h2 {
        font-size: 2.2rem !important;
    }

    .values-grid {
        grid-template-columns: 1fr !important;
    }

    .card-wide,
    .card-slim,
    .card-half {
        grid-column: span 12 !important;
    }

    .skills-grid-v2 {
        grid-template-columns: 1fr !important;
    }

    .bullet-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .why-visual {
        height: 350px !important;
    }

    .hero-actions .btn {
        width: 100%;
        display: block;
        margin-bottom: 1rem;
    }

    footer {
        position: relative;
        z-index: 1;
        height: auto;
    }
}