/* =========================================================
   ACADEMICHUB
   MAIN WEBSITE STYLES
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #172033;
    line-height: 1.6;
}


a {
    text-decoration: none;
    color: inherit;
}


img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    width: 100%;
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: #ffffff;

    border-bottom: 1px solid #e9edf5;

    position: sticky;
    top: 0;
    z-index: 1000;
}


.logo {
    font-size: 25px;
    font-weight: 800;
    color: #123b73;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}


.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: #536174;

    transition: 0.3s ease;
}


.nav-links a:hover {
    color: #1769e0;
}


.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}


.login-button {
    padding: 11px 18px;

    font-size: 14px;
    font-weight: 700;

    color: #123b73;

    transition: 0.3s ease;
}


.login-button:hover {
    color: #1769e0;
}


.signup-button {
    padding: 12px 21px;

    background: #1769e0;
    color: #ffffff;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;
}


.signup-button:hover {
    background: #0e55bd;
    transform: translateY(-1px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 650px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;

    padding: 80px 7%;

    background:
        linear-gradient(
            135deg,
            #f7faff 0%,
            #eef5ff 100%
        );
}


.hero-content {
    max-width: 650px;
}


.hero-label {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #1769e0;
}


.hero h1 {
    font-size: clamp(42px, 5vw, 67px);

    line-height: 1.08;

    letter-spacing: -2px;

    color: #102a50;

    margin-bottom: 25px;
}


.hero h1 span {
    display: block;
    color: #1769e0;
}


.hero-content > p {
    max-width: 590px;

    font-size: 18px;

    line-height: 1.8;

    color: #5d697a;

    margin-bottom: 32px;
}


.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 27px;
}


.primary-button {
    display: inline-block;

    padding: 15px 27px;

    background: #1769e0;
    color: #ffffff;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    transition: 0.3s ease;
}


.primary-button:hover {
    background: #0e55bd;
    transform: translateY(-2px);
}


.secondary-button {
    display: inline-block;

    padding: 14px 25px;

    background: #ffffff;
    color: #123b73;

    border: 1px solid #d5dfed;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    transition: 0.3s ease;
}


.secondary-button:hover {
    border-color: #1769e0;
    color: #1769e0;
}


.trust-text {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    font-size: 13px;
    font-weight: 600;

    color: #667386;
}


/* =========================================================
   HERO DASHBOARD CARD
========================================================= */

.hero-card {
    display: flex;
    justify-content: center;
    align-items: center;
}


.dashboard-preview {
    width: 100%;
    max-width: 510px;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e2e9f3;

    border-radius: 18px;

    box-shadow:
        0 25px 70px rgba(22, 55, 100, 0.12);
}


.preview-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding-bottom: 25px;

    border-bottom: 1px solid #edf1f6;
}


.preview-top small,
.preview-order small,
.mini-dashboard small {
    display: block;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;

    color: #8a96a8;
}


.preview-top h3 {
    margin-top: 7px;

    font-size: 22px;

    color: #172d4f;
}


.preview-status {
    padding: 7px 11px;

    border-radius: 20px;

    background: #e9f8ef;
    color: #18864b;

    font-size: 11px;
    font-weight: 800;
}


.preview-order {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 25px;
}


.preview-order strong {
    display: block;

    margin-top: 7px;

    font-size: 16px;

    color: #263a57;
}


.preview-order span {
    font-size: 20px;
    font-weight: 800;

    color: #1769e0;
}


.progress-bar {
    width: 100%;
    height: 9px;

    margin: 18px 0 25px;

    background: #e9eef5;

    border-radius: 20px;

    overflow: hidden;
}


.progress {
    width: 75%;
    height: 100%;

    background: #1769e0;

    border-radius: 20px;
}


.preview-items {
    display: flex;
    flex-direction: column;

    gap: 14px;

    font-size: 14px;

    color: #59677b;
}


.preview-items div:first-child,
.preview-items div:nth-child(2) {
    color: #218653;
}


