body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}
nav .container-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.navbar {
    height: 101px;
    background-color: #f2f2f2;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.15);
    padding: 24px 42px 24px 42px;
}

@media (max-width: 991px) {
    .navbar {
        padding: 24px 20px 24px 20px;
        height: 75px;
        justify-content: center;
    }

    .mega-menu {
        display: none !important;
    }
    
    .navbar-collapse {
        display: none;
    }

    .navbar-brand img {
        height: 32.81px!important;
        width: 146px!important;
    }
    .navbar-brand {
        padding-top: 0!important;
        padding-bottom: 0!important;
    }
    nav .container-nav {
        width:320px;
        height: 32.81px;
        margin: 0;
        gap: 150px;
    }
    .navbar-toggler {
        padding: 0!important;
    }
}
@media (min-width: 992px) {

    .hide-d{
        display:none
    }
 

}

.navbar-brand img {
    height: 40px;
    width: 178px;

}

.navbar-nav{
    gap:32px
}

.navbar-brand {
    margin-right: 0!important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0!important;
    padding-left: 0!important;
}

.nav-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: black !important;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 0 0px;
    padding: 10px; /* Add padding to increase hover area */
}

.navbar-toggler img {
    height: 24px;
}

.navbar-toggler {
    border-color: transparent !important;
}

.btn-partner {
    background-color: #170864;
    box-shadow: 0px 4px 10px 0px rgba(23, 6, 102, 0.35);
    border: 1px solid #170864;
    padding: 16px 56px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 14px;
}

.btn:hover {
    color: white !important;
}

.mega-menu {
    display: none;
    position: fixed;
    z-index: 100;
    top: 101px;
    width: 100%;
    height: 465px;
    background-color: white;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.15);
    padding: 82px 186px 82px 186px;
   
    justify-content: space-between;
}

.mega-menu-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.mega-menu-left ul {
    list-style: none;
    padding: 0;
}

.mega-menu-left li {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 16px;
}

.mega-menu-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 60%;
}

.card-content {
    display: flex;
    justify-content: space-between;
    gap:22px;
    align-items: center;
    width: 100%;
}

.mega-menu-right .card {
    background-color: #F2F3F7;
    border: 1px solid #f2f2f2;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 641px;
    padding: 24px 52.5px;
}

.mega-menu-right .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 323px;
    padding: 0;
    
}

.mega-menu-right .card-body h5 {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 28.8px;    ;
    color: black;
    margin: 0;
}

.mega-menu-right .card-body p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 28.8px;
    color: black;
    margin: 8px 0px;
    margin-bottom: 25px;
}

.mega-menu-right .card-body .btn-primary {
    background-color: #170864;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    padding: 16px 56px;
    border: 1px solid #170864;
}

.mega-menu-right .card-image img {
    height: 253px;
    width: 191px;
    border-radius: 20px;
   
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #170864;
    z-index: 1050;
    display: none;
}

.slideIn {
    animation: slideIn 0.3s forwards;
}

.slideOut {
    animation: slideOut 0.3s forwards;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    padding-right: 22px;
}

.close-btn {
    padding: 0;
    border: 0;
    background: #170864;
}

.close-btn img {
    height: 19px;
    width: 19px;
    cursor: pointer;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0px;
    text-align: center;
    width: 240px;
    height: 426px;
    position: relative;
    top: 6px;
    left: 68px;
}

.mobile-menu-content img {
    height: 40px;
    width: 178px;
    margin-bottom: 48px;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 0;
    width: 98px;
}

.mobile-menu-content li {
    margin-bottom: 32px;
    text-align: center;
}

.mobile-menu-content a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: white;
    text-decoration: none;
}

