/* Import Google Font Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0f3266;
    --accent-orange: #f2521d;
    --accent-pink: #d63384;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --transition-speed: 0.3s;
}

nav {
    background-color: #053f85 !important;
}

.about-section {
    height: auto;
}

.lead {
    padding-bottom: 5%;
}

.about-main-title {
    font-size: 2rem;
    font-weight: bold;
}

.about-img {
    object-fit: contain;
    width: 100%;
    padding: 5%;
}

.about-img-container {
    gap: 1rem;
}

.about-title-container {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-img-box {
    height: 100%;
    position: relative;
    justify-content: flex-end;
    display: flex;
}

.about-img-short {
    aspect-ratio: 1 / 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.about-container {
    background: #f4f3f3;
    padding: 0 2%;
}

.about-p {
    background-color: white;
    padding: 0 2%;
}

.img-text-container {
    padding-right: 5%;
}

.double-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
    gap: 2%;
}

.btn-blue {
    background: #0d157e !important;
}

/* ============================================================
   RESPONSIVE VIEWPORTS — Bootstrap 5 Breakpoints
   ============================================================
   Desktop  : 1600x992px   — reference scale(0.3181)
   Laptop   : 1280x802px   — reference scale(0.277)
   Tablet   : 768x1024px   — reference scale(0.219)
   Mobile   : 320x480px    — reference scale(0.219)
   ============================================================ */

/* ── Desktop — ≥1400px (Bootstrap 5: xxl) ── */
@media (min-width: 1400px) {

    /* Desktop: 1600x992px — scale(0.3181) */
    .about-section {}

    .about-title {
        font-size: 2.3rem;
    }

    .about-title-container {
        height: 65vh;
    }

    .about-img {
        padding: 5%;
    }

    .double-button-wrapper {
        gap: 3%;
        margin-top: 4%;
    }
}

/* ── Laptop — 1280px to 1399px (Bootstrap 5: xl) ── */
@media (min-width: 1280px) and (max-width: 1399.98px) {

    /* Laptop: 1280x802px — scale(0.277) */
    .about-section {
        padding: 5% 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-title-container {
        height: 60vh;
    }

    .about-img {
        padding-top: 50%;
    }

    .double-button-wrapper {
        gap: 2%;
        margin-top: 5%;
    }
}

/* ── Laptop fallback — 992px to 1279px (Bootstrap 5: lg) ── */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .about-section {
        padding: 6% 0;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-title-container {
        height: 55vh;
    }

    .about-img {
        padding-top: 55%;
    }

    .img-text-container {
        padding-right: 3%;
    }

    .double-button-wrapper {
        gap: 2%;
        margin-top: 5%;
    }
}

/* ── Tablet — 768px to 991px (Bootstrap 5: md) ── */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* Tablet: 768x1024px — scale(0.219) */
    .about-section {
        padding: 7% 0;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .about-title-container {
        height: auto;
        padding-bottom: 5%;
    }

    .about-img {
        padding-top: 20%;
        aspect-ratio: 4 / 3;
    }

    .about-img-short {
        aspect-ratio: 4 / 3;
    }

    .img-text-container {
        padding-right: 2%;
    }

    .about-text {
        padding: 4% 0;
    }

    .double-button-wrapper {
        flex-direction: row;
        gap: 3%;
        margin-top: 6%;
    }
}

/* ── Mobile — <576px (Bootstrap 5: xs) ── */
@media (max-width: 575.98px) {

    /* Mobile: 320x480px — scale(0.219) */
    .about-section {
        padding: 10% 0;
    }

    .about-title {
        font-size: 1.4rem;
    }

    .about-title-container {
        height: auto;
        padding-bottom: 8%;
    }

    .about-img {
        padding-top: 10%;
        aspect-ratio: 1 / 1;
    }

    .about-img-container {
        gap: 0.5rem;
    }

    .about-img-short {
        aspect-ratio: 1 / 1;
    }

    .about-img-box {
        justify-content: center;
    }

    .img-text-container {
        padding-right: 0;
    }

    .about-text {
        padding: 5% 0;
    }

    .double-button-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 5%;
        margin-top: 8%;
    }

    .double-button-wrapper .btn {
        width: 100%;
        text-align: center;
    }

    .about-text-bottom {
        top: 0;
        margin-top: 8%;
    }
}