:root {
    --pad-xs: 5px;
    --pad-sm: 10px;
    --pad-md: 15px;
    --pad-lg: 20px;
    --pad-xl: 30px;
    --mar-xs: 5px;
    --mar-sm: 10px;
    --mar-md: 15px;
    --mar-lg: 20px;
    --mar-xl: 30px;
    --gap-sm: 10px;
    --gap-md: 15px;
    --gap-lg: 20px;
    --gap-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
}

body {
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    user-select: none;
}

.container {
    width: 100%;
    margin: 0 auto;
    /* border: 1px solid black; */
}

.hero-section {
    width: 98%;
    /* border: 1px solid black; */
    margin: 0 auto;
    padding: 4vh 0;
    background: linear-gradient(to right, #1F5B40, #ffffff);
    box-sizing: border-box;
}

.hero-section .content-sec {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-sizing: border-box;
}

.headline-sec {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--gap-xl);
    text-align: center;
    color: #ffffff;
    /* margin-left: 5%; */
}

.headline-sec h1 {
    font-size: clamp(1.6rem, 2vw + 1rem, 4rem);
}

.headline-sec h4 {
    font-weight: lighter;
    font-family: sans-serif;
    font-size: clamp(1rem, 1vw + 0.6rem, 2.2rem);
    color: #F9C593;
}

.headline-sec .hero-btn {
    /* width: 150px; */
    font-size: clamp(.9rem, .6vw + .65rem, 1.4rem);
    font-weight: 600;
    padding: var(--pad-lg) var(--pad-sm);
    background: transparent;
    color: #fffff9;
    border: 2px solid #fffff9;
    border-radius: 33px;
    cursor: pointer;
    transition: background-color .3s ease, transform .3s ease;
}

.headline-sec .hero-btn:hover {
    color: #1F5B40;
    background-color: white;
    border: 2px solid #1F5B40;
    transform: scale(1.05);
}

.image-sec {
    width: 40%;
}

.image-sec img {
    object-fit: contain;
    max-width: 100%;
    opacity: 0;
    transform: scale(0.8);
}