.btn-partner-mobile {
    background-color: white;
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    border-radius: 4px;
    padding: 24px 56px;
    font-weight: 700;
    width: 240px;
    height: 72px;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
    
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

/* section 1 */

.section-1 {
    background-image: url('https://thrillx.tecolotelocations.com.mx/images/s1-background.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 95px 120px 95px 120px;
    margin-top: 101px;  
    text-align: left;
    color: white;
    height: 674px; 
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.section-1-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-1-content {
    
    width: 848px;
    justify-content: space-between;
    display: block;
    height: 346px;
}

.section-1-title {
    font-family: 'Lora', serif;
    font-weight: 600; 
    font-size: 57px;
    margin: 0;
    line-height: 68.4px;
}

.section-1-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600; 
    font-size: 20px;
    margin-top: 20px;
    line-height: 30px;
}

.btn-partner-section {
    background-color: white;
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    padding: 24px 56px;
    margin-top: 20px;
    border: none;
}

@media (max-width: 991px) {
    .section-1 {
        padding:80px 32px 80px 32px; 
        text-align: left; 
        margin-top: 75px;
        height: auto;
        background-image: url('https://thrillx.tecolotelocations.com.mx/images/s1-background-m.png'); 
    }

    .section-1-content {
        width: 100%; 
        height: auto;
    }

    .section-1-title {
        font-size: 33px;
        font-family: 'Lora', serif; 
        font-weight: 600;
        line-height: 39.6px;
        height: 120px;
    }

    .section-1-text {
        font-size: 14px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
        line-height: 21px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .btn-partner-section {
        padding: 16px 48px;
        font-size: 14px;
        line-height: 21px;
        font-weight: 700;
        margin-top: 1rem;
    }
}

/* section 2 */

.section-2 {
    background-color: #f2f2f2;
    padding: 48px 103px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-2-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 88px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Lora', serif;
    font-weight: 600; 
    font-size: 48px;
    color: black;
    margin-bottom: 8px;
    line-height: 57.6px;
}

.stat-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 21px;
    font-size: 14px;
    color: #363328;
}

@media (max-width: 991px) {
    .section-2 {
        padding: 48px 123px 48px 123px;
    }

    .section-2-content {
        flex-direction: column;
        align-items: center;
        gap: 40px; 
    }
    .stat {
        text-align: center;
    }

    .stat-number {
        font-size: 33px; 
        line-height: 39.6px;
    }

    .stat-text {
        font-size: 14px; 
        line-height: 21px;
    }
}

/* section 3 */

.section-3 {
    background-color: #F3F0FD;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:112px 120px 112px 120px;
}

.section-3-content {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    max-width: 1200px; 
    gap: 40px; 
}

.section-3-left, .section-3-right {
    flex: 1; 
}

.section-3-left {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 33px;
    line-height: 39.6px; 
    color: black;
}

.section-3-right {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px; 
    color: black;
    max-width: 546px;
}

@media (max-width: 991px) {
    .section-3 {
        padding: 48px 32px 48px 32px;
    }

    .section-3-content {
        flex-direction: column;
        align-items: flex-start; 
        gap: 16px; 
    }

    .section-3-left {
        font-size: 23px; 
        line-height: 27.6px;
    }
    

    .section-3-right {
        font-size: 14px; 
        line-height: 21px;
        
    }
}

/* section 4 */

.section-4 {
    background-color: #ffffff;
    padding: 112px 120px 0px 120px;
    display: flex;
    justify-content: center;
    position: relative;
}
.section-4-container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.section-4-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.section-4-left {
    max-width: 558px;
    width: 100%;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity .8s ease; 
    height: 70vh;
    padding: 59px 0;
}

.section-4-right {
    position: fixed;
    top: 30%; 
    right: 7%;
    width: 542px;
    height: 50vh;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .5s ease-in-out; /
}

.section-4-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 40px;
    color: #000000;
    margin-bottom: 16px;
}

.section-4-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #363328;
    margin-bottom: 32px;
}

.section-4-button {
    background-color: #170864;
    color: #ffffff;
    border-radius: 4px;
    padding: 24px 56px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    position: absolute;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.section-4-button:hover {
    background-color: #0e074b;
}

.swiper-pagination {
    
    right: 123px!important;
    display: flex;
    flex-direction: column;
    gap: 23px;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.swiper-pagination-bullet {
    width: 3px !important;
    height: 77px !important;
    border-radius: 0!important;
    transition: background .5s ease;
    background: #D9D9D9;
}

.swiper-pagination-bullet-active {
    background: #A1A1A1!important;
}

@media (max-width: 768px) {
    .section-4 {
        background-color: #ffffff;
        padding: 48px 0px 48px 0px;
    }

    .section-4-left {
        max-width: 100%;
        padding-right: 0;
        text-align: left; 
        top: 181px;
        height: 61vh;
    }

    .section-4-content {
        padding: 0 16px;
        align-items: flex-start; 
        height: 1930px;/*1830px;*/
    }

    .section-4-button {
        padding: 16px 40px;
        font-size: 14px;
    }

    .section-4-title {
        font-size: 27px; 
        font-weight: 600;
    }

    .section-4-text {
        font-size: 14px; 
        font-weight: 400;
    }

    .swiper-pagination {
        left: 344px !important;
        bottom: 10px;
        transform: none;
        gap: 10px;
    }
    .section-4-right {
        position: fixed;
        top: 15%;
        z-index: 9;
        right: 0%;
        left: 0%;
        width: 100vw;
        height: 30%;
        background-size: cover;
        background-position: left;
    }

     .swiper-pagination-bullet {
            width: 3px !important;
            height: 37px !important;
            border-radius: 0!important;
            gap: 10px;
            transition: background .5s ease;
            background: white!important;
            opacity: 0.6;

        }
        .swiper-pagination-bullet-active {
            background: white!important;
            opacity: 1!important;
        }
/*
        .swiper-pagination {
            top:2%!important;
        }
*/
            

}

/* Section 5 */

.section-5 {
    background-color: #F3F0FD;
    padding: 80px 0px 80px 0px;
    text-align: center;
    position: relative;
    z-index: 12;
}
.section-5-container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.section-5-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 48px;
    color: #000000;
    width: 846px;
    margin: 0 auto 64px;
    line-height: 57.6px;
}

.section-5-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.section-5-card {
    width: 335px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25);
    padding: 53px 32px;
    text-align: center;
}

