/* --- about.css --- */
.about-us {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden; /* Important for preventing horizontal scroll from animations */
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-us .sub-heading {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff6b6b; /* Orange accent */
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-us h2, .about-us h3 {
    font-family: 'Times New Roman', Times, serif;
    color: #1a202c;
    margin-bottom: 20px;
}
.about-us h2 { font-size: 2.8rem; }
.about-us h3 { font-size: 2.2rem; }

.about-us h4 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.3;
}


.about-us p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #4a5568;
}

/* New Block Structure */
.about-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 70px;
}

.about-image-column, .about-text-column {
    flex: 1;
}
.about-image-column {
    text-align: center;
}
.about-text-column {
    max-width: 600px;
}

/* "Who We Are" Block Specifics */
.company-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.company-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icon-link {
    font-size: 1.8rem;
    color: var(--primary-blue, #007bff);
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icon-link:hover {
    color: var(--primary-blue-hover, #0056b3);
    transform: scale(1.1);
}

.about-contact-btn {
    padding: 12px 28px !important;
    background-color: var(--primary-blue, #007bff);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
}
.about-contact-btn:hover {
    background-color: var(--primary-blue-hover, #0056b3);
}


.philosophy-block .about-image-column {
    display: flex;
    justify-content: center;
}


.beliefs-list {
    list-style: none;
    padding-left: 0;
    margin-top: 25px;
    margin-bottom: 30px; /* Space before "Our Mission" area visual break */
}
.beliefs-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #4a5568;
}
.beliefs-list li i {
    color: var(--primary-blue, #007bff);
    margin-right: 12px;
    font-size: 1.2rem;
    margin-top: 2px;
}

/* "Our Mission" Subsection Styling */
.mission-subsection {
    margin-top: 45px; 
    padding-top: 30px; 
    border-top: 1px solid #dde4ed; 
    /* position: relative; /* REMOVED if not needed for other pseudo-elements */
}

/* DECORATIVE LINE ::before REMOVED FROM HERE */


/* Styles for h4 specifically within mission-subsection, if different from general .about-us h4 */
.mission-subsection h4 {
    margin-bottom: 12px;
}
.mission-subsection p {
    font-size: 1.05rem;
    color: #3b475f;
    line-height: 1.75;
    margin-bottom: 0;
}


.belief-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 600px;
    background-color: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.belief-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Stats Row Adjustments */
.about-stats-row {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 50px 20px;
    margin-bottom: 70px;
    background-color: #f0f4f8;
    border-radius: 12px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex-basis: 0;
    flex-grow: 1;
}
.stat-icon {
    font-size: 2.8rem;
    color: #8e44ad;
    margin-bottom: 5px;
}
.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-figure {
    display: flex;
    align-items: baseline;
    line-height: 1;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a202c;
}
.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-left: 2px;
    line-height: 1;
}
.stat-label {
    font-size: 0.95rem;
    color: #5a677b;
    margin-top: 8px;
}

/* Feature Cards Row */
.about-features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--primary-blue-rgb, 0, 123, 255), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}
.feature-icon {
    font-size: 2rem;
    color: var(--primary-blue, #007bff);
}
.feature-card h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}


/* Animation Base Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animations Delays */
.animate-on-scroll.delay-1 { transition-delay: 0.15s !important; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s !important; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s !important; }
.animate-on-scroll.delay-4 { transition-delay: 0.6s !important; }


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-block {
        flex-direction: column;
        text-align: center;
    }
    .about-block .about-image-column,
    .about-block .about-text-column {
        width: 100%;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
    .philosophy-block .about-text-column {
        order: 1;
    }
    .philosophy-block .about-image-column {
        order: 2;
        margin-top: 30px;
    }
    .belief-image-placeholder {
        max-width: 100%;
        height: auto;
        aspect-ratio: 5/6;
    }
    .company-actions {
        justify-content: center;
    }

    .about-stats-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .stat-item {
       flex-basis: auto;
       min-width: auto;
       width: 80%;
       max-width: 300px;
    }
    .mission-subsection {
        margin-top: 30px;
        padding-top: 20px;
        text-align: center;
    }
    .about-us h4 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .about-us { padding: 60px 0; }
    .about-us h2 { font-size: 2.1rem; }
    .about-us h3 { font-size: 1.9rem; }
    .about-us h4 { font-size: 1.4rem; }
    
    .company-main-image { max-width: 300px; }
    
    .about-features-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-us h2 { font-size: 1.8rem; }
    .about-us h3 { font-size: 1.6rem; }
    .about-us h4 { font-size: 1.25rem; }
    .stat-number { font-size: 2.2rem; }
    .stat-icon { font-size: 2.2rem; }
    .social-icon-link { font-size: 1.6rem;}
    .about-contact-btn { padding: 10px 20px !important; font-size: 0.9rem;}
}