/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif !important;
}

/* Container styles */
.container {
    width: 95vw;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        width: 85vw;
    }
}

@media (min-width: 1440px) {
    .container {
        width: 1240px;
    }
}

/* Header section styles */
.header {
    height: 100px;
    background-color: white;
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}

.logo {
    max-width: 212px;
}


/* Hero section styles */
.hero {
    background-image: url("https://slxcloud.app/MIT/2025/Course-2025-merai/images/Desktop.jpg");
    background-size: cover;
    background-position: center top;
    width: 100%;
    padding: 150px 0 170px;
    position: relative;
    display: block;
}

.hero-mobile-image {
    display: none;
    width: 100%;
}

.hero-arrow {
    position: absolute;
    max-width: 300px;
    bottom: -5%;
    left: 35%;
    z-index: 1;
}

.hero-content {
    width: 95vw;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-content {
        width: 85vw;
    }


}

@media (max-width: 768px) {


    .hero {
        background-image: url("https://slxcloud.app/MIT/2025/Course-2025-merai/images/Tablet.jpg");
        background-position: left 85% top 10%
    }
}

@media (min-width: 1440px) {
    .hero-content {
        width: 1240px;
    }
}

.hero-title {
    color: white;
    font-size: 45px;
    line-height: 110%;
    max-width: 530px;
    font-weight: 800;
    margin-bottom: 5px;
}

.hero-subtitle {
    line-height: 130%;
    color: white;
    font-size: 40px;
    font-weight: 400;

}

.date-container {
    display: flex;
    align-items: center;
    padding-top: 25px;
}

.calendar-icon {
    margin-right: 15px;
    width: auto;
    height: 36px;
}

.date-text {
    color: white;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 110%;
    font-weight: 700;
}

.date-container-wrapper {
    display: flex;
    gap: 45px;
}

/* Media query for smaller screens */
@media (max-width: 767px) {
    .hero-title {
        font-size: 42px;
    }

    .date-text {
        font-size: 16px;
    }
}

@media (max-width: 468px) {

    .hero,
    .header {
        display: none;
    }

    .date-container-wrapper {
        flex-direction: column;
        gap: 5px;
    }

    .date-container {
        padding-bottom: 0px;
        margin-top: 20px !important;
    }


    .hero-mobile-image {
        display: block;
        width: 100%;
    }
}


/* Brochure button styles */
.brochure-button {
    display: inline-block;
    background-color: #D6E040;
    color: black;
    width: 292px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 900;
    z-index: 99;
}

.brochure-button:hover {
    background-color: #c5ce37;
}

@media (max-width: 767px) {
    .brochure-button {
        width: 100%;
        max-width: 292px;
    }
}





/* Additional responsive improvements */
@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .date-text {
        font-size: 14px;
    }


}


/* Download section styles */
.download-section {
    background-color: #E4EAF5;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0,
            /* top left */
            calc(100% - 150px) 0,
            /* top right minus triangle width */
            100% 150px,
            /* triangle point */
            100% 100%,
            /* bottom right */
            0 100%
            /* bottom left */

        );
    background-image: url(https://slxcloud.app/MIT/2025/Course-2025-merai/images/Binary1.png);
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: bottom 10% left;
}



.download-columns {
    display: grid;
    gap: 50px;
    position: relative;
    grid-template-columns: 1fr 1fr;
    /* Ensure content stays above the corner piece */
    z-index: 1;
}


.download-column.left-column {
    /* background-image: url("https://slxcloud.app/MIT/2025/Course-2025-bicv/images/arrow%202.png"); */
    background-position: bottom 16% center;
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
}

.download-heading {
    font-size: 36px;
    line-height: 120%;
    font-weight: 800;
    color: #01318C;
    display: block;
}

.highlight {
    color: #021944;
}

/* Media query for smaller screens */
@media (max-width: 991px) {
    .download-columns {
        gap: 30px;
    }

    .download-heading {
        font-size: 30px;
    }

    .download-section::before {
        width: 100px;
        height: 80px;
    }
}