.section-5-card-img {
    width: 75px;
    height: 75px;
    margin-bottom: 32px;
}

.section-5-card-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 23px;
    color: #000000;
    margin-bottom: 24px;
    line-height: 27.6px;
}

.section-5-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #363328;
}

.section-5-card-list li {
    background: url('https://thrillx.tecolotelocations.com.mx/images/Check.png') no-repeat left center;
    background-size: 24px 24px;
    padding-left: 40px;
    margin-bottom: 8px;
}

.section-5-button {
    margin-top: 48px;
    padding: 26px 56px;
    background-color: #170864;
    color: #ffffff;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.section-5-button:hover {
    background-color: #0e074b;
}
@media (in-width: 769px) {
    .section-5-card{
        width: 323px !important;
    }
}
@media (max-width: 768px) {
    .section-5-title {
        font-size: 33px;
        font-weight: 600;
        line-height: 39.6px;
        width: 100%;
        margin-bottom:40px;
    }

    .section-5-cards {
        flex-direction: column;
        gap: 24px;
    }

    .section-5-card {
        width: 311px!important;
        position: relative;
        padding: 40px 45px 40px 45px;
    }

    .section-5-card-title {
        font-size: 20px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 600;
        width: 218px;
        line-height: 30px;
    }
    .section-5-card-list li {
        background-size: 25px 25px;
        padding-left: 33px;

    }

    .section-5-card-list {
        font-size: 16px;
        width: 236px;
        line-height: 24px;
    }

    .section-5-button {
        padding: 16px 48px;
        font-size: 14px;
         margin-top: 32px;
    }
    .section-5-card-img {
        width: 60px;
        height: 60px;
    }    
    .section-5 {
        padding: 48px 32px 48px 32px;
        top: -202px;
    }
}

.section-6 {
    background-color: #fdfdfd;
    padding: 80px 120px 80px 120px;
    background-image: url('https://thrillx.tecolotelocations.com.mx/images/s-6-bg.png');
    background-position: 112% 60%;
    background-repeat: no-repeat;
    background-size: 687px 733px;
}
.section-6-container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.section-6-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 92px;
    row-gap: 80px;
}

.section-6-item {
    display: flex;
    align-items: center;
}

.section-6-img {
    width: 100%;
    max-width: 574px;
    height: 626px;
};


.section-6-text {
    text-align: left;
    max-width: 534px;
    width: 100%;
}

.section-6-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 21px;
    font-size: 14px;
    color: #170864;
    margin-bottom: 8px;
}

.s6bl{
    margin-bottom: 24px!important;
}

.section-6-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 48px;
    font-size: 40px;
    color: #000000;
    margin-bottom: 16px;
}

.section-6-description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
}

.section-6-button {
    background-color: #170864;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    padding: 26px 56px;
    border: none;
    border-radius: 4px;
    width: 240px;
    cursor: pointer;
}

.accordion {
    margin-bottom: 32px;
    width: 534px;
}

.accordion-item {
    margin-bottom: 16px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 27px;
    font-size: 18px;
    cursor: pointer;
}

.accordion-icon {
    width: 24px;
    height: 24px;
}

.accordion-content {
    font-family: 'Open Sans', sans-serif;
    font-weight: regular;
    font-size: 16px;
    line-height: 24px;
    display: none;
    margin-top: 8px;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    

    .pb24{
       padding-bottom: 24px;
        
    }
    .o3{
        order: 3; 
    }
    .o4{
        order: 4;
    }
    .section-6 {
        padding: 48px 32px 48px 32px;
        background-position: 118% 45%;
        background-size: 196.43px 184px;
    }

    .section-6-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 24px;
    }

    .section-6-item:nth-child(4) {
        order: 1;
    }

    .section-6-img {
        max-width: 311px;
        height: 246px;
        object-fit: cover;
    }

    .section-6-title {
        font-size: 33px;
    }

    .section-6-subtitle, .accordion-header {
        font-size: 14px;
    }

    .section-6-description, .accordion-content {
        font-size: 16px;
    }
    .section-6-text {
        text-align: left;
        max-width: 311px;
        width: 100%;
    }
    

    .section-6-button {
        font-size: 14px;
        padding: 16px 48px;
        width: 208px;
    }
    .accordion {
        width: 311px;
    }
}