.animate {
    animation: animate .5s ease-out forwards;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: scale(.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


@media screen and (max-width:480px) {
    .hero-section {
        width: 100%;
        padding: 4vh 1%;
        background: linear-gradient(to bottom, #1F5B40, #ffffff);
        margin: 0 auto;
    }

    .hero-section .content-sec {
        flex-direction: column;
        width: 100%;
    }

    .headline-sec {
        order: 2;
        width: 90%;
        gap: var(--gap-lg);
        margin-left: 0;
    }

    .headline-sec h4 {
        color: #1F5B40;
    }

    .headline-sec .hero-btn {
        color: #d68c45;
        border-color: #d68c45;
        /* font-size: .9rem; */
        padding: var(--pad-sm) var(--pad-xs);
        margin-bottom: var(--mar-xl);

    }

    .headline-sec .hero-btn:hover {
        color: white;
        background-color: #d68c45;
        border: none;
    }

    .image-sec {
        order: 1;
        width: 90%;
        display: flex;
        justify-content: center;

    }

    .image-sec img {
        max-width: 100%;
        object-fit: contain;
    }
}

@media screen and (min-width:301px) and (max-width:480px) {
    .headline-sec h4 {
        color: #1F5B40;
    }
}

@media screen and (min-width:481px) and (max-width:1023px) {
    .hero-section {
        width: 98%;
        padding: 2vh 2%;
        background: linear-gradient(to bottom, #1F5B40, #ffffff);
        margin: 0 auto;
    }

    .hero-section .content-sec {
        flex-direction: column;
        width: 100%;
    }

    .headline-sec {
        order: 2;
        width: 90%;

    }

    .headline-sec h1 {
        color: #ffffff;
    }

    .headline-sec h4 {
        color: #1F5B40;
    }

    .headline-sec .hero-btn {
        color: #d68c45;
        border-color: #d68c45;
        /* font-size: 1.1rem; */
        padding: var(--pad-md) var(--pad-sm);
        margin-bottom: var(--mar-xl);

    }

    .headline-sec .hero-btn:hover {
        color: white;
        background-color: #d68c45;
        border: none;
    }

    .image-sec {
        order: 1;
        width: 80%;
        display: flex;
        justify-content: center;
        object-position: center;
    }

    .image-sec img {
        max-width: 80%;
        object-fit: contain;
        object-position: right;
    }
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .image-sec {
        width: 50%;
    }

    .headline-sec {
        gap: var(--gap-lg);
    }
}

@media screen and (min-width:1024px) and (max-width:1439px) {
    .hero-section {
        padding: 4vh 0;

    }

    .hero-section .content-sec {
        width: 1000px;
    }

    .image-sec {
        width: 40%;
        /* border: 1px solid black; */
    }

    .image-sec img {
        max-width: 100%;
        object-fit: contain;
        object-position: right;
    }

    .headline-sec {
        width: 50%;
        gap: var(--gap-lg);
    }

    .headline-sec .hero-btn {
        padding: var(--pad-sm);

    }
}

.course-section {
    width: 1200px;
    /* border: 1px solid black; */
    margin: var(--pad-sm) auto;
    box-sizing: border-box;
    padding: var(--pad-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);


}

.course-section h1 {
    width: 100%;
    color: #d68c45;
    font-size: clamp(1.25rem, 1vw + 1.05rem, 2.4rem);
}

.course-cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-lg);
    justify-content: center;
}

.course-cards .card {
    width: calc(100%/3 - 20px);
    box-sizing: border-box;
    padding: var(--pad-lg) var(--pad-md);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    cursor: pointer;
    background-color: #fffff1;
    opacity: 0;
    transform: translateX(-50px);
    transition: transform .4s ease, opacity .3s ease, box-shadow .3s ease;
}

.course-cards .card:nth-child(1) {
    transition-delay: .1s;
}

.course-cards .card:nth-child(2) {
    transition-delay: .2s;
}

.course-cards .card:nth-child(3) {
    transition-delay: .3s;
}

.course-cards .card.slider {
    opacity: 1;
    transform: translateX(0);
}

@keyframes leftslider {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.course-cards .card img {
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /* color:#F9C593 ; */
}

.course-cards .card h3 {
    font-size: clamp(1rem, .7vw + .9rem, 2rem);
    color: #1F5B40;
}

.course-cards .card p {
    width: 90%;
    font-size: clamp(.9rem, .5vw + .7rem, 1.5rem);
    color: #d68c45;
    font-family: sans-serif;
}

.course-cards .card:hover {
    box-shadow: 0 4px 12px #d1d1d1;


}

.course-cards:has(.card:hover) .card:not(:hover) {
    transform: scale(.95);
    opacity: .8;
}

@media screen and (min-width:1024px) and (max-width:1439px) {
    .course-section {
        width: 1000px;
    }
}

@media screen and (min-width:767px) and (max-width:1023px) {
    .course-section {
        width: 90%;
        gap: var(--gap-md);
    }

    .course-cards {
        /* border: 1px solid black; */
        gap: var(--gap-md);
    }


    .course-cards .card {
        width: calc(100%/3 - 10px);
        padding: 12px var(--pad-sm);
    }



}

@media screen and (min-width:481px) and (max-width:767px) {
    .course-section {
        width: 90%;
        gap: var(--gap-sm);
    }

    .course-cards {
        /* border: 1px solid black; */
        width: 100%;
        gap: var(--gap-sm);
    }

    .course-cards .card {
        width: 100%;
    }
}

@media screen and (max-width:480px) {
    .course-section {
        width: 100%;
        gap: var(--gap-sm);
        padding: var(--pad-sm);
    }

    .course-cards {
        /* border: 1px solid black; */
        width: 100%;
        gap: var(--gap-sm);
        /* padding: 10px 0; */
    }

    .course-cards .card {
        width: 100%;
        padding: 12px var(--pad-sm);
        gap: 8px;
    }


}

.choose-section {
    width: calc(100% - 0% - 10px);
    /* border: 1px solid black; */
    margin: 0 auto;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(31, 91, 64, 0.4)), url('/images/background.jpg') no-repeat center center / cover;
    padding: 50px var(--pad-xl);
    box-sizing: border-box;
    filter: blur(10px);
    opacity: 0;
    transition: all 1s ease;
}

.background {
    filter: blur(0);
    opacity: 1;
}


.choose-section .content {
    width: 60%;
    padding: var(--pad-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 25px;
    margin: 0 auto;
    box-sizing: border-box;
}

.content h1 {
    font-size: clamp(1.8rem, 2vw + 1.1rem, 3.3rem);
    color: #2c3e75;
}

.content p {
    font-size: clamp(.9rem, .6vw + .9rem, 1.7rem);
    font-family: sans-serif;
    color: #136b5b;
    user-select: none;
}

.feature-section {
    width: 1200px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: var(--pad-lg) 0;
    gap: var(--gap-lg);
    box-sizing: border-box;
    /* border: 1px solid black; */
}

.feature-section h1 {
    font-size: clamp(1.25rem, 1vw + 1.05rem, 2.4rem);
    color: #d68c45;
}

.servis-cards {
    width: 100%;
    /* border: 1px solid blue; */
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-lg);
    justify-content: center;
}

.service {
    width: calc(100%/3 - 15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    /* border-top: 1px solid #1F5B40; */
    padding: var(--pad-xl);
    padding-top: 0;
    box-sizing: border-box;
    gap: var(--gap-sm);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
}

.service:nth-child(1) {
    transition-delay: 50ms;
}

.service:nth-child(2) {
    transition-delay: 100ms;
}

.service:nth-child(3) {
    transition-delay: 150ms;
}

.service:nth-child(4) {
    transition-delay: 200ms;
}

.service:nth-child(5) {
    transition-delay: 225ms;
}

.service:nth-child(6) {
    transition-delay: 250ms;
}

.serviceslide {
    /* animation: topslider .6s ease-in-out forwards; */
    opacity: 1;
    transform: translateY(0);
}

.service div {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    text-align: center;
}

.service:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    /* box-shadow: 0 8px 20px #d68c45; */
    transform: translateY(-5px);
}

.service img {
    width: 40%;
    object-fit: contain;
    padding-top: 0;
}

.service h3 {
    font-size: clamp(1rem, .7vw + .9rem, 2rem);
    color: #1F5B40;
}

.service p {
    font-size: clamp(.9rem, .5vw + .65rem, 1.5rem);
    font-family: sans-serif;
    color: #d68c45;
}

.review-section {
    width: 1200px;
    display: flex;
    flex-direction: column;
    padding: var(--pad-lg) 0;
    gap: var(--gap-lg);
    box-sizing: border-box;
    margin: 0 auto;
}

.review-section h1 {
    font-size: clamp(1.25rem, 1vw + 1.05rem, 2.4rem);
    color: #d68c45;
}

.reviews {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: var(--pad-sm) 0;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 auto;
}

.review {
    width: 220px;
    height: 270px;
    display: inline-block;
    margin-right: var(--mar-lg);
    padding: 16px 12px;
    border: 1px solid #e2e2e2;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .1), -2px 2px 6px rgba(0, 0, 0, .1);
    white-space: wrap;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0;
    transform: translateX(50px);
    transition: all .3s ease;

}

.review.animation {
    opacity: 1;
    transform: translateX(0);
}

.review:hover {
    transform: scale(1.01);
}

.review h3 {
    font-size: clamp(.9rem, .5vw + .65rem, 1.5rem);
    color: #136b5b;
    font-weight: 600;
    font-style: italic;
    height: 20%;
}

.review h4 {
    height: 15%;
    font-size: clamp(.9rem, .5vw + .65rem, 1.2rem);
    color: #1daf94;
    font-weight: 500;
}

.review p {
    font-size: clamp(.9rem, .5vw + .5rem, 1.5rem);
    color: #d68c45;
    font-family: sans-serif;
    height: 55%;


}

.review h4:last-child {
    font-style: italic;
    font-size: clamp(.9rem, .5vw + .65rem, 1.2rem);
    color: #999;
    height: 10%;

}

@media screen and (min-width:1024px) and (max-width:1439px) {
    .choose-section {
        width: calc(100% - 2% - 0px);
    }

    .feature-section {
        width: 1000px;
    }

    .review-section {
        width: 1000px;
    }

    .choose-section .content {
        width: 60%;
        margin: 0 auto;
    }

    .reviews {
        width: 100%;
    }
}

@media screen and (min-width:481px) and (max-width:1023px) {
    .review-section {
        width: 90%;
        gap: 12px;
        padding-top: 0;

    }

    .reviews {
        width: 100%;
    }

    .reviews .review {
        width: 190px;
        height: 220px;
        padding: var(--pad-md) var(--pad-sm);
        margin-right: var(--mar-md);
    }

    .review h4 {
        height: 10%;
    }

    .review p {
        height: 60%;
    }

}



@media screen and (min-width:767px) and (max-width:1023px) {
    .feature-section {
        width: 90%;
    }

    .feature-section h1 {
        margin-left: 0%;
    }

    .service {
        width: calc(100%/2 - 10px);
    }

    .choose-section {
        width: 98%;
        background-position: top center;
        /* border: 1px solid black; */
        padding: var(--pad-xl) var(--pad-lg);
    }

    .choose-section .content {
        width: 100%;
        /* border: 1px solid black; */
        margin-left: 0%;
    }
}

@media screen and (min-width:481px) and (max-width:767px) {
    .feature-section {
        width: 90%;

    }

    .servis-cards {
        gap: var(--gap-sm);
    }

    .service {
        width: 100%;
        flex-direction: row;
        padding: var(--pad-sm);
    }

    .service img {
        width: 30%;
    }

    .service div {
        justify-content: flex-start;
        gap: 7px;
        text-align: start;
    }

    .choose-section {
        width: 98%;
        background-position: top center;
        /* border: 1px solid black; */
        padding: var(--pad-xl) var(--pad-lg);
    }

    .choose-section .content {
        width: 100%;
        /* border: 1px solid black; */
        margin-left: 0%;
    }

}

@media screen and (min-width:301px) and (max-width:480px) {
    .feature-section {
        width: 100%;
        padding: 13px;
    }

    .servis-cards {
        gap: var(--gap-sm);
    }

    .service {
        width: 100%;
        padding: var(--pad-md);
    }

    .service img {
        width: 30%;
    }

    .service div {
        justify-content: center;
        align-items: center;
        text-align: center;

    }



    .choose-section {
        width: 100%;
        background-position: top center;
        /* border: 1px solid black; */
        padding: var(--pad-lg) var(--pad-sm);
    }

    .choose-section .content {
        width: 100%;
        margin-left: 0%;
        gap: var(--gap-sm);
    }

    .review-section {
        width: 100%;
        padding: 13px;
        gap: 12px;
        padding-top: 0;

    }

    .reviews {
        width: 100%;
    }

    .reviews .review {
        width: 180px;
        height: 220px;
        padding: var(--pad-md) var(--pad-lg);
        margin-right: 13px;
    }


    .review h4 {
        height: 10%;
    }

    .review p {
        height: 60%;
    }
}

@media screen and (max-width:300px) {
    .feature-section {
        width: 100%;
        padding: 13px;
    }

    .servis-cards {
        gap: var(--gap-sm);
    }

    .service {
        width: 100%;
        padding: 13px;
    }

    .service img {
        width: 40%;
    }

    .service div {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .choose-section {
        width: 100%;
        background-position: top center;
        /* border: 1px solid black; */
        padding: var(--pad-lg);
    }

    .choose-section .content {
        width: 100%;
        margin-left: 0%;
        padding: var(--pad-xs);
        gap: var(--gap-sm);
    }

    .review-section {
        width: 100%;
        padding: 13px;
        gap: var(--gap-sm);
    }

    .reviews {
        width: 100%;
    }

    .reviews .review {
        width: 160px;
        height: 210px;
        padding: var(--pad-sm);
        margin-right: var(--mar-sm);
        /* border: 1px solid black; */
    }

    .review h4 {
        height: 10%;
    }

    .review p {
        height: 60%;
    }
}

@media screen and (min-width:1920px) {
    .hero-section {
        justify-content: center;
        padding: 4vh 4vw;
    }

    .hero-section .content-sec {
        width: 1500px;
    }

    .headline-sec {
        width: 50%;
        margin-left: 0;
        gap: 40px;
    }


    .image-sec {
        width: 40%;
        text-align: center;
    }

    .course-section {
        width: 1500px;
    }


    .choose-section {
        width: calc(100% - 2% - 0px);
    }

    .feature-section {
        width: 1500px;
    }

    .review-section {
        width: 1500px;
        /* padding-top: 0; */

    }

    .reviews {
        width: 100%;

    }

    .reviews .review {
        width: 260px;
        height: 300px;
        padding: var(--pad-lg);
        margin-right: var(--mar-lg);
    }

    .review h4 {
        height: 10%;
    }

    .review p {
        height: 60%;
    }
}