.wrapper{
    overflow-x: hidden;
}

.hero-about-section{
    background: url('../../Assets/images/7TH EDITION UI 1ST SECTION BG 1.png');
    background-size: cover;
}

.who-we-are {
    display: flex;
    gap: 6rem;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

.who-text {
    max-width: 50%;
}

.who-text h2 {
    line-height: 55px;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}

.who-text p {
    font-size: 17px;
    line-height: 1.6;
    color: #ffff;
}

.who-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

/* A TAILORED PROGRAM OFFERING PART */
.about-main {
    text-align: center;
    padding: 50px 160px;
    background-color: #ffff;
}

.card-icon{
    width: 15%;
    transition: filter 0.3s ease;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    margin-bottom: 7rem;
}

.title-highlight {
    width: 60px;
    height: 60px;
    background: rgba(226, 128, 13, 1); /* Yellow background */
    border-radius: 50%;
    position: absolute;
    left: -20px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 60px;
    margin-top: 30px;
}

.program-card {
    background: white;
    border: 1px solid rgba(0, 156, 51, 1);
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    min-height: 200px;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: background 0.3s ease, color 0.3s ease;
}

.program-card:hover {
    background: rgba(0, 156, 51, 1);
    color: white;
}

.program-card:hover h3,
.program-card:hover p {
    color: white;
}

.program-card:hover .card-icon {
    filter: brightness(0) invert(1); /* Makes the image white */
}

.program-card h3 {
    font-weight: bold;
    color: #15803d;
    font-size: 27px;
    line-height: 48px;
}

.program-card p {
    color: rgba(0, 0, 0, 1);
    font-size: 18px;
}

.highlighted {
    background: rgba(0, 156, 51, 1);
    color: white;
    border: none;
}

.highlighted h3 {
    color: white;
}

.highlighted p {
    color: white;
}




/*  */
.ongoing-main {
    text-align: center;
    padding: 50px 160px;
    background-color: #fff;
}

.them-green {
    color: rgba(0, 156, 51, 1); 
}

.grid-global {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr; /* Grand bloc + 3 colonnes */
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 6rem 0;
}

.big-box {
    grid-row: span 2; /* Occupe 2 colonnes pour être plus large */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.small-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.card-icon {
    width: 50px;
    height: auto;
    margin-bottom: 1rem;
}

h1.number {
    font-size: 2rem;
    font-weight: bold;
}

.timer {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

p.nump {
    font-size: 1.2rem;
}


.mb-t{
    margin-bottom: 5rem;
}

.centered-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Adjust spacing between items */
    width: 100%; /* Ensure it spans the full width */
    grid-column: span 4; /* Ensures it takes up full width in the grid */
}


/* YOU ARE A STARTUP Part */
.startup-section {
    background-color: #203D94; /* Blue background */
    display: flex;
    justify-content: center;
    aspect-ratio: 31/9;
    margin-bottom: 5rem;
}

.startup-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
}

.startup-banne-image{
    position: absolute;
    top: -5rem;
    right: 0;
    width: 429px;
}

.startup-text {
    flex: 1;
    color: white;
    line-height: 9rem;
}

.startup-title {
    font-size: 40px;
    font-weight: bold;
    color: #FFC72C;
    line-height: 1.2; /* Yellow color */
}

.startup-subtitle {
    font-size: 28px;
    margin: 25px 0;
    color: #fff;
    line-height: 1.2;
    width: 40%; 
}

.startup-btn {
    background-color: rgb(253, 196, 15); /* Yellow button */
    color: #203D94;
    line-height: 1.2;
    padding: 22px 35px;
    font-size: 22px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    color: #ffff; 
    display: block;
    width: fit-content;
}

.startup-btn:hover {
    background-color: #E6B800;
}

.startup-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.startup-image img {
    max-width: 80%;
    padding: 20px;
}



/* WE HAVE CO-CREATED WITH OUR PARTNERS part */
.co-created-main {
    background-image: url('../../Assets/images/Group 1372-2.png'); /* Adjust the path */
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 85px 150px;
    margin-bottom: 10rem;
}

/* Left Side - Numbers */
.parteners-numbers-group {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 70px;
    color: white;
    font-weight: bold;
}

.stat-item {
    font-size: 24px;
}

.stat-item p{
    color: #fff;
    font-size: 14px;
    line-height: 5rem;
}


/* Right Side - Partners */
.partners-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr)); /* Adjusts columns based on screen size */
    gap: 15px;
    justify-items: center; /* Centers logos inside the grid */
    align-items: center;
    max-width: 100%;
}

