/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', 'Helvetica', Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #1E73BE;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    min-height: 60px;
}

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

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

.logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1E73BE;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    color: #222;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1E73BE;
    border-bottom-color: #1E73BE;
    text-decoration: none;
}

/* Dropdown Menu */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: none !important;
}

.dropdown-content a:hover {
    background-color: #F5F7FB;
    color: #1E73BE;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #222;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 350px;
    background: white;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: right;
    color: #0A3D8F;
}

/* Split Hero Layout */
.hero-split {
    display: flex;
    min-height: 400px;
    background: none;
}

.hero-image-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-side {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-split .hero-content {
    position: static;
    width: 100%;
    text-align: center;
    margin: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 2% 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 95%;
    text-align: center;
    margin-top: -200px;
    margin-left: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.4;
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: nowrap;
}

/* Course Banner */
.course-banner {
    position: relative;
    min-height: 350px;
    background: white;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: right;
    color: #0A3D8F;
}

/* Page Header */
.page-header {
    background: #F5F7FB;
    padding: 4rem 0;
    text-align: center;
}

.page-header.small-banner {
    padding: 3rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1.4;
}

.btn-primary {
    background: #1E73BE;
    color: white;
    border-color: #1E73BE;
}

.btn-primary:hover {
    background: #0A3D8F;
    border-color: #0A3D8F;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #1E73BE;
    border-color: #1E73BE;
}

.btn-secondary:hover {
    background: #1E73BE;
    color: white;
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Skills for the Future */
.skills-future {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.skills-future h2 {
    font-size: 2.5rem;
    color: #0A3D8F;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skills-subtitle {
    font-size: 1.1rem;
    color: #444;
    margin: 0 auto 3rem auto;
    max-width: 700px;
    line-height: 1.6;
    font-style: italic;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

.skill-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 220px;
    width: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.skill-card h3 {
    margin: 0 0 0.4rem 0;
    color: #0A3D8F;
    font-size: 1rem;
    font-weight: 600;
}

.skill-card p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Curiosity Meets Challenge Section */
.curiosity-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.curiosity-section h2 {
    font-size: 2.5rem;
    color: #0A3D8F;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Pathways / Courses Grid */
.pathways {
    padding: 4rem 0;
}

.pathways h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #0A3D8F;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* Pathways Columns */
.pathways-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.pathway-column {
    text-align: center;
}

.pathway-column h3 {
    color: #0A3D8F;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #1E73BE;
}

.pathway-column h3 a {
    color: #0A3D8F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pathway-column h3 a:hover {
    color: #1E73BE;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-item {
    background: #F5F7FB;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 200px;
    display: flex;
    flex-direction: column;
}

.course-banner {
    background: linear-gradient(135deg, #0A3D8F 0%, #1E73BE 100%);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.course-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.course-content {
    min-height: calc(200px - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2.5rem;
    text-align: center;
    
}

.course-content h4 {
    margin: 0 0 1rem 0
}

.course-content p {
    margin: 0;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.course-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1.05rem;
}

.course-content h4 a {
    color: #0A3D8F;
    text-decoration: none;
    font-weight: 600;
}

.course-content h4 a:hover {
    color: #1E73BE;
}

.course-content p {
    margin: 0 1rem;
    color: #666;
    font-size: 0.85rem;
}

.course-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    color: #0A3D8F;
}

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Course Sections */
.course-section {
    padding: 3rem 0;
}

.course-section:nth-child(even) {
    background: #F5F7FB;
}

.course-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0A3D8F;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background: #F5F7FB;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #0A3D8F;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #1E73BE;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* 1:1 Lessons Section */
.one-on-one-lessons {
    background: #F5F7FB;
    padding: 4rem 0;
}

.one-on-one-lessons h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0A3D8F;
    font-size: 2.2rem;
}

.one-on-one-lessons .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lessons-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.lessons-format h3,
.lessons-benefits h3 {
    color: #0A3D8F;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.lessons-format ul,
.lessons-benefits ul {
    list-style: none;
    padding: 0;
}

.lessons-format li,
.lessons-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
}

.lessons-format li:before,
.lessons-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1E73BE;
    font-weight: bold;
}

.lessons-enrollment {
    text-align: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lessons-enrollment p {
    font-size: 1.1rem;
    margin: 0;
}

.lessons-enrollment a {
    color: #1E73BE;
    font-weight: 600;
}

/* CTA Band */
.cta-band {
    padding: 4rem 0;
    background: #0A3D8F;
    color: white;
    text-align: center;
}

.cta-band h2 {
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-band .btn-secondary {
    color: white;
    border-color: white;
}

.cta-band .btn-secondary:hover {
    background: white;
    color: #0A3D8F;
}

/* Course Content */
.course-content {
    padding: 4rem 0;
    text-align: left;
}

.course-description {
    text-align: left;
}

.course-description h2 {
    color: #0A3D8F;
    margin-bottom: 1.5rem;
}

.course-description h3 {
    color: #0A3D8F;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.course-description ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.course-description li {
    margin-bottom: 0.5rem;
}

.course-cta {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Schedule Table */
.schedule-content {
    padding: 4rem 0;
}

.schedule-table-container {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.schedule-table th {
    background: #0A3D8F;
    color: white;
    font-weight: 600;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover {
    background: #f8f9fa;
}

.schedule-cta {
    text-align: center;
}

.schedule-cta h3 {
    margin-bottom: 1.5rem;
    color: #0A3D8F;
}

/* Forms */
.enrollment-content,
.contact-content {
    padding: 4rem 0;
}

.enrollment-form-container,
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #0A3D8F;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    color: #0A3D8F;
    margin-bottom: 0.5rem;
}

.schools-box {
    background: #F5F7FB;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #1E73BE;
}

.schools-box h3 {
    color: #0A3D8F;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #222;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E73BE;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.consent-checkbox {
    align-items: flex-start;
    gap: 0.5rem;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    text-align: center;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer a {
    color: white;
}

footer a:hover {
    color: #1E73BE;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1rem;
        white-space: normal;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 300px;
    }
    
    .hero-split {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-image-side {
        min-height: 200px;
    }
    
    .hero-content-side {
        padding: 1.5rem;
    }
    
    .hero-overlay {
        left: 50%;
        padding: 15px 1% 60px;
    }
    
    .hero-content {
        width: 95%;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        white-space: normal;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .hero-buttons .btn {
        width: auto;
        font-size: 0.65rem;
        padding: 6px 12px;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .pathways-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .course-cta {
        flex-direction: column;
    }
    
    .course-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-table {
        font-size: 0.9rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Tablet responsive design */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-overlay {
        left: 50%;
        padding: 20px 1.5% 70px;
    }
    
    .hero-content {
        width: 95%;
    }
    
    h1 {
        font-size: 1.2rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.9rem;
        white-space: normal;
    }
    
    .btn {
        font-size: 0.7rem;
        padding: 7px 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .skills-future,
    .pathways,
    .how-it-works,
    .one-on-one-lessons,
    .cta-band,
    .course-content,
    .schedule-content,
    .enrollment-content,
    .contact-content {
        padding: 2rem 0;
    }
    
    .skill-card,
    .step {
        padding: 1.5rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Other Courses Section */
.other-courses {
    background: #F5F7FB;
    padding: 3rem 0 4rem 0;
    text-align: center;
}

.courses-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.courses-buttons .btn {
    min-width: 200px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .courses-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .courses-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .lessons-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}