/* =========================
   GOOGLE FONTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* =========================
   ROOT VARIABLES
========================= */
:root {

    --primary-color: #111111;
    --secondary-color: #f5c7d7;
    --accent-color: #ff4f87;
    --light-bg: #fff8fb;
    --white-color: #ffffff;
    --text-color: #555555;
    --heading-color: #121212;

    --border-radius: 24px;

    --shadow-light:
        0 10px 30px rgba(0, 0, 0, 0.05);

    --shadow-hover:
        0 20px 40px rgba(0, 0, 0, 0.12);

    --transition:
        all 0.4s ease;

}

/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Outfit', sans-serif;
    background: #ffffff;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.7;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
    display: block;
}

section {
    position: relative;
    padding: 100px 0;
}

.container {
    position: relative;
    z-index: 2;
}

h1,
h2,
h3,
h4,
h5,
h6 {

    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {

    font-size: 68px;
    font-weight: 800;
    margin-bottom: 25px;
}

h2 {

    font-size: 48px;
    margin-bottom: 20px;
}

h3 {

    font-size: 28px;
}

p {

    font-size: 17px;
    color: var(--text-color);
}

.btn {

    padding: 16px 38px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-dark {

    background: var(--primary-color);
    color: white;
}

.btn-dark:hover {

    background: var(--accent-color);
    transform: translateY(-3px);
}

/* =========================
   HERO SECTION
========================= */

.hero-section {

    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(to right,
            rgba(255, 248, 251, 0.95),
            rgba(255, 255, 255, 0.8)),
        url('../images/bg-pattern.png');

    overflow: hidden;
}

.hero-section h1 {

    max-width: 650px;
}

.hero-section p {

    font-size: 20px;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-section img {

    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================
   ABOUT SECTION
========================= */

.about-section {

    background: var(--white-color);
}

.about-section img {

    border-radius: 30px;
    box-shadow: var(--shadow-light);
}

.about-section h2 {

    margin-bottom: 25px;
}

.about-section p {

    margin-bottom: 20px;
}

/* =========================
   COURSES SECTION
========================= */

.courses-section {

    background: var(--light-bg);
}

.course-box {

    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.course-box::before {

    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right,
            var(--accent-color),
            var(--secondary-color));
    left: 0;
    top: 0;
}

.course-box:hover {

    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-box h3 {

    margin-bottom: 18px;
}

/* =========================
   WHY SECTION
========================= */

.why-section {

    background: #ffffff;
}

.why-box {

    background: white;
    padding: 50px 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid #f2f2f2;
}

.why-box:hover {

    background: var(--primary-color);
    transform: translateY(-8px);
}

.why-box:hover h4 {

    color: white;
}

.why-box h4 {

    transition: var(--transition);
    margin: 0;
}

/* =========================
   TRANSFORMATION SECTION
========================= */

.transformation-section {

    background: var(--light-bg);
}

.transformation-section img {

    border-radius: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.transformation-section img:hover {

    transform: scale(1.03);
}

/* =========================
   CERTIFICATION SECTION
========================= */

.certification-section {

    background: white;
}

.certification-section img {

    border-radius: 28px;
    box-shadow: var(--shadow-hover);
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-section {

    background: linear-gradient(to bottom,
            #fff8fb,
            #ffffff);
}

.testimonial-box {

    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    height: 100%;
    position: relative;
}

.testimonial-box::before {

    content: '❝';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 60px;
    color: rgba(255, 79, 135, 0.1);
}

.testimonial-box:hover {

    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.testimonial-box p {

    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-box h5 {

    color: var(--accent-color);
}

/* =========================
   FAQ SECTION
========================= */

.faq-section {

    background: white;
}

.accordion-item {

    border: none;
    margin-bottom: 20px;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.accordion-button {

    font-size: 18px;
    font-weight: 600;
    padding: 22px 25px;
    background: white;
}

.accordion-button:not(.collapsed) {

    background: var(--primary-color);
    color: white;
}

.accordion-button:focus {

    box-shadow: none;
}

.accordion-body {

    padding: 25px;
    font-size: 16px;
}


/* =========================
   SECTION HEADINGS
========================= */

.text-center h2 {

    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.text-center h2::after {

    content: '';
    width: 80px;
    height: 4px;

    background:
        linear-gradient(to right,
            var(--accent-color),
            var(--secondary-color));

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;

    border-radius: 100px;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {

    width: 10px;
}

::-webkit-scrollbar-track {

    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {

    background: var(--accent-color);
    border-radius: 100px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px) {

    section {

        padding: 70px 0;
    }

    h1 {

        font-size: 48px;
    }

    h2 {

        font-size: 36px;
    }

    .hero-section {

        text-align: center;
        padding-top: 120px;
    }

    .hero-section img {

        margin-top: 50px;
    }

    .about-section img,
    .certification-section img {

        margin-bottom: 40px;
    }

}

@media(max-width:767px) {

    h1 {

        font-size: 38px;
    }

    h2 {

        font-size: 30px;
    }

    .btn {

        width: 100%;
    }

    .course-box,
    .testimonial-box,
    .why-box {

        padding: 30px 25px;
    }

   

}