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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lexend", sans-serif;

    color: #101a3a;

    background: #ffffff;

    line-height: 1.5;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


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

.navbar {
    height: 72px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeff;
}

.navbar-container {
    max-width: 1400px;

    height: 100%;

    margin: 0 auto;

    padding: 0 3%;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* ================= BRAND ================= */

.brand {
    display: flex;

    align-items: center;

    gap: 9px;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    margin-right: -17px;
}

.brand-name {
    font-size: 22px;

    font-weight: 700;

    color: #101a3a;
}

.brand-name span {
    color: #6542f5;
}


/* ================= NAV LINKS ================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 36px;

    font-size: 16px;
}

.nav-links a {
    padding: 27px 0;

    color: #17203d;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6542f5;
}

.nav-links a.active {
    color: #6542f5;
}


/* ================= MENU BUTTON ================= */

.menu-btn {
    display: none;

    border: none;

    background: transparent;

    color: #101a3a;

    font-size: 25px;

    cursor: pointer;
}


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

.about-hero {
    min-height: 340px;

    padding: 55px 5% 45px;

    background:
        radial-gradient(circle at 75% 45%,
            #e7e1ff 0%,
            transparent 32%),
        linear-gradient(120deg,
            #fafaff,
            #f2f1ff);

    overflow: hidden;
}

.about-hero-container {
    width: 100%;

    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr 0.9fr;

    align-items: center;

    gap: 40px;
}


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

.about-hero-content {
    max-width: 650px;
}

.about-label {
    margin-bottom: 14px;

    color: #607293;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.about-hero h1 {
    margin-bottom: 18px;

    color: #101a3a;

    font-family: "Lexend", sans-serif;

    font-size: clamp(40px,
            4.5vw,
            60px);

    line-height: 1.08;

    letter-spacing: -1.8px;
}

.about-hero h1 span {
    color: #6542f5;
}

.about-hero-content p {
    max-width: 570px;

    color: #536589;

    font-size: 16px;

    line-height: 1.6;
}


/* ================= IMAGE SPACE ================= */

.about-hero-image {
    width: 100%;

    min-height: 270px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}

/*
   Put your future image here:

   .about-hero-image img {
       width: 100%;
       max-width: 560px;
       object-fit: contain;
   }
*/


/* =========================================================
   WHY CAMPUSNOTES
   ========================================================= */

.why-section {
    padding: 55px 5% 65px;

    background: #ffffff;
}

.section-heading {
    max-width: 650px;

    margin: 0 auto 35px;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 8px;

    font-family: "Lexend", sans-serif;

    font-size: clamp(32px,
            4vw,
            42px);

    line-height: 1.1;

    letter-spacing: -1px;
}

.section-heading h2 span {
    color: #6542f5;
}

.section-heading p {
    color: #627091;

    font-size: 15px;

    line-height: 1.6;
}


/* ================= WHY GRID ================= */

.why-grid {
    width: 100%;

    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.why-card {
    min-height: 205px;

    padding: 18px;

    border: 1px solid #dddff0;

    border-radius: 10px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.why-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(80, 70, 130, 0.08);
}

.why-icon {
    width: 46px;
    height: 46px;

    margin-bottom: 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg,
            #6542f5,
            #8b65ff);

    color: #ffffff;

    font-size: 20px;
}

.why-card h3 {
    margin-bottom: 8px;

    font-family: "Lexend", sans-serif;

    font-size: 16px;
}

.why-card p {
    color: #627091;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-section {
    padding: 60px 5% 70px;

    background:
        linear-gradient(135deg,
            #fafaff,
            #f4f3ff);
}

.how-container {
    max-width: 1350px;

    margin: 0 auto;
}

.how-heading {
    margin-bottom: 38px;
}

.how-heading h2 {
    margin-bottom: 6px;

    font-family: "Lexend", sans-serif;

    font-size: clamp(34px,
            4vw,
            44px);

    letter-spacing: -1px;
}

.how-heading h2 span {
    color: #6542f5;
}

.how-heading p {
    color: #627091;

    font-size: 15px;
}


/* ================= STEPS ================= */

.steps {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;

    align-items: start;

    gap: 15px;
}

.step-number {
    width: 50px;
    height: 50px;

    margin-bottom: 14px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg,
            #6542f5,
            #7548f8);

    color: #ffffff;

    font-size: 20px;

    font-weight: 700;
}

.step h3 {
    margin-bottom: 8px;

    font-size: 15px;
}

.step p {
    max-width: 180px;

    color: #627091;

    font-size: 13px;

    line-height: 1.6;
}

.step-arrow {
    padding-top: 8px;

    color: #a18cf4;

    font-size: 30px;
}


/* =========================================================
   MISSION & VISION
   ========================================================= */

.mission-section {
    padding: 45px 5% 55px;

    background: #f7f6ff;
}

.mission-container {
    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}

.mission-card {
    min-height: 155px;

    padding: 22px;

    display: flex;

    align-items: flex-start;

    gap: 20px;

    border: 1px solid #dddff0;

    border-radius: 10px;

    background: #ffffff;
}

.mission-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #efedff;

    color: #6542f5;

    font-size: 22px;
}

.vision-icon {
    color: #3477e8;
}

.mission-label {
    margin-bottom: 5px;

    color: #6542f5;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.mission-content h3 {
    margin-bottom: 8px;

    font-family: "Lexend", sans-serif;

    font-size: 17px;
}

.mission-content p {
    color: #627091;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    width: 100%;

    margin-top: 0;

    padding: 0 4.5%;

    background: #fafaff;

    border-top: 1px solid #ededf6;
}

.footer-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        2fr 1.1fr 1.1fr 1fr;

    gap: 70px;

    padding: 58px 0 20px;
}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;

    gap: 11px;
}

.footer-logo img {
    width: 32px;
    height: 32px;

    margin-right: -10px;

    object-fit: contain;

    display: block;
}

.footer-logo>span {
    color: #101a3a;

    font-size: 25px;

    font-weight: 600;

    letter-spacing: -0.4px;
}

.footer-logo .purple {
    color: #6542f5;
}

.footer-description {
    margin: 22px 0 0;

    color: #66789b;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links h3,
.footer-right h3 {
    margin: 3px 0 23px;

    color: #40577f;

    font-size: 17px;

    font-weight: 600;
}

.footer-links a {
    margin-bottom: 14px;

    color: #60769a;

    font-size: 15px;

    line-height: 1.5;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-links a:hover {
    color: #6542f5;

    transform: translateX(2px);
}


/* =========================================================
   FOOTER CONNECT
   ========================================================= */

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-right h3 {
    margin-bottom: 24px;
}

.social {
    display: flex;
    align-items: center;

    gap: 22px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.social a:hover {
    transform: translateY(-2px);

    opacity: 0.75;
}

.insta-logo {
    width: 24px;
    height: 24px;

    object-fit: contain;

    display: block;
}

.telegram-logo {
    width: 28px;
    height: 28px;

    object-fit: contain;

    display: block;
}

.email-logo {
    width: 28px;
    height: 28px;

    object-fit: contain;

    display: block;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    width: 100%;
    max-width: 1400px;

    min-height: 76px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #e1e2f2;
}

.copyright {
    margin: 0;

    color: #7a86a1;

    font-size: 13px;
}

.made-for-students {
    margin: 0;

    display: flex;
    align-items: center;

    gap: 6px;

    color: #7a86a1;

    font-size: 13px;
}

.made-for-students span {
    color: #6542f5;

    font-size: 17px;
}
/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {


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

    .navbar {
        height: 72px;
    }

    .navbar-container {
        padding: 0 3%;
    }

    .brand {
        gap: 9px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 22px;
    }

    .nav-links {
        gap: 24px;
        font-size: 14px;
    }

    .nav-links a {
        padding: 27px 0;
    }


    .about-hero {
        padding: 50px 5% 40px;
    }

    .about-hero-container {
        grid-template-columns:
            1fr 0.85fr;

        gap: 20px;
    }

    .about-hero h1 {
        font-size: clamp(38px,
                5vw,
                52px);
    }

    .why-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .steps {
        grid-template-columns:
            repeat(4, 1fr);

        gap: 30px;
    }

    .step-arrow {
        display: none;
    }

    .mission-container {
        gap: 14px;
    }

    .footer-links {
        gap: 16px;
    }
}/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

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

    .navbar {
        height: 68px;
    }

    .navbar-container {
        padding: 0 20px;
    }

    .brand {
        gap: 9px;
    }

    .logo-icon {
        margin-left: -17px;
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 21px;
    }

    /* Hamburger */

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        border: none;
        background: transparent;

        font-size: 28px;
        color: #101a3a;

        cursor: pointer;
    }

    /* Hide desktop navigation */

    .nav-links {
        display: none;

        position: absolute;
        top: 68px;
        left: 0;

        width: 100%;

        padding: 12px 20px 20px;

        background: #ffffff;
        border-bottom: 1px solid #eeeeff;

        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        box-sizing: border-box;

        z-index: 100;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 5px;
        font-size: 16px;
    }

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

    .about-hero {
        padding: 42px 6% 35px;

        min-height: auto;
    }

    .about-hero-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .about-hero-content {
        max-width: none;
    }

    .about-label {
        margin-bottom: 12px;

        font-size: 10px;
    }

    .about-hero h1 {
        font-size: clamp(34px,
                10vw,
                46px);

        line-height: 1.08;

        letter-spacing: -1.2px;

        margin-bottom: 16px;
    }

    .about-hero-content p {
        font-size: 14px;

        line-height: 1.6;
    }

    .about-hero-image {
        min-height: 210px;
    }

/* ================= WHY ================= */

.why-section {
    padding: 45px 6px 50px;
}

.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 30px;
}

.section-heading p {
    font-size: 13px;
}


/* ================= WHY GRID ================= */

.why-grid {
    grid-template-columns: 1fr;

    gap: 12px;
}


/* ================= WHY CARD ================= */

.why-card {
    min-height: auto;

    padding: 22px 18px;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;
}


/* ================= WHY ICON ================= */

.why-icon {
    width: 56px;
    height: 56px;

    margin-bottom: 18px;

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

    flex-shrink: 0;
}

.why-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* ================= WHY TITLE ================= */

.why-card h3 {
    margin-bottom: 9px;

    text-align: center;

    font-size: 18px;
}


/* ================= WHY DESCRIPTION ================= */

.why-card p {
    max-width: 330px;

    margin: 0 auto;

    text-align: center;

    font-size: 13px;

    line-height: 1.6;
}


    /* ================= HOW ================= */

    .how-section {
        padding: 45px 6% 50px;
    }

    .how-heading h2 {
        font-size: 32px;
    }

    .how-heading p {
        font-size: 13px;
    }

    .steps {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .step {
        display: grid;

        grid-template-columns: 50px 1fr;

        column-gap: 15px;
    }

    .step-number {
        grid-row: span 2;

        margin-bottom: 0;
    }

    .step h3 {
        margin-top: 3px;
    }

    .step p {
        max-width: none;
    }


    /* ================= MISSION ================= */

    .mission-section {
        padding: 35px 6% 45px;
    }

    .mission-container {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .mission-card {
        padding: 18px;

        gap: 15px;
    }

    .mission-icon {
        width: 44px;
        height: 44px;

        flex-basis: 44px;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    footer {
        padding: 0 20px;

        box-sizing: border-box;
    }

    .footer-container {
        max-width: none;

        display: grid;

        grid-template-columns: 1fr 1fr;

        column-gap: 25px;
        row-gap: 32px;

        padding: 42px 0 22px;

        box-sizing: border-box;
    }

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: 1;

        align-items: center;

        text-align: center;

        margin-bottom: 5px;
    }

    .footer-logo {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 1px;
    }
    

    .footer-logo img {
        width: 30px;
        height: 30px;

        margin-right: 0;
    }

    .footer-logo>span {
        font-size: 21px;

        line-height: 1;
    }

    .footer-description {
        margin: 14px auto 0;

        max-width: 260px;

        font-size: 12px;

        line-height: 1.65;
    }

    .footer-description br {
        display: none;
    }

    .footer-container>.footer-links:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        margin-left: 25px;
    }

    .footer-container>.footer-links:nth-child(3) {
        grid-column: 2;
        grid-row: 2;

        margin-left: 50px;
    }

    .footer-links h3 {
        margin: 0 0 0px;
       
        font-size: 14px;
    }

    .footer-links a {
        margin-bottom: -6px;

        font-size: 12px;

        line-height: 1.5;
    }

    .footer-right {
        grid-column: 1 / -1;
        grid-row: 3;

        align-items: center;

        text-align: center;

        margin-top: 2px;
    }

    .footer-right h3 {
        margin: 0 0 15px;

        font-size: 14px;
    }

    .social {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 20px;
    }

    .insta-logo {
        width: 22px;
        height: 22px;
    }

    .telegram-logo,
    .email-logo {
        width: 25px;
        height: 25px;
    }

    .footer-bottom {
        min-height: auto;

        padding: 18px 0;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 7px;

        text-align: center;
    }

    .copyright,
    .made-for-students {
        font-size: 10px;
    }
}