

@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis&family=Outfit:wght@400;500;600;700&family=Berkshire+Swash&display=swap');

:root {
    --bg-main: #F0F4FF;
    --primary: #5865F2;
    --text-muted: #64748b;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body {
    background-color: var(--bg-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}


/* =========================
   HEADINGS
========================= */

h1,
h2,
h3,
h4 {
    font-family: 'Climate Crisis', sans-serif;
    line-height: 1.1;
    word-break: break-word;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 80px;
    background-color: black;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 38px;
    width: auto;
}

.logo-text {
    font-family: 'Climate Crisis', sans-serif;
    font-size: 1.6rem;
    color: white;
    line-height: 0.8;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-pill {
    background-color: white;
    color: black;
    padding: 13px 32px;
    border-radius: 100px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-pill:hover {
    background-color: #f0f0f0;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 90vh;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 120px 40px;

    background-color: #f0f0ff;
}


/* =========================
   BADGE
========================= */

.badge {
    display: inline-flex;
    align-items: center;

    background-color: white;

    border: 1px solid rgb(245, 187, 245);

    border-radius: 100px;

    padding: 10px 20px;

    font-size: 0.85rem;
    font-weight: 700;

    color: var(--primary);

    margin-bottom: 32px;

    position: relative;
    z-index: 3;
}


/* =========================
   HERO HEADING
========================= */

.hero h1 {
    font-size: clamp(3.5rem, 5vw, 4.8rem);

    color: black;

    max-width: 900px;

    margin-bottom: 24px;

    line-height: 1;

    position: relative;
    z-index: 3;
}

.hero h1 span {
    color: var(--primary);
}


/* =========================
   HERO DESCRIPTION
========================= */

.hero p {
    font-size: 1.25rem;

    color: var(--text-muted);

    max-width: 650px;

    margin-bottom: 50px;

    font-weight: 400;

    position: relative;
    z-index: 3;
}


/* =========================
   HERO ACTIONS
========================= */

.hero-actions {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-bottom: 60px;

    position: relative;
    z-index: 3;
}


/* =========================
   CTA BUTTON
========================= */

.btn-cta {
    background-color: black;

    color: white;

    border-radius: 100px;

    text-decoration: none;

    padding: 20px 48px;

    font-size: 1.1rem;

    display: flex;

    align-items: center;

    font-weight: 700;

    gap: 12px;
}

.btn-cta:hover {
    background-color: #333333;
}


/* =========================
   SECONDARY LINK
========================= */

.link-action {
    color: var(--text-muted);

    text-decoration: none;

    font-weight: 600;
}

.link-action:hover {
    color: black;
}


/* =========================
   FLOATING CARDS
========================= */

.floating-card {
    position: absolute;

    width: 360px;
    height: 360px;

    padding: 14px;

    background-color: white;

    border: 1px solid #93afe7;

    border-radius: 42px;

    overflow: hidden;

    z-index: 2;

    box-shadow: 0 20px 50px rgba(88, 101, 242, 0.08);
}


/* =========================
   CARD IMAGE
========================= */

.floating-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 30px;
}


/* =========================
   LEFT CARD
========================= */

.card-left {
    position: absolute;

    left: 50px;

    top: 50%;

    transform: translateY(-50%) rotate(-8deg);
}


/* =========================
   RIGHT CARD
========================= */

.card-right {
    position: absolute;

    right: 50px;

    top: 50%;

    transform: translateY(-50%) rotate(8deg);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {

    .floating-card {
        width: 280px;
        height: 280px;
    }

    .card-left {
        left: 20px;
    }

    .card-right {
        right: 20px;
    }

    .hero h1 {
        font-size: 4rem;
        max-width: 750px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 3rem;
        max-width: 100%;
    }

    .hero p {
        font-size: 1rem;
        max-width: 500px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .btn-cta {
        padding: 16px 32px;
    }

    .floating-card {
        display: none;
    }
}
/*Features section */

.features {
    padding: 120px 80px;
    background-color: white;
    text-align: center;
}


.features h2 {
    font-size: 3.5rem;
    margin-bottom: 60px;
}


.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}


.feature-card {
    padding: 60px 40px;
    border-radius: 40px;
    background-color: white;
    border: 1px solid #e5e7eb;
}


.f-icon-box {
    width: 80px;
    height: 80px;
    background-color: #f8faff;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
}


.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 800;
}


.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;

}

/* TECH STACK SECTION   */

.tech-stack {
    padding: 80px 40px;
    background-color: #7c4dff;
    border-radius: 60px;
    margin: 40px;
    text-align: center;
}

.tech-stack h2 {
    font-size: 3.3rem;
    margin-bottom: 12px;
    color: white;
}

.tech-stack .section-tag {
    color: white;
    font-weight: 700;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.tech-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}


.t-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: white;
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
}


