/* =========================
   RESET
========================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "DM Sans", sans-serif;

    background: #ffffff;

    color: #11142d;

    overflow-x: hidden;

}


img {

    width: 100%;

    display: block;

    object-fit: cover;

}


a {

    text-decoration: none;

    color: inherit;

}


button,
input,
textarea {

    font-family: inherit;

}


.container {

    width: min(1180px, 90%);

    margin: auto;

}


.section-padding {

    padding: 100px 0;

}


/* =========================
   COLORS
========================= */

:root {

    --purple: #6d28ff;

    --light-purple: #8b5cf6;

    --dark: #070719;

    --text: #11142d;

    --gray: #66677a;

    --light-bg: #f7f7fb;

}


/* =========================
   HEADER
========================= */

.header {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

}


.nav-container {

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

}


.logo img {

    width: 45px;

    height: 45px;

    object-fit: contain;

    margin-right: -10px;

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1;

    margin-left: -220px;

}


.logo-text strong {

    font-size: 22px;

    font-weight: 700;

    letter-spacing: 2px;

    color: white;

}


.logo-text small {

    font-size: 8px;

    letter-spacing: 3px;

    color: white;

    margin-top: 5px;

}


.desktop-nav {

    display: flex;

    align-items: center;

    gap: 35px;

    color: white;

}


.desktop-nav > a {

    font-size: 14px;

    font-weight: 500;

    transition: .3s;

}


.desktop-nav > a:hover,

.desktop-nav > a.active {

    color: #b28cff;

}


.nav-btn {

    padding: 14px 25px;

    border-radius: 5px;

    background: var(--purple);

    color: white !important;

}


.menu-toggle {

    display: none;

    background: transparent;

    border: none;

    color: white;

    font-size: 25px;

    cursor: pointer;

}


.mobile-menu {

    display: none;

}


/* =========================
   HERO
========================= */

.hero {

    min-height: 620px;

    padding-top: 100px;

    background:

        radial-gradient(circle at 75% 45%,
        rgba(103, 37, 255, .4),
        transparent 35%),

        linear-gradient(115deg,
        #08071b,
        #0d092d 55%,
        #120947);

    color: white;

    overflow: hidden;

}


.hero-container {

    min-height: 600px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

}


.section-tag {

    display: inline-block;

    padding: 7px 15px;

    border-radius: 30px;

    background: rgba(112, 47, 255, .3);

    color: #d1bfff;

    font-size: 12px;

    margin-bottom: 20px;

}


.hero h1 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(38px, 4vw, 62px);

    line-height: 1.05;

    max-width: 680px;

}


.hero h1 span {

    color: #934eff;

}


.hero-content p {

    color: #d1d1e1;

    max-width: 510px;

    line-height: 1.7;

    margin: 25px 0 30px;

}


.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}


.primary-btn,

.secondary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 15px 24px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 600;

    transition: .3s;

}


.primary-btn {

    background: var(--purple);

    color: white;

}


.primary-btn:hover {

    background: #5518d8;

    transform: translateY(-3px);

}


.secondary-btn {

    border: 1px solid rgba(255,255,255,.5);

    color: white;

}


.secondary-btn:hover {

    background: white;

    color: var(--purple);

}


/* HERO IMAGE */

.hero-visual {

    position: relative;

    height: 520px;

    display: flex;

    justify-content: center;

    align-items: end;

}


.hero-glow {

    position: absolute;

    width: 430px;

    height: 430px;

    border-radius: 50%;

    background: radial-gradient(circle,
    rgba(116, 46, 255, .6),
    transparent 65%);

}


.hero-image {

    position: relative;

    z-index: 2;

    width: 500%;

    max-height: 550px;

    object-fit: contain;

    object-position: bottom;

}


.floating-card {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px;

    background: rgba(30, 27, 63, .85);

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 8px;

    backdrop-filter: blur(10px);

}


.floating-card strong,

.floating-card small {

    display: block;

}


.floating-card strong {

    font-size: 12px;

}


.floating-card small {

    font-size: 10px;

    color: #aaa8c3;

    margin-top: 3px;

}


.floating-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--purple);

    border-radius: 8px;

}


.live-card {

    top: 100px;

    left: 0;

}


.instructor-card {

    top: 170px;

    right: 0;

}


.project-card {

    bottom: 70px;

    right: 0;

}


/* =========================
   STATISTICS
========================= */

.stats-section {

    position: relative;

    margin-top: -45px;

    z-index: 10;

}


.stats-container {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: white;

    border-radius: 15px;

    box-shadow: 0 10px 40px rgba(0,0,0,.12);

    padding: 25px 30px;

}