/* =========================================================
   STATS
========================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    padding: 38px 7%;

    background: #ffffff;

    border-bottom: 1px solid #edf1f5;
}


.stat {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding: 5px 20px;

    border-right: 1px solid #e8edf3;
}


.stat:last-child {
    border-right: none;
}


.stat strong {
    font-size: 30px;
    font-weight: 800;

    color: #123b73;
}


.stat span {
    margin-top: 3px;

    font-size: 13px;

    color: #788495;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 100px 7%;
}


.section-heading {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-heading > span {
    display: block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #1769e0;
}


.section-heading h2 {
    margin-bottom: 17px;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    letter-spacing: -1px;

    color: #142d50;
}


.section-heading p {
    font-size: 16px;

    color: #687589;

    line-height: 1.8;
}


/* =========================================================
   SERVICES
========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    max-width: 1250px;

    margin: 0 auto;
}


.service-card {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e4eaf2;

    border-radius: 12px;

    transition: 0.3s ease;
}


.service-card:hover {
    transform: translateY(-7px);

    border-color: #c8daf4;

    box-shadow:
        0 18px 45px rgba(24, 61, 109, 0.09);
}


.service-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 23px;

    border-radius: 10px;

    background: #eaf3ff;

    color: #1769e0;

    font-size: 20px;
    font-weight: 800;
}


.service-card h3 {
    margin-bottom: 12px;

    font-size: 18px;

    color: #1d3557;
}


.service-card p {
    min-height: 105px;

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.75;

    color: #718095;
}


.service-card a {
    font-size: 13px;
    font-weight: 800;

    color: #1769e0;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how-it-works {
    padding: 100px 7%;

    background: #f7faff;
}


.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    max-width: 1200px;

    margin: 0 auto;

    gap: 30px;
}


.step {
    position: relative;

    text-align: center;

    padding: 20px;
}


.step-number {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 23px;

    border-radius: 50%;

    background: #1769e0;
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}


.step h3 {
    margin-bottom: 10px;

    font-size: 17px;

    color: #1d3557;
}


.step p {
    font-size: 14px;

    line-height: 1.7;

    color: #748196;
}


/* =========================================================
   WHY US
========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;

    max-width: 1200px;

    margin: 0 auto;
}


.why-content > span {
    display: block;

    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #1769e0;
}


.why-content h2 {
    margin-bottom: 20px;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    letter-spacing: -1px;

    color: #142d50;
}


.why-content > p {
    margin-bottom: 30px;

    font-size: 16px;

    line-height: 1.8;

    color: #687589;
}


.benefit {
    padding: 17px 0;

    border-top: 1px solid #e9eef4;
}


.benefit strong {
    font-size: 15px;

    color: #1e3658;
}


.benefit p {
    margin-top: 6px;

    font-size: 14px;

    color: #778397;
}


.why-box {
    padding: 25px;

    background: #f1f6fd;

    border-radius: 18px;
}


.mini-dashboard {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e1e8f1;

    border-radius: 13px;

    box-shadow:
        0 20px 50px rgba(25, 57, 100, 0.08);
}


.mini-dashboard h3 {
    margin-top: 8px;
    margin-bottom: 25px;

    font-size: 25px;

    color: #193557;
}


.mini-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-bottom: 20px;
}


.mini-stat-grid div {
    padding: 20px;

    background: #f7f9fc;

    border-radius: 9px;
}


.mini-stat-grid strong {
    display: block;

    font-size: 27px;

    color: #1769e0;
}


.mini-stat-grid span {
    font-size: 12px;

    color: #788496;
}


.mini-order {
    display: flex;
    flex-direction: column;

    gap: 7px;

    padding: 20px;

    background: #f7f9fc;

    border-radius: 9px;
}


.mini-order strong {
    font-size: 15px;

    color: #263a57;
}


.mini-order span {
    font-size: 12px;
    font-weight: 700;

    color: #1d8a4f;
}


/* =========================================================
   CALL TO ACTION
========================================================= */

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin: 20px 7% 100px;

    padding: 55px 65px;

    background: #123b73;

    border-radius: 18px;

    color: #ffffff;
}


.cta > div {
    max-width: 720px;
}


.cta span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #9fc7ff;
}


