/* ===== ABOUT PAGE - FULL-PAGE SCROLL SECTIONS ===== */
/* Complete redesign with immersive scroll experience */

/* ===== BASE LAYOUT ===== */
.about-fullpage {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.about-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #0D1117 0%,
        #161B22 30%,
        #1a1a2e 60%,
        #16213e 100%
    );
}

.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 245, 212, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleFloat 30s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50px;
    color: #E63946;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.title-line {
    display: block;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #E63946, #7B2CBF, #00F5D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 3rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

.theme-toggle-float {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.theme-toggle-float button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.theme-toggle-float button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ===== FULL PAGE SECTIONS ===== */
.fullpage-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #E63946, #7B2CBF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    background: linear-gradient(180deg, #0D1117 0%, #161B22 100%);
}

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

@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

.mission-main {
    color: rgba(255, 255, 255, 0.9);
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mission-quote {
    position: relative;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(123, 44, 191, 0.1));
    border-left: 4px solid #E63946;
    border-radius: 0 16px 16px 0;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(230, 57, 70, 0.3);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

.mission-quote p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Principle Cards */
.principles-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.principle-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.principle-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: rgba(230, 57, 70, 0.3);
}

.principle-card .card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(123, 44, 191, 0.2));
    border-radius: 12px;
    flex-shrink: 0;
}

.principle-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.25rem;
}

.principle-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: linear-gradient(180deg, #161B22 0%, #1a1a2e 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 700px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.6;
}

/* ===== FOUNDERS SECTION ===== */
.founders-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

.founder-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.founder-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(230, 57, 70, 0.2);
}

