/* about.css */

.about-hero {
    height: 70vh !important;
}

.about-container {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

/* Alternating layout */
.about-section.reverse {
    direction: rtl; /* Flip the grid */
}

.about-section.reverse .about-text {
    direction: ltr; /* Reset text direction */
}

.section-tag {
    display: block;
    color: #00346b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.about-text h2 {
    color: #00346b;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
    scale: 1.1; /* otherwise i get a horizontal offset due to sizing */
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Stats Styling */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item h3 {
    color: #00346b;
    font-size: 2.5rem;
    margin: 0;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 5px 0 0;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1104px) {
    .about-section, .about-section.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
        margin-bottom: 5rem;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 4rem 1rem;
    }
    
    .about-hero {
        height: 50vh !important;
    }
}