/*
Theme Name: Secondary STEM Custom
Theme URI: https://secondarystem.com/
Author: Peter
Description: A custom theme for Secondary STEM tutoring.
Version: 1.0
*/

:root {
    --primary-blue: #3464af;
    --accent-teal: #739483;
    --text-dark: #333;
    --text-muted: #555;
    --bg-light: #f4f7f5;
    --bg-white: #ffffff;
    --border-color: #f0f0f0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    letter-spacing: -0.01em;
}

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

/* Header & Navigation */
.main-header {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 130px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link-login {
    color: var(--primary-blue);
    font-weight: 600;
    border: 1px solid var(--primary-blue);
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link-cta {
    color: #fff;
    background: var(--accent-teal);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    transition: opacity 0.3s ease;
}

.nav-link-cta:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: var(--bg-white);
}

.hero h1 {
    font-size: 3.5em;
    color: var(--primary-blue);
    margin: 0 0 24px 0;
    letter-spacing: -0.04em;
    font-weight: 800;
    line-height: 1.05;
}

.hero p {
    font-size: 1.3em;
    color: #4a4a4a;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 20px 45px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
    transform: translateY(2px);
}

.btn-primary {
    background-color: var(--accent-teal);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(115,148,131,0.3);
}

.btn-secondary {
    background-color: #fff;
    color: var(--accent-teal);
    border: 2px solid var(--accent-teal);
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 0 20px 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    background: var(--bg-light);
    padding: 45px 35px;
    border-radius: 20px;
    border: 2px solid var(--accent-teal);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feature-icon {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-icon img {
    width: 28px;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 1.6em;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: #4a4a4a;
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1em;
}

/* Steps Section */
.steps-section {
    background: #fbfbfb;
    padding: 100px 20px;
    border-top: 1px solid var(--border-color);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
}

.step-item {
    flex: 1;
    min-width: 250px;
}

.step-number {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--accent-teal);
    opacity: 0.6;
    display: block;
    margin-bottom: -30px;
}

.step-item h4 {
    color: var(--primary-blue);
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-item p {
    color: #666;
    font-size: 0.95em;
}

/* Tutors Section */
.tutors-section {
    background: #fff;
    padding: 100px 20px;
}

.tutor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.tutor-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eee;
    text-align: left;
}

.tutor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tutor-card h3 {
    color: var(--primary-blue);
    font-size: 1.5em;
    margin: 0 0 10px 0;
    font-weight: 800;
}

.tutor-subject {
    color: var(--accent-teal);
    font-weight: 700;
    margin: 0 0 20px 0;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tutor-card p {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 15px;
}

/* Reviews Section */
.reviews-section {
    background: #fcfdfe;
    padding: 100px 20px;
    border-top: 1px solid var(--border-color);
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 60px;
}

.review-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.review-text {
    color: #555;
    font-size: 1.05em;
    font-style: italic;
    margin-bottom: 25px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-initial {
    width: 30px;
    height: 30px;
    background: #e0e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 0.8em;
}

.reviewer-name {
    color: #333;
    font-weight: 700;
    font-size: 0.9em;
}

.reviewer-role {
    font-weight: 400;
    color: #888;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 120px 20px;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.contact-email {
    color: var(--accent-teal);
    text-decoration: none;
    font-size: 1.8em;
    font-weight: 800;
    border-bottom: 4px solid #f0f7ff;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--primary-blue);
}

/* Footer */
.main-footer {
    padding: 50px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    background: #fbfbfb;
}

.footer-text {
    color: #999;
    font-size: 0.9em;
    margin: 0;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    .nav-container {
        justify-content: center;
        gap: 20px;
    }
}
