:root {
    --primary: #00cd8e;
    --secondary: #002840;
    --testbg-color: #EEF5FF;
}

/* reset page  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Bricolage Grotesque", sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    all: unset;
}

.section-title-sm {
    font-size: 24px;
}

.section-title {
    font-size: 36px;
}

.section-subtitle {
    font-size: 15px;
    max-width: 600px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0px 32px;
}

/* nav  */
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul a {
    color: #333;
}


/* hero */
.hero-text {
    max-width: 700px;
    margin: 100px 0px;
}

.hero-text h1 {
    font-size: 80px;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-text p {
    max-width: 600px;
    line-height: 1.9;
    color: #333;
}

.hero-text .btn {
    background-color: var(--primary);
    padding: 15px 45px;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 20px;
}

/* image config  */
.hero-image {
    width: 100%;
}

header {
    position: relative;
}

.hero-content {
    position: absolute;
    top: 0px;
    width: 100%;
}

/* courses section  */
.courses-section {
    margin: 130px 0px;
}

.course-cards {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-top: 30px;
}

.course-card {
    width: 380px;
}

.course-card img {
    width: 100%;
    height: 248px;
    margin-bottom: 20px;
}

.course-card h4 {
    font-size: 18px;
    padding-bottom: 8px;
}

.course-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* wcu section */
.wcu-section {
    background-image: url('./Why-choose-us-bg.png');
    background-color: var(--secondary);
    padding: 140px 0px;
    color: white;
}

.wcu-content {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}

.wcu-card {
    width: 350px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 32px;
    border-radius: 24px;
}

.wcu-card img {
    width: 60px;
    margin-bottom: 24px;
}

.wcu-card h4 {
    font-size: 18px;
    padding-bottom: 24px;
}

.wcu-card p {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

.wcu-card div h3 {
    margin-top: 24px;
    font-size: 48px;
}


/* testimonials section */
.testimonials-section {
    padding: 140px 0px;
}

.testimonials-content {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}

.testimonials-card {
    width: 350px;
    background-color: var(--testbg-color);
    padding: 32px;
    border-radius: 24px;
}

.testimonials-card h4 {
    font-size: 20px;
    padding-bottom: 10px;
}

.testimonials-card .testimonial-card-subtitle {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 24px;
}

.testimonials-card p {
    font-size: 13px;
    line-height: 1.6;
    font-weight: 300;
}

.testimonials-card div h3 {
    margin-top: 24px;
    font-size: 48px;
}

/* contact-us section  */
.contact-section {
    padding: 150px 0px;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-text {
    width: 400px;
}

.contact-text h2 {
    margin-bottom: 10px;
}

.contact-text p {
    font-size: 14px;
    font-weight: 300;
}

/* form style  */
.form-contact {
    background-color: var(--secondary);
    padding: 32px;
    border-radius: 24px;
    color: white;
}

.form-contact h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 28px;
}

.form {
    display: flex;
    gap: 1rem;
    margin-bottom: 20px;
}

.inputs-div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inputs-div input {
    width: 270px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 0.4px solid #fff;
    padding: 12px 8px;
    border-radius: 8px;
    color: #fff;
}

.inputs-div input::placeholder {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    font-family: Poppins, 'sans-serif';
}

.form textarea {
    background-color: rgba(255, 255, 255, 0.2);
    border: 0.4px solid #fff;
    padding: 12px 8px;
    border-radius: 8px;
    color: #fff;
}

.form textarea::placeholder {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
}

.contact button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #00cd8e;
    color: white;
    padding: 16px 4px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
}

/* footer style  */
footer {
    background-color: var(--secondary);
    padding: 70px 0px;
    color: white;
}

footer .footer-head {
    width: 320px;
}

footer .footer-head p {
    font-weight: 300;
    padding-top: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 7rem;
}

.footer-links .link-item h6 {
    font-size: 20px;
}

.footer-links .link-item ul li a {
    color: #fff;
}

.footer-links .link-item ul li {
    padding-top: 10px;
}

.footer-links .link-item img {
    width: 20px;
}


.footer-links .link-item .contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 10px;
}

.footer-links .link-item .contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.copyright {
    display: flex;
    justify-content: center;
    padding: 40px 0px;
    font-weight: 300;
}


/* responsiveness  */
@media (max-width: 768px) {

    /* navbar  */
    .navbar-content {
        display: block;
    }

    nav {
        display: none;
    }

    .hero-image {
        height: 70vh;
        object-fit: cover;
        visibility: hidden;
    }

    .hero-text {
        margin-top: 100px;
        width: 350px;
    }

    .hero-text h1 {
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-text p {
        max-width: 300px;
        line-height: 1.6;
    }


    /* courses  */

    /* courses section  */
    .course-cards {
        display: block;
    }

    .course-card {
        width: 300px;
        margin-bottom: 20px;
    }

    /* why-choice-us */
    .wcu-section {
        background-repeat: no-repeat;
    }

    .wcu-content {
        display: block;
    }

    .wcu-card {
        width: 300px;
        margin-bottom: 20px;
    }


    .testimonials-content {
        display: block;
    }

    .testimonials-card {
        width: 300px;
        margin-bottom: 20px;
    }

    /* contact us  */

    /* contact-us section  */
    .contact-section {
        padding: 50px 0px;
    }

    .contact-section .container {
        padding: 0px 10px;
    }

    .contact {
        display: block;
    }

    .contact-text {
        width: 320px;
        margin-bottom: 20px;
    }

    /* form style  */
    .form {
        display: block;
    }

    .inputs-div {
        margin-bottom: 20px;
    }

    .form textarea {
        width: 270px;
    }

    .form input {
        width: 270px;
    }

    /* footer style  */
    footer .footer-head {
    }

    footer .footer-head p {
        font-weight: 200;
        margin-bottom: 20px;
    }

    .footer-content {
        display: block;
    }

    .footer-links {
        display: block;
    }

    .footer-links .link-item {
        margin-bottom: 40px;
    }

    .copyright {
        padding: 10px 0px;
        font-weight: 200;
        font-size: 14px;
    }
}