/*  ########################################   css for desktop  >  1400 ################################  */

/* Main Section */
.mainSection {
    text-align: unset;
    padding-top: 20px;
}

.carousel-inner img {
    height: 1000px;
    width: 100%;
    object-fit: cover;
    /* border-radius: 10px;
    transition: transform 0.5s ease-out; */
}

.carousel-caption {
    position: absolute;
    padding: 20px;
    border-radius: 5px;
    left: 150px;
    top: 40%;
    text-align: unset;
    /* transform: translateX(0);
    transition: transform 0.5s ease-out; */
}
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* semi-transparent black */
    z-index: 1;
}
.carousel-caption {
    position: absolute;
    top: 40%;
    left: 10%;
    right: 10%;
    height: 200px;
    z-index: 2;
    text-align: left;
    background: rgba(0, 0, 0, 0.3); /* caption background */
    padding: 20px;
    border-radius: 6px;
}

.carousel-caption h5 {
    font-size: 7.5rem;
    color: #f7f3f3;
}

.carousel-caption p {
    font-weight: 800;
    font-size: 16px;
    color: #f7f3f3;
}

.headline-caption {
    position: absolute;
    padding: 20px;
    border-radius: 5px;
    left: 265px;
    top: 52%;
    text-align: unset;
}

.headline-caption h5 {
    color: white;
    font-size: 3.25rem;
}

/*  ######################## full body ######################## */

/* Who We Are — premium background + glass card */
.whoWeAre {
    background-color: #f4f7fb;
    padding: 20px;
}

.whoWeAre .whoWeAre-container {
    margin: 20px 170px;
}

/* Headline treatment */
.whoWeAre h2 {
    color: var(--ink);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: clamp(26px, 3vw, 40px);
    margin: 0 0 10px 0;
    position: relative;
}
.whoWeAre h2::after {
    content: "";
    display: block;
    width: 84px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Top kicker line (the bold line under H2) */
.whoWeAre .whoWeAre-container > p:first-of-type {
    margin-top: 16px;
    color: var(--accent);
    text-transform: uppercase;
    font-size: clamp(14px, 1.7vw, 18px);
    letter-spacing: 0.4px;
}

/* Body copy */
.whoWeAre .whoWeAre-container p {
    color: #23384a;
    font-size: clamp(15px, 1.9vw, 18px);
    line-height: 1.8;
    margin: 12px 0;
}
.whoWeAre .whoWeAre-container p strong {
    color: var(--ink);
    font-weight: 800;
}

/* CTA button polish (reuses your .button) */
.whoWeAre .button,
.whoWeAre a.button:any-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 67, 112, 0.25);
}
.whoWeAre .button:hover {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 67, 112, 0.28);
}
.whoWeAre .button::after {
    content: "↗";
    font-size: 1.05em;
}

/* ###################### start details section  ################ */

.detailsCard {
    background-color: #f4f7fb;
    padding: 20px;
}

.detailsSection {
    margin: 20px 170px;
    border-radius: 5px;
    background-color: #f4f7fb;
}

.detailsBody {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.detailsContainer {
    display: flex;
    flex-direction: column;
    flex-basis: 30%;
    top: 0;
    height: fit-content;
}

.detailsContainer p {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}

.detailsHeading {
    padding-right: 24px;
}

.detailsHeading p {
    font-size: 40px;
    text-transform: uppercase;
    line-height: 112%;
    color: #012740;
}

.detailsContainer a.button:any-link,
button {
    font-family: "Open Sans", roboto, roboto-fallback;
    letter-spacing: 0.25px;
    text-align: center;
    display: inline-block;
    border: 1px solid #fff;
    padding: 16px 32px;
    color: #fff;
    background-color: #004370;
    margin: 16px 0;
    border-radius: 6rem;
}

.focus {
    line-height: 125%;
    margin-top: 160px;
    margin-bottom: 16px;
}

.seemore {
    display: flex;
    background-color: unset;
}

.seemore p {
    font-size: 14px;
}

.seemore a.button:any-link,
button {
    font-family: "Open Sans", roboto, roboto-fallback;
    letter-spacing: 0.25px;
    text-align: center;
    display: inline-block;
    border: 2px solid #004370;
    padding: 10px 20px;
    color: #004370;
    background-color: unset;
    margin: 0 0.7rem 0.7rem 0;
    border-radius: 6rem;
}

.data-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: unset;
    gap: 1.5rem;
    flex-basis: 60%;
}

