/**
 * OnePay — Inner Pages & About Page (optimized component-based)
 * Uses reusable components from css/components.css
 * Load order: style.css → components.css → homepage-enhancements.css → site-pages.css
 */

@keyframes site-header-float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(14px, 14px);
    }
}

@keyframes site-fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER / HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

section.page-header {
    background: linear-gradient(135deg, rgba(12, 21, 78, 0.96) 0%, rgba(12, 21, 78, 0.9) 45%, rgba(24, 57, 73, 0.88) 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: clamp(3.25rem, 9vw, 5rem) 0 clamp(3.5rem, 10vw, 5.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: site-fade-in-down 0.65s ease-out;
}

section.page-header.page-header--logbook {
    background-image: linear-gradient(rgba(24, 57, 73, 0.82), rgba(24, 57, 73, 0.76)), url('../images/hero-1.png');
}

section.page-header.page-header--buyoff {
    background-image: linear-gradient(rgba(24, 57, 73, 0.82), rgba(24, 57, 73, 0.76)), url('../images/hero-2.png');
}

section.page-header.page-header--financing {
    background-image: linear-gradient(rgba(24, 57, 73, 0.82), rgba(24, 57, 73, 0.76)), url('../images/hero-3.png');
}

section.page-header::before {
    content: '';
    position: absolute;
    top: -48%;
    right: -12%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.14) 0%, transparent 68%);
    border-radius: 50%;
    animation: site-header-float 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

section.page-header::after {
    content: '';
    position: absolute;
    bottom: -38%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

section.page-header h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

section.page-header p {
    font-size: clamp(1.02rem, 2vw, 1.22rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    max-width: 40rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

section.page-header .container {
    position: relative;
    z-index: 1;
}

/* Privacy policy hero */
body:not(:has(.hero-new)) .policy-hero {
    background: linear-gradient(135deg, rgba(12, 21, 78, 0.97) 0%, rgba(24, 57, 73, 0.93) 50%, rgba(15, 39, 51, 0.96) 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 4.5rem) 20px clamp(3.25rem, 8vw, 4.75rem);
}

body:not(:has(.hero-new)) .policy-hero h1 {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

body:not(:has(.hero-new)) .policy-hero + .policy-content {
    background: var(--surface, #fff);
    margin-top: -1.5rem;
    padding: clamp(2rem, 5vw, 3rem) clamp(18px, 4vw, 28px) 3.5rem;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(15, 42, 54, 0.07);
    position: relative;
    z-index: 2;
}

/* Main column after hero */
body:not(:has(.hero-new)) .page-header + section.container {
    background: var(--surface, #fff);
    margin-top: -1.5rem;
    padding: 2.75rem clamp(18px, 4vw, 28px) 3.5rem !important;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 40px rgba(15, 42, 54, 0.07);
    position: relative;
    z-index: 2;
}

body:not(:has(.hero-new)) .page-header + section.track-section {
    margin-top: -1.5rem;
    padding: 0 0 4rem;
    position: relative;
    z-index: 2;
}

body:not(:has(.hero-new)) .track-container {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 4px solid var(--primary-blue);
    box-shadow: 0 16px 48px rgba(15, 42, 54, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT & LONG-FORM LAYOUTS
   ═══════════════════════════════════════════════════════════════ */

body:not(:has(.hero-new)) section.container .product-hero-grid {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

body:not(:has(.hero-new)) section.container .product-hero-grid h1 {
    color: var(--primary-blue);
    font-weight: 900;
    letter-spacing: -0.02em;
}

body:not(:has(.hero-new)) section.container .section-tag {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(24, 57, 73, 0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(24, 57, 73, 0.1);
}

body:not(:has(.hero-new)) .hero-feature-img {
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 42, 54, 0.12);
}

body:not(:has(.hero-new)) section.container .features-grid .feature-item {
    background: var(--surface-muted, #f1f5f9);
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body:not(:has(.hero-new)) section.container .features-grid .feature-item:hover {
    border-color: rgba(222, 78, 42, 0.25);
    box-shadow: var(--shadow-md, 0 8px 28px rgba(15, 42, 54, 0.08));
    transform: translateY(-2px);
}

body:not(:has(.hero-new)) section.container .promo-section {
    padding: clamp(2rem, 5vw, 3rem);
    margin: 3rem 0;
    background: linear-gradient(180deg, var(--surface-muted, #f1f5f9) 0%, #fff 100%);
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 42, 54, 0.05));
}

body:not(:has(.hero-new)) section.container .promo-section h2 {
    color: var(--primary-blue);
    font-weight: 900;
    letter-spacing: -0.02em;
}

body:not(:has(.hero-new)) .step-card {
    background: var(--surface, #fff);
    border-radius: 18px;
    border: 2px solid rgba(226, 232, 240, 0.95);
    border-top: 4px solid var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body:not(:has(.hero-new)) .step-card.highlight {
    border-top-color: var(--primary-orange);
    background: linear-gradient(180deg, #fffdfb 0%, #fff 100%);
}

body:not(:has(.hero-new)) .card {
    background: var(--surface, #fff);
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 4px solid var(--primary-blue);
    box-shadow: 0 8px 28px rgba(15, 42, 54, 0.07);
}

body:not(:has(.hero-new)) .onepay-calculator {
    border-radius: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════ */

.faq-item {
    background: var(--surface, #fff);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 42, 54, 0.05));
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.faq-header {
    padding: 1.25rem 1.35rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-blue);
}

.faq-header:hover {
    background: rgba(24, 57, 73, 0.04);
}

.faq-body {
    padding: 0 1.35rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    color: var(--text-muted, #64748b);
}

.faq-item.active .faq-body {
    padding: 0 1.35rem 1.35rem;
    padding-top: 0;
    max-height: 560px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

body:not(:has(.hero-new)) .bottom-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e4d63 42%, #163d4d 100%);
    padding: clamp(3rem, 8vw, 4.5rem) 0;
}

body:not(:has(.hero-new)) .bottom-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(222, 78, 42, 0.12);
    pointer-events: none;
}

body:not(:has(.hero-new)) .bottom-banner .container {
    position: relative;
    z-index: 1;
}

/* Apply page card */
body:not(:has(.hero-new)) .apply-container {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 4px solid var(--primary-blue);
    box-shadow: 0 16px 48px rgba(15, 42, 54, 0.1);
}

/* Blog posts (no .page-header) */
body:not(:has(.hero-new)):not(:has(.page-header)) header.header ~ section.container {
    background: var(--surface, #fff);
    margin: 2rem auto 3rem;
    padding: clamp(2rem, 5vw, 3rem) clamp(18px, 4vw, 24px);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(15, 42, 54, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE STYLING (using component base + specific overrides)
   ═══════════════════════════════════════════════════════════════ */

/* About Hero - Custom sections not in component system */
.about-hero {
    padding: 6rem 0;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    left: -50%;
    top: 50%;
    width: 100%;
    height: 80%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    transform: translateY(-50%);
    pointer-events: none;
}

.about-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero__content {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.about-hero__content .section-tag {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero__title {
    color: var(--primary-blue);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
}

.about-hero__title span {
    color: var(--primary-orange);
    position: relative;
}

.about-hero__title span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.about-hero__description {
    color: var(--dark);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.08rem;
    font-weight: 500;
}

.about-hero__description:first-of-type {
    border-left: 4px solid var(--primary-orange);
    padding-left: 2rem;
    margin-left: -2rem;
}

.about-hero__cta {
    padding: 16px 45px;
    font-size: 1rem;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(12, 21, 78, 0.15);
    text-transform: uppercase;
}

.about-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(222, 78, 42, 0.3);
}

.about-hero__image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.about-hero__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 21, 78, 0.1), rgba(255, 107, 53, 0.05));
    z-index: 1;
    border-radius: 20px;
}

.about-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-hero__image:hover img {
    transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────
   About Values Section (uses .section and .grid--3col)
   ───────────────────────────────────────────────────────────── */

.about-values-section {
    padding: 7rem 0;
    background: linear-gradient(to bottom, white 0%, #f5f7fc 100%);
    position: relative;
}

.about-values-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    width: 2px;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, var(--primary-orange) 50%, transparent 100%);
    transform: translateX(-50%);
}

.about-values-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-values-header .section-tag {
    display: block;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-values-title {
    color: var(--primary-blue);
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    line-height: 1.1;
}

.about-values-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-orange) 50%, transparent 100%);
    border-radius: 3px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────────────────────
   About Cards (mapped to .card component)
   ───────────────────────────────────────────────────────────── */

.about-card {
    background: white;
    border-radius: 18px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    border-top: 5px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }
.about-card:nth-child(4) { animation-delay: 0.4s; }
.about-card:nth-child(5) { animation-delay: 0.5s; }
.about-card:nth-child(6) { animation-delay: 0.6s; }

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary-orange);
    border-color: rgba(222, 78, 42, 0.1);
}

.about-card:hover::before { opacity: 1; }
.about-card:hover::after { top: -30%; right: -30%; opacity: 1; }

.about-card__icon {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.about-card:hover .about-card__icon {
    transform: scale(1.25) rotate(10deg);
}

.about-card__title {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.about-card__text {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.about-card--large {
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(12, 21, 78, 0.85) 100%);
    color: white;
    border-top: none;
    border-left: 6px solid var(--primary-orange);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 3.5rem;
    grid-column: span 1;
}

.about-card--large::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.about-card--large::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-card--large .about-card__icon {
    color: var(--primary-orange);
    font-size: 3.2rem;
}

.about-card--large .about-card__title {
    color: white;
    font-size: 1.6rem;
    text-transform: none;
    font-weight: 800;
}

.about-card--large .about-card__text {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   Stats Section (uses .card--stat component)
   ───────────────────────────────────────────────────────────── */

.about-stats-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(12, 21, 78, 0.9) 50%, rgba(222, 78, 42, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.about-stats-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.about-stats-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .about-stats-grid { grid-template-columns: 1fr; }
}

.about-stat {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    border-left: 5px solid var(--primary-orange);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.8s ease-out both;
    position: relative;
    overflow: hidden;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-stat:nth-child(1) { animation-delay: 0.1s; }
.about-stat:nth-child(2) { animation-delay: 0.2s; }
.about-stat:nth-child(3) { animation-delay: 0.3s; }
.about-stat:nth-child(4) { animation-delay: 0.4s; }

.about-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.about-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-left-color: rgba(255, 255, 255, 0.5);
}

.about-stat:hover::before { opacity: 1; }

.about-stat__icon {
    font-size: 3.2rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-stat:hover .about-stat__icon {
    transform: scale(1.3) rotate(15deg);
}

.about-stat__number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    letter-spacing: -1.5px;
    line-height: 1;
}

.about-stat__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

/* ─────────────────────────────────────────────────────────────
   Mission & Vision Section
   ───────────────────────────────────────────────────────────── */

.about-mission-section {
    padding: 7rem 0;
    background: linear-gradient(to bottom, white 0%, #f8f9fc 100%);
    position: relative;
}

.about-mission-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(12, 21, 78, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.about-mission-grid .about-card--large {
    animation: slideInUp 0.8s ease-out both;
}

.about-mission-grid .about-card--large:nth-child(1) { animation-delay: 0.1s; }
.about-mission-grid .about-card--large:nth-child(2) { animation-delay: 0.3s; }

/* ─────────────────────────────────────────────────────────────
   Why Choose Us Section (uses .card--feature component)
   ───────────────────────────────────────────────────────────── */

.about-why-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    position: relative;
}

.about-why-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-why-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.about-why-header .section-tag {
    display: block;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-why-title {
    color: var(--primary-blue);
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    line-height: 1.1;
}

.about-why-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-orange) 50%, transparent 100%);
    border-radius: 3px;
}

.about-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-why-grid {
        grid-template-columns: 1fr;
    }
}

.about-why-item {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem;
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 5px solid var(--primary-blue);
    border-top: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out both;
}

.about-why-item:nth-child(1) { animation-delay: 0.1s; }
.about-why-item:nth-child(2) { animation-delay: 0.2s; }
.about-why-item:nth-child(3) { animation-delay: 0.3s; }
.about-why-item:nth-child(4) { animation-delay: 0.4s; }

.about-why-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.04) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.about-why-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.about-why-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transform: translateX(12px) translateY(-4px);
    border-left-color: var(--primary-orange);
    border-top-color: var(--primary-orange);
}

.about-why-item:hover::before { opacity: 1; }
.about-why-item:hover::after { top: -20%; right: -20%; opacity: 1; }

.about-why-item__icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 0.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.about-why-item:hover .about-why-item__icon {
    transform: scale(1.25) rotate(-10deg);
}

.about-why-item__subtitle {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.7rem 0;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.about-why-item__text {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ─────────────────────────────────────────────────────────────
   Bottom Banner / CTA
   ───────────────────────────────────────────────────────────── */

.bottom-banner {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(12, 21, 78, 0.85) 40%, var(--primary-orange) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.bottom-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.bottom-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(222, 78, 42, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.bottom-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 900;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
    line-height: 1.1;
}

.bottom-banner p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.bottom-banner .btn {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.bottom-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════ */

.testimonials-section {
    padding: 7rem 0;
    background: linear-gradient(to bottom, #f8f9fc 0%, white 50%, #f5f7fc 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(12, 21, 78, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.section-header .section-tag {
    display: block;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2 {
    color: var(--primary-blue);
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray);
    font-weight: 500;
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: white;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    border-top: 3px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-card:hover::before { opacity: 1; }
.testimonial-card:hover::after { opacity: 1; }

.testimonial-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 3px solid var(--primary-blue);
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 0.25rem 0;
    color: var(--primary-blue);
}

.testimonial-card__role {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.testimonial-card__quote {
    font-size: 1rem;
    color: #334155;
    line-height: 1.8;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0;
    }

    .about-hero__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-hero__title {
        font-size: 2.2rem;
    }

    .about-hero__description {
        font-size: 1rem;
    }

    .about-values-section,
    .about-why-section,
    .about-mission-section,
    .about-stats-section {
        padding: 4rem 0;
    }

    .about-values-title,
    .about-why-title {
        font-size: 2rem;
    }

    .about-card {
        padding: 2rem;
    }

    .about-card__icon {
        font-size: 2.5rem;
    }

    .about-card__title {
        font-size: 1.1rem;
    }

    .about-why-item {
        gap: 1.5rem;
        padding: 2rem;
        flex-direction: column;
    }

    .about-why-item__icon {
        font-size: 2rem;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

    .about-stat {
        padding: 2rem 1.5rem;
    }

    .about-stat__icon {
        font-size: 2.5rem;
    }

    .about-stat__number {
        font-size: 2rem;
    }

    .about-stat__label {
        font-size: 0.8rem;
    }

    .bottom-banner {
        padding: 4rem 2rem;
    }

    .bottom-banner h2 {
        font-size: 1.8rem;
    }

    .bottom-banner p {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero__title {
        font-size: 1.6rem;
    }

    .about-hero__description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-hero__cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-values-title,
    .about-why-title {
        font-size: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-card__icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-card__title {
        font-size: 1rem;
    }

    .about-card__text {
        font-size: 0.9rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-stat {
        padding: 1.5rem 1rem;
    }

    .about-stat__icon {
        font-size: 2rem;
    }

    .about-stat__number {
        font-size: 1.5rem;
    }

    .about-why-item {
        gap: 1rem;
        padding: 1.5rem;
    }

    .about-why-item__icon {
        font-size: 1.8rem;
    }

    .about-why-item__subtitle {
        font-size: 1rem;
    }

    .about-why-item__text {
        font-size: 0.9rem;
    }

    .bottom-banner {
        padding: 2.5rem 1.5rem;
    }

    .bottom-banner h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .bottom-banner p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .about-values-section,
    .about-why-section,
    .about-mission-section,
    .about-stats-section {
        padding: 2.5rem 0;
    }

    .about-values-header,
    .about-why-header {
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card__quote {
        font-size: 0.95rem;
    }
}
