/* ================= GLOBAL ================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= HERO ================= */

.about-hero {
    padding: 60px 0;
    background: #f5f6f8;
}

.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT */

.hero-left {
    flex: 1;
}

.tag {
    background: #1e4d8f;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
}

.hero-left h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: #1e4d8f;
}

.hero-left h1 span {
    color: #2f8cff;
}

/* STATS */

.hero-stats {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap; /* wrap on smaller screens */
    justify-content: flex-start;
}

.box {
    padding: 14px 16px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    min-width: 110px;
    flex: 1 1 110px; /* flexible boxes */
}

.box span {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.blue { background: #1e4d8f; }
.green { background: #2e7d32; }
.light { background: #2f8cff; }

.desc {
    font-size: 19px;
    color: #333;
    line-height: 1.6;
}

.highlights {
    color: #1e4d8f !important;
    font-weight: 600;
}

/* RIGHT */

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
}

/* IMAGE SHAPE */

.image-shape {
    width: 100%;
    max-width: 550px;   /* control size */
    aspect-ratio: 1/1;  /* keeps proper shape */
    overflow: hidden;
}

.image-shape img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* IMPORTANT → no cutting */
    display: block;
}

/* YELLOW BORDER */

.image-shape::before {
    content: "";
    position: absolute;
    inset: -8px;
    background: #ffcc00;
    z-index: -1;
    clip-path: path("M60,0 H85% Q100%,0 100%,60 V70% Q100%,90% 85%,90% H40% Q0,90% 0,70% V60 Q0,0 60,0 Z");
}

/* BADGE */

/* .badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: #ffcc00;
    padding: 18px 20px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
} */

/* FLOATING BOX */

/* .floating {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: #2f8cff;
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: bold;
} */

/* BADGE */
.badge {
    position: absolute;
    top: 10px;
    right: -30px;

    background: #ffcc00;

    padding: 30px 35px;   /* 🔥 increased height + width */
    min-width: 120px;     /* 🔥 control width */

    border-radius: 14px;

    font-weight: bold;
    font-size: 20px;      /* 🔥 bigger text */
    text-align: center;
}

/* FLOATING BOX */
.floating {
    position: absolute;
    bottom: 30px;
    left: -40px;

    background: #2f8cff;
    color: #fff;

    padding: 22px 28px;   /* 🔥 increased size */
    min-width: 150px;     /* 🔥 width control */

    border-radius: 12px;

    font-weight: bold;
    font-size: 18px;      /* 🔥 bigger text */
}

/* ================= SPECIAL SECTION ================= */

.special-section {
    background: #0f2a44;
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.small-title {
    color: #ffcc00 !important;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.mains-title {
    font-size: 42px;
    font-weight: 800;
     color: #ffffff !important;
    margin: 12px 0;
}

.sub-title {
    color: #ffc107;
    font-size: 18px;
    margin: 0 auto 50px;
    text-align: center;
    max-width: 600px;
}

.special-img {
    width: 90%;
    max-width: 1000px;
    height: auto;
}

/* ================= MISSION SECTION ================= */

.mission-section {
    padding: 0; /* remove extra padding so images stretch fully */
    background: transparent; /* remove background */
    max-width: 100vw; /* full viewport width */
    overflow-x: hidden; /* avoid horizontal scroll */
}

.mission-section .container {
    max-width: 1200px; /* max width of content container */
    margin: 0 auto;
    padding: 0 10px; /* small horizontal padding */
    width: 100%;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* smaller gap for tighter layout */
}

.card {
    border-radius: 0; /* remove white background effect */
    overflow: hidden;
    background: none; /* no background */
    box-shadow: none; /* remove shadow */
    padding: 0; /* no padding */
}

.image-card img {
    width: 100%;
    height: auto;  /* automatic height to maintain ratio */
    object-fit: cover;
    border-radius: 0; /* no rounding */
    display: block;
    aspect-ratio: 4 / 3; /* control height by width (adjust ratio as needed) */
}
/* If you use mission-card or vision-card with backgrounds */

.mission-card,
.vision-card {
    min-height: 350px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.mission-card h2,
.vision-card h2 {
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: bold;
}

.mission-card p,
.vision-card p {
    font-size: 1rem;
    line-height: 1.4;
    overflow-wrap: break-word;
}



/* image section */
.image-section {
    padding: 40px;
    background: #f5f5f5;
}

/* GRID LAYOUT */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* IMAGE STYLE */
.img-box {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* ================= CORE ================= */

/* SECTION */
/* SECTION */
.core-section {
    background: #dbeaf6;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.core-section::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 300px;
    background: url("/about-img/b.png") no-repeat center;
    background-size: contain;
    opacity: 0.2;
}

/* TITLES */
.top-title {
    font-size: 19px;
    font-weight: 600;
    color: #333 !important;
    text-align: center;
    margin: 0 auto 10px;
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1b3b5a !important;
    margin-bottom: 40px;
}

/* GRID */
.core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

/* CARD */
.core-card {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ================= JOURNEY ================= */

.journeyy-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px 20px;
    overflow: hidden;
    background: #f5f6f8;
}

.journeyy-bg {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(220,235,255,0.5), rgba(220,235,255,0.5)), /* 🔥 lighter overlay */
        url('/about-img/map.png') no-repeat center;

    background-size: cover;

    z-index: 0;
}



.journeyy-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-img {
    width: 100%;
    max-width: 900px;
    height: auto;
}

/* ================= TEAM ================= */

/* SECTION */
.team-section {
    background: #0a1b30;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

/* IMPORTANT FIX */
.team-section .container {
    display: flex;
    flex-direction: column;   /* 🔥 THIS FIXES YOUR ISSUE */
    align-items: center;
    justify-content: center;
}

/* TEXT */
.team-small {
    font-size: 19px;
    margin-bottom: 2px;   /* ↓ reduced */
}

.team-title {
    font-size: 38px;
    color: #ffc107;
    font-weight: 700;
    margin: 5px 0;   /* ↓ reduced */
}

.team-sub {
    max-width: 700px;
    margin: 5px auto 25px;  /* ↓ reduced top & bottom */
    font-size: 16px;
    line-height: 1.4;  /* ↓ tighter text */
}
/* IMAGE CENTER */
.team-image-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* IMAGE SIZE */
.team-image {
    width: 100%;
    max-width: 650px;   /* adjust if needed */
    border-radius: 15px;
}



.team-cards-section {
    background: #143a63;   /* dark blue */
    padding: 40px 20px;
}

/* remove bootstrap extra width issue */
.team-cards-section .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* center image */
.team-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* control image size */
.team-cards-img {
    width: 100%;
    max-width: 1100px;   /* adjust if too big */
    height: auto;
    display: block;
}
/* ================= RESPONSIVE ================= */

/* ================= HERO RESPONSIVE ================= */
@media (max-width: 1200px) {
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .hero-wrap {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .core-grid img {
        width: 200px;
    }

    .mission-grid {
        gap: 20px;
    }

    .mission-card,
    .vision-card,
    .image-card {
        min-height: 280px;
    }

    .team-image-wrapper {
        max-width: 90%;
    }
}



@media (max-width: 600px) {
    .mission-section {
        padding: 40px 15px;
    }

    .mission-grid {
        gap: 15px;
    }

    .mission-card,
    .vision-card,
    .image-card {
        min-height: 180px;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .box {
        min-width: 90px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-left h1 {
        font-size: 28px;
    }
}

@media (max-width: 400px) {
    .mission-grid {
        gap: 10px;
    }

    .mission-card,
    .vision-card,
    .image-card {
        min-height: 140px;
    }


    /* TABLET */
@media (max-width: 900px) {
    .grid-container {
        gap: 20px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}


/* TABLET */
/* LAPTOP */
@media (max-width: 1200px) {
    .core-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TABLET */
@media (max-width: 992px) {
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-title {
        font-size: 30px;
    }

    .core-section::after {
        width: 220px;
        height: 220px;
        opacity: 0.15;
    }
}

/* MOBILE LARGE */
@media (max-width: 768px) {
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-title {
        font-size: 26px;
    }

    .top-title {
        font-size: 16px;
    }

    .core-section {
        padding: 40px 15px;
    }

    .core-section::after {
        width: 180px;
        height: 180px;
        opacity: 0.1;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .core-grid {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 22px;
    }

    .core-section::after {
        display: none; /* hide for clean mobile */
    }
}

/* SMALL MOBILE */
@media (max-width: 400px) {
    .main-title {
        font-size: 20px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .team-box {
        flex-direction: column;
    }

    .team-image img {
        width: 200px;
    }

    .team-content {
        text-align: center;
    }
}

/* TABLET */
@media (max-width: 992px) {
    .team-cards-section {
        padding: 30px 15px;
    }

    .team-cards-img {
        max-width: 900px;   /* slightly smaller */
    }
}

/* SMALL TABLET */
@media (max-width: 768px) {
    .team-cards-section {
        padding: 25px 10px;
    }

    .team-cards-img {
        max-width: 100%;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .team-cards-section {
        padding: 20px 10px;
    }

    .team-cards-img {
        width: 100%;
        max-width: 100%;
    }
}
}