.about-hero {
    height: 500px;
    background-image: url('../images/about/hero-bg.jpg');  /* Fixed path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    margin-bottom: 30px;
}

.hero-content h1::after {
    content: 'ABOUT US';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: #fff;
    -webkit-text-stroke: 0px;
    border-right: 3px solid #fff;
    overflow: hidden;
    animation: typing 6s steps(8) infinite;
}

.hero-content p {
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.9;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes typing {
    0%, 90%, 100% { width: 0; }
    30%, 60% { width: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animate {
    animation: fadeInUp 0.8s forwards;
}

.animate-on-scroll.animate-left {
    animation: fadeInLeft 0.8s forwards;
}

.animate-on-scroll.animate-right {
    animation: fadeInRight 0.8s forwards;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
        -webkit-text-stroke: 1px #fff;
    }
    
    .hero-content h1::after {
        -webkit-text-stroke: 0px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Updated Who We Are section */
.about-intro {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.intro-text {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 20px;
    position: relative;
}

.intro-text h2 {
    font-size: 3.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.stat-box {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.stat-box p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 5px;
    font-weight: 500;
}

/* Optional: Add a subtle animation when hovering */
.stat-box:hover p {
    color: #2563eb;
    transition: color 0.3s ease;
}

.stat-box .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
    margin-bottom: 10px;
    opacity: 0;
}

.stat-box.animate .number {
    opacity: 1;
}

.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.brands {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.brands h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: #1a1a1a;
    position: relative;
}

.brands h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
}

.brand-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 40px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-container img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-container img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .brand-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .features .container {
        grid-template-columns: 1fr;
    }
}

.stat-box i {
    font-size: 3rem;
    color: #2563eb;  /* Changed from var(--primary-orange) to match the number color */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.stat-box:hover i {
    transform: scale(1.2) rotate(5deg);
}