.stat-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 25px;

    border-right: 1px solid #eee;

}


.stat-item:last-child {

    border-right: none;

}


.stat-icon {

    width: 50px;

    height: 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eee6ff;

    color: var(--purple);

    font-size: 20px;

}


.stat-item h3 {

    font-size: 25px;

}


.stat-item p {

    font-size: 12px;

    color: var(--gray);

}


/* =========================
   SECTION HEADINGS
========================= */

.section-label {

    display: block;

    color: var(--purple);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 12px;

}


h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.1;

}


h2 span {

    color: var(--purple);

}


.center-heading {

    text-align: center;

    max-width: 650px;

    margin: auto;

}


/* =========================
   ABOUT
========================= */

.about-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}


.about-image {

    position: relative;

}


.about-image img {

    position: relative;

    z-index: 2;

    border-radius: 15px;

    height: 390px;

}


.image-decoration {

    position: absolute;

    width: 100%;

    height: 100%;

    top: 20px;

    left: 20px;

    background: var(--purple);

    border-radius: 15px;

}


.about-content > p {

    color: var(--gray);

    line-height: 1.8;

    margin: 25px 0;

}


.about-features {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-bottom: 30px;

}


.about-feature {

    display: flex;

    gap: 12px;

}


.about-feature > i {

    color: var(--purple);

    margin-top: 4px;

}


.about-feature h4 {

    font-size: 14px;

}


.about-feature p {

    font-size: 12px;

    color: var(--gray);

    line-height: 1.5;

    margin-top: 5px;

}


/* =========================
   COURSES
========================= */

.courses-section {

    background: var(--light-bg);

}


.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 40px;

}


.view-all {

    color: var(--purple);

    font-size: 13px;

    font-weight: 600;

}


.courses-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}


.course-card {

    background: white;

    border-radius: 12px;

    overflow: hidden;

    border: 1px solid #eee;

    transition: .3s;

}


.course-card:hover {

    transform: translateY(-7px);

    box-shadow: 0 15px 30px rgba(0,0,0,.08);

}


.course-image {

    height: 180px;

    overflow: hidden;

}


.course-image img {

    height: 100%;

    transition: .4s;

}


.course-card:hover .course-image img {

    transform: scale(1.08);

}


.course-content {

    padding: 20px;

}


.course-content h3 {

    font-size: 18px;

    margin-bottom: 10px;

}


.course-content p {

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

    min-height: 45px;

}


.course-duration {

    font-size: 12px;

    color: var(--gray);

    margin: 15px 0;

}


.course-duration i {

    color: var(--purple);

    margin-right: 5px;

}


.course-btn {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border: 1px solid #c9b6ff;

    color: var(--purple);

    padding: 10px 14px;

    border-radius: 5px;

    font-size: 12px;

    transition: .3s;

}


.course-btn:hover {

    background: var(--purple);

    color: white;

}


/* =========================
   WHY CHOOSE US
========================= */

.why-section {

    background: white;

}


.why-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    margin-top: 50px;

}


.why-card {

    padding: 30px 20px;

    border: 1px solid #eee;

    border-radius: 10px;

    text-align: center;

    transition: .3s;

}


.why-card:hover {

    border-color: var(--purple);

    transform: translateY(-5px);

}


.why-icon {

    width: 60px;

    height: 60px;

    margin: auto auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eee6ff;

    color: var(--purple);

    border-radius: 50%;

    font-size: 22px;

}


.why-card h3 {

    font-size: 17px;

    margin-bottom: 10px;

}


.why-card p {

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

}


/* =========================
   SERVICES
========================= */

.services-section {

    background: var(--light-bg);

}


.services-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 40px;

}


.service-card {

    background: white;

    padding: 30px 25px;

    border-radius: 10px;

    transition: .3s;

}


.service-card:hover {

    background: var(--dark);

    color: white;

    transform: translateY(-5px);

}


.service-icon {

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eee6ff;

    color: var(--purple);

    border-radius: 8px;

    margin-bottom: 20px;

}


.service-card h3 {

    font-size: 18px;

    margin-bottom: 12px;

}


.service-card p {

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 20px;

}


.service-card:hover p {

    color: #bbb;

}


.service-card a {

    color: var(--purple);

    font-size: 12px;

    font-weight: 600;

}


/* =========================
   JOURNEY
========================= */

.journey-section {

    background: white;

}


.journey-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    margin-top: 50px;

}


.journey-step {

    position: relative;

    text-align: center;

}


.journey-step > span {

    display: block;

    color: var(--purple);

    font-weight: 700;

    font-size: 20px;

    margin-bottom: 20px;

}


