﻿.basma-aims {
    position: relative;
    padding: 100px 20px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(176, 138, 69, 0.08),
            transparent 30%
        ),
        #ffffff;
    overflow: hidden;
}

.aims-container {
    max-width: 1180px;
    margin: auto;
}

.aims-heading {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.aims-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #b08a45;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.aims-heading h2 {
    margin: 0;
    color: #173f35;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.2;
}

.aims-heading h2 strong {
    display: block;
    color: #b08a45;
}

.aims-divider {
    width: 65px;
    height: 3px;
    margin: 22px auto;
    background: #b08a45;
    border-radius: 20px;
}

.aims-heading p {
    margin: 0;
    color: #68756f;
    font-size: 16px;
    line-height: 1.8;
}


/* ==========================================
   AIM MAIN
========================================== */

.aim-main {
    position: relative;
    display: grid;
    grid-template-columns: 160px 1fr 80px;
    align-items: center;
    gap: 35px;
    padding: 42px 45px;
    background: linear-gradient(
        135deg,
        #173f35,
        #24594c
    );
    border-radius: 20px;
    box-shadow: 0 25px 55px rgba(23,63,53,0.15);
    overflow: hidden;
}

.aim-main::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -160px;
    top: -180px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}

.aim-number {
    position: relative;
    z-index: 2;
    padding-right: 30px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.aim-number span {
    display: block;
    color: #e0c17f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.aim-number strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 32px;
}

.aim-content {
    position: relative;
    z-index: 2;
}

.aim-content h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 27px;
}

.aim-content h3 strong {
    color: #e0c17f;
}

.aim-content p {
    max-width: 750px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.85;
}

.aim-content p strong {
    color: #ffffff;
}

.aim-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border: 1px solid rgba(224,193,127,0.55);
    border-radius: 50%;
    color: #e0c17f;
    font-size: 25px;
}


/* ==========================================
   OBJECTIVES HEADER
========================================== */

.objectives-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 70px 0 30px;
}

.objectives-header > div:first-child > span {
    color: #b08a45;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.objectives-header h3 {
    margin: 7px 0 0;
    color: #173f35;
    font-size: 30px;
}

.objectives-header h3 strong {
    color: #b08a45;
}

.objectives-count {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b08a45;
}

.objectives-count strong {
    font-size: 42px;
    line-height: 1;
}

.objectives-count span {
    color: #7a8580;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
}


/* ==========================================
   OBJECTIVES GRID
========================================== */

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* ==========================================
   OBJECTIVE CARD
========================================== */

.objective-card {
    position: relative;
    min-height: 240px;
    padding: 28px 25px;
    background: #f8faf8;
    border: 1px solid rgba(176,138,69,0.14);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.35s ease;
}

.objective-card:hover {
    transform: translateY(-7px);
    background: #ffffff;
    border-color: rgba(176,138,69,0.35);
    box-shadow: 0 18px 40px rgba(23,63,53,0.09);
}

.objective-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -55px;
    bottom: -55px;
    border: 1px solid rgba(176,138,69,0.12);
    border-radius: 50%;
}


/* Top */

.objective-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.objective-top > span {
    color: #b08a45;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.objective-top > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f1eadf;
    border-radius: 50%;
    color: #b08a45;
    font-size: 18px;
}


/* Content */

.objective-card h3 {
    margin: 0 0 12px;
    color: #173f35;
    font-size: 18px;
    line-height: 1.4;
}

.objective-card p {
    margin: 0;
    color: #68756f;
    font-size: 13px;
    line-height: 1.8;
}


/* ==========================================
   FEATURED OBJECTIVE
========================================== */

.objective-featured {
    background: linear-gradient(
        145deg,
        #173f35,
        #24594c
    );
    border-color: transparent;
}

.objective-featured h3 {
    color: #ffffff;
}

.objective-featured p {
    color: rgba(255,255,255,0.75);
}

.objective-featured .objective-top > span {
    color: #e0c17f;
}

.objective-featured .objective-top > div {
    background: rgba(255,255,255,0.09);
    color: #e0c17f;
}

.featured-label {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 10px;
    background: rgba(224,193,127,0.12);
    border-radius: 20px;
    color: #e0c17f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* ==========================================
   FOOTER
========================================== */

.aims-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 55px;
    padding: 30px 35px;
    background: #f1eadf;
    border-left: 4px solid #b08a45;
    border-radius: 12px;
}

.footer-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #173f35;
    color: #e0c17f;
    font-size: 18px;
}

.aims-footer span {
    color: #a17b3e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.aims-footer h3 {
    margin: 6px 0 0;
    color: #173f35;
    font-size: 22px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aim-main {
        grid-template-columns: 130px 1fr 65px;
        gap: 25px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .basma-aims {
        padding: 70px 18px;
    }

    .aims-heading {
        margin-bottom: 45px;
    }

    .aims-heading h2 {
        font-size: 34px;
    }

    .aims-heading p {
        font-size: 14px;
    }

    .aim-main {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 25px;
        text-align: left;
    }

    .aim-number {
        padding: 0 0 15px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .aim-content h3 {
        font-size: 23px;
    }

    .aim-content p {
        font-size: 13px;
    }

    .aim-icon {
        width: 55px;
        height: 55px;
    }

    .objectives-header {
        align-items: flex-start;
        margin-top: 50px;
    }

    .objectives-header h3 {
        font-size: 25px;
    }

    .objectives-count {
        display: none;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .objective-card {
        min-height: auto;
    }

    .aims-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }

    .aims-footer h3 {
        font-size: 19px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    .aims-heading h2 {
        font-size: 30px;
    }

    .objective-card {
        padding: 24px 20px;
    }

    .objective-card h3 {
        font-size: 17px;
    }

    .objective-card p {
        font-size: 12.5px;
    }

}