
.about-hero {
    position: relative;

    padding: 120px 0 80px;
    overflow: hidden;

    /* Optional fallback background */
    background: #050509;
}


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

/* Blurred Background Image */

.about-hero::before {
    content: "";

    position: absolute;

    /* Blur ke white edges hide karne ke liye */
    inset: -15px;

    background-image: url("../assets/background/aboutbg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Blur Effect */
    filter: blur(6px);

    /* Image brightness */
    opacity: 0.8;

    /* Image ko content ke piche rakhega */
    z-index: 0;

    pointer-events: none;
}


/* Content Image ke Upar Rahega */

.about-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #60a5fa;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    /* animation removed */
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* animation removed */
}

.hero-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 48px;
    /* animation removed */
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    /* animation removed */
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* ===== SCROLL REVEAL ANIMATIONS ===== */

/* All elements with .reveal start hidden */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Active state – visible */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays (applied when active) */
.reveal-delay-1.active { transition-delay: 0.1s; }
.reveal-delay-2.active { transition-delay: 0.2s; }
.reveal-delay-3.active { transition-delay: 0.3s; }
.reveal-delay-4.active { transition-delay: 0.4s; }
.reveal-delay-5.active { transition-delay: 0.5s; }
.reveal-delay-6.active { transition-delay: 0.6s; }

/* Our Story Section */
.our-story {
    padding: 100px 0;
   background-image: linear-gradient(to top, #0c3483 0%, #a2b6df 100%, #6b8cce 100%, #a2b6df 100%);
    position: relative;
}

.our-story .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.973);
    padding: 4px 12px;
    border-radius: 5px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #60a5fa, #3b82f6);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .story-timeline::before {
        left: 80px;
    }
}

.timeline-item {
    display: flex;
    gap: 32px;
    position: relative;
    animation: fadeInLeft 0.6s ease both;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.timeline-item:nth-child(1) { --item-index: 0; }
.timeline-item:nth-child(2) { --item-index: 1; }
.timeline-item:nth-child(3) { --item-index: 2; }
.timeline-item:nth-child(4) { --item-index: 3; }

.timeline-year {
    min-width: 100px;
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    background: linear-gradient(135deg, #000000, #000000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

@media (max-width: 768px) {
    .timeline-year {
        min-width: 70px;
        font-size: 20px;
    }
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 12px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

@media (max-width: 768px) {
    .timeline-year::after {
        right: -16px;
    }
}

.timeline-content {
    flex: 1;
    background: #ffffff;
    padding: 24px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgb(0, 88, 230);
}

.timeline-content:hover {
    transform: translateX(8px);
    border-color: rgb(0, 98, 255);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Our Values Section */
.our-values {
    padding: 100px 0;
    position: relative;
}

.our-values .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: #fffffff3;
    padding: 40px 32px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgb(33, 98, 255);
    position: relative;
    overflow: hidden;
}


.value-card:hover {
    transform: translateY(-8px);
    border-color: rgb(0, 98, 255);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}


.value-icon i {
    font-size: 32px;
    color: #0073ff;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 15px;
    color: #343434;
    line-height: 1.6;
}
/* CTA Section - No Animations */

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-content {
    text-align: center;
    background-image: linear-gradient(to top, #a7a6cb 0%, #8989ba 52%, #8989ba 100%);
    padding: 64px 48px;
    border-radius: 5px;
    border-left: 3px solid #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: #000000;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
}

.cta-button.primary {
    background: #000000;
    color: white;
    border: none;
}


.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}


/* Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .cta-content {
        padding: 48px 32px;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .timeline-item {
        gap: 20px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 18px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .value-card {
        padding: 32px 24px;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .timeline-year {
        text-align: left;
        padding-left: 20px;
    }
    
    .timeline-year::after {
        left: 0;
        right: auto;
        top: 8px;
    }
    
    .story-timeline::before {
        left: 8px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        justify-content: center;
    }
}