.cta h2 {
    margin: 10px 0;

    font-size: clamp(30px, 4vw, 43px);

    line-height: 1.15;
}


.cta p {
    max-width: 650px;

    font-size: 15px;

    line-height: 1.7;

    color: #d8e5f6;
}


.cta-button {
    flex-shrink: 0;

    padding: 15px 24px;

    background: #ffffff;
    color: #123b73;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 800;

    transition: 0.3s ease;
}


.cta-button:hover {
    transform: translateY(-2px);

    background: #edf5ff;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    background: #f8faff;
}


.faq-container {
    max-width: 850px;

    margin: 0 auto;
}


.faq-container details {
    padding: 22px 0;

    border-bottom: 1px solid #dfe6ef;
}


.faq-container summary {
    cursor: pointer;

    list-style: none;

    font-size: 16px;
    font-weight: 700;

    color: #213957;
}


.faq-container summary::-webkit-details-marker {
    display: none;
}


.faq-container summary::after {
    content: "+";

    float: right;

    font-size: 22px;

    color: #1769e0;
}


.faq-container details[open] summary::after {
    content: "−";
}


.faq-container details p {
    max-width: 760px;

    padding-top: 14px;

    font-size: 14px;

    line-height: 1.8;

    color: #718096;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #0d203b;

    color: #ffffff;

    padding: 65px 7% 25px;
}


.footer-content {
    display: flex;
    justify-content: space-between;

    gap: 70px;

    max-width: 1200px;

    margin: 0 auto;
}


.footer-brand {
    max-width: 400px;
}


.footer-brand h2 {
    margin-bottom: 13px;

    font-size: 25px;
}


.footer-brand p {
    font-size: 14px;

    line-height: 1.8;

    color: #b8c6d9;
}


.footer-links {
    display: flex;

    gap: 100px;
}


.footer-links div {
    display: flex;
    flex-direction: column;

    gap: 11px;
}


.footer-links h4 {
    margin-bottom: 5px;

    font-size: 14px;

    color: #ffffff;
}


.footer-links a {
    font-size: 13px;

    color: #b8c6d9;

    transition: 0.3s ease;
}


.footer-links a:hover {
    color: #ffffff;
}


.footer-bottom {
    max-width: 1200px;

    margin: 50px auto 0;

    padding-top: 20px;

    border-top: 1px solid #29415f;
}


.footer-bottom p {
    font-size: 12px;

    color: #91a4bd;
}


/* =========================================================
   RESPONSIVE — TABLETS
========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 18px;
    }


    .hero {
        grid-template-columns: 1fr;

        padding-top: 70px;
        padding-bottom: 70px;
    }


    .hero-content {
        max-width: 750px;

        margin: 0 auto;

        text-align: center;
    }


    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-buttons {
        justify-content: center;
    }


    .trust-text {
        justify-content: center;
    }


    .hero-card {
        margin-top: 10px;
    }


    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .steps {
        grid-template-columns: repeat(2, 1fr);
    }


    .why-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .why-content {
        max-width: 750px;

        margin: 0 auto;
    }


    .cta {
        flex-direction: column;

        align-items: flex-start;
    }


    .footer-content {
        flex-direction: column;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {
        min-height: auto;

        padding: 18px 5%;

        flex-wrap: wrap;

        gap: 15px;
    }


    .nav-links {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 18px;

        overflow-x: auto;
    }


    .nav-links a {
        white-space: nowrap;

        font-size: 12px;
    }


    .nav-buttons {
        gap: 4px;
    }


    .login-button {
        padding: 9px 12px;
    }


    .signup-button {
        padding: 10px 14px;
    }


    .hero {
        padding: 60px 5%;
    }


    .hero h1 {
        font-size: 42px;

        letter-spacing: -1.5px;
    }


    .hero-content > p {
        font-size: 16px;
    }


    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }


    .primary-button,
    .secondary-button {
        width: 100%;

        text-align: center;
    }


    .trust-text {
        flex-direction: column;

        gap: 8px;
    }


    .dashboard-preview {
        padding: 22px;
    }


    .preview-top {
        flex-direction: column;

        gap: 15px;
    }


    .stats {
        grid-template-columns: 1fr 1fr;

        padding: 25px 5%;
    }


    .stat {
        border-right: none;

        border-bottom: 1px solid #e8edf3;

        padding: 15px 8px;
    }


    .stat:nth-child(odd) {
        border-right: 1px solid #e8edf3;
    }


    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-bottom: none;
    }


    .section {
        padding: 75px 5%;
    }


    .section-heading {
        margin-bottom: 40px;
    }


    .section-heading h2 {
        font-size: 32px;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .service-card p {
        min-height: auto;
    }


    .how-it-works {
        padding: 75px 5%;
    }


    .steps {
        grid-template-columns: 1fr;
    }


    .why-grid {
        gap: 35px;
    }


    .why-content h2 {
        font-size: 32px;
    }


    .why-box {
        padding: 15px;
    }


    .mini-dashboard {
        padding: 22px;
    }


    .cta {
        margin: 10px 5% 75px;

        padding: 38px 25px;
    }


    .cta h2 {
        font-size: 30px;
    }


    footer {
        padding: 50px 5% 22px;
    }


    .footer-links {
        gap: 55px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .logo {
        font-size: 21px;
    }


    .nav-buttons {
        font-size: 12px;
    }


    .hero h1 {
        font-size: 36px;
    }


    .hero-label {
        font-size: 10px;
    }


    .preview-order {
        align-items: flex-start;

        gap: 10px;
    }


    .mini-stat-grid {
        grid-template-columns: 1fr;
    }


    .footer-links {
        gap: 35px;
    }

}/* =========================================================
   REGISTRATION PAGE
========================================================= */