.tech-card h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}


.tech-tag {
    display: inline-block;
    background-color: #4BB786;
    color: white;
    border-radius: 8px;
    font-size: 0.65rem;
    margin-top: 10px;
    padding: 2px 10px;
    font-weight: 800;
}


.tech-card p {
    font-size: 0.85rem;
    color: white;
    line-height: 1.4;
}

/* PURPLE section */
.purple-section {
    background-color: var(--primary);
    color: white;
    padding: 100px 80px;
    text-align: center;
    border-radius: 80px;
    margin: 40px;
}

.purple-section h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: white;
}



.purple-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}



.btn-white {
    background-color: white;
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-block;

}


/* Footer */
.main-footer {
    padding: 100px 80px 40px;
    background-color: black;
    color: white;
    border-top: 1px solid #333333;
}


.main-footer .footer-grid {
    display: grid;
    gap:80px;
    margin: 0 auto 80px;
    max-width: 1200px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-brand p {
    color: #cccccc;
    font-size: 1rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer-brand .logo-text {
    color: white;
}



.footer-links h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 8000;

}


.footer-links ul {
    list-style: none;
}


.footer-links li {
    margin-bottom: 16px;
}



.footer-links a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
}


.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #333333;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
    font-weight: 500;
}





.teacher-flow {
    padding: 120px 80px;
}

.student-flow {
    padding: 40px 80px 120px;
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}

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

.flow-step {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.student-flow .flow-step:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-content {
    flex: 1;
}

.step-badge {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: block;
    text-transform: uppercase;
}

.flow-content h3 {
    font-size: 3.2rem;
    margin-bottom: 24px;
}

.flow-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.flow-image {
    flex: 1.4;
    border-radius: 40px;
    background-color: white;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.flow-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width: 768px){

    .navbar{
        padding: 8px 16px;
    }

    .logo img{
        height: 28px;
    }

    .logo-text{
        font-size: 1.1rem;
    }

    .nav-links{
        display: none;
    }

    .btn-pill{
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero{
        padding: 60px 16px;
    }



    .teacher-flow {
        padding: 120px 80px;
    }

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

    .flow-step{
        display: flex;
        align-items: center;
        gap: 80px;
        margin-bottom: 120px;
    }

    .flow-content{
        flex: 1;
    }

    .hero h1{
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .hero p{
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-cta{
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 1rem;
    }

    .link-action{
        font-size: 0.9rem;
    }

    .floating-card{
        display: none;
    }

    .features{
        padding: 60px 16px;
    }

    .features h2 {
        font-size: 2.1rem;
    }

    .feature-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card{
        padding: 24px;
        border-radius: 24px;
    }

    .tech-stack{
        padding: 60px 16px;
        margin: 20px;
        border-radius: 30px;
    }

    .tech-stack h2 {
        font-size: 2rem;
    }

    .tech-grid{
        grid-template-columns: 1fr;
    }

    .tech-card{
        padding: 20px;
    }

    .teacher-flow{
        padding: 60px 16px;
    }

    .flow-step{
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }

    .student-flow .flow-step:nth-child(even) {
        flex-direction: column;
    }

    .flow-content h3{
        font-size: 1.8rem;
    }

    .flow-content p {
        font-size: 1rem;
    }

    .flow-image{
        width: 100%;
        border-radius: 20px;
    }

    .purple-section{
        padding: 60px 16px;
        margin: 20px;
        border-radius: 30px;
    }

    .purple-section h2{
        font-size: 2rem;
    }

    .btn-white{
        width: 100%;
        padding: 16px;
    }

    .main-footer{
        padding: 60px 16px 30px;
    }

    .main-footer .footer-grid{
        grid-template-columns: 1fr;
        gap: 40px;
        text-align:center;
    }

    img{
        max-width: 100%;
        height: auto;

    }

}