﻿/* --- Color Variables --- */
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1846ba;
    --secondary-grey: #e5e7eb;
    --secondary-grey-dark: #d1d5db;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --background-light: #f3f4f6;
    --background-white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* --- Universal Box-Sizing --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* --- Body Styles --- */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: var(--background-light);
    color: var(--text-light);
    font-size: 1rem;
    padding: 0;
    padding-top: 80px;
}

/* --- Animation for fade-in effect --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.centered-paragraph {
    text-align: center;
    margin-bottom: 1em;
}

details {
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow-light);
    margin-bottom: 20px;
}

details summary {
    font-weight: 700;
    font-size: 1.2em;
    cursor: pointer;
    outline: none;
    position: relative;
}

details summary::-webkit-details-marker, details summary::marker {
    display: none;
    content: '';
}

details summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    font-weight: normal;
}

details[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.pricing-table {
    display: grid;/*flex*/
    grid-template-columns: 1fr;/*defualt,repeat(3, 1fr);/*4, 1fr?*/
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.pricing-tier {
    background-color: var(--background-white);
    border: 1px solid var(--secondary-grey);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 44px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.pricing-tier h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 10px;
}

.pricing-tier .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.pricing-tier .price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-tier ul {
    text-align: left;
    padding-left: 0;
    list-style-type: none;
    margin-top: 20px;
}

.pricing-tier li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.pricing-tier .list-icon {
    color: var(--primary-blue);
    margin-right: 10px;
    font-size: 1.1em;
}

.pricing-tier .button {
    margin-top: 20px;
}

.disclaimer {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9em;
}
        
.promotional-disclaimer {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 3em;
}

.ai-package-box {
    background-color: #e0f2fe;
    border-left: 5px solid #0369a1;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ai-package-box .button-group {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.ai-package-box h2 {
    color: #0c4a6e;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
}

.ai-package-box p {
    color: #0c4a6e;
    margin-bottom: 0;
    font-size: 1rem;
}

/* --- Page Container for Centering Content --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.page-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 1.2s ease-out;
}

/* --- Header Styles (New Full-Width Header) --- */
.full-width-header {
    background-color: var(--background-white);
    box-shadow: 0 2px 5px var(--shadow-light);
}

.header-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.header-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    color: var(--text-dark);
    margin-bottom: 0.25em;
    font-weight: 800; /* Bolder weight */
}

.header-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem); /* Larger font size for more punch */
    color: var(--text-dark); /* Darker color for more contrast */
    font-weight: 600;
}

/* --- Hero Section with a clean, centered layout --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 40px auto;
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.hero-content {
    flex: 1;
    padding: 0 20px;
}

.hero-image {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* --- Section Styles --- */
section {
    margin-bottom: 20px; /* Reduced from 40px */
    padding: 20px;
}

/* --- Headings (H1-H6) --- */
h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1em;
    font-weight: 700;
}

.content-section {
    padding: 1.5em;
    background-color: var(--background-white);
    border-radius: 8px;
    margin-bottom: 2em;
}

.content-section h2 {
    text-align: left;
}

.no-background-section {
    background-color: transparent;
    /*padding: 0;*/
    margin-bottom: 2em;
}

/* --- Links and Buttons --- */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Button styling */
.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;/*8px*/
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;/*600*/
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    box-shadow: none; /* No shadow for a cleaner look */
    min-width: 200px;
    max-width: 100%;
    background-color: transparent;
    color: var(--primary-blue);
}

.button-border {
    border: 2px solid var(--primary-blue);
}

.button:hover {
    transform: none; /* No lift effect for minimalism */
    box-shadow: none;
    background-color: var(--primary-blue-dark);
    color: white;
    text-decoration: none;
}

.button:active {
    transform: none;
    box-shadow: none;
}

.button-primary {
    background-color: var(--primary-blue);
    color: var(--background-white);
    border-color: var(--primary-blue);
}

.button-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

.white-box {
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.checkmark-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.subject-list {
    display: grid;
    grid-template-columns: 1fr;/*repeat(2, 1fr)*/
    gap: 0px;
}

.subject-list-test {
        display: grid;
        grid-template-columns: 1fr;/*repeat(2, 1fr)*/
        gap: 0px;
    }

/* --- Images --- */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 8px;
    /*box-shadow: 0 2px 8px var(--shadow-light);*/
}

.large-image {
    width: 80%;/*60%*/
    display: block;
    border-radius: 20px;
    margin: 20px auto;
    box-shadow: 0 4px 15px var(--shadow-medium);
    padding: 20px; /* Added padding to make it stand out */
}

/* --- Lists --- */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

.about-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 1.5em; /* Space for the custom bullet */
}

.about-item::before {
    content: '+';
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Card grid layout */
.profile-features {
    display: grid;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    /* Default for mobile (1 column) */
    grid-template-columns: 1fr;
}

.feature-card {
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    /* Set card height for alignment */
    min-height: 250px;
    /* Flexbox to push content to the bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.feature-card::before {
    content: '✓';/*'+'*/
    display: block;
    font-size: 2em;
    color: var(--primary-blue);
    margin-bottom: 0.5em;
}

.feature-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: unset;
    margin-top: 15px;
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--secondary-grey);
    margin-top: 30px;
}

.footer-links a {
    margin: 0 10px;
}

.footer-links {
    margin-bottom: 10px;
}

.company-info {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Content inside the full-width navbar */
.navbar-content {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.desktop-nav li {
    display: inline-block;
    margin-right: 20px;
}

.navbar .desktop-nav .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    display: inline;
}

.navbar .nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-left: 20px;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

/* Mobile Navigation */
.navbar .desktop-nav {
    display: none;
}

/* Hamburger container */
.hamburger-container {
    display: block;
}

.hamburger {
    cursor: pointer;
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 1.5rem 0;
    font-weight: 700;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.educational-background-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr; /* Default to 1 column on smaller screens */
}

.education-card {
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow-light);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

/* --- Media Queries --- */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-left: 20px;
    }

    .about-list {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }

    .hamburger-container {
        display: none;
    }

    .navbar .desktop-nav {
        display: block;
    }
}

@media (min-width: 576px) {
    .profile-features {
        grid-template-columns: repeat(2, 1fr);
    }
    /*.educational-background-grid {
        grid-template-columns: repeat(2, 1fr);
    }*/
    .subject-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .profile-features {
        grid-template-columns: repeat(3, 1fr);/*4, 1fr?*/
    }
    /*.educational-background-grid {
        grid-template-columns: repeat(4, 1fr);
    }*/
    .pricing-table {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .page-container {
        padding: 10px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

    .button {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
