html, body {
    overflow-x: hidden;
    width: 100%;
}

@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@300;400;500;600;700;900&display=swap');

/* Global Styles */
body {
    margin: 0;
    font-family: "Albert Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fffaef;
}

.container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-family: "Albert Sans", sans-serif;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px;
    height: 100px;
    background-color: #ECE8DF66;
    position: relative;
    z-index: 100;
}

.navbar .logo {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    transform-origin: left center;
    display: flex;
    align-items: center;
    max-width: 400px;

    /* Anti-blur hacks */
    will-change: transform;
    image-rendering: auto;
}

.navbar .logo img {
    height: 70px;
    width: auto;
    max-width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 35px;
    margin: 0;
    list-style: none;
    transform: translateY(-50%) translateX(-20px);
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #8BAEC3;
    text-align: center;
    font-family: "Albert Sans", sans-serif;
}

.nav-links a:hover {
    text-decoration: underline;
    text-decoration-color: #709cc8;
    text-decoration-thickness: 2px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #709cc8;
    cursor: pointer;
    z-index: 300;
}

.mobile-nav {
    display: none;
}

/* ============================== */
/*       PRICING SECTION          */
/* ============================== */

.pricing {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(to bottom, #D3D9ED, #E4F2F1);
    min-height: 80vh;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(112, 156, 200, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 156, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(0, 168, 164, 0.15) 2px, transparent 2px),
        linear-gradient(rgba(38, 59, 159, 0.15) 2px, transparent 2px);
    background-size: 100px 100px;
    background-position: -1px -1px;
    pointer-events: none;
    z-index: 2;
}

.pricing .container {
    position: relative;
    z-index: 3;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    font-size: 70px;
    font-weight: 900;
    color: #263b9f;
    margin-bottom: 20px;
}

.pricing-subtitle {
    font-size: 24px;
    color: #333;
    font-weight: 400;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.billing-toggle span {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    transition: color 0.3s ease;
}

.billing-toggle span.active {
    color: #263b9f;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch.annual {
    background-color: #709cc8;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch.annual .toggle-slider {
    transform: translateX(30px);
}

.savings-badge {
    display: inline-block;
    background: #00a8a4;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px;
}

/* Two-Column Layout */
.pricing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.pricing-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.column-heading {
    font-size: 36px;
    font-weight: 700;
    color: #263b9f;
    text-align: center;
    margin-bottom: 10px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid #709cc8;
}

.badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #709cc8;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.card-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #263b9f;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .amount {
    font-size: 50px;
    font-weight: 900;
    color: #00a8a4;
}

.price .period {
    font-size: 18px;
    color: #666;
}

.trial-badge {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #00a8a4;
    background: #e6f7f7;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
}

.card-body {
    text-align: left;
}

.card-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.features-heading {
    font-size: 16px;
    font-weight: 600;
    color: #263b9f;
    margin-bottom: 20px;
}

.schools-card {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.features li {
    font-size: 16px;
    padding: 12px 0;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.features li:last-child {
    border-bottom: none;
}

.cta-button {
    display: block;
    width: 100%;
    background: #BF6C58;
    color: white;
    text-align: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #263B9F;
    transform: scale(1.05);
}

.cta-button.secondary {
    background: #709cc8;
}

.cta-button.secondary:hover {
    background: #263B9F;
}

/* FAQ Section */
.pricing-faq {
    max-width: 1000px;
    margin: 80px auto 0;
    text-align: center;
}

.pricing-faq h2 {
    font-size: 50px;
    font-weight: 700;
    color: #263b9f;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #263b9f;
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

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

.footer {
    background: linear-gradient(to bottom, #D3D9ED, #E4F2F1);
    padding: 80px 0;
}

.footer-container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    box-sizing: border-box;
}

.footer-logo {
    width: 105px;
    height: auto;
    height: auto;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

.footer-text {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-family: "Albert Sans", sans-serif;
}

.footer-text a {
    color: #709cc8;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #263B9F;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom-container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #fff;
    font-family: "Albert Sans", sans-serif;
}

.footer-bottom a {
    color: #709cc8;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================== */
/*     RESPONSIVE BREAKPOINTS     */
/* ============================== */

/* Laptop screens */
@media (max-width: 1680px) {
    .navbar {
        height: 80px;
    }

    .navbar .logo {
        width: 250px;
        height: 62px;
        left: 60px;
    }

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

    .pricing-header h1 {
        font-size: 50px !important;
    }

    .pricing-subtitle {
        font-size: 20px !important;
    }

    .pricing-faq h2 {
        font-size: 40px !important;
    }

    .card-header h3 {
        font-size: 24px !important;
    }

    .price .amount {
        font-size: 40px !important;
    }
}

@media (max-width: 1024px) {
    .navbar {
        height: 80px;
        padding: 10px 20px;
    }

    .navbar .logo {
        position: absolute;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: auto;
    }

    .navbar .logo img {
        width: 180px;
        height: auto;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        max-width: 300px;
        background: linear-gradient(to bottom, #D3D9ED, #E4F2F1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 15px;
        z-index: 200;
    }

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

    .mobile-nav a {
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        color: #000;
        padding: 10px 0;
        text-align: center;
        display: block;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-right {
        align-items: center;
    }
}

@media (max-width: 1024px) {
    /* Stack columns on tablet */
    .pricing-columns {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .column-heading {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }

    .pricing-header h1 {
        font-size: 36px !important;
    }

    .pricing-subtitle {
        font-size: 18px !important;
    }

    .pricing-faq h2 {
        font-size: 32px !important;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}