/* .data-items .data-card {
    box-sizing: border-box;
    border-radius: 8px;
    min-height: 350px;
    padding: 1.7rem;
    background-color: #236772bf;
    min-width: 276px;
    border: 1px solid #d9d9d9;
} */

.data-items .data-card {
    box-sizing: border-box;
    border-radius: 8px;
    min-height: 350px;
    padding: 1.7rem;
    background-color: #fff;
    min-width: 276px;
    border: 1px solid #d9d9d9;
}

.data-card .title {
    color: rgb(12, 12, 12);
    padding: 5px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 200%;
    letter-spacing: 0.05em;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.data-card .description {
    padding: 30px;
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    color: #000d1af5;
}

.des2 {
    font-size: 16px;
    font-weight: 400;
}

/* ################################ end details section css ########################## 



/*   ####################### hazard map  ############################  */

.partHazard {
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.detailsHazard {
    padding: 20px;
}

.hazardSection {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    margin: 20px 170px;
    border-radius: 5px;
}

/* Left: Image Section */
.hazardImage {
    text-align: center;
    flex: 1 1 50%;
    height: 80%;
}

.hazardImage img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Right: Details Section */
.hazardDetails {
    flex: 1 1 50%;
    padding: 30px;
    text-align: left;
}

.hazardDetails h2 {
    font-size: 63px;
    color: #132032;
    margin-bottom: 20px;
}

.hazardDetails p {
    font-size: 18px;
    color: #152b6c;
    font-style: italic;
}

/*   --------------  video section -------------  */

.videoSection {
    margin: 20px 170px;
    border-radius: 5px;
}

.video-content-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.video-container {
    flex: 0 0 45%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-text-content {
    flex: 0 0 50%;
    max-width: 510px;
    padding: 20px;
}

.video-text-content h2 {
    font-size: 40px;
    font-weight: bold;
    color: #333;
}

.video-text-content p {
    font-size: 18px;
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.video-text-content .read-more {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.video-text-content .read-more:hover {
    background-color: #0056b3;
}

/*  ---------- Work Section ------------ */
.partWork {
    background-color: #012740;
}
.detailsWork {
    background-color: #012740;
    margin: 0px 170px;
}

.workSection {
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.workContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    overflow: hidden;
}

.workImage {
    flex: 1 1 50%;
    height: 100%;
}

.workImage img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

.workDetails {
    flex: 1 1 50%;
    padding: 30px;
    text-align: left;
}

.workDetails h2 {
    font-size: 38px;
    color: #f7f3f3;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.workDetails p {
    font-size: 2rem;
    color: #ffecec;
    line-height: 1.8;
    margin-bottom: 15px;
}

/*  ------------------   Mission Section  ------------- */
/* Mission Section */
.missionSection {
    padding: 3rem 0rem;
    text-align: center;
    color: var(--text-primary);
    font-size: 1.6rem;
    margin: 20px 170px;
    border-radius: 5px;
}

.missionSection h1 {
    font-size: 50px;
    margin: 30px;
}

.missionSection .cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    margin: 0 auto;
    padding: 40px 0;
}

/* Each individual card */
.missionSection .card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 550px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Card Image Styling */
.missionSection .card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #ddd;
}

.missionSection .card-title {
    font-size: 18px;
    margin-top: 30px;
}

/* Card Content Styling */
.missionSection .card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Card Title */
.missionSection .card-content h6 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.missionSection .titleMenu {
    display: flex;
}

/* Card Text */
.missionSection .card-content .card-text {
    margin-top: 10px;
    font-size: 12px;
    line-height: 25px;
    color: black;
    font-style: normal;
    font-weight: 600;
    text-align: left;
    flex-grow: 1;
}

.missionSection .release-time {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    color: #333;
}

.missionSection .release-time .release {
    font-weight: bold;
    margin-right: 5px;
}

.missionSection .release-time .release-time-text {
    font-size: 1.2rem;
    font-weight: normal;
    color: #007bff;
    /* You can change the color */
}

.missionSection .date {
    font-size: 1.3rem;
    color: #444;
    font-weight: bold;
    margin-top: 10px;
}

.missionSection .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.missionSection .read-more {
    font-size: 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    text-align: left;
}

.missionSection .read-more:hover {
    background-color: var(--primary-dark);
}

/*   --------------   Implementation Section  -------------- */
.imprement {
    padding: 50px 0;
    background-color: #b0adb169;
    text-align: center;
}

.imprement .join-company {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.imprement .join-company img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 10px 0;
}

.imprement hr {
    margin-top: 40px;
}

/*  ---------------- publication sectino -----------  */

.publicationSection {
    padding: 3rem 1.5rem;
}

.publicationCard {
    margin: 20px 175px;
}

.publicHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0rem 0rem 3rem;
}

.publicHead p {
    font-size: 40px;
    color: #012740;
    margin-bottom: 20px;
    line-height: 120%;
}

.pubContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 156px;
}

.publicHead a.button {
    font-size: 0.875rem;
    padding: 15px 32px;
}

.publicHead a.button:any-link,
button {
    font-size: 18px;
    padding: 15px 32px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.25px;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
    border: 1px solid #fff;
    font-style: normal;
    cursor: pointer;
    color: #fff;
    background-color: #004370;
    margin: 16px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 3rem;
}

.publicHead a:hover {
    background-color: #215375;
}

.pubCard {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.pubImage {
    align-self: start;
}

.pubImage img {
    object-fit: contain;
    width: 220px;
    height: 285px;
}

.pubContent {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    color: black;
}

.pubContent .title {
    line-height: 25px;
    font-size: 30px;
    line-height: 22px;
    color: #004370;
    font-weight: 700;
}

.pubContent .desc {
    font-size: 18px;
    line-height: 20px;
    padding: 1.5rem 0 1.5rem;
    border-top: 2px solid #00396b14;
    margin-top: 3rem;
}

.pubContent .card-btn {
    font-size: 16px;
    line-height: 22px;
}

.pubContent .card-btn div {
    font-size: 16px;
    line-height: 22px;
    color: #004370;
    font-weight: 700;
    width: max-content;
    border-bottom: 2px solid #0049724d;
    padding: 17px 0rem 0.5rem;
}

/*  ---#################  css for laptop  1400  -#########################-  */

@media (max-width: 1750px) {
    .whoWeAre .whoWeAre-container {
        margin: 20px;
    }

    .whoWeAre-container {
        padding: 0 0;
        margin: 0 0;
    }

    .missionSection {
        padding: 25px;
        margin: 50px;
    }
}

@media (max-width: 1600px) {
    .missionSection {
        padding: 25px;
        margin: 50px;
    }

    .missionSection .card {
        width: 275px;
        height: 500px;
    }
}

@media (max-width: 1440px) {
    .pubContent .card-btn div {
        font-size: 14px;
    }
    .workDetails h2 {
        font-size: 30px;
    }
    .carousel-inner img {
        height: 550px;
        width: 100%;
        object-fit: cover;
    }

    .detailsHeading p {
        font-size: 36px;
    }
    .publicationCard {
        margin: 14px 60px;
    }
}

/*  ---#################  css for laptop  1350  -#########################-  */

@media (max-width: 1350px) {
    body {
        font-size: 22px;
    }

    .mainSection {
        margin: 0 0;
        border-radius: 5px;
        text-align: unset;
    }

    .detailsSection {
        padding: 0 0;
        margin: 0 0;
    }

    .focus {
        margin-top: 90px;
    }

    .detailsSection .data-items {
        margin-top: 37px;
    }
    .detailsSection .data-items .data-card {
        box-sizing: border-box;
        border-radius: 8px;
        min-height: 310px;
        padding: 1rem;
        min-width: 240px;
        border: 1px solid #d9d9d9;
    }

    .detailsSection .data-card .description {
        padding: 24px;
        font-size: 30px;
        font-weight: 700;
        color: #000d1af5;
    }

    .detailsSection .des2 {
        font-weight: 100;
        font-size: 16px;
    }

    .seemore a.button:any-link,
    button {
        font-family: "Open Sans", roboto, roboto-fallback;
        letter-spacing: 0.25px;
        text-align: center;
        display: inline-block;
        border: 2px solid #004370;
        padding: 10px 20px;
    }

    .seemore p {
        font-size: 12px;
    }

    .missionSection {
        padding: 20px;
        margin: 30px;
    }

    .missionSection .card {
        width: 250px;
        height: 452px;
    }

    .detailsWork {
        background-color: #012740;
        margin: 0px 50px;
    }

    .publicationSection {
        padding: 0 0;
    }

    .publicationCard {
        margin: 20px 50px;
    }

    .pubContent .title {
        line-height: 25px;
        font-size: 14px;
    }
    .pubContent .desc {
        font-size: 13px;
    }
}

/*   #################### Media Queries for Responsiveness ########################## */
@media (max-width: 1200px) {
    .missionSection .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .missionSection .card {
        width: 300px;
        height: 500px;
    }
}

/* ########################## large device #####################  */

@media (max-width: 1100px) {
    .hazardSection {
        margin: 0 0;
    }
    .hazardDetails h2 {
        font-size: 40px;
    }

    .videoSection {
        margin: 0 0;
    }

    .video-text-content h2 {
        font-size: 36px;
    }

    .video-text-content p {
        font-size: 16px;
    }

    .missionSection .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .missionSection .card {
        width: 250px;
        height: 450px;
    }
}

/* ############################## medium devie ################# */
@media (max-width: 1024px) {
    .carousel-caption {
        left: 60px;
        top: 33%;
    }

    .carousel-caption h5 {
        font-size: 50px;
        color: #f7f3f3;
    }

    .detailsSection {
        margin: 20px 40px;
    }

    .headline-caption {
        left: 110px;
        top: 46%;
    }

    .hazardSection {
        margin: 0 0;
    }
    .videoSection {
        margin: 0 0;
    }

    .missionSection .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .missionSection .card {
        width: 285px;
        height: 500px;
    }

    .publicationSection {
        margin: 2px 30px;
    }

    .publicationCard {
        margin: 0 0;
    }

    .pubContent .title {
        font-size: 20px;
    }
}

/* ############################## medium devie ################# */
@media (max-width: 991px) {
    .detailsBody {
        display: block;
    }

    .hazardDetails h2 {
        font-size: 50px;
    }

    .workDetails h2 {
        font-size: 27px;
    }

    .missionSection .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .missionSection .card {
        width: 271px;
        height: 500px;
    }

    .pubCard {
        gap: 0;
        margin-bottom: 20px;
    }
    .pubContainer {
        display: block;
    }
}

@media (max-width: 768px) {
    .carousel-inner img {
        height: 350px; /* smaller height on mobile */
    }
    .carousel-caption {
        top: 30%;
        left: 5%;
        right: 5%;
        padding: 10px;
    }
    .carousel-caption h5 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }

    .data-items {
        /* display: block; */
    }

    .detailsSection .data-items .data-card {
        min-height: 200px;
        min-width: 150px;
    }

    .detailsSection .data-card .description {
        padding: 8px;
        font-size: 17px;
    }

    .detailsSection .des2 {
        font-weight: 100;
        font-size: 10px;
    }

    .video-text-content h2 {
        font-size: 17px;
    }

    .video-text-content p {
        font-size: 8px;
    }

    .workDetails h2 {
        font-size: 16px;
    }
    .workDetails p {
        font-size: 8px;
    }

    .hazardDetails h2 {
        font-size: 16px;
    }
    .workImage img {
        width: 100%;
        height: 200px;
    }

    .detailsWork {
        margin: 11px 10px;
    }

    .hazardDetails p {
        font-size: 8px;
    }

    .missionSection h1 {
        font-size: 30px;
    }

    .missionSection .card-img img {
        height: 140px;
    }
    .publicHead a.button:any-link,
    button {
        font-size: 13px;
    }

    .publicHead p {
        font-size: 24px;
    }

    .missionSection .cards-container {
        display: block;
    }

    .missionSection .card {
        width: 271px;
        height: 373px;
        margin-bottom: 18px;
    }

    .imprement .join-company img {
        width: 55px;
        height: 100px;
    }
    .footer .col-md-4 {
        text-align: left;
    }
}
