/* About Hero Banner */
.about-hero {
    position: relative;
    width: 100%;
    height: 480px;
    background: url('../images/aboutus5.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Fallback background image if about-banner.jpg is missing */
.about-hero {
    background-image: url('../images/aboutus5.png');
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 46, 60, 0.65); /* Matches navy theme color */
}

.hero-overlay {
    position: relative;
    z-index: 1;
    color: #e4dfdf;
    max-width: 800px;
    padding: 0 20px;
}

.hero-overlay h1 {
    font-size: 38px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-overlay p {
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.95;
}

/* Main Content Wrapper */
.about-content {
    background-color: #f8fafc;
    padding: 60px 8%;
}

/* Content Blocks (Who We Are, What We Do) */
.about-container {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
}

.about-text h2 {
    color: #1e3a8a;
    font-size: 28px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 6px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #1e3a8a;
    border-radius: 2px;
}

.about-text p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Unified Grid Sections (Values & Services)
   ========================================== */
.values-container,
.services-overview-container {
    margin-bottom: 40px;
}

.values-container h2,
.services-overview-container h2 {
    text-align: center;
    color: #1e3a8a;
    font-size: 28px;
    margin-bottom: 30px;
}

/* Shared CSS Grid Layout */
.values-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Shared Card Styling */
.value-card,
.service-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    border-top: 4px solid #1e3a8a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover,
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Shared Card Headings & Text */
.value-card h3,
.service-card h3 {
    color: #1e3a8a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-card p,
.service-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Shared Icon Wrapper Styling */
.card-icon {
    width: 48px;
    height: 48px;
    /* margin-bottom: 15px; */
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    width: 48px;               /* Exact uniform visible width for all icons */
    height: 48px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.value-card:hover .card-icon img,
.service-card:hover .card-icon img {
    transform: scale(1.60);
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 768px) {
    .about-hero {
        height: 260px;
    }

    .hero-overlay h1 {
        font-size: 30px;
    }

    .hero-overlay p {
        font-size: 16px;
    }

    .about-content {
        padding: 40px 5%;
    }

    .about-container {
        padding: 25px 20px;
    }

    /* Single column stack for both Values and Services grids */
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}