.journey-step > i {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto auto 20px;

    background: #eee6ff;

    color: var(--purple);

    border-radius: 50%;

    font-size: 23px;

}


.journey-step h3 {

    font-size: 17px;

    margin-bottom: 10px;

}


.journey-step p {

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

}


/* =========================
   CTA
========================= */

.cta-section {

    padding: 70px 0;

    background:

        linear-gradient(110deg,
        #0b0820,
        #27105b);

    color: white;

}


.cta-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.cta-section h2 {

    max-width: 600px;

}


.cta-section p {

    color: #c4c0d5;

    max-width: 600px;

    margin-top: 20px;

    line-height: 1.7;

}


.cta-buttons {

    display: flex;

    gap: 15px;

    flex-shrink: 0;

}


/* =========================
   CONTACT
========================= */

.contact-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}


.contact-info > p {

    color: var(--gray);

    line-height: 1.8;

    margin: 25px 0 35px;

}


.contact-item {

    display: flex;

    gap: 15px;

    align-items: center;

    margin-bottom: 20px;

}


.contact-item > i {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eee6ff;

    color: var(--purple);

    border-radius: 50%;

}


.contact-item span,

.contact-item strong {

    display: block;

}


.contact-item span {

    font-size: 12px;

    color: var(--gray);

}


.contact-item strong {

    margin-top: 3px;

}


.contact-form {

    display: flex;

    flex-direction: column;

    gap: 15px;

}


.contact-form input,

.contact-form textarea {

    width: 100%;

    border: 1px solid #ddd;

    padding: 15px;

    border-radius: 5px;

    outline: none;

    resize: vertical;

}


.contact-form input:focus,

.contact-form textarea:focus {

    border-color: var(--purple);

}


/* =========================
   FOOTER
========================= */

.footer {

    background: var(--dark);

    color: white;

    padding-top: 70px;

}


.footer-container {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;

}


.footer-brand > p {

    color: #aaa;

    line-height: 1.7;

    max-width: 260px;

    margin: 20px 0;

}


.social-links {

    display: flex;

    gap: 10px;

}


.social-links a {

    width: 35px;

    height: 35px;

    border: 1px solid #444;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .3s;

}


.social-links a:hover {

    background: var(--purple);

    border-color: var(--purple);

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 13px;

}


.footer-column h3 {

    font-size: 16px;

    margin-bottom: 10px;

}


.footer-column a,

.footer-column p {

    color: #aaa;

    font-size: 13px;

}


.footer-column a:hover {

    color: white;

}


.footer-bottom {

    border-top: 1px solid #242434;

    text-align: center;

    padding: 25px;

    color: #888;

    font-size: 12px;

}


/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #25d366;

    color: white;

    border-radius: 50%;

    font-size: 29px;

    z-index: 1000;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);

    animation: whatsappPulse 2s infinite;

}


/* PULSING RING */

.whatsapp-btn::before {

    content: "";

    position: absolute;

    width: 100%;

    height: 100%;

    border-radius: 50%;

    border: 2px solid #25d366;

    animation: whatsappRing 2s infinite;

}


/* ICON */

.whatsapp-btn i {

    position: relative;

    z-index: 2;

}


/* MAIN PULSE */

@keyframes whatsappPulse {

    0% {

        transform: scale(1);

    }

    10% {

        transform: scale(1.08);

    }

    20% {

        transform: scale(1);

    }

    30% {

        transform: scale(1.08);

    }

    40% {

        transform: scale(1);

    }

    100% {

        transform: scale(1);

    }

}


/* EXPANDING RING */

@keyframes whatsappRing {

    0% {

        transform: scale(1);

        opacity: .8;

    }

    70% {

        transform: scale(1.5);

        opacity: 0;

    }

    100% {

        transform: scale(1.5);

        opacity: 0;

    }

}


/* HOVER EFFECT */

.whatsapp-btn:hover {

    transform: scale(1.12);

    background: #20bd5a;

}


/* =========================
   SCROLL TOP
========================= */

.scroll-top {

    position: fixed;

    right: 25px;

    bottom: 95px;

    width: 42px;

    height: 42px;

    border: none;

    border-radius: 5px;

    background: var(--purple);

    color: white;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 999;

}