.parteners-imgs {
    max-width: 80px; /* Ensures logos have a reasonable max width */
    height: auto;
    object-fit: contain; /* Ensures logos keep aspect ratio */
}

/* Centering the bottom three elements */
.bottom-logos {
    grid-column: 1 / -1; /* Spans across all columns */
    display: flex;
    justify-content: center;
    gap: 50px; /* Adjust space between images */
    width: 100%;
}



.number-co {
    font-size: 105px;
    color: rgba(226, 128, 13, 1);
}

.m-img{
    margin-left: 1.5rem;
    max-width: 120px;
}



/* Mid-Large Company Section */
.mid-large-company {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F07F56;
    padding: 0px 40px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: auto;
    aspect-ratio: 30/9;
    overflow: hidden;
    margin-bottom: 8rem;
}

/* Left Side - Text Content */
.content-container {
    max-width: 50%;
}

.company-title {
    color: #ffff;
    font-size: 25px;
    font-weight: bold;
    margin: 10px 0px;
    line-height: 7rem;
}

.company-description {
    color: #ffff;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
    width: 89%;
}

/* Call-To-Action Button */
.challenge-btn {
    background-color: #324697;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.challenge-btn:hover {
    background-color: #274B99;
}

/* Right Side - Image */
.image-container {
    width: 40%;
}

.company-image {
    width: 439px;
    object-fit: cover;
    position: absolute;
    right: -20px;
}




/* OUR MEDIA PARTNERS Part */
.media-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.media-logos img {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background: white;
    padding: 10px;
    border-radius: 5px;
}


.media-logo-resized{
    width: 150px !important;
    max-width: none !important;
}

.media-logos img:hover {
    transform: scale(1.1);
}





