@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Allison&family=Alyamama:wght@300..900&family=Bebas+Neue&family=Bungee+Spice&family=Condiment&family=Fenix&family=Fleur+De+Leah&family=Fugaz+One&family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Honk:MORF@15&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lavishly+Yours&family=Lobster&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Monoton&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Nabla&family=Orbitron:wght@400..900&family=Pacifico&family=Permanent+Marker&family=Playpen+Sans+Thai:wght@100..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Sofia&family=Story+Script&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* navbar start */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fef6e1;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.logo h2 {
    font-family: 'Playpen Sans Thai', cursive;
    font-size: 26px;
    margin-top: 10px;
    color: #333;
}

ul {
    display: flex;
    align-items: center;
}

ul li {
    list-style: none;
    margin: 0 15px;
}

ul li a {
    text-decoration: none;
    font-size: 16px;
    color: black;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;
}

ul li a:hover::after {
    width: 100%;
}

.navbar-btn button {
    padding: 10px 25px;
    border-radius: 6px;
    background-color: black;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.navbar-btn button:hover {
    background-color: rgb(68, 66, 66);
    transform: scale(1.05);
}

/* navbar end */

/* hero section start */

.hero-container {
    width: 100%;
    height: 559px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    background: #fef6e1;
    color: white;
}

/* LEFT SIDE */
.hero-left {
    width: 50%;
}

.hero-left h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: black;
    margin-bottom: 20px;
    letter-spacing: 1.9;
}

.hero-left p {
    font-size: 18px;
    color: #9a9da0;
    margin-bottom: 25px;
}

/* Input + Button */
.hero-left input {
    width: 350px;
    padding: 15px 15px;
    border: none;
    border-radius: 6px;
    outline: none;
}

