:root {

    --primary-color: #ff7a18;
    --secondary-color: #ff9f43;
    --primary: var(--primary-color);
    --secondary: var(--secondary-color);
    --heading: #111;
    --text: #555;

    --bg: #ffffff;
    --bg-light: #f5f7fb;
    --bg-orange: #fff2e8;

    --font: 'Poppins', sans-serif;

    --h1: 48px;
    --h2: 34px;
    --h3: 22px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: var(--h1);
    color: var(--heading);
}

h2 {
    font-size: var(--h2);
    color: var(--heading);
}

h3 {
    font-size: var(--h3);
    color: var(--heading);
}

.hero-text span {
    color: var(--primary);
}

.bg-light {
    background: var(--bg-orange);
}

/* NAVBAR */

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--heading);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* BUTTONS */

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    display: inline-block;
    text-decoration: none;
    margin-top: 15px;
}

.btn-secondary {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 12px 28px;
    border-radius: 30px;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--secondary);
    color: #fff;
}

/* HERO */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image img {
    width: 100%;
}

/* GRIDS */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARDS */

.card,
.course-card,
.review,
.category {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Instructor Section */

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
    margin-top: 40px;
}

.instructor img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.instructor h4 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

@media(max-width:900px) {

    .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .instructor img {
        width: 110px;
        height: 110px;
    }

}

@media(max-width:500px) {

    .instructor-grid {
        grid-template-columns: 1fr;
    }

    .instructor img {
        width: 100px;
        height: 100px;
    }

}

/* CTA */

.cta {
    background: var(--bg-orange);
    padding: 90px 0;
}

.cta-grid {
    align-items: center;
    gap: 40px;
}

.cta-text h2 {
    margin-bottom: 20px;
}

/* Image */

.cta-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

@media(max-width:900px) {

    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-image img {
        max-width: 350px;
        margin: auto;
    }

}

/* FOOTER */

.gs-footer {
    background: var(--bg);
    color: var(--text);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact a{
    color:inherit;
    text-decoration:none;
    transition:color 0.3s ease;
}

.footer-contact a:hover{
    color:var(--primary);
}

.footer-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: var(--primary);
    color: var(--bg);
    border-radius: 50%;
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom p {
    color: var(--text);
}

@media(max-width:900px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width:500px) {

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

}

/* MOBILE */

@media(max-width:900px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .hero-grid,
    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width:500px) {

    .grid-4 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 34px;
    }

}

.footerlogo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.playschool-section {
    background: var(--bg-orange);
    padding: 90px 0;
}

.playschool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.playschool-features {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.playschool-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
}

.playschool-features i {
    color: #ff7a18;
    font-size: 18px;
}

.playschool-image img {
    width: 100%;
    max-width: 450px;
}

@media(max-width:900px) {

    .playschool-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .playschool-features li {
        justify-content: center;
    }

}

/* contact form */

.contact-section {
    padding: 90px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info */

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 25px;
    color: #555;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-item i {
    color: #ff7a18;
    font-size: 18px;
}

.contact-item a{
    color:inherit;
    text-decoration:none;
    transition:color 0.3s ease;
}

.contact-item a:hover{
    color:#ff7a18;
}

/* Social Icons */

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #ff7a18;
    color: white;
    border-radius: 50%;
    font-size: 16px;
}

/* Form */

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-btn {
    background: #ff7a18;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
}

.contact-btn:hover {
    background: #e96b12;
}

.contact-btn:focus {
    outline: none;
    box-shadow: none;
}

@media(max-width:900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}