/* Button Styling */
.media-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.media-button {
    background: rgba(226, 128, 13, 1);
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 15px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.media-button:hover {
    background: rgba(200, 110, 10, 1);
    transform: scale(1.05);
}


.leading_startup_program {
    background-image: url('../../Assets/images/Proto/Media/partners.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 150px;
    margin-bottom: 10rem;
    color: white;
}

.startup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.startup_left, .startup_right {
    width: 45%;
    text-align: left;
}

h2 {
    text-align: left; /* Ensures all h2 elements are left-aligned */
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

p {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #ffff;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    width: 220px;
    border-radius: 8px;
    margin: 0;
}

.green-arc, .orange-arc {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 6px solid;
    border-radius: 50%;
}

.green-arc {
    border-color: green transparent transparent transparent;
    top: -10px;
    left: -20px;
}

.orange-arc {
    border-color: orange transparent transparent transparent;
    bottom: -10px;
    right: -20px;
}
/* Responsive Design */
@media (max-width: 1024px) {
     .who-we-are {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .who-text,
    .who-image {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .who-text h2 {
        font-size: 32px;
        text-align: center;
    }
  .co-created-main {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
        background-size: auto;
    }

    .parteners-numbers-group {
        gap: 30px;
        flex-direction: row;
    }
 .startup-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .startup-text {
        max-width: 90%;
    }

    .startup-subtitle {
        max-width: 100%;
    }

    .startup-banne-image {
        max-width: 300px;
    }
    .partners-container {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* More compact on smaller screens */
    }

    .number-co {
        font-size: 80px !important;
    }
    .ongoing-main {
        padding: 50px 80px; /* Reduce padding */
    }

    .grid-global {
        grid-template-columns: repeat(2, 1fr); /* Show 2 columns instead of 4 */
    }
    .who-text p {
        font-size: 17px;
    }
    .mid-large-company {
        flex-direction: column;
        text-align: center;
        aspect-ratio: 0;
    }

    .content-container {
        max-width: 100%;
    }

    .company-image {
        width: 250px;
        height: 250px;
        margin-top: 20px;
        object-fit: contain;    
    }
}
/* Mobile Screens */
@media (max-width: 768px) {
     .media-logos {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 15px;
    }
 .company-title {
        font-size: 22px;
        text-align: center;
    }

    .company-description {
        font-size: 18px;
    }

    .challenge-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
    .who-we-are {
        padding: 20px;
    }

    .who-text h2 {
        font-size: 28px;
        text-align: center;
    }

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

    .who-image img {
        max-width: 100%;
    }
    .about-main {
        padding: 40px 40px;
    }
    .leading_startup_program{
        flex-direction: column;
        padding: 2rem ;
    }
    .startup_left, .startup_right{
        width: 100%;
        text-align: center;
    }
     .ongoing-main {
        padding: 30px 40px;
    }
 .startup-title {
        font-size: 30px;
        text-align: center;
    }

    .startup-subtitle {
        font-size: 18px;
        margin: 15px 0;
        width: 100%;
    }

    .startup-btn {
        font-size: 16px;
        padding: 12px 25px;
    }

    .startup-banne-image {
        max-width: 250px;
    }
    .grid-global {
        grid-template-columns: repeat(1, 1fr); /* Switch to single-column layout */
    }
.partners-container {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); /* Smaller grid for mobile */
    }

    .parteners-imgs {
        max-width: 80px;
    }

    .number-co {
        font-size: 60px !important;
    }
    .co-created-main{
        background-size: cover;
        aspect-ratio: 5/16;
        justify-content: center;
    }
.company-description{
    width: 100%;
}
    .centered-section .text-center {
        width: 100%; /* Ensure full width on small screens */
        max-width: 250px;
    }
    .startup_left h2, .startup_right h2{
        text-align: center;
    }
    .startup_right{
        flex-direction: column-reverse;
    }
    .title-container {
        justify-content: center;
        text-align: left;
        margin-bottom: 3rem;
    }
    .title-highlight {
        width: 50px;
        height: 50px;
        left: -15px;
    }
    .section-title {
        font-size: 20px;
    }
    .program-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .program-card {
        padding: 15px;
    }
    .program-card h3 {
        font-size: 22px;
    }
    .program-card p {
        font-size: 15px;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .stat-item p{
        line-height: 1.2;
    }
    .bottom-logos{
        flex-wrap: wrap;
    }
    .media-logos {
        grid-template-columns: repeat(auto-fit, 1fr);
        gap: 10px;
    }
      .company-image {
        width: 200px;
        height: 200px;
        position: relative;
        bottom: 75px;
        left: 0px;
    }

    .company-title {
        font-size: 17px;
        line-height: 4rem;
    }

    .company-description {
        font-size: 16px;
    }

    .challenge-btn {
        font-size: 14px;
        position: relative;
        top: 200px;
    }
     .startup-section{
        aspect-ratio: unset;
    }
    .startup-container{
        padding: 2rem;
    }
    .startup-title {
        font-size: 24px;
        text-align: center;
    }

    .startup-subtitle {
        font-size: 16px;
        width: 100%;
        line-height: 18px;
    }

    .startup-btn {
        font-size: 14px;
        padding: 10px 20px;
        position: relative;
        top: unset;
        left: unset;
        margin: auto;
    }
    .timer{
        font-size: 18px;
    }
    p.nump{
        font-size: 16px;
    }
    .parteners-numbers-group{
        gap: 8px;
        flex-direction: column;
    }
    .startup-banne-image {
        /* max-width: 130px; */
        top: unset;
        left: unset;
        position: relative;
    }
     .partners-container {
        grid-template-columns: repeat(2, minmax(60px, 1fr)); /* Two logos per row */
    }

    .parteners-imgs {
        max-width: 70px;
    }

    .number-co {
        font-size: 42px !important;
    }

    .co-created-main {
        padding: 30px 5%;
        background-size: auto;
    }
       .big-box,.small-box{
        width: 85%;
    }
    .ongoing-main {
        padding: 20px;
    }

    .grid-global {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .centered-section{
        flex-direction: column;
    }

    .centered-section .text-center {
        width: auto !important;
        max-width: 100%;
    }
     .who-we-are {
        padding: 15px;
    }

    .who-text h2 {
        font-size: 24px;
        text-align: center;
    }

    .who-text p {
        font-size: 14px;
    }
    .about-main {
        padding: 30px 20px;
    }
    .title-container {
        flex-direction: column;
        text-align: left !important; 
        margin-bottom: 2rem;
        align-items: baseline;
    }
    .title-highlight {
        width: 40px;
        height: 40px;
        left: 0;
    }
    .section-title {
        font-size: 18px;
    }
    .program-grid {
        grid-template-columns: 1fr;
    }
    .program-card h3 {
        font-size: 20px;
    }
    .program-card p {
        font-size: 14px;
    }
}