@media screen and (min-width: 1920px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        width: 100%;
        position: relative;
    }

    .header a {
        text-decoration: none;
        transition: all 0.5s ease;
        display: inline-block;
    }

    .header #logo {
        width: 20%;
        transition: filter 0.3s ease;
    }

    .header #logo:hover {
        filter: brightness(0.7);
        cursor: crosshair;
    }

    .header #logo img {
        width: 100%;
        height: auto;
        max-height: 75px;
    }

    #menu {
        display: flex;
        justify-content: flex-end;
        width: 80%;
    }

    #mobile-menu {
        display: none;
    }

    /*Buttons Header*/
    .buttons {
        display: flex;
        justify-content: space-around;
        top: 20px;
        left: 20px;
        margin-left: 10px;
    }

    .buttons button {
        width: 150px;
        height: 50px;
        background-color: white;
        margin: 0;
        color: #568fa6;
        position: relative;
        overflow: hidden;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: 500;
        text-transform: uppercase;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
    }

    .buttons button:before,
    .buttons button:after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background-color: #44d8a4;
        transition: all 0.3s cubic-bezier(0.35, 0.1, 0.25, 1);
    }

    .buttons button:before {
        right: 0;
        top: 0;
        transition: all 0.5s cubic-bezier(0.35, 0.1, 0.25, 1);
    }

    .buttons button:after {
        left: 0;
        bottom: 0;
    }

    .buttons button span {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        z-index: 1;
    }

    .buttons button span:before,
    .buttons button span:after {
        content: "";
        position: absolute;
        width: 2px;
        height: 0;
        background-color: #44d8a4;
        transition: all 0.3s cubic-bezier(0.35, 0.1, 0.25, 1);
    }

    .buttons button span:before {
        right: 0;
        top: 0;
        transition: all 0.5s cubic-bezier(0.35, 0.1, 0.25, 1);
    }

    .buttons button span:after {
        left: 0;
        bottom: 0;
    }

    .buttons button p {
        padding: 0;
        margin: 0;
        transition: all 0.4s cubic-bezier(0.35, 0.1, 0.25, 1);
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .buttons button p:before,
    .buttons button p:after {
        position: absolute;
        width: 100%;
        transition: all 0.4s cubic-bezier(0.35, 0.1, 0.25, 1);
        z-index: 1;
        left: 0;
    }

    .buttons button p:before {
        content: attr(data-title);
        top: 50%;
        transform: translateY(-50%);
    }

    .buttons button p:after {
        content: attr(data-text);
        top: 150%;
        color: #44d8a4;
    }

    .buttons button:hover:before,
    .buttons button:hover:after {
        width: 100%;
        cursor: crosshair;
    }

    .buttons button:hover span {
        z-index: 1;
        cursor: crosshair;
    }

    .buttons button:hover span:before,
    .buttons button:hover span:after {
        height: 100%;
        cursor: crosshair;
    }

    .buttons button:hover p:before {
        top: -50%;
        transform: rotate(5deg);
        cursor: crosshair;
    }

    .buttons button:hover p:after {
        top: 50%;
        transform: translateY(-50%);
        cursor: crosshair;
    }

    .buttons button.start {
        background-color: #44d8a4;
        box-shadow: 0px 5px 10px -10px rgba(0, 0, 0, 0.2);
        transition: all 0.2s ease;
    }

    .buttons button.start p:before {
        top: -50%;
        transform: rotate(5deg);
    }

    .buttons button.start p:after {
        color: white;
        transition: all 0s ease;
        content: attr(data-start);
        top: 50%;
        transform: translateY(-50%);
        animation: start 0.3s ease;
        animation-fill-mode: forwards;
    }

    @keyframes start {
        from {
            top: -50%;
        }
    }

    .buttons button.start:hover:before,
    .buttons button.start:hover:after {
        display: none;
    }

    .buttons button.start:hover span {
        display: none;
    }

    .buttons button:active {
        outline: none;
        border: none;
    }

    .buttons button:focus {
        outline: 0;
    }

    /* Dropdown container */
    .dropdown-container {
        position: relative;
        display: inline-block;
    }

    /* Button style */
    .btn {
        padding: 10px;
        background-color: #568fa6;
        color: white;
        border: none;
        cursor: pointer;
        text-align: center;
        font-size: 16px;
    }

    /* Dropdown styles */
    .two-column-dropdown {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #568fa6;
        color: white;
        width: 450px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        padding: 15px;
        display: flex;
        justify-content: space-between;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        z-index: 999;
    }

    /* Show dropdown on hover */
    .dropdown-container:hover .two-column-dropdown {
        display: flex;
        visibility: visible;
        opacity: 1;
        cursor: crosshair;
    }

    /* Ensure the dropdown is two columns */
    .dropdown-column {
        width: 50%;
    }

    /* Style for column headers */
    .dropdown-column h3 {
        font-size: 14px;
        margin-bottom: 8px;
        color: #f0f0f0;
        text-align: center;
    }

    /* Style for dropdown list */
    .dropdown-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-column ul li {
        padding: 5px 0;
    }

    .dropdown-column ul li a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        background-color: #568fa6;
    }

    .dropdown-column ul li a:hover {
        background-color: #f0f0f0;
        color: #568fa6;
        cursor: crosshair;
    }

    /* Divider between columns */
    .dropdown-divider {
        border: 1px solid #f0f0f0;
        margin: 5px;
    }

    /* Style for the non-clickable "Formations" */
    .no-link {
        cursor: default;
        padding: 10px;
        color: #333;
        text-decoration: none;
    }

    .no-link:hover {
        color: #568fa6;
        cursor: crosshair;
    }

    /*Main*/
    .mains {
        position: relative;
        /* Position relative for absolute positioning of the background */
    }

    /* Section One */
    #section-one {
        width: 100%;
        /* Full width */
        height: auto;
        /* Height based on content */
        padding: 20px;
        /* Optional padding */
        display: flex;
        /* Flexbox to center content */
        align-items: center;
        /* Center vertically */
        justify-content: center;
        /* Center horizontally */
    }

    .background {
        position: absolute;
        /* Position the background div absolutely */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('../../images/programmes-ipsi.jpeg');
        background-size: cover;
        /* Cover the entire div */
        background-position: center;
        /* Center the image */
        background-repeat: no-repeat;
        /* Don't repeat the image */
        filter: brightness(0.3);
        /* Set brightness for the background */
        z-index: 1;
        /* Place it behind the content */
    }

    .content {
        position: relative;
        /* Keep this to stack content above background */
        z-index: 2;
        /* Ensure it appears above the background */
        color: white;
        /* Default text color */
        display: flex;
        /* Use Flexbox for alignment */
        align-items: center;
        /* Center text and image vertically */
        justify-content: center;
        /* Center content horizontally */
        gap: 10px;
        /* Optional space between the text and the image */
    }

    .content h1 {
        color: #568fa6;
        /* Set color for the title */
        font-size: 3em;
        /* Increase font size if needed */
        margin: 0;
        /* Remove default margin */
    }

    /* Section Two */
    #section-two {
        text-align: center;
        /* Center the title and cards */
        padding: 20px;
        /* Optional padding */
        margin-top: 20px;
    }

    .card-container {
        display: flex;
        /* Use flexbox to align cards side by side */
        justify-content: center;
        /* Center cards under the title */
        flex-wrap: wrap;
        /* Allow wrapping for smaller screens */
        margin-top: 20px;
        /* Space between title and cards */
    }

    .card-section-two {
        background-color: white;
        /* Card background color */
        border: 1px solid #ccc;
        /* Optional border */
        border-radius: 8px;
        /* Rounded corners */
        width: 30%;
        /* Set width for cards */
        margin: 10px;
        /* Space around each card */
        padding: 15px;
        /* Inner padding */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        /* Subtle shadow */
    }

    .tags {
        margin-top: 10px;
        /* Space above tags */
    }

    .tag {
        display: inline-block;
        /* Display tags inline */
        border-radius: 5px;
        /* Rounded corners */
        padding: 5px 10px;
        /* Padding inside tags */
        margin: 5px 0;
        /* Space between tags */
        color: white;
        /* Text color */
    }

    .grey {
        background-color: gray;
        /* Background color for grey tag */
    }

    .purple {
        background-color: purple;
        /* Background color for purple tag */
    }

    .teal {
        background-color: teal;
        /* Background color for teal tag */
    }

    .read-more {
        background-color: #568fa6;
        /* Button background color */
        color: white;
        /* Button text color */
        border: none;
        /* No border */
        border-radius: 5px;
        /* Rounded corners */
        padding: 10px;
        /* Inner padding */
        cursor: crosshair;
        margin-top: 10px;
        transition: all 0.3s ease-in-out;
        border: 2px solid #568fa6;
        font-weight: bold;
    }

    .read-more:hover {
        background-color: white;
        color: #568fa6;
    }

    /*Section Three*/
    #section-three {
        text-align: center;
        /* Center the title and cards */
        padding: 20px;
        /* Optional padding */
        margin-top: 20px;
    }

    .card-container {
        display: flex;
        /* Use flexbox to align cards side by side */
        justify-content: center;
        /* Center cards under the title */
        flex-wrap: wrap;
        /* Allow wrapping for smaller screens */
        margin-top: 20px;
        /* Space between title and cards */
    }

    .card-section-two {
        background-color: white;
        /* Card background color */
        border: 1px solid #ccc;
        /* Optional border */
        border-radius: 8px;
        /* Rounded corners */
        width: 30%;
        /* Set width for cards */
        margin: 10px;
        /* Space around each card */
        padding: 15px;
        /* Inner padding */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        /* Subtle shadow */
    }

    .tags {
        margin-top: 10px;
        /* Space above tags */
    }

    .tag {
        display: inline-block;
        /* Display tags inline */
        border-radius: 5px;
        /* Rounded corners */
        padding: 5px 10px;
        /* Padding inside tags */
        margin: 5px 0;
        /* Space between tags */
        color: white;
        /* Text color */
    }

    .grey {
        background-color: gray;
        /* Background color for grey tag */
    }

    .purple {
        background-color: purple;
        /* Background color for purple tag */
    }

    .teal {
        background-color: teal;
        /* Background color for teal tag */
    }

    .read-more {
        background-color: #568fa6;
        /* Button background color */
        color: white;
        /* Button text color */
        border: none;
        /* No border */
        border-radius: 5px;
        /* Rounded corners */
        padding: 10px;
        /* Inner padding */
        cursor: crosshair;
        margin-top: 10px;
        transition: all 0.3s ease-in-out;
        border: 2px solid #568fa6;
        font-weight: bold;
    }

    .read-more:hover {
        background-color: white;
        color: #568fa6;
    }

    /*Section Five*/
    .row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        width: 98%;
    }

    .card {
        background-color: #f5f5f5;
        border-radius: 10px;
        padding: 20px;
        box-sizing: border-box;
        text-align: right;
    }

    .full-width-card {
        display: flex;
        justify-content: space-between;
        /* Space between logo and icons */
        width: 70%;
        /* Takes full width */
        align-items: center;
        /* Align items vertically */
    }

    .logo-container {
        flex: 1;
        /* Takes as much space as available */
        text-align: left;
    }

    .logo-img {
        width: 100%;
        max-width: 200px;
        /* Adjust max width as needed */
        transition: filter 0.3s ease;
    }

    .logo-img:hover {
        filter: brightness(0.7);
        cursor: crosshair;
    }

    .icons-right {
        display: flex;
        justify-content: flex-end;
        /* Align icons to the right */
        gap: 0;
        /* Remove any gap between icons */
    }

    .icon-img {
        width: 50px;
        /* Adjust icon size */
        height: auto;
        margin-left: 5px;
        margin-right: 5px;
        /* Small space between icons */
        transition: filter 0.3s ease;
    }

    .icon-img:hover {
        filter: brightness(0.7);
        cursor: crosshair;
    }

    .icon-img:first-child {
        margin-left: 0;
        /* Remove margin from the first icon */
    }

    .second-row {
        display: flex;
        justify-content: space-between;
    }

    .second-row .card {
        width: 32%;
        /* Each card takes 33% width in the second row */
        text-align: left;
    }

    .second-row .card h3 {
        margin-top: 0;
    }

    .second-row .card p {
        margin-bottom: 0;
    }

    .second-row .card a {
        display: block;
        margin-top: 10px;
        text-align: left;
        text-decoration: none;
    }

    .second-row .card a:hover {
        text-decoration: underline;
        cursor: crosshair;
    }

    .card p {
        display: flex;
        align-items: center;
        /* Aligns image and text vertically */
        gap: 10px;
        /* Space between the image and text */
        margin-top: 10px;
    }

    .card p img {
        flex-shrink: 0;
        /* Prevents the image from shrinking */
        height: 28px;
        width: 28px;
    }

    .card-links {
        color: black;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    footer {
        background-color: #eeeeee;
        color: var(--text-color);
        text-align: center;
        padding: 10px;
        width: 100%;
        /* Use relative positioning for normal flow */
        bottom: 0;
    }
}