    /* =========================================================
    ABOUT PAGE STYLES – FINAL VERSION WITH ANIMATIONS
    ========================================================= */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    /* =========================================================
    HERO SECTION – UPPER POSITION WITH COUNTING ANIMATION
    ========================================================= */

    .about-hero {
        position: relative;
        min-height: 85vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 50px 20px 20px;
        background: 
            linear-gradient(135deg, 
                rgba(11, 16, 32, 0.95) 0%,
                rgba(30, 40, 80, 0.9) 50%,
                rgba(11, 16, 32, 0.95) 100%),
            url("{{ url_for('static', filename='image/hero.png') }}");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-blend-mode: overlay;
    }

    /* Subtle gradient overlay */
    .gradient-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            45deg,
            rgba(60, 120, 255, 0.15) 0%,
            rgba(111, 162, 255, 0.08) 50%,
            rgba(30, 40, 80, 0.15) 100%
        );
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 950px;
        text-align: center;
        padding: 20px 15px;
        margin-top: 10px;
    }

    .hero-text {
        background: rgba(17, 23, 40, 0.92);
        backdrop-filter: blur(12px);
        padding: 35px 30px;
        border-radius: 18px;
        border: 1px solid rgba(60, 120, 255, 0.35);
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        max-width: 800px;
        margin: 0 auto;
        animation: heroFloat 3s ease-in-out infinite;
    }

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

    .hero-title {
        font-size: 2.3rem;
        font-weight: 800;
        color: #ffffff;
        line-height: 1.1;
        margin-bottom: 0.8rem;
        animation: titleGlow 4s ease-in-out infinite;
    }

    @keyframes titleGlow {
        0%, 100% {
            text-shadow: 0 0 10px rgba(60, 120, 255, 0.3);
        }
        50% {
            text-shadow: 0 0 20px rgba(60, 120, 255, 0.5);
        }
    }

    .hero-highlight {
        display: block;
        margin-top: 0.4rem;
        background: linear-gradient(135deg, #6fa2ff 0%, #3c78ff 50%, #6fa2ff 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 2.3rem;
        font-weight: 900;
        animation: gradientShift 3s ease-in-out infinite;
    }

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

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.5;
        color: #d0d8ff;
        max-width: 550px;
        margin: 0 auto 1.5rem;
        font-weight: 400;
        animation: fadeIn 1s ease-out 0.5s both;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Stats Section - Counting Animation */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        max-width: 650px;
        margin: 1.8rem auto 0;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .stat-item {
        padding: 1.2rem 0.8rem;
        background: rgba(26, 33, 56, 0.7);
        border-radius: 12px;
        border: 1px solid rgba(60, 120, 255, 0.25);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
        animation: statFadeIn 0.6s ease forwards;
    }

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

    .stat-item:hover {
        background: rgba(26, 33, 56, 0.85);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(60, 120, 255, 0.2);
    }

    .stat-number {
        font-size: 2.2rem;
        font-weight: 900;
        color: #6fa2ff;
        margin-bottom: 0.3rem;
        line-height: 1;
    }

    .stat-number.animated {
        animation: countUp 2s ease-out forwards;
    }

    @keyframes countUp {
        from {
            opacity: 0;
            transform: scale(0.5);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .stat-label {
        font-size: 0.75rem;
        color: #ffffff;
        font-weight: 600;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        opacity: 0.9;
    }

    /* =========================================================
    STORY SECTION – VISIBLE ANIMATIONS
    ========================================================= */

    .story-section {
        width: 100%;
        padding: 70px 20px;
        background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
        overflow: visible;
    }

    .story-title {
        font-size: 2.3rem;
        font-weight: 900;
        color: #0b1430;
        text-align: center;
        margin-bottom: 0.8rem;
        font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
        animation: bounceIn 1s ease-out;
    }

    @keyframes bounceIn {
        0% {
            opacity: 0;
            transform: scale(0.3);
        }
        50% {
            transform: scale(1.05);
        }
        70% {
            transform: scale(0.9);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .story-intro {
        font-size: 1.05rem;
        color: #5b647e;
        text-align: center;
        max-width: 650px;
        margin: 0 auto 2.5rem;
        line-height: 1.5;
        font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
        animation: slideIn 1s ease-out 0.3s both;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Story Panels - VISIBLE ANIMATIONS */
    .story-panel {
        display: flex;
        align-items: center;
        margin-bottom: 3.5rem;
        padding: 2.2rem;
        background: linear-gradient(145deg, #ffffff, #f0f3ff);
        border-radius: 16px;
        border: 3px solid #3c78ff;
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.1),
            inset 0 0 0 1px rgba(255, 255, 255, 0.8);
        max-width: 950px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0;
        transform: translateX(-100px);
        transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }

    .story-panel::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.7s ease;
    }

    .story-panel:hover::before {
        left: 100%;
    }

    .story-panel.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .story-panel.reverse {
        flex-direction: row-reverse;
        transform: translateX(100px);
    }

    .story-panel.reverse.visible {
        transform: translateX(0);
    }

    .story-image {
        flex: 0 0 42%;
        margin: 0 2.2rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.2),
            0 0 0 4px #ffffff,
            0 0 0 6px #3c78ff;
        transform: perspective(1000px) rotateY(-8deg);
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .story-panel.reverse .story-image {
        transform: perspective(1000px) rotateY(8deg);
    }

    .story-panel:hover .story-image {
        transform: perspective(1000px) rotateY(0) scale(1.03);
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.3),
            0 0 0 4px #ffffff,
            0 0 0 6px #3c78ff,
            0 0 30px rgba(60, 120, 255, 0.2);
    }

    .story-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
    }

    .story-panel:hover .story-image img {
        transform: scale(1.08);
    }

    .story-text {
        flex: 1;
        padding: 1.8rem;
        background: #ffffff;
        border-radius: 12px;
        border: 2px solid #3c78ff;
        position: relative;
        min-height: 200px;
        animation: textBounce 4s ease-in-out infinite;
    }

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

    .story-text::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -20px;
        width: 20px;
        height: 20px;
        background: #ffffff;
        border-left: 2px solid #3c78ff;
        border-bottom: 2px solid #3c78ff;
        transform: translateY(-50%) rotate(45deg);
    }

    .story-panel.reverse .story-text::before {
        left: auto;
        right: -20px;
        border-left: none;
        border-right: 2px solid #3c78ff;
        transform: translateY(-50%) rotate(-45deg);
    }

    .story-text h3 {
        font-size: 1.6rem;
        font-weight: 800;
        color: #0b1430;
        margin-bottom: 0.8rem;
        font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
        position: relative;
        padding-bottom: 8px;
    }

    .story-text h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #3c78ff, #6fa2ff);
        border-radius: 2px;
        animation: underlineGrow 2s ease-out;
    }

    @keyframes underlineGrow {
        from {
            width: 0;
        }
        to {
            width: 50px;
        }
    }

    .story-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #5b647e;
        font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
    }

    /* Panel numbers */
    .story-panel::after {
        content: attr(data-panel);
        position: absolute;
        top: -18px;
        left: 25px;
        padding: 8px 20px;
        background: #3c78ff;
        color: white;
        font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
        font-weight: bold;
        font-size: 1rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 5px 15px rgba(60, 120, 255, 0.3);
        animation: panelFloat 3s ease-in-out infinite;
    }

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

    .story-panel.reverse::after {
        left: auto;
        right: 25px;
    }
    /* =========================================================
    TEAM SECTION – MODERN REDESIGN WITH ENHANCED ANIMATIONS
    ========================================================= */

    .team-section {
        width: 100%;
        padding: 100px 20px;
        background: linear-gradient(135deg, #0b1020 0%, #0d152f 50%, #0b1020 100%);
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .team-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 30%, rgba(60, 120, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(111, 162, 255, 0.08) 0%, transparent 50%);
        z-index: 1;
    }

    .team-title {
        font-size: 2.8rem;
        font-weight: 900;
        color: #ffffff;
        margin-bottom: 1rem;
        font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
        position: relative;
        display: inline-block;
        animation: titleGlowSlide 3s ease-in-out infinite;
    }

    @keyframes titleGlowSlide {
        0%, 100% {
            text-shadow: 0 0 20px rgba(60, 120, 255, 0.3),
                        0 0 40px rgba(60, 120, 255, 0.1);
            transform: translateY(0);
        }
        50% {
            text-shadow: 0 0 30px rgba(60, 120, 255, 0.5),
                        0 0 60px rgba(60, 120, 255, 0.2);
            transform: translateY(-3px);
        }
    }

    .team-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, transparent, #3c78ff, transparent);
        border-radius: 2px;
        animation: linePulse 2s ease-in-out infinite;
    }

    @keyframes linePulse {
        0%, 100% {
            width: 80px;
            opacity: 0.7;
        }
        50% {
            width: 120px;
            opacity: 1;
        }
    }

    .team-subtitle {
        font-size: 1.2rem;
        color: #cbd3ff;
        max-width: 650px;
        margin: 0 auto 4rem;
        line-height: 1.6;
        font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
        position: relative;
        z-index: 2;
        animation: subtitleFloat 4s ease-in-out infinite;
    }

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

        .team-grid{
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2.5rem;
            padding: 0 20px;
            position: relative;
            z-index: 2;
    }

        .team-card{
            flex: 0 0 300px;
            max-width: 320px;
        }

    /* Team Cards - MODERN GLASS EFFECT */
    .team-card {
        position: relative;
        width: 100%;
        max-width: 320px;
        background: rgba(20, 28, 58, 0.7);
        backdrop-filter: blur(10px);
        border-radius: 24px;
        border: 1px solid rgba(60, 120, 255, 0.2);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 0 1px rgba(60, 120, 255, 0.1);
        transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        opacity: 0;
        transform: translateY(30px) rotateX(10deg);
        animation-delay: calc(var(--card-index) * 0.15s);
        overflow: hidden;
    }

    .team-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
        transition: left 0.7s ease;
    }

    .team-card:hover::before {
        left: 100%;
    }

    .team-card.visible {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        animation: cardReveal3D 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    @keyframes cardReveal3D {
        0% {
            opacity: 0;
            transform: translateY(30px) rotateX(10deg) scale(0.9);
        }
        50% {
            transform: translateY(-10px) rotateX(5deg) scale(1.02);
        }
        100% {
            opacity: 1;
            transform: translateY(0) rotateX(0) scale(1);
        }
    }

    .team-card:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 50px rgba(60, 120, 255, 0.3),
            0 0 0 2px rgba(60, 120, 255, 0.1);
        border-color: rgba(60, 120, 255, 0.4);
    }

    .team-img {
        height: 240px;
        overflow: hidden;
        position: relative;
        border-bottom: 1px solid rgba(60, 120, 255, 0.3);
    }

    .team-img::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40%;
        background: linear-gradient(to top, rgba(20, 28, 58, 0.9), transparent);
    }

    .team-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 0%;
        transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        filter: grayscale(20%) brightness(0.9);
    }

    .team-card:hover .team-img img {
        transform: scale(1.15) rotate(2deg);
        filter: grayscale(0%) brightness(1.1);
    }

    .team-info {
        padding: 2rem 1.5rem;
        text-align: center;
        position: relative;
    }

    .team-info h3 {
        font-size: 1.4rem;
        font-weight: 800;
        color: #ffffff;
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
        animation: nameGlow 3s ease-in-out infinite;
    }

    @keyframes nameGlow {
        0%, 100% {
            text-shadow: 0 0 10px rgba(111, 162, 255, 0.3);
        }
        50% {
            text-shadow: 0 0 20px rgba(111, 162, 255, 0.5);
        }
    }

    .team-role {
        display: block;
        font-size: 0.85rem;
        font-weight: 700;
        color: #6fa2ff;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
        padding: 0.5rem 1rem;
        background: rgba(60, 120, 255, 0.1);
        border-radius: 20px;
        display: inline-block;
        animation: rolePulse 2s ease-in-out infinite;
        text-align: center !important; /* यह जोड़ें */
        width: 100% !important; /* यह जोड़ें */
        display: block !important; /* यह जोड़ें */

    }

    @keyframes rolePulse {
        0%, 100% {
            background: rgba(60, 120, 255, 0.1);
            transform: scale(1);
        }
        50% {
            background: rgba(60, 120, 255, 0.2);
            transform: scale(1.05);
        }
    }

    .team-details {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(20px);
        transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .team-card:hover .team-details {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }

    .team-details p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #d0d8ff;
        margin-bottom: 1.5rem;
        font-weight: 400;
    }

    .team-skills {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .team-skills li {
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, rgba(60, 120, 255, 0.2), rgba(111, 162, 255, 0.1));
        color: #a8c6ff;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 700;
        border: 1px solid rgba(60, 120, 255, 0.3);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        animation: skillFloat 0.5s ease-out calc(var(--skill-index) * 0.1s) both;
    }

    @keyframes skillFloat {
        from {
            opacity: 0;
            transform: translateY(15px) scale(0.8);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .team-skills li::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;
    }

    .team-skills li:hover {
        background: linear-gradient(135deg, rgba(60, 120, 255, 0.3), rgba(111, 162, 255, 0.2));
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 20px rgba(60, 120, 255, 0.2);
        color: #ffffff;
    }

    .team-skills li:hover::before {
        left: 100%;
    }

    /* Team Card Glow Effect */
    .team-card::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, 
            transparent, 
            rgba(60, 120, 255, 0.1), 
            rgba(111, 162, 255, 0.05), 
            transparent);
        border-radius: 26px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    .team-card:hover::after {
        opacity: 1;
        animation: cardGlow 2s ease-in-out infinite;
    }

    @keyframes cardGlow {
        0%, 100% {
            opacity: 0.5;
        }
        50% {
            opacity: 0.8;
        }
    }

    /* =========================================================
    RESPONSIVE DESIGN
    ========================================================= */

    @media (max-width: 992px) {
        .team-section {
            padding: 80px 20px;
        }
        
        .team-title {
            font-size: 2.4rem;
        }
        
        .team-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }
        
        .team-img {
            height: 220px;
        }
    }

    @media (max-width: 768px) {
        .team-section {
            padding: 70px 15px;
        }
        
        .team-title {
            font-size: 2rem;
        }
        
        .team-subtitle {
            font-size: 1.1rem;
            margin-bottom: 3rem;
        }
        
        .team-grid {
            grid-template-columns: 1fr;
            max-width: 400px;
            gap: 1.8rem;
        }
        
        .team-card {
            max-width: 100%;
        }
    }

    @media (max-width: 480px) {
        .team-section {
            padding: 60px 15px;
        }
        
        .team-title {
            font-size: 1.8rem;
        }
        
        .team-subtitle {
            font-size: 1rem;
        }
        
        .team-info {
            padding: 1.5rem 1rem;
        }
        
        .team-info h3 {
            font-size: 1.3rem;
        }
    }

    /* =========================================================
    RESPONSIVE DESIGN
    ========================================================= */

    /* Tablet */
    @media (max-width: 992px) {
        .hero-title {
            font-size: 2rem;
        }
        
        .hero-highlight {
            font-size: 2rem;
        }
        
        .hero-text {
            padding: 30px 22px;
        }
        
        .hero-description {
            font-size: 1rem;
        }
        
        .hero-stats {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            max-width: 500px;
        }
        
        .stat-number {
            font-size: 2rem;
        }
        
        .story-panel {
            flex-direction: column;
            text-align: center;
            padding: 1.8rem;
            margin-bottom: 3rem;
        }
        
        .story-panel.reverse {
            flex-direction: column;
        }
        
        .story-image {
            width: 85%;
            margin: 0 auto 1.5rem;
        }
        
        .story-text {
            text-align: center;
            padding: 1.5rem;
        }
        
        .story-text::before {
            display: none;
        }
        
        .story-text h3 {
            font-size: 1.4rem;
        }
        
        .team-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }
    }

    /* Mobile */
    @media (max-width: 768px) {
        .about-hero {
            padding: 40px 15px 15px;
            min-height: 80vh;
        }
        
        .hero-content {
            padding: 15px 10px;
        }
        
        .hero-title {
            font-size: 1.8rem;
        }
        
        .hero-highlight {
            font-size: 1.7rem;
        }
        
        .hero-text {
            padding: 25px 18px;
        }
        
        .hero-stats {
            grid-template-columns: 1fr;
            gap: 0.8rem;
            max-width: 280px;
        }
        
        .story-title,
        .team-title {
            font-size: 1.9rem;
        }
        
        .story-section,
        .team-section {
            padding: 60px 15px;
        }
        
        .story-panel {
            padding: 1.5rem;
            margin-bottom: 2.5rem;
        }
        
        .story-image img {
            height: 220px;
        }
        
        .team-grid {
            grid-template-columns: 1fr;
            max-width: 320px;
            gap: 1.2rem;
        }
    }

    /* Small Mobile */
    @media (max-width: 480px) {
        .hero-title {
            font-size: 1.6rem;
        }
        
        .hero-highlight {
            font-size: 1.5rem;
        }
        
        .hero-text {
            padding: 20px 15px;
        }
        
        .hero-description {
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }
        
        .stat-item {
            padding: 1rem 0.6rem;
        }
        
        .stat-number {
            font-size: 1.8rem;
        }
        
        .story-title,
        .team-title {
            font-size: 1.7rem;
        }
        
        .story-intro,
        .team-subtitle {
            font-size: 0.95rem;
        }
    }

    /* =========================================================
    OVERRIDE FIXES - ADD AT THE VERY END OF CSS FILE
    ========================================================= */



    /* ENSURE PANEL DOESN'T CUT CONTENT */
    .story-panel {
        overflow: visible !important;
        min-height: auto !important;
    }