.founder-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.avatar-ring {
    position: absolute;
    inset: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, #E63946, #7B2CBF, #00F5D4) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.founder-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(123, 44, 191, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

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

.founder-content h3 {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem;
}

.founder-role {
    display: block;
    font-size: 0.9rem;
    color: #E63946;
    margin-bottom: 1.5rem;
}

/* Founder Timeline */
.founder-timeline {
    text-align: left;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.25rem;
}

.timeline-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #E63946 0%, #7B2CBF 100%);
    text-align: center;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.cta-content h2 {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin: 0 0 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #E63946;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

/* ===== FIXED NAVIGATION ===== */
.about-fixed-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.nav-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: linear-gradient(135deg, #E63946, #7B2CBF);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .fullpage-section {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .about-fixed-nav {
        bottom: 1rem;
        padding: 0.5rem;
    }

    .nav-item {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ===== DARK MODE ALREADY HANDLED (dark backgrounds) ===== */

/* ===== LEGACY STYLES ===== */
/* Container styles are now in scrollable-container.css */

/* Full-Page Section Styling */
.mission-statement,
.why-choose,
.founders-section-old {
    position: relative;
    overflow: hidden;
}

/* Animated Mission Typography */
.mission-container h2 {
    background: var(--gradient-text-hero, linear-gradient(135deg, #E63946, #7B2CBF, #00F5D4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Timeline Scroll Reveals */
.founder-profile {
    position: relative;
    transition: all 0.5s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.founder-profile::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary, linear-gradient(135deg, #E63946, #00F5D4));
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.5s var(--ease-elastic, cubic-bezier(0.68, -0.55, 0.265, 1.55));
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.founder-profile.in-view::before {
    transform: translateY(-50%) scale(1);
}

/* Timeline Connector Line */
.founders-section::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 150px;
    bottom: 50px;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--token-primary, #E63946), var(--token-secondary, #00F5D4), transparent);
    opacity: 0.3;
}

/* 3D Team Card Effects */
.founder-profile.card-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.founder-avatar {
    transition: all 0.4s var(--ease-out, ease-out);
}

.founder-profile:hover .founder-avatar {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Principle Cards Enhancement */
.principle {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out, ease-out) !important;
}

.principle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--gradient-primary, linear-gradient(135deg, #E63946, #00F5D4));
    opacity: 0.1;
    transition: height 0.4s ease;
}

.principle:hover::before {
    height: 100%;
}

.principle:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.principle-icon {
    transition: all 0.4s var(--ease-elastic, cubic-bezier(0.68, -0.55, 0.265, 1.55));
}

.principle:hover .principle-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Why Item Cards Enhancement */
.why-item {
    position: relative;
    overflow: hidden;
}

.why-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary, linear-gradient(135deg, #E63946, #00F5D4));
    transition: width 0.4s ease;
}

.why-item:hover::after {
    width: 100%;
}

/* CTA Section Enhancement */
.cta-section {
    background: var(--gradient-hero, linear-gradient(135deg, #E63946, #7B2CBF)) !important;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Buttons Enhancement */
.cta-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    left: 100%;
}

/* Mission Quote Enhancement */
.mission-quote {
    position: relative;
    overflow: hidden;
}

.mission-quote::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 4rem;
    opacity: 0.2;
}

/* Scroll Animation Support */
[data-scroll="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll="fade-up"].in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll="scale-in"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll="scale-in"].in-view {
    opacity: 1;
    transform: scale(1);
}

/* ===== HEADER POSITIONING ===== */
.header-section {
    position: static;
    flex-shrink: 0;
}

/* Override mobile-specific sticky positioning */
@media (max-width: 768px) {
    .header-section {
        position: static;
        top: auto;
        bottom: auto;
        z-index: auto;
        overflow-y: visible;
        margin-bottom: 0;
        padding: clamp(0.2rem, 1vh, 0.6rem) clamp(0.2rem, 1.2vw, 0.6rem);
    }
}

@media (max-width: 480px) {
    .container .header-section {
        position: static;
        top: auto;
        bottom: auto;
        z-index: auto;
        overflow-y: visible;
    }

    body .container .header-section {
        position: static;
        top: auto;
        bottom: auto;
        z-index: auto;
        overflow-y: visible;
    }
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 20px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ===== MISSION STATEMENT ===== */
.mission-statement {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.mission-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

.vision-lead {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.core-principles h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.principle {
    background: rgba(255, 255, 255, 0.7);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.principle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.principle h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.mission-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    position: relative;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.7;
}

.mission-quote p {
    color: white !important;
    margin: 0;
}

.mission-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.why-choose h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.why-intro {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.why-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* ===== FOUNDERS SECTION ===== */
.founders-section {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.founders-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.founder-profile {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.founder-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.founder-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.avatar-icon {
    font-size: 2.5rem;
    color: white;
}

.founder-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.founder-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.founder-story {
    line-height: 1.8;
}

.story-section {
    margin-bottom: 30px;
}

.story-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.story-section p {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.origin-story {
    background: rgba(229, 57, 53, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.origin-story blockquote {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.origin-story blockquote p {
    margin: 0;
    color: var(--text-primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-btn,
a.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-btn:hover,
a.cta-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
    text-decoration: none !important;
}

.cta-btn.primary,
a.cta-btn.primary {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
}

.cta-btn.primary:hover,
a.cta-btn.primary:hover {
    background: white !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.cta-quote {
    font-style: italic;
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== BACK HOME ===== */
.back-home {
    text-align: center;
    margin-top: 20px;
}

.back-btn,
a.back-btn {
    background: rgba(255, 255, 255, 0.8) !important;
    color: var(--primary-color) !important;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.back-btn:hover,
a.back-btn:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}

/* ===== DARK MODE STYLES ===== */
body.dark-mode .page-title {
    color: var(--primary-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body.dark-mode .page-subtitle {
    color: #d0d0d0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

body.dark-mode .mission-statement,
body.dark-mode .why-choose,
body.dark-mode .founders-section {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .principle,
body.dark-mode .why-item,
body.dark-mode .founder-profile {
    background: rgba(60, 60, 60, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .origin-story {
    background: rgba(229, 57, 53, 0.1);
}

body.dark-mode .origin-story blockquote {
    background: rgba(60, 60, 60, 0.8);
    color: #e0e0e0;
}

body.dark-mode .back-btn {
    background: rgba(60, 60, 60, 0.8);
    color: var(--primary-light);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .back-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-content {
        padding: 15px 20px;
        max-width: 100%;
    }

    .mission-statement,
    .why-choose,
    .founders-section {
        padding: 25px;
        margin-bottom: 25px;
    }

    .founder-profile {
        padding: 25px;
    }

    .founder-header {
        flex-direction: column;
        text-align: center;
    }

    .founder-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .principles-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-container-left,
    .menu-container {
        display: none;
    }
}

@media (max-width: 600px) {
    .mission-container h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .vision-lead {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .why-choose h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .why-intro {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .founders-section h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .cta-section h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .cta-section p {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px 16px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .mission-statement,
    .why-choose,
    .founders-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .founder-profile {
        padding: 20px;
    }

    .cta-section {
        padding: 25px 15px;
    }

    .principle,
    .why-item {
        padding: 20px 15px;
    }
}

/* === FIX FOR CONTRAST ISSUE === */
/* Override global CSS rules that force dark text colors */
.cta-section,
.cta-section *,
.cta-section h2,
.cta-section p,
.cta-section .cta-quote,
.cta-section strong,
.cta-section em {
    color: white !important;
}

/* ===== FORCE PROPER CONTRAST ON BUTTONS ===== */
/* High specificity override to ensure proper text contrast */
.cta-section .cta-btn,
.cta-section a.cta-btn,
main .cta-btn,
main a.cta-btn {
    color: white !important;
    text-decoration: none !important;
}

.cta-section .cta-btn:hover,
.cta-section a.cta-btn:hover,
main .cta-btn:hover,
main a.cta-btn:hover {
    color: white !important;
    text-decoration: none !important;
}

.cta-section .cta-btn.primary,
.cta-section a.cta-btn.primary,
main .cta-btn.primary,
main a.cta-btn.primary {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.cta-section .cta-btn.primary:hover,
.cta-section a.cta-btn.primary:hover,
main .cta-btn.primary:hover,
main a.cta-btn.primary:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.back-home .back-btn,
.back-home a.back-btn,
main .back-btn,
main a.back-btn {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.back-home .back-btn:hover,
.back-home a.back-btn:hover,
main .back-btn:hover,
main a.back-btn:hover {
    color: white !important;
    text-decoration: none !important;
}

/* ===== FORCE WHITE TEXT ON MISSION QUOTE ===== */
/* High specificity override to ensure white text on gradient background */
.mission-statement .mission-quote,
.mission-statement .mission-quote p,
main .mission-quote,
main .mission-quote p {
    color: white !important;
}

.mission-statement .mission-quote *,
main .mission-quote * {
    color: white !important;
}
