/* About Page Specific Styles */

/* What We Do Section */
.what-we-do-section {
    background-color: #D4DAF8;
    padding: 80px 0;
}

.what-we-do-content {
    padding-right: 20px;
}

.what-we-do-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #292929;
    margin-bottom: 12px;
}

.what-we-do-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 54px;
    color: #292929;
    margin-bottom: 20px;
}

.what-we-do-description {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #292929;
    opacity: 0.8;
    margin-bottom: 0;
}

.what-we-do-image {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.what-we-do-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission & Approach Section */
.mission-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.mission-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    color: #292929;
}

.mission-card {
    background-color: #FAFBFE;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-card-icon svg {
    width: 40px;
    height: 40px;
}

.mission-card-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    color: #292929;
    margin-bottom: 20px;
}

.mission-card-description {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    color: #292929;
    opacity: 0.8;
    margin-bottom: 0;
}

/* PAN India Presence Section */
.pan-india-section {
    background-color: rgba(212, 218, 248, 0.2);
    padding: 80px 0;
}

.pan-india-content {
    padding-right: 20px;
}

.pan-india-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    color: #292929;
    margin-bottom: 20px;
}

.pan-india-description {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #292929;
    opacity: 0.8;
    margin-bottom: 0;
}

.pan-india-image {
    max-width: 513px;
    margin: 0 auto;
}

.pan-india-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Active Navigation Link */
.navbar-nav .nav-link.active {
    color: var(--primary-red);
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .what-we-do-title {
        font-size: 42px;
        line-height: 48px;
    }

    .mission-title,
    .pan-india-title {
        font-size: 36px;
        line-height: 48px;
    }

    .what-we-do-image {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 991px) {

    .what-we-do-section,
    .mission-section,
    .pan-india-section {
        padding: 60px 0;
    }

    .what-we-do-title {
        font-size: 36px;
        line-height: 42px;
    }

    .mission-title,
    .pan-india-title {
        font-size: 32px;
        line-height: 42px;
    }

    .what-we-do-description,
    .mission-card-description,
    .pan-india-description {
        font-size: 18px;
        line-height: 28px;
    }

    .what-we-do-image {
        width: 300px;
        height: 300px;
    }

    .what-we-do-content,
    .pan-india-content {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {

    .what-we-do-section,
    .mission-section,
    .pan-india-section {
        padding: 40px 0;
    }

    .what-we-do-title {
        font-size: 32px;
        line-height: 38px;
    }

    .mission-title,
    .pan-india-title {
        font-size: 28px;
        line-height: 36px;
    }

    .what-we-do-subtitle {
        font-size: 18px;
    }

    .what-we-do-description,
    .mission-card-description,
    .pan-india-description {
        font-size: 16px;
        line-height: 24px;
    }

    .mission-card-title {
        font-size: 20px;
    }

    .mission-card {
        padding: 20px;
        margin-bottom: 0;
    }

    .what-we-do-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }

    .what-we-do-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .pan-india-image {
        max-width: 100%;
    }

    /* Adjust mission cards spacing */
    .mission-section .row {
        row-gap: 1rem;
    }

    /* Make mission cards hug content on mobile */
    .mission-section .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mission-section .col-lg-3 {
        width: auto;
        max-width: 100%;
        flex: 0 0 auto;
        margin-top: 0 !important;
    }

    .mission-card {
        width: auto;
        max-width: 398px;
        min-width: 280px;
        margin-top: 0 !important;
    }
}

@media (max-width: 575px) {
    .what-we-do-title {
        font-size: 28px;
        line-height: 34px;
    }

    .mission-title,
    .pan-india-title {
        font-size: 24px;
        line-height: 32px;
    }

    .what-we-do-subtitle {
        font-size: 16px;
    }

    .what-we-do-description,
    .mission-card-description,
    .pan-india-description {
        font-size: 14px;
        line-height: 22px;
    }

    .mission-card-title {
        font-size: 18px;
    }

    .what-we-do-image {
        width: 100%;
        max-width: 100%;
    }
}

/* Smooth transitions */
.mission-card,
.what-we-do-image {
    transition: all 0.3s ease;
}