:root {
    --primary: #d55a00;
    /* Strong orange */
    --secondary: #ffad42;
    /* Lighter/softer orange */
    --accent: #ffa940;
    /* Accent orange (between primary and secondary) */
    --highlight: #ffe6c7;
    /* Very light warm orange for highlights */
    --background: #fff7f1;
    /* Subtle warm orange background */
    --white: #ffffff;
    --gradient1: #fa892d;
    /* Main orange gradient: vibrant */
    --gradient2: #ffc176;
    /* Lighter orange/apricot gradient */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    background: var(--background);
    color: #000;
    line-height: 1.7;
}

header {
    background: linear-gradient(90deg, var(--gradient1) 70%, var(--highlight) 100%);
    color: var(--white);
    padding: 1.7rem 0 1rem 0;
    text-align: center;
    box-shadow: 0px 6px 24px 0px rgba(213, 90, 0, 0.11);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.2rem;
    text-shadow: 1px 2px 6px rgba(213, 90, 0, 0.19);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.logo .fa-hat-wizard {
    color: var(--accent);
    font-size: 2.1rem;
}

nav {
    margin-top: 1.1rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-size: 1.03rem;
    transition: color 0.2s, border-bottom 0.2s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.banner {
    background: linear-gradient(120deg, var(--gradient1) 65%, var(--accent) 90%);
    color: var(--white);
    text-align: center;
    padding: 4.2rem 1.2rem 3rem 1.2rem;
    border-radius: 0 0 60px 60px;
    box-shadow: 0 2px 28px rgba(213, 90, 0, 0.09);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.banner::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.43;
    z-index: 1;
}

.banner h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 1px 2px 16px rgba(213, 90, 0, 0.21);
    z-index: 10;
    position: relative;
}

.banner p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    position: relative;
}

.banner button {
    background: var(--accent);
    border: none;
    padding: 0.85rem 2.3rem;
    color: var(--primary);
    font-size: 1.12rem;
    border-radius: 28px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    box-shadow: 0 3px 16px rgba(213, 90, 0, 0.13);
    transition: background 0.2s, color 0.2s, transform 0.18s;
    z-index: 10;
    position: relative;
}

.banner button:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px) scale(1.06);
}

.section {
    padding: 3.5rem 1.2rem 3rem 1.2rem;
    max-width: 1180px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 2px 28px rgba(213, 90, 0, 0.06);
    margin-bottom: 2.8rem;
}

.section h2 {
    color: var(--gradient1);
    font-size: 2.3rem;
    margin-bottom: 1.7rem;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 2.2rem;
    margin-top: 0.6rem;
}

.service-card {
    background: linear-gradient(120deg, var(--background) 60%, var(--highlight) 120%);
    border-radius: 15px;
    padding: 2.1rem 1.25rem;
    box-shadow: 0 3px 18px rgba(255, 173, 66, 0.09);
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 2.5px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: scale(1.045) translateY(-7px);
    box-shadow: 0 6px 32px rgba(255, 161, 64, 0.16);
    border: 2.5px solid var(--accent);
}

.service-card i,
.service-card .fa-solid {
    font-size: 2.7rem;
    color: var(--accent);
    margin-bottom: 1.3rem;
    background: var(--highlight);
    border-radius: 50%;
    padding: 0.65em 0.7em;
    box-shadow: 0 1px 6px rgba(255, 230, 199, 0.22);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.26rem;
    margin-bottom: 0.6rem;
    color: var(--primary);
    letter-spacing: 0.9px;
}

.service-card p {
    font-size: 1.075rem;
}

.classes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.class-card {
    background: linear-gradient(100deg, var(--background) 80%, var(--highlight) 200%);
    border: 2px solid var(--accent);
    border-radius: 14px;
    padding: 2rem 1.1rem 1.5rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 3px 13px rgba(255, 161, 64, 0.09);
    transition: box-shadow 0.19s, border 0.19s, transform 0.19s;
    position: relative;
}

.class-card:hover {
    box-shadow: 0 6px 32px rgba(255, 173, 66, 0.16);
    border: 2px solid var(--secondary);
    transform: translateY(-6px) scale(1.03);
}

.class-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-family: 'Montserrat', sans-serif;
}

.class-card p {
    margin-bottom: 1rem;
    font-size: 1.04rem;
}

.class-card .enroll-btn {
    background: var(--gradient1);
    color: var(--white);
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    margin-top: auto;
    align-self: flex-end;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 1px 8px rgba(255, 173, 66, 0.09);
    transition: background 0.18s, color 0.18s, transform 0.18s;
}

.class-card .enroll-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.044);
}

