﻿html {
    overflow-x: unset !important
}
.container{
    overflow-x:hidden !important;
}
#about-container {
    width: 75% 
}
@media(max-width:1600px)  and (min-width:768px){
    #about-container {
        width:90% !important
    }
}
@media(max-width:768px)  {
    #about-container {
        width: 100% !important
    }
}
/* =========================================
   HISTORY
========================================= */

.history-box {
    width: auto;
    height: 650px;
    margin: 50px auto;
    position: relative;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
}


/* =========================================
   DESKTOP TIMELINE
========================================= */

.timeline {
    position: absolute;
    right: 30px;
    top: 40px;
    bottom: 40px;
    width: 4px;
    z-index: 20;
}

.line.dashed {
    position: absolute;
    inset: 0;
    border-right: 2px dashed #caa76b;
    opacity: .5;
}

.line.filled {
    position: absolute;
    left: 1px;
    width: 2px;
    top: 0;
    height: 0;
    background: #caa76b;
    transition: height .35s cubic-bezier(.22,.61,.36,1);
    z-index: 2;
}


/* =========================================
   CAR
========================================= */

.car {
    position: absolute;
    width: 48px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    cursor: grab;
    z-index: 5;
    user-select: none;
    touch-action: none;
}
.pulse-img {
    animation: pulse 1.5s infinite;
}

    .pulse-img:hover {
        animation-play-state: paused !important;
        animation: none !important
    }

@keyframes pulse {
    0% {
        filter: drop-shadow(0 0 0 rgba(0,0,0,0.4));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(0,0,0,0.4));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(0,0,0,0.4));
    }
}
    .car:active {
        cursor: grabbing;
    }


/* =========================================
   YEARS
========================================= */

.years {
    position: absolute;
    right: 12px;
    width: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.year {
    font-size: 18px;
    color: white;
    opacity: .55;
    transition: opacity .3s ease, transform .3s ease, color .3s ease;
}

    .year.active {
        opacity: 1;
        transform: translateX(6px);
        color: #ffd28a;
    }


/* =========================================
   HISTORY EVENTS
========================================= */

.history-events {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.history-year {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

    .history-year.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.history-event {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    will-change: opacity, transform, filter;
    transition: opacity .6s ease, transform .9s cubic-bezier(.16,1,.3,1);
}

    .history-event.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .history-event::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .65) 18%, rgba(0, 0, 0, .30) 38%, rgba(0, 0, 0, 0) 65% );
        z-index: 0;
        border-radius: 20px;
    }
@keyframes historyEnter {

    0% {
        opacity: 0;
        transform: scale(1.05);
        filter: brightness(.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
}

.history-event.history-enter {
    animation: historyEnter .8s cubic-bezier(.16, 1, .3, 1) forwards;
}

/* =========================================
   OVERLAY
========================================= */

.history-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(0,0,0,.72), rgba(0,0,0,.18) );
    z-index: 2;
    border-radius: 20px;
    pointer-events: none;
}


/* =========================================
   YEAR ON IMAGE
========================================= */

.event-year {
 
    color: #ffd28a;
    font-size: 18px;
    font-weight: 600;
    z-index: 5;
}


/* =========================================
   EVENT CONTENT
========================================= */

.event-content {
    position: absolute;
    right: 10%;
    left: 120px;
    bottom: 10%;
    z-index: 5;
    color: white;
    direction: rtl;
    text-align: right;
    transition: opacity .5s ease, transform .5s ease;
    transform: translateY(20px);
}

.history-event.active .event-content {
    transform: translateY(0);
}

.event-content h3 {
    font-size: 25px;
    line-height: 1.8;
    margin: 0 0 15px;
    font-weight: 700;
}

.event-content p {
    font-size: 16px;
    line-height: 2;
    margin: 0;
    color: rgba(255,255,255,.85);
}


/* =========================================
   EVENT NAVIGATION
========================================= */

.event-navigation {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 18px;
    direction: ltr;
}

    .event-navigation button,
    .mobile-history-navigation button {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255,255,255,.35);
        background: rgba(0,0,0,.3);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .3s ease, border-color .3s ease, transform .3s ease;
    }

        .event-navigation button:hover,
        .mobile-history-navigation button:hover {
            background: rgba(202,167,107,.2);
            border-color: #caa76b;
            transform: scale(1.05);
        }

.event-counter,
.mobile-history-counter {
    color: white;
    font-size: 13px;
    min-width: 50px;
    text-align: center;
    direction: ltr;
}


/* =========================================
   MOBILE
========================================= */

.mobile-history {
    display: none;
}