.register-page {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 45% 55%;

    background: #ffffff;
}


/* =========================================================
   REGISTRATION LEFT SIDE
========================================================= */

.register-info {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 45px 8%;

    background:
        linear-gradient(
            145deg,
            #123b73 0%,
            #1769e0 100%
        );

    color: #ffffff;
}


.register-logo {
    display: inline-block;

    width: fit-content;

    font-size: 25px;
    font-weight: 800;

    color: #ffffff;
}


.register-info-content {
    max-width: 560px;

    margin: auto 0;
}


.register-label {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: #b9d7ff;
}


.register-info h1 {
    margin-bottom: 22px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.register-info-content > p {
    max-width: 520px;

    margin-bottom: 38px;

    font-size: 16px;

    line-height: 1.8;

    color: #dceaff;
}


/* =========================================================
   REGISTRATION BENEFITS
========================================================= */

.register-benefits {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


.register-benefit {
    display: flex;

    align-items: flex-start;

    gap: 15px;
}


.benefit-check {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 2px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}


.register-benefit strong {
    display: block;

    margin-bottom: 4px;

    font-size: 14px;
}


.register-benefit p {
    font-size: 13px;

    line-height: 1.6;

    color: #cbdff8;
}


.register-footer-text {
    margin-top: 40px;

    font-size: 12px;

    color: #b8d1f1;
}


/* =========================================================
   REGISTRATION RIGHT SIDE
========================================================= */

.register-form-section {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 7%;

    background: #ffffff;
}


.register-form-container {
    width: 100%;
    max-width: 560px;
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-register-logo {
    display: none;

    margin-bottom: 35px;
}


.mobile-register-logo a {
    font-size: 23px;
    font-weight: 800;

    color: #123b73;
}


/* =========================================================
   FORM HEADING
========================================================= */

.form-heading {
    margin-bottom: 30px;
}


.form-heading > span {
    display: block;

    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: #1769e0;
}


.form-heading h2 {
    margin-bottom: 9px;

    font-size: 35px;

    line-height: 1.2;

    letter-spacing: -0.8px;

    color: #142d50;
}


.form-heading p {
    font-size: 14px;

    line-height: 1.7;

    color: #718095;
}


/* =========================================================
   FORM
========================================================= */

.register-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


.form-group {
    display: flex;
    flex-direction: column;
}


.form-group:nth-child(3),
.form-group:nth-child(4),
.form-group:nth-child(5),
.form-group:nth-child(6),
.terms,
.register-submit {
    grid-column: 1 / -1;
}


.form-group label {
    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 700;

    color: #263b58;
}


.form-group input {
    width: 100%;

    padding: 13px 14px;

    background: #ffffff;

    border: 1px solid #d9e1eb;

    border-radius: 7px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    color: #172033;

    transition: 0.2s ease;
}


.form-group input::placeholder {
    color: #a0aabb;
}


.form-group input:focus {
    border-color: #1769e0;

    box-shadow:
        0 0 0 3px rgba(23, 105, 224, 0.09);
}


.form-group small {
    margin-top: 6px;

    font-size: 11px;

    color: #8995a6;
}


/* =========================================================
   TERMS
========================================================= */

.terms {
    margin-top: 2px;
}


.terms label {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    cursor: pointer;

    font-size: 12px;

    line-height: 1.6;

    color: #6f7d90;
}


.terms input {
    width: 15px;
    height: 15px;

    flex-shrink: 0;

    margin-top: 2px;

    accent-color: #1769e0;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.register-submit {
    width: 100%;

    padding: 14px 20px;

    border: none;

    border-radius: 7px;

    background: #1769e0;
    color: #ffffff;

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    transition: 0.3s ease;
}


.register-submit:hover {
    background: #0e55bd;

    transform: translateY(-1px);
}


/* =========================================================
   LOGIN PROMPT
========================================================= */

.login-prompt {
    margin-top: 23px;

    text-align: center;

    font-size: 13px;

    color: #7a8798;
}


.login-prompt a {
    margin-left: 4px;

    font-weight: 800;

    color: #1769e0;
}


.login-prompt a:hover {
    text-decoration: underline;
}


/* =========================================================
   BACK HOME
========================================================= */

.back-home {
    margin-top: 18px;

    text-align: center;
}


.back-home a {
    font-size: 12px;
    font-weight: 600;

    color: #8a96a7;
}


.back-home a:hover {
    color: #1769e0;
}


/* =========================================================
   REGISTRATION — TABLET
========================================================= */

@media (max-width: 950px) {

    .register-page {
        grid-template-columns: 1fr;
    }


    .register-info {
        display: none;
    }


    .register-form-section {
        min-height: 100vh;

        padding: 50px 7%;
    }


    .mobile-register-logo {
        display: block;
    }

}


/* =========================================================
   REGISTRATION — MOBILE
========================================================= */

@media (max-width: 600px) {

    .register-form-section {
        padding: 35px 5%;
    }


    .register-form-container {
        max-width: 100%;
    }


    .form-heading h2 {
        font-size: 30px;
    }


    .register-form {
        grid-template-columns: 1fr;

        gap: 17px;
    }


    .form-group:nth-child(1),
    .form-group:nth-child(2),
    .form-group:nth-child(3),
    .form-group:nth-child(4),
    .form-group:nth-child(5),
    .form-group:nth-child(6),
    .terms,
    .register-submit {
        grid-column: auto;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .register-form-section {
        padding: 30px 5%;
    }


    .mobile-register-logo {
        margin-bottom: 25px;
    }


    .form-heading {
        margin-bottom: 25px;
    }


    .form-heading h2 {
        font-size: 27px;
    }


    .form-heading p {
        font-size: 13px;
    }

}/* =========================================================
   FORM MESSAGES
========================================================= */

.form-message {
    display: none;

    width: 100%;

    margin-bottom: 18px;
    padding: 12px 14px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}

.form-message.success {
    display: block;

    background: #eaf8ef;
    border: 1px solid #bde5cb;

    color: #187a43;
}

.form-message.error {
    display: block;

    background: #fff1f1;
    border: 1px solid #f0c4c4;

    color: #c0392b;
}

/* =========================================================
   ACADEMICHUB MOBILE HAMBURGER MENU
   ========================================================= */

/* ---------------------------------------------------------
   MOBILE MENU TOGGLE
   Hidden on desktop
   --------------------------------------------------------- */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border: none;
    border-radius: 8px;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;

    flex-shrink: 0;
}


/* Hamburger lines */

.mobile-menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background: #123b73;

    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* ---------------------------------------------------------
   HAMBURGER → X
   --------------------------------------------------------- */

.mobile-menu-toggle.mobile-menu-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.mobile-menu-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.mobile-menu-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ---------------------------------------------------------
   MOBILE MENU
   Hidden by default
   --------------------------------------------------------- */

.mobile-menu {
    display: none;
}


/* =========================================================
   MOBILE SCREEN
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .navbar {

        position: sticky;

        top: 0;

        z-index: 1000;

        min-height: 68px;

        padding: 10px 5%;

        display: flex;

        align-items: center;

        justify-content: space-between;

        flex-wrap: nowrap;

        gap: 0;

        box-sizing: border-box;
    }


    /* -----------------------------------------------------
       LOGO
       ----------------------------------------------------- */

    .navbar .logo {

        flex-shrink: 0;

        white-space: nowrap;
    }


    /* -----------------------------------------------------
       HIDE NORMAL DESKTOP NAVIGATION
       ----------------------------------------------------- */

    .navbar .nav-links {

        display: none;
    }


    .navbar .nav-buttons {

        display: none;
    }


    /* -----------------------------------------------------
       SHOW HAMBURGER
       ----------------------------------------------------- */

    .navbar .mobile-menu-toggle {

        display: flex;

        margin-left: auto;
    }


    /* -----------------------------------------------------
       MOBILE DROPDOWN MENU
       ----------------------------------------------------- */

    .navbar .mobile-menu {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        width: 100%;

        box-sizing: border-box;

        display: flex;

        flex-direction: column;

        background: #ffffff;

        border-top: 1px solid #e9edf5;

        border-bottom: 1px solid #e9edf5;

        box-shadow: 0 12px 30px rgba(10, 35, 85, 0.12);

        padding: 12px 5% 18px;

        visibility: hidden;

        opacity: 0;

        transform: translateY(-8px);

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }


    /* -----------------------------------------------------
       OPEN MENU
       ----------------------------------------------------- */

    .navbar .mobile-menu.mobile-menu-open {

        visibility: visible;

        opacity: 1;

        transform: translateY(0);

        pointer-events: auto;
    }


    /* -----------------------------------------------------
       MOBILE MENU LINKS
       ----------------------------------------------------- */

    .navbar .mobile-menu a {

        display: flex;

        align-items: center;

        width: 100%;

        box-sizing: border-box;

        padding: 14px 4px;

        color: #536174;

        font-size: 15px;

        font-weight: 600;

        text-decoration: none;

        border-bottom: 1px solid #eef1f6;

        transition:
            color 0.2s ease,
            background 0.2s ease;
    }


    .navbar .mobile-menu a:hover {

        color: #1769e0;

        background: #f7f9fc;
    }


    /* -----------------------------------------------------
       LOGIN
       ----------------------------------------------------- */

    .navbar .mobile-menu .mobile-menu-login {

        color: #123b73;

        font-weight: 700;
    }


    /* -----------------------------------------------------
       ORDER NOW
       ALWAYS LAST
       ----------------------------------------------------- */

    .navbar .mobile-menu .mobile-menu-order {

        display: flex;

        justify-content: center;

        align-items: center;

        width: 100%;

        margin-top: 14px;

        padding: 13px 20px;

        border: none;

        border-radius: 8px;

        background: #1769e0;

        color: #ffffff;

        font-size: 14px;

        font-weight: 800;

        text-align: center;

        box-sizing: border-box;
    }


    .navbar .mobile-menu .mobile-menu-order:hover {

        background: #1259c7;

        color: #ffffff;
    }


    /* -----------------------------------------------------
       PREVENT PAGE SHIFT WHEN MENU IS OPEN
       ----------------------------------------------------- */

    body.mobile-menu-is-open {

        overflow-x: hidden;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .navbar {

        min-height: 64px;

        padding: 9px 5%;
    }


    .navbar .logo {

        font-size: 21px;
    }


    .mobile-menu-toggle {

        width: 42px;

        height: 42px;
    }


    .navbar .mobile-menu {

        padding-left: 5%;

        padding-right: 5%;
    }


    .navbar .mobile-menu a {

        font-size: 14px;

        padding-top: 13px;

        padding-bottom: 13px;
    }

}