.scroll-top.show {

    opacity: 1;

    visibility: visible;

}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {


    .desktop-nav {

        gap: 18px;

    }


    .desktop-nav > a {

        font-size: 12px;

    }


    .hero h1 {

        font-size: 45px;

    }


    .stats-container {

        grid-template-columns: repeat(2, 1fr);

    }


    .stat-item:nth-child(2) {

        border-right: none;

    }


    .stat-item {

        border-bottom: 1px solid #eee;

    }


    .courses-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .why-grid,

    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .journey-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .footer-container {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {


    .container {

        width: min(92%, 500px);

    }


    .section-padding {

        padding: 70px 0;

    }


    /* NAVIGATION */

    .desktop-nav {

        display: none;

    }


    .logo img {
        width: 35px;
    }


    .logo-text{
       display: none;
    }

    .menu-toggle {

        display: block;

    }


    .mobile-menu {

        display: flex;

        position: absolute;

        top: 90px;

        left: 0;

        width: 100%;

        padding: 25px;

        flex-direction: column;

        gap: 20px;

        background: #0b0922;

        transform: translateY(-150%);

        transition: .4s;

    }


    .mobile-menu.active {

        transform: translateY(0);

    }


    .mobile-menu a {

        color: white;

        font-size: 15px;

    }


    .mobile-menu-btn {

        background: var(--purple);

        padding: 14px;

        text-align: center;

        border-radius: 5px;

    }


    /* HERO */

    .hero {

        padding-top: 130px;

        min-height: auto;

    }


    .hero-container {

        display: flex;

        flex-direction: column;

        text-align: left;

    }


    .hero h1 {

        font-size: 40px;

    }


    .hero-content p {

        font-size: 14px;

    }


    .hero-visual {

        height: 390px;

        width: 100%;

        margin-top: 30px;

    }


    .hero-image {

        width: 135%;

    }


    .floating-card {

        transform: scale(.8);

    }


    .live-card {

        left: -20px;

        top: 70px;

    }


    .instructor-card {

        right: -20px;

        top: 120px;

    }


    .project-card {

        right: -15px;

        bottom: 35px;

    }


    /* STATS */

    .stats-section {

        margin-top: -25px;

    }


    .stats-container {

        grid-template-columns: 1fr 1fr;

        padding: 15px;

    }


    .stat-item {

        padding: 15px 8px;

        border-right: 1px solid #eee;

    }


    .stat-item:nth-child(even) {

        border-right: none;

    }


    .stat-item h3 {

        font-size: 20px;

    }


    .stat-item p {

        font-size: 10px;

    }


    .stat-icon {

        width: 40px;

        height: 40px;

        font-size: 15px;

    }


    /* ABOUT */

    .about-container,

    .contact-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .about-image img {

        height: 300px;

    }


    .about-features {

        grid-template-columns: 1fr;

    }


    /* COURSES */

    .section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }


    .courses-grid {

        grid-template-columns: 1fr;

    }


    /* WHY */

    .why-grid,

    .services-grid {

        grid-template-columns: 1fr;

    }


    /* JOURNEY */

    .journey-grid {

        grid-template-columns: 1fr;

    }


    /* CTA */

    .cta-container {

        flex-direction: column;

        align-items: flex-start;

    }


    .cta-buttons {

        flex-direction: column;

        width: 100%;

    }


    .cta-buttons a {

        width: 100%;

    }


    /* FOOTER */

    .footer-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .footer-brand {

        text-align: left;

    }


    .whatsapp-btn {

        width: 55px;
        height: 55px;

        right: 18px;
        bottom: 18px;

        font-size: 26px;

        animation:
            whatsappAttention 2s infinite;

    }


}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 400px) {


    .hero h1 {

        font-size: 34px;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .hero-buttons a {

        width: 100%;

    }


    .stats-container {

        grid-template-columns: 1fr;

    }


    .stat-item {

        border-right: none !important;

        border-bottom: 1px solid #eee;

    }


    .stat-item:last-child {

        border-bottom: none;

    }


    .logo-text strong {

        font-size: 18px;

    }


    .logo-icon {

        width: 36px;

        height: 36px;

    }



}


   









/* =========================================
   HERO IMAGE ANIMATION
========================================= */

.hero-image-hidden {

    opacity: 0;

    transform: translateY(40px) scale(.95);

}


.hero-image-show {

    opacity: 1;

    transform: translateY(0) scale(1);

    transition:

        opacity .8s ease,

        transform .8s ease;

}


/* =========================================
   FLOATING CARD ANIMATION
========================================= */

.floating-card {

    animation:

        floatingCard 4s ease-in-out infinite;

}


@keyframes floatingCard {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

    100% {

        transform: translateY(0);

    }

}


/* =========================================
   HEADER WHEN SCROLLING
========================================= */

.header.scrolled {

    position: fixed;

    background: rgba(7, 7, 25, .95);

    backdrop-filter: blur(10px);

    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);

    transition: .3s;

}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {

    transition:

        transform .4s ease,

        opacity .4s ease;

}


/* =========================================
   REDUCE ANIMATION FOR USERS
   WHO PREFER LESS MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

    }

}