.hero-left button {
    padding: 12px 25px;
    background-color: black;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-left button:hover {
    background-color: rgb(44, 42, 42);
}

/* Range Section */
.range {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.range div {
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.range h2 {
    font-size: 30px;
    color: black;
}

.range h5 {
    font-size: 14px;
    margin-top: 5px;
    color: #7b7d80;
}

/* RIGHT SIDE */
.hero-right {
    width: 45%;
    text-align: center;
}

.hero-right img {
    width: 100%;
    max-width: 540px;
    margin-bottom: 20px;
    filter: brightness(1.7);
    filter: contrast(1.5);
    filter: saturate(1.3);
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        width: 100%;
    }

    .hero-right {
        width: 100%;
        margin-top: 40px;
    }

    .range {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* hero section end */

/* company name  */
.trusted {
    padding: 60px 8%;
    text-align: center;
    background-color: #f8f9fa;
}

.trusted p {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.companies {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.companies span {
    font-size: 29px;
    font-weight: 600;
    color: #aaa4a4;
    transition: 0.3s;
    cursor: pointer;
}

.companies span:hover {
    color: black;
    transform: scale(1.1);
}

/* company name end */

/* admission section  Section */
.modern {
    padding: 100px 8%;
    background: #f9f3ee;
    text-align: center;
    /* border: 2px solid black; */
}

.modern h1 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #0f172a;
    font-family: 'poppins' sans-serif;
}

.modern-div {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.modern-div div {
    background: #ffffff;
    width: 320px;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
    text-align: left;
}

.modern-div div:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* box 4 */
.modern-div .box4 {
    background-color: rgb(246, 211, 255);
}

.box4-btn {
    padding: 12px 30px;
    background-color: transparent;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    border: 2px solid rgb(209, 113, 233);
    transition: 0.3s;
}

.box4-btn:hover {
    background-color: rgb(209, 125, 230);
    color: white;
}

/* box 5 */
.modern-div .box5 {
    background-color: #fff2d0;
}

.box5-btn {
    padding: 12px 30px;
    background-color: transparent;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    border: 2px solid #f0cb6e;
    transition: 0.3s;
}

.box5-btn:hover {
    background-color: #f0cb6e;
    color: white
}

/* box 6 */
.modern-div .box6 {
    background-color: #ffdde9;
}

.box6-btn {
    padding: 12px 30px;
    background-color: transparent;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    border: 2px solid #fc82ac;
    transition: 0.3s;
}

.box6-btn:hover {
    background-color: #fc82ac;
    color: white;
}


.modern-div h2 {
    font-size: 23px;
    margin-bottom: 15px;
    font-family: 'poppins' sans-serif;
}

.modern-div p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* admission  section end */

/* about section start */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 10%;
    gap: 50px;
    background-color: #fff9f5;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

/* Left side image */
.about-left img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}

/* Right side content */
.about-right {
    flex: 1;
    min-width: 300px;
}

.about-right h1 {
    font-family: 'poppins' sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-right p {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #555;
}

.about-right button {
    padding: 12px 30px;
    font-size: 1rem;
    background-color: black;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-right button:hover {
    background-color: #a0522d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-right h1 {
        font-size: 2.2rem;
    }

    .about-right p {
        font-size: 1rem;
    }

    .about-left img {
        max-width: 80%;
        margin-bottom: 30px;
    }
}

/* about section end*/

/* courses section start */
.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    margin-top: 30px;
}

.support-container h1 {
    font-size: 2.7rem;
    margin-bottom: 50px;
    font-family: 'poppins' sans-serif;
    color: #111;
}

.support-div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.support-div .box7,
.support-div .box8,
.support-div .box9,
.support-div .box10,
.support-div .box11,
.support-div .box12 {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 20px;
}

.support-div .icon-box {
    min-width: 70px;
    min-height: 70px;
    /* border-radius: 50%; */
    border-radius: 6px;
    background-color: rgba(109, 106, 106, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-div .icon-box img {
    width: 40px;
    height: 40px;
}

.support-div h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    text-align: left;
}

.support-div p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    text-align: left;
    font-family: 'poppins' sans-serif;
}

.support-div .box7:hover,
.support-div .box8:hover,
.support-div .box9:hover,
.support-div .box10:hover,
.support-div .box11:hover,
.support-div .box12:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.box7,
.box8 {
    background-color: #d6d8ff;
}

.box9,
.box10 {
    background-color: #ffd6e0;
}

.box11,
.box12 {
    background-color: #fff1b8;
}

/* courses section end */

/* testimonials section start */
.testimonials {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    background-color: #fff9f5;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonials h1 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #111;
}

.testimonials-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    width: 300px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    overflow: hidden;
}

.card-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.card-img img:hover {
    transform: scale(1.1);
}

.rating i {
    color: #ffcc00;
    margin: 2px;
}

.card h2 {
    margin: 15px 0 10px;
    font-size: 1.3rem;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.card-yellow {
    background-color: #fff8e7;
}

.card-blue {
    background-color: #e7ebff;
}

.card-pink {
    background-color: #ffe7f0;
}

/* testimonials section end */

/* contact section start */
.contact-section {
    background: #f9f9f9;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.contact-container h2 {
    font-size: 40px;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
    color: #111;
}

.contact-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
}

.form-row button {
    padding: 12px 25px;
    background: black;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

.form-row button:hover {
    background: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

/* contact section end */

/* footer start*/

.footer-section {
    background-color: #fef6e1;
    color: #ffffff;
    padding: 60px 8% 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}


.footer-about h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: black;
    margin-left: 25px;
    font-family: 'Playpen Sans Thai', cursive;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: black;
    margin-left: 45px;
}


.footer-about p,
.footer-contact p {
    font-size: 16px;
    line-height: 1.7;
    color: #262727;
    margin-left: 20px;
}


.footer-links ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    margin-left: 60px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #303131;
    font-size: 15px;
    transition: 0.3s ease;
}

.footer-links ul li a:hover {
    color: black;
    padding-left: 5px;
}

.social-icons {
    margin-top: 15px;
    margin-left: 50px;
}

.social-icons i {
    font-size: 26px;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    color: #212122;
}

.social-icons i:hover {
    color: black;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #232425;
}

.footer-bottom p {
    font-size: 14px;
    color: #1e1e1f;
}

@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* footer end*/

/*hero  animation start */
.hero-left {
    opacity: 0;
    transform: translateX(-80px);
    animation: slideLeft 1.2s ease forwards;
}

.hero-right {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 1.2s ease forwards;
    animation-delay: 0.4s;
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*  ABOUT SCROLL ANIMATION */

@keyframes aboutImageScroll {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes aboutContentScroll {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation Apply */

.about-left {
    animation: aboutImageScroll linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.about-right {
    animation: aboutContentScroll linear forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}