@media (max-width: 767px) {
    .download-columns {
        grid-template-columns: 1fr;
    }

    .download-column.left-column {
        background-image: none;

    }

    .download-heading {
        font-size: 26px;
        margin-bottom: 40px;
        display: block;
    }

    .download-section::before {
        width: 80px;
        height: 60px;
    }

    /* Ensure the download section left column is visible */
    .download-section .left-column {
        display: block;
    }
}

@media (max-width: 480px) {
    .download-section {
        padding: 80px 0;
    }

    .download-heading {
        font-size: 24px;
    }

    .download-section::before {
        width: 60px;
        height: 45px;
    }
}

/* Transform section styles */
.transform-section {
    background-color: white;
    padding: 100px 0;
}

.transform-columns {
    display: flex;
    gap: 60px;
}

.transform-column {
    flex: 1;
}

.transform-heading {
    font-size: 32px;
    line-height: 130%;
    font-weight: 800;
    color: #252525;
    margin-bottom: 30px;
    display: block;
}

.transform-text {
    font-size: 17px;
    line-height: 150%;
    font-weight: 500;
    /* medium weight */
    color: #262525;
    margin-bottom: 20px;
}

.transform-text:last-child {
    margin-bottom: 0;
}

/* Transform line styles */
.transform-line {
    height: 2px;
    background-color: #A90533;
    position: absolute;
    left: -100vw;
    /* Extend to the left edge of the screen */
    width: calc(100vw + 100%);
    /* This is the issue - needs to be more specific */
    max-width: calc(100vw + 530px);
    /* Limit the right side to approximately the text width */
}