/* section 7 */

.section-7 {
    background-color: #f2f2f2;
    padding: 80px 88px 80px 88px;
    text-align: center;
}

.section-7-container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-7-title {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 57.6px;
    color: #000000;
    margin-bottom: 16px;
}

.section-7-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #363328;
    margin-bottom: 64px;
}

.section-7-content {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.section-7-item {
    text-align: left;
    width: 368px;

}

.section-7-item-img {
    width: 368px;
    height: 260px;
    margin-bottom: 24px;
}

.section-7-item-date {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #565656;
    margin-bottom: 8px;
    line-height: 21px;
}

.section-7-item-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    margin-bottom: 0;
}

.section-7-button {
    display: inline-block;
    width: 176px;
    padding: 24px 56px;
    background-color: #170864;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .section-7 {
        padding: 48px 32px 48px 32px; 
    }

    .section-7-title {
        font-size: 33px;
        font-weight: 600;
        line-height: 39.6px;
    }

    .section-7-subtitle {
        font-size: 16px;
        width: 100%;
        font-weight: 400;
        line-height: 24px;
        margin-bottom: 40px;
    }

    .section-7-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .section-7-item {
        text-align: left;
        width: 100%;
    }

    .section-7-item-img {
        width: 311px;
        height: 191px;
        position: relative;
    }

    .section-7-item-date {
        font-size: 12px;
        line-height: 18px;
    }
    

    .section-7-item-title {
        font-size: 16px;
        width: 100%;
        line-height: 24px;
    }

    .section-7-button {
        width: 152px;
        padding: 16px 48px;
        font-size: 14px;
    }
}

/* Section 8 */

.section-8 {
    background-color: #170864;
    background-image: url(https://thrillx.tecolotelocations.com.mx/images/s-8-bg.png);
    background-repeat: no-repeat;
    background-position: 0% 0%;
    padding: 104px 137px 104px 137px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.section-8-container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.section-8-left {
    color: #ffffff;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.section-8-left h5 {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
    margin: 0;
    width: 506px;
}

.section-8-left p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin: 16px 0 32px;
}

.section-8-left .button {
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    width: 236px;
    height: 72px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding:24px 56px 24px 56px;
}

.section-8-right {
    display: grid;
    grid-template-columns: repeat(4, 143.89px);
    grid-template-rows: repeat(3, 163.77px);
    column-gap: 15.5px;
    row-gap: 11.36px;
}

.section-8-right img {
    width: 143.89px;
    height: 163.77px;
    object-fit: cover;
}

@media (min-width: 769px) and (max-width:1439px) {
    .section-8 {
        flex-direction: column;
        background-image: none; 
    }
    .section-8-container {
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
        display: contents;
        justify-content: space-between;
        gap: 70px;
    }
}

@media (max-width: 768px) {
    .section-8 {
        padding: 48px 32px 48px 32px;
        flex-direction: column;
        background-image: none; 
    }

    .section-8-container {
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
        display: contents;
        justify-content: space-between;
        gap: 70px;
    }

    .section-8-left {
        align-items: flex-start;
        width: 311px;
        max-width: 100%;
        left: 0;
        padding-top: 32px;
        position: relative;
        order: 2; 
    }

    .section-8-left h5 {
        font-size: 27px;
        width: 100%;
        line-height: 32.4px;
    }

    .section-8-left p {
        font-size: 14px;
        line-height: 21px;
    }

    .section-8-left .button {
        width: 205px;
        height: 53px;
        padding:16px 48px 16px 48px;
        font-size: 14px;
    }

    .section-8-right {
        grid-template-columns: repeat(4, 71px);
        grid-template-rows: repeat(3, 71px);
        gap: 9px; 
        align-self: flex-start; 
    }

    .section-8-right img {
        width: 71px;
        height: 71px;
    }
}

/* Footer */

.footer {
    background-color: #000000;
    padding: 80px 120px 80px 120px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin: 0 40px; 
}

.footer-col img {
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul li:first-child {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.footer-col ul li:not(:first-child) {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 32px 48px 32px;
        flex-direction: column;
        align-items: flex-start; 
    }

    .footer-col {
        margin: 0;
        align-items: flex-start; 
        text-align: left;
        margin-bottom: 40px;
    }

    .footer-col img {
        margin-bottom: 16px;
    }

    .footer-col ul li {
        margin-bottom: 12px;
    }
}

