.testimonial-section {
    background: linear-gradient(102deg, var(--background) 75%, var(--highlight) 200%);
    padding: 2.5rem 1.2rem 2.5rem 1.2rem;
    margin: 2.2rem 0;
    border-radius: 16px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 24px rgba(255, 173, 66, 0.08);
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
}

.testimonial-card {
    background: var(--white);
    border-radius: 11px;
    padding: 1.25rem 1.4rem;
    max-width: 345px;
    flex: 1 0 260px;
    box-shadow: 0 1px 9px rgba(255, 173, 66, 0.11);
    border-left: 5px solid var(--accent);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.04rem;
}

.testimonial-card .name {
    margin-top: 0.85rem;
    font-weight: 700;
    color: var(--gradient1);
    font-size: 1.04rem;
    font-family: 'Montserrat', sans-serif;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--background) 70%, var(--highlight) 110%);
    padding: 3.5rem 1.2rem 2.8rem 1.2rem;
    border-radius: 18px;
    max-width: 720px;
    box-shadow: 0 2px 24px rgba(255, 173, 66, 0.09);
    margin: 0 auto 3.5rem auto;
}

.contact-section h2 {
    color: var(--gradient1);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    max-width: 520px;
    margin: 0 auto;
}

.contact-form label {
    font-weight: 600;
    color: var(--gradient1);
    margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.72rem;
    border: 2px solid var(--accent);
    border-radius: 8px;
    background: var(--white);
    font-size: 1.08rem;
    font-family: 'Lato', sans-serif;
    transition: border 0.17s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid var(--secondary);
    outline: none;
}

.contact-form textarea {
    min-height: 105px;
    resize: vertical;
}

.contact-form button {
    background: var(--gradient1);
    color: var(--white);
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 8px rgba(255, 173, 66, 0.09);
    align-self: flex-end;
    transition: background 0.19s, color 0.19s, transform 0.16s;
}

.contact-form button:hover {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.048);
}

footer {
    background: linear-gradient(90deg, var(--gradient1), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 1.3rem 0 0.6rem 0;
    border-radius: 30px 30px 0 0;
    margin-top: 3rem;
}

.footer-links {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: #fff;
    margin: 0 0.9rem;
    text-decoration: none;
    font-size: 1.11em;
    transition: color 0.18s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 1100px) {

    .section,
    .testimonial-section {
        max-width: 98vw;
    }
}

@media (max-width: 900px) {

    .section,
    .testimonial-section,
    .contact-section {
        padding: 2rem 0.8rem 1.5rem 0.8rem;
    }
}

@media (max-width: 700px) {
    .banner h1 {
        font-size: 2rem;
    }

    .section h2,
    .contact-section h2 {
        font-size: 1.45rem;
    }

    .classes-list,
    .services,
    .testimonials {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 1.1rem 0.3rem 1.2rem 0.3rem;
        border-radius: 0 0 40px 40px;
    }

    header {
        padding: 0.8rem 0 0.8rem 0;
    }

    .section,
    .contact-section {
        padding: 0.8rem 0.1rem;
    }
}

/* banner */
.banner {
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 60px 60px;
    padding: 2.8rem 1.2rem 2.6rem 1.2rem;
    box-shadow: 0 4px 18px rgba(255, 161, 64, 0.15);
    color: #d55a00;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 60px 60px;
    background: linear-gradient(115deg, rgba(255, 253, 246, 0.97) 65%, rgba(255, 193, 118, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.banner>* {
    position: relative;
    z-index: 1;
}

.terms-section {
    max-width: 840px;
    margin: 2.4rem auto 3rem auto;
    background: #fff;
    border-radius: 21px;
    padding: 2.4rem 2.1rem 2rem 2.1rem;
    box-shadow: 0 4px 24px 0 rgba(255, 161, 64, 0.11);
    font-family: 'Lato', sans-serif;
    color: #b85b16;
}

.terms-section h2 {
    color: #fa892d;
    margin-top: 1.5em;
    margin-bottom: 0.4em;
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.terms-section p {
    margin-bottom: 1.12em;
    line-height: 1.59em;
    font-size: 1.08rem;
}

.terms-section a {
    color: #fa892d;
    text-decoration: underline;
}

.terms-section a:hover {
    color: #d55a00;
}

@media (max-width: 680px) {
    .terms-section {
        padding: 1.2rem 0.6rem 1.2rem 0.6rem;
        border-radius: 13px;
    }

    .banner {
        padding: 1.7rem 0.6rem 1.7rem 0.6rem;
        border-radius: 0 0 30px 30px;
        background-position: left !important;
    }
}