@media (max-width: 768px) {

    .history-box {
        height: auto;
        min-height: unset;
        margin: 30px auto;
        background: #111;
        border-radius: 20px;
        overflow: hidden;
    }
        .history-box::after{
            background:none;
        }
      
        .timeline {
            display: none;
        }


    .history-events {
        display: none;
    }


    .event-navigation {
        display: none;
    }


    /* =====================================
       MOBILE HISTORY
    ===================================== */

    .mobile-history {
        display: block;
        width: 100%;
    }


    .mobile-history-image {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 5;
        overflow: hidden;
        background: #111;
    }


    .mobile-history-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 1;
        transform: scale(1);
        transition: opacity .45s ease, transform .7s cubic-bezier(.16,1,.3,1);
    }


    .mobile-history-image.changing
    .mobile-history-img {
        opacity: 0;
        transform: scale(1.04);
    }


    /* =====================================
       MOBILE YEAR
    ===================================== */

    .mobile-history-year {
        position: absolute;
        top: 25px;
        right: 25px;
        z-index: 5;
        color: #ffd28a;
        font-size: 19px;
        font-weight: 700;
        text-shadow: 0 2px 10px rgba(0,0,0,.5);
    }


    /* =====================================
       MOBILE GRADIENT
    ===================================== */

    .mobile-history-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.82) 100% );
        pointer-events: none;
        z-index: 2;
    }


    /* =====================================
       MOBILE TEXT
    ===================================== */

    .mobile-history-overlay {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 4;
        padding: 25px 22px 30px;
        direction: rtl;
        text-align: right;
    }


    .mobile-history-text {
        transition: opacity .35s ease, transform .5s cubic-bezier(.16,1,.3,1);
    }


    .mobile-history-image.changing
    .mobile-history-text {
        opacity: 0;
        transform: translateY(15px);
    }


    .mobile-history-text h3 {
        margin: 0 0 8px;
        color: white;
        font-size: 19px;
        line-height: 1.8;
        font-weight: 700;
    }


    .mobile-history-text p {
        margin: 0;
        color: rgba(255,255,255,.85);
        font-size: 13px;
        line-height: 2;
    }


    /* =====================================
       MOBILE NAVIGATION
    ===================================== */

    .mobile-history-navigation {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        height: 65px;
        background: #111;
        direction: ltr;
    }


        .mobile-history-navigation button {
            width: 34px;
            height: 34px;
            border-color: rgba(255,255,255,.2);
        }
}










.partners {
    padding: 40px 0 20px;
    background: transparent;
}

.partners-carousel {
    max-width: 1100px;
    margin: auto;
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

    .partner img {
        max-height: 100%;
        max-width: 100%;
        opacity: 0.6;
        transition: opacity .3s ease, transform .3s ease;
    }

        .partner img:hover {
            opacity: 1;
            transform: scale(1.05);
 
            
            }

@media (max-width: 768px) {
    .brand-btn{
        padding:10px !important
    }

}


.about .card {
    background: rgba(26, 26, 26, 1) !important;
    color: #fff;
}

.card.active {
    background: #000 !important;
    color: #fff;
}

.about {
    width: 100%;
}

    .about .card {
        width: 50%;
        box-sizing: border-box;
    }

button[aria-expanded=true] .fa-plus {
    display: none;
}

button[aria-expanded=false] .fa-minus {
    display: none;
}

.faq-btn {
    color: #fff !important;
    font-size: 14px;
}

.about .card .card-body {
    width: 100%;
    box-sizing: border-box;
}

.about .card.active h6 {
    color: var(--warning-color) !important;
}





/*Steps*/
.steps-wrapper {
    width: 100%;
    background: #fff;
    border-radius: 0 0 45px 45px;
    padding: 25px 1% 50px;
}


/* =========================
           Steps
        ========================= */
.steps {
    width: 100%;
    margin-bottom: 45px;
}

.step-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.step {
    flex-shrink: 0;
    cursor: pointer;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    transition: .3s ease;
    text-align: center;
}

    .step:hover {
        color: #333;
    }

    .step.active {
        color: #d4a373;
    }

.step-line {
    flex: 1;
    height: 2px;
    background: repeating-linear-gradient( to right, #888 0, #888 6px, transparent 6px, transparent 11px );
    margin: 0 6px;
}

    .step-line.active {
        background: #d4a373;
    }
/* =========================
           Content
        ========================= */

.step-contents {
    width: 100%;
}

.step-content {
    display: none;
    background: #1a1a1a;
    color: #fff;
    border-radius: 35px;
    padding: 30px 45px 40px;
    min-height: 180px;
}

    .step-content.active {
        display: block;
    }

.content-title {
    color: #d4a373;
    font-size: 13px;
    margin-bottom: 8px;
}

.step-content h5 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 20px;
}

.step-content p {
    color: #ddd;
    font-size: 17px;
    line-height: 2;
    margin: 0;
}

@media (max-width: 1600px) and (min-width: 769px) {

    .step-row {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 25px;
    }

    .step {
       /* width: 22%;*/
        text-align: center;
        white-space: normal;
        line-height: 1.6;
    }

    .step-line {
        width: 4%;
        flex: none;
    }
}

@media (max-width: 768px) {
    .steps {
        display: none;
    }

    .steps-wrapper {
        padding: 20px 15px 30px;
        border-radius: 0 0 25px 25px;
    }

    .step-contents {
        width: 100%;
    }

    .step-content {
        display: block !important;
        min-height: auto;
        margin-bottom: 15px;
        padding: 22px 20px 25px;
        border-radius: 22px;
    }

        .step-content:last-child {
            margin-bottom: 0;
        }

    .content-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 13px;
        line-height: 2;
    }
    .about-box {
      
        padding: 30px 25px 40px !important;
    }
    .about {
        padding: 2rem !important;
    }
        .about  {
            font-size: 13px !important;
            line-height: 2;
        }
}

.certificate-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}



@media (max-width: 576px) {
    .certificate-container {
        gap: 16px;
    }
}
.about-box {
    color: #ddd;
    background: #1a1a1a;
    color: #fff;
    border-radius: 35px;
    padding: 30px 45px 40px;
    min-height: 180px;
}
    .about-box p {
        color: #ddd;
    }

.switch-tabs {
    width: 50%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .switch-tabs::-webkit-scrollbar {
        display: none;
    }

    .switch-tabs .switch-tab {
        flex: 0 0 auto;
    }

@media (max-width: 991.98px) {
    .switch-tabs {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .switch-tabs {
        width: 100%;
        justify-content: flex-end;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }

        .switch-tabs .switch-tab {
            flex-shrink: 0;
        }
}

@media (max-width: 767.98px) {
    .switch-tabs {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
}