/* Media query for smaller screens */
@media (max-width: 991px) {
    .transform-columns {
        gap: 40px;
    }

    .transform-heading {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .transform-columns {
        flex-direction: column;
        gap: 30px;
    }

    .transform-heading {
        font-size: 26px;
        margin-bottom: 30px;
        display: block;
    }

    .transform-section {
        padding: 70px 0;
    }

    .transform-text {
        font-size: 16px;
    }

    .transform-line {
        width: 100vw;
        max-width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Specifically ensure transform section left column is visible */
    .transform-section .left-column {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .transform-heading {
        font-size: 24px;
    }

    .transform-section {
        padding: 60px 0;
    }

    .transform-text {
        font-size: 15px;
    }
}

/* Expertise section styles */
.expertise-section {
    background-color: #ffffff;
    padding: 75px 0;
}

.expertise-heading {
    font-size: 28px;
    line-height: 140%;
    color: #252525;
    text-align: left;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 40px;
}


/* Media query for smaller screens */
@media (max-width: 991px) {
    .expertise-heading {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .expertise-heading {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .expertise-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .expertise-heading {
        font-size: 22px;
    }

    .expertise-section {
        padding: 50px 0;
    }
}

/* Expertise grid styles */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    background-color: #ffffff;
    position: relative;
}

/* Add vertical divider lines between columns */
.expertise-grid .expertise-item:not(:last-child) {
    position: relative;
}

.expertise-grid .expertise-item:nth-child(1):after,
.expertise-grid .expertise-item:nth-child(2):after {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    width: 2px;
    background-color: #01318C;
}

.expertise-item {
    display: flex;
    align-items: center;
    padding: 30px;
}

.expertise-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 25px;
}

.expertise-icon img {
    max-width: 100%;
    height: auto;
}

.expertise-content {
    flex-grow: 1;
}

.expertise-item-text {
    font-size: 16px;
    line-height: 140%;
    font-weight: 500;
    color: #252525;
}

/* Media query for smaller screens */
@media (max-width: 991px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    /* Remove vertical dividers on mobile */
    .expertise-grid .expertise-item:nth-child(1):after,
    .expertise-grid .expertise-item:nth-child(2):after {
        display: none;
    }

    /* Add horizontal dividers between items on mobile */
    .expertise-item:not(:last-child) {
        position: relative;
    }

    .expertise-item:not(:last-child):after {
        content: "";
        position: absolute;
        left: 15%;
        right: 15%;
        bottom: 0;
        height: 2px;
        background-color: #A90533;
    }

    .expertise-item {
        padding: 25px 20px;
    }

    .expertise-icon {
        width: 50px;
        height: 50px;
        margin-right: 20px;
    }

    .expertise-item-text {
        font-size: 15px;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 480px) {
    .expertise-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .expertise-item {
        padding: 20px 15px;
    }

    .expertise-item:not(:last-child):after {
        left: 10%;
        right: 10%;
    }
}



/* ##################################### */
/* Course Details Section Styles */



/* Course Details Section */
.course-details-section {
    background-color: white;
    padding: 0px 0 60px;
    overflow: hidden;
}

.course-details-columns {
    display: flex;
    align-items: center;
}

.course-title-column {
    width: 25%;
    padding-right: 30px;
}

.course-title {
    color: #252525;
    font-family: "Work Sans", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 120%;
}

.course-info-column-wrapper {
    width: 75%;
    position: relative;
}

.course-info-column {
    background: #021944;
    border-radius: 10px 0 0 10px;
    padding: 40px 0 40px 40px;
    display: flex;
    position: relative;
    color: white;
    align-items: center;
}

/* Extend the background to the edge of screen */
.course-info-column::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100vw;
    background: #021944;
}

.course-description {
    width: 50%;
    padding-right: 30px;
}

.course-description p {
    color: white;
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 20px;
}

.course-description p:last-child {
    margin-bottom: 0;
}

.course-specifics {
    width: 50%;
    padding-left: 30px;
}

.course-specifics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.course-specific-item {
    display: flex;
    flex-direction: column;
}

.specific-title {
    color: #FFF;
    font-family: "Work Sans", sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 200%;
    margin: 0;
}

.divider {
    height: 2px;
    background-color: #FFF;
    margin: 5px 0;
    width: 100%;
}

.specific-value {
    color: #FFF;
    font-family: "Work Sans", sans-serif;
    font-size: 23px;
    font-weight: 700;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .course-info-column {
        flex-direction: column;
    }

    .course-description,
    .course-specifics {
        width: 100%;
        padding: 0;
    }

    .course-description {
        margin-bottom: 30px;
    }

}

@media (min-width: 768px) {
    .course-specifics-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .course-details-columns {
        flex-direction: column;
    }

    .course-title-column {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .course-info-column-wrapper {
        width: 100%;
    }

    .course-specifics-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }

}


/* Benefits Grid section styles */
.benefits-grid-section {
    background-color: white;
    padding: 0 0 70px;
}

.expertise-heading {
    font-size: 28px;
    font-weight: 800;
    /* extra bold */
    color: #252525;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    position: relative;
    background-color: white;
}

/* Vertical line between columns */
.benefits-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #01318C;
    transform: translateX(-50%);
}

/* Horizontal lines for rows */
.benefit-item {
    display: flex;

    align-items: center;
    padding: 30px;
    position: relative;
}

/* Add horizontal lines between rows */
.benefit-item:nth-child(1)::after,
.benefit-item:nth-child(2)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: #01318C;
}

/* Remove horizontal line for the last item in each row when it's a 2-column layout */
.benefit-item:nth-child(7)::after {
    display: none;
}

.benefit-icon {
    flex-shrink: 0;
    width: auto;
    height: 24px;
    margin-right: 15px;
}

.benefit-icon img {
    max-width: 100%;
    height: 24px;
    width: auto;
}

.benefit-content {
    flex-grow: 1;
}

.benefit-text {
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
    /* medium */
    color: #252525;
}

.date-container {
    text-align: center;
}



/* Media query for tablets */
@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Media query for mobile screens */
@media (max-width: 767px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Remove vertical divider on mobile */
    .benefits-grid::before {
        display: none;
    }

    /* Reset horizontal lines styling for mobile */
    .benefit-item::after {
        left: 15px !important;
        right: 15px !important;
    }

    /* Ensure last item doesn't have a border */
    .benefit-item:last-child::after {
        display: none;
    }

    .benefit-item {
        padding: 25px 20px;
    }

    .benefit-icon {
        width: 20px;
        height: 20px;
        margin-right: 15px;
    }

    .benefit-text {
        font-size: 15px;
    }

    .expertise-heading {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .benefits-grid-section {
        padding: 70px 0;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 480px) {
    .benefit-item {
        padding: 20px 15px;
    }

    .expertise-heading {
        font-size: 26px;
    }

    .benefits-grid-section {
        padding: 50px 0;
    }
}



/* Instructor Section styles */
.instructor-section {
    background-color: white;
    padding: 75px 0 0;
    overflow-x: hidden;
    position: relative;
}

.section-heading {
    font-size: 36px;
    font-weight: 800;
    color: #252525;
    margin-bottom: 50px;
}

.instructor-container {
    width: 75%;
    background-color: #01318C;
    padding: 50px 20px 50px;
    position: relative;
    left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background-image: url("https://slxcloud.app/MIT/2025/Course-2025-merai/images/LeadFacultyBox.png");
    background-size: cover;
    background-position: left 10% center;


}

.content-wrapper {
    /* padding-left: calc(5vw + 20px); */
    padding-right: 0px;
    padding-left: 2.5vw;
}

.instructor-arrow {
    height: 50px;
    position: absolute;
    top: 30px;
}

.instructor-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* This should be uncommented */

    padding: 0;
    /* Add padding to ensure content doesn't overlap with the background */
    min-height: 300px;
    /* Set a minimum height to ensure the background is visible */
}

.instructor-info {
    width: 56.666%;
    /* 2/3 of the container width */
    padding-right: 40px;
}

.instructor-name {
    color: white;
    font-size: 24px;
    font-weight: 700;
    /* bold */
    margin-bottom: 15px;
}

.instructor-bio {
    color: white;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    /* regular */
}

.instructor-bio a {
    color: white;
    font-size: 16px;
    text-decoration: underline;
}

.instructor-image-container {
    width: 43.333%;
    position: static;

}

.instructor-image {
    max-width: 430px;
    width: 100%;
    position: absolute;
    bottom: -80px;
}

/* Media queries for different screen sizes */
@media (min-width: 768px) {
    .content-wrapper {
        padding-left: 0;
        /* Tablet and small desktop padding */
    }

    .instructor-container {
        padding-left: 0;
    }

    .instructor-details {
        margin-left: 7.5vw;
    }

}

@media (min-width: 1440px) {
    .content-wrapper {
        padding-left: calc((100vw - 1240px) / 2);
        /* Desktop larger than 1440px */
    }

    .instructor-details {
        margin-left: 0;
    }


}

@media (max-width: 1480px) {
    .instructor-container {
        width: 90%;
        padding-bottom: 60px;
    }

    .instructor-container-right {
        width: 90% !important;
    }

    .instructor-image {
        max-width: 430px;
        width: 100%;
        position: absolute;
        bottom: -90px;
    }

    .instructor-container-right {
        margin-top: -36px !important;
    }
}

@media (max-width: 1200px) {
    .instructor-image {
        max-width: 350px;

    }
}
/* Mobile adjustments */
@media (max-width: 991px) {

    .instructor-container {
        width: 80%;
        padding-bottom: 0;
        padding-top: 60px;
    }

    .instructor-details {
        flex-direction: column;
    }

    .instructor-container-right {
        width: 80% !important;
    }

    .instructor-info {
        width: 100%;
        padding-right: 0;
        margin-bottom: 320px;
        /* Make space for the image below */
    }

    .instructor-image-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .instructor-image {
        max-width: 300px;
        margin-top: -280px;
        position: absolute;
        bottom: -20px;
    }
}

@media (max-width: 767px) {

    .instructor-container {
        width: 890%;
    }

    .section-heading {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .instructor-section {
        padding: 70px 0;
    }

    .instructor-container {
        width: 100%;
        /* Full width on mobile */
        padding: 40px 0 0;
    }

    .instructor-name {
        font-size: 22px;
    }

    .instructor-bio {
        font-size: 15px;
        padding-bottom: 100px;
    }

    .instructor-info {
        margin-bottom: 220px;
        max-width: 80vw;
    }

    /* .instructor-image {
        max-width: 300px;
        margin-top: -250px;
    } */
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 26px;
    }

    .instructor-section {
        padding: 50px 0;
    }

    .instructor-container {
        padding: 30px 0 0;
    }

    .instructor-info {
        margin-bottom: 180px;
    }

    .instructor-image {
        max-width: 270px;
        margin-top: -210px;
    }
}


/* Right-Aligned Instructor Section styles */
.instructor-section-right {
    background-color: white;
    padding: 100px 0;
    overflow-x: hidden;
    position: relative;

}

.section-heading {
    font-size: 36px;
    font-weight: 800;
    color: #252525;
    margin-bottom: 50px;
}

.instructor-container-right {
    width: 75%;
    background-color: #7F0426;
    padding: 60px 0;
    position: relative;
    right: 0;
    margin-left: auto;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-top: -40px;
    overflow: hidden;


}

.content-wrapper-right {
    padding-right: 5vw;
    /* Default mobile padding on right */
    padding-left: 20px;
}

.instructor-details-right {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.instructor-info-right {
    width: 66.666%;
    /* 2/3 of the container width */
    padding-left: 40px;
}

.instructor-name-right {
    color: white;
    font-size: 24px;
    font-weight: 700;
    /* bold */
    margin-bottom: 15px;
}

.instructor-bio-right {
    color: white;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    /* regular */
}

.instructor-image-container-right {
    width: 33.333%;
    /* 1/3 of the container width */

}

.instructor-image-right {
    max-width: 300px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 60px;
}

/* Media queries for different screen sizes */
@media (min-width: 768px) {
    .content-wrapper-right {
        padding-right: 7.5vw;
        /* Tablet and small desktop padding */
    }
}

@media (min-width: 1440px) {
    .content-wrapper-right {
        padding-right: calc((100vw - 1240px) / 2);
        /* Desktop larger than 1440px */
    }
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .instructor-details-right {
        flex-direction: column;
    }

    .instructor-info-right {
        width: 100%;
        padding-left: 0;
        margin-bottom: 250px;
        /* Make space for the image below */
        order: 1;
    }




}

@media (max-width: 767px) {
    .section-heading {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .instructor-section-right {
        padding: 70px 0;
    }

    .instructor-container-right {
        width: 100%;
        /* Full width on mobile */
        padding: 40px 0 0;

    }

    .instructor-name-right {
        font-size: 22px;
    }

    .instructor-bio-right {
        font-size: 15px;
    }

    .instructor-info-right {
        margin-bottom: 220px;
    }

    .instructor-image-right {
        max-width: 300px;
        margin-top: -200px;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 26px;
    }

    .instructor-section-right {
        padding: 50px 0;
    }

    .instructor-container-right {
        padding: 30px 0;
        background-size: 60px;
    }

    .instructor-info-right {
        margin-bottom: 180px;
    }

    .instructor-image-right {
        max-width: 180px;
        margin-top: -210px;
    }
}

/* About MIT section styles - final version */
.about-mit-section {
    background-color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-image: url("https://slxcloud.app/MIT/2025/Course-2025-merai/images/Frame%20115.png?_t=1743629326");
    overflow: hidden;
    background-position: left -134% top -7%;
    background-size: 100%;
    background-repeat: no-repeat;
}

@media (min-width: 1520px) {
    .about-mit-section {
        background-position: left -134% top -7%;
        margin-top: 50px;
    }
}

.about-columns {
    display: grid;
    gap: 40px;
}

.about-column {
    position: relative;
}

.left-column {
    flex: 1;
}

.middle-column {
    flex: 2;
}

/* Empty space column to prevent text overlap with image */
.right-column-spacer {
    flex: 1;
    min-width: 330px;
    /* Match image width to prevent text overlap */
}

.about-heading {
    font-size: 32px;
    line-height: 130%;
    font-weight: 800;
    color: #252525;
    margin-bottom: 30px;
    display: block;
}

.about-line {
    height: 3px;
    background-color: #01318C;
    position: absolute;
    left: -100vw;
    /* Extend to the left edge of the screen */
    width: auto;
    /* Let the line length be determined by position */
    right: 0;
    /* End exactly at the end of the heading */
}

.about-text {
    font-size: 17px;
    line-height: 150%;
    font-weight: 500;
    /* medium weight */
    color: #262525;
}

.about-image-container {
    position: absolute;
    bottom: -4px;
    right: 0;
    z-index: 1;
}

.about-image {
    max-width: 330px;
    height: auto;
}

/* Media query for smaller screens */
@media (max-width: 1200px) {
    .right-column-spacer {
        min-width: 280px;
    }

    .about-image {
        max-width: 280px;
    }
}

@media (min-width: 991px) {
    .about-columns {
        display: grid;
        gap: 40px;
        grid-template-columns: 208px 1fr 200px;
    }
}

@media (max-width: 991px) {
    .about-columns {
        flex-wrap: wrap;
        gap: 30px;
    }

    .left-column {
        flex: 0 0 100%;
    }

    .middle-column {
        flex: 0 0 calc(100% - 330px);
        /* Leave space for image */
    }

    .right-column-spacer {
        min-width: 0;
        flex: 0;
    }

    .about-heading {
        font-size: 28px;
    }

    .about-mit-section {
        padding-bottom: 240px;
        /* Add padding at the bottom for the image */
    }
}

@media (max-width: 767px) {
    .about-columns {
        flex-direction: column;
        gap: 30px;
    }

    .left-column,
    .middle-column {
        flex: 0 0 100%;
    }

    .about-heading {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .about-line {
        width: 100vw;
        max-width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .about-text {
        font-size: 16px;
    }

    .about-image {
        max-width: 290px;
    }


}

@media (max-width: 480px) {
    .about-heading {
        font-size: 24px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-mit-section {
        padding-bottom: 200px;
        /* Add padding at the bottom for the image */
    }

    .about-image {
        max-width: 250px;
    }
}


/* Footer styles with right-aligned links */
.footer {
    background-color: #252525;
    padding: 40px 0;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-content {
    text-align: left;
}

.footer-heading {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    /* bold */
    margin-bottom: 22px;
}

.footer-text {
    font-size: 14px;
    font-weight: 400;
    /* regular */
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-text:last-child {
    margin-bottom: 0;
}

.footer-links {
    text-align: right;
}

.footer-link {
    font-size: 14px;
    font-weight: 400;
    /* regular */
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-link a {
    color: white;
    text-decoration: underline;
}

.footer-link a:hover {
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .footer {
        padding: 30px 0;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        text-align: left;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .footer-heading {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .footer-text,
    .footer-link {
        font-size: 13px;
    }
}



@media (max-width: 480px) {
    .instructor-image-right {
        max-width: 180px;
        position: absolute;
        bottom: 0;
    }
}

@media (min-width: 768px) {
    .edge-content {
        padding-left: 7.5vw;
        /* Tablet and small desktop padding */
    }
}


@media (min-width: 1440px) {
    .edge-content {
        padding-left: calc((100vw - 1240px) / 2);
        /* Desktop larger than 1440px */
    }
}

@media (max-width: 992px) {

    .edge-image,
    .edge-content {
        position: unset;
        max-width: 100%;
        border-radius: 0;
    }

    .edge-layout {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .competitive-edge-section {
        padding-bottom: 0;
        margin-bottom: 0;
        margin-top: 0;


    }

}

.edge-heading {
    font-size: 40px;
    font-weight: bold;
    padding-bottom: 30px
}

.edge text {
    line-height: 140%;
}


/* Add this to your existing CSS */
.nowrap {
    white-space: nowrap;
}



/* Digital Age Section with Image and Text */
.digital-age-section {
    margin-top: 75px;
    padding: 0px 0 0px;
    background-color: #fff;
    position: relative;
    /* Light background for the section */
}


.digital-age-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0px;
    align-items: center;
}


.digital-image {
    width: 50vw;

    border-radius: 0 10px 10px 0;

}

.text-column {
    display: flex;
    align-items: center;
}

.text-content {
    background-color: #EEEEEE;
    border-radius: 10px;
    color: #262525;
    z-index: 2;
}

.digital-heading {
    font-size: 32px;
    font-weight: 800;
    /* extra bold */
    line-height: 120%;
    color: 262525;
    margin-bottom: 20px;
}

.digital-text {
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 20px;
}

.digital-text:last-child {
    margin-bottom: 0;
}

@media (min-width: 1600px) {

    .text-content {
        border-radius: 10px;

    }
}

@media (min-width: 1440px) {

    .text-content {

        padding: 90px;
        padding-left: calc((100vw - 1240px)/2);
        padding-right: 80px;
        width: 55vw;
    }
}

@media (max-width: 1440px) {

    .text-content {

        padding: 70px 7.5vw;
        width: 55vw;
    }
}


@media (min-width: 991px) {
    .digital-image {
        position: absolute;
        top: -100px;
        width: 50vw;
        left: 50%;
    }


}

/* Media query for tablet and below */
@media (max-width: 991px) {
    .digital-age-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .text-content {
        border-radius: 10px 10px 0 0;
        padding: 40px 7.5vw;
        width: 100%;

    }

    .digital-heading {
        font-size: 30px;
    }

    .digital-image {
        position: unset;
        width: 100%;
        border-radius: 0 0 10px 10px;
    }

    .digital-age-section {
        margin-top: 0;
    }
}

/* Media query for mobile */
@media (max-width: 767px) {
    .digital-age-section {
        padding: 60px 0;
    }

    .text-content {
        border-radius: 10px 10px 0 0;
        padding: 40px 2.5vw;

    }

    .digital-heading {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .digital-text {
        font-size: 15px;
        line-height: 145%;
    }
}

/* Additional adjustments for smaller screens */
@media (max-width: 480px) {
    .digital-age-section {
        padding: 40px 0;
    }

    .text-content {
        border-radius: 10px 10px 0 0;
        padding: 40px 2.5vw;
    }

    .digital-heading {
        font-size: 24px;
    }
}

.digital-age-arrow {
    width: 100%;
    max-width: 500px;
    position: absolute;
    top: 45%;
    left: 15%;
    z-index: 999;
}

@media (max-width: 1700px) {
    .digital-age-arrow {
        max-width: 450px;
        position: absolute;
        top: 45%;
        left: 15%;
    }
}

@media (max-width: 1440px) {
    .digital-age-arrow {
        max-width: 450px;
        position: absolute;
        top: 45%;
        left: 10%;
    }
}

@media (max-width: 1140px) {
    .digital-age-arrow {
        max-width: 450px;
        position: absolute;
        top: 45%;
        left: 5%;
    }
}

@media (max-width: 992px) {
    .digital-age-arrow {
        display: none;
    }
}





/* Main section styling */
.sunbhero {
    background-color: #ffffff;
    padding: 100px 0 83px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Inner container with padding */
.subhero-container {
    display: flex;
    padding: 80px 60px;
    position: relative;
    background-color: #01318C;
    border-radius: 10px;
    max-width: 848px;
    margin-inline: auto;
align-items: center;

}

/* Left column - image container */
.subhero-container>div:first-child {
    flex: 1;
    position: relative;
    min-height: 300px;
}

/* Right column - text content */
.subhero-container>div:last-child {
    flex: 1;
    padding-left: 30px;
    position: relative;
}

/* The vertical divider line */
.subhero-container>div:last-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #5883BA;
}

/* Image styling - absolute positioned */
.subhero-img {
    position: absolute;
    top: -35%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    height: auto;
    /* Make it taller than the container */
    max-width: 450px;
}

/* Typography styling */
.subhero-container>div:last-child p:first-child {
    font-size: 20px;
    font-style: italic;
    line-height: 110%;
    margin-bottom: 15px;
    color: white;
}

.subhero-container>div:last-child h2 {
    font-size: 36px;
    font-weight: 800;
    /* extra bold */
    margin-bottom: 15px;
    color: white;
}

.subhero-container>div:last-child p:last-child {
    font-size: 16px;
    font-weight: 500;
    /* medium weight */
    line-height: 150%;
    color: white;
}

/* Responsive styling */
@media (max-width: 992px) {
    .subhero-container {
        padding: 60px 40px;
    }

    .subhero-container>div:last-child h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .sunbhero {
        padding: 80px 0;
    }

    .subhero-container {
        flex-direction: column;
        padding: 60px 30px;
    }

    .subhero-container>div:first-child {
        min-height: 250px;
        margin-bottom: 40px;
    }

    .subhero-container>div:last-child {
        padding-left: 0;
    }

    .subhero-container>div:last-child::before {
        left: 0;
        top: -20px;
        height: 2px;
        width: 100%;
    }

    .subhero-img {
        max-height: 350px;
        top: -32%;
    }
}

@media (max-width: 576px) {
    .sunbhero {
        padding: 60px 0;
    }

    .subhero-container {
        padding: 40px 20px;
    }

    .subhero-container>div:last-child p:first-child {
        font-size: 18px;
    }

    .subhero-container>div:last-child h2 {
        font-size: 28px;
    }
}



/* By the Numbers Section */
.numbers-section {
    background-color: white;
    padding: 35px 0 25px;
    position: relative;
}

.numbers-title {
    color: #252525;
    font-family: "Work Sans", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 120%;
    padding-bottom: 50px;
}

.numbers-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.number-card {
    border-radius: 10px;
    background: #C1CFE5;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.number-card:nth-child(1) {
    background-image: url('https://slxcloud.app/MIT/2025/Course-2025-merai/images/ByTheNumbers1.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.number-card:nth-child(2) {
    background-image: url('https://slxcloud.app/MIT/2025/Course-2025-merai/images/ByTheNumbers2.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.number-card:nth-child(3) {
    background-image: url('https://slxcloud.app/MIT/2025/Course-2025-merai/images/ByTheNumbers3.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.number {
    color: #021944;
    font-family: "Work Sans", sans-serif;
    font-size: 84px;
    font-weight: 800;
    line-height: 120%;
}

.number-card .card-text {
    color: #021944;
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    margin-left: 0;
}

.card-source,
.card-source a {
    color: #021944;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-top: auto;
}

.card-source a {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .numbers-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .numbers-cards {
        grid-template-columns: 1fr;
    }

    .numbers-title {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .numbers-section {
        padding: 40px 0;
    }
}




/* Cards Grid Section Styles */
.cards-section {
    padding: 60px 0;
}



.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    display: flex;
    align-items: center;
    background-color: #E4EAF5;
    padding: 25px;
    border-radius: 10px;
}

.card-icon {
    flex-shrink: 0;
    width: 55px;
    height: auto;
}

.card-text {
    margin-left: 10px;
    color: #252525;
    font-size: 15px;
    font-weight: 500;
    /* medium weight */
    line-height: 140%;
    text-align: left;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .card {
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        margin-bottom: 15px;
    }

    .card-text {
        margin-left: 0;
    }
}


/* MIT Expert Section Styles */
.mit-expert-section {
    padding: 60px 0;
    position: relative;
}

.expert-container {
    max-width: 1015px;
    margin: 0 auto;
    padding: 0 15px;
}

.expert-content {
    display: flex;
    gap: 110px;
}

.expert-contentleft-column {
    position: relative;
    flex-shrink: 0;
}

.expert-heading {
    font-size: 32px;
    font-weight: 800;
    /* extra bold */
    line-height: 130%;
    color: #252525;
    max-width: 340px;
    margin: 0 0 20px 0;
}

.heading-line {
    height: 2px;
    background-color: #01318C;
    position: absolute;
    left: -100vw;
    /* Extends to the left edge of the screen */
    right: 0;
    width: calc(100% + 100vw);
}

.expert-contentright-column {
    flex: 1;
}

.expert-paragraph {
    font-size: 17px;
    line-height: 150%;
    color: #252525;
    margin: 0 0 30px 0;
}

.expert-paragraph:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .expert-content {
        flex-direction: column;
        gap: 40px;
    }

    .expert-contentleft-column {
        width: 100%;
    }

    .expert-heading {
        max-width: 100%;
    }


}

@media (max-width: 768px) {
    .mit-expert-section {
        padding: 40px 0;
    }

    .expert-heading {
        font-size: 28px;
    }

    .expert-paragraph {
        font-size: 16px;
    }
}