/*
Theme Name: Affirm Classes Theme
Theme URI: https://affirmclasses.com
Author: Custom Theme Generator
Description: A modern, high-trust educational theme built for Affirm Classes.
Version: 1.0
Text Domain: affirm-classes
*/

:root {
    --primary-navy: #31448E;
    --primary-green: #108A66;
    --bg-off-white: #F8FAFC;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-off-white); color: var(--text-dark); }
h1, h2, h3, .logo { font-family: 'Montserrat', sans-serif; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: var(--white); }
.logo { font-size: 24px; font-weight: 700; color: var(--primary-navy); }
.logo span { color: var(--primary-green); }
.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; }
.nav-links .active { color: var(--primary-green); }

.hero { display: flex; padding: 60px 5%; background: var(--white); align-items: center; gap: 40px; }
.hero-content { flex: 1; }
.hero-content h1 { font-size: 3rem; line-height: 1.2; color: var(--primary-navy); margin-bottom: 20px; }
.hero-content p { color: var(--text-light); margin-bottom: 30px; font-size: 1.1rem; max-width: 500px; }
.btn-primary { background: var(--primary-green); color: var(--white); padding: 15px 30px; text-decoration: none; font-weight: 600; border-radius: 6px; display: inline-block; }
.hero-image { flex: 1; }
.hero-image img { width: 100%; border-radius: 12px; }

.stats-strip { display: flex; justify-content: space-around; background: var(--primary-navy); color: var(--white); padding: 30px 5%; text-align: center; }
.stat-item h3 { font-size: 1.8rem; color: #FBBF24; margin-bottom: 5px; }
.stat-item p { font-size: 0.9rem; opacity: 0.9; }

.courses-section { padding: 80px 5%; text-align: center; }
.section-title { color: var(--primary-navy); font-size: 2rem; margin-bottom: 40px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.course-card { background: var(--white); border-radius: 12px; overflow: hidden; text-align: left; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #E5E7EB; transition: transform 0.3s ease; }
.course-card:hover, .active-card { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary-navy); }
.course-card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 25px; }
.category { font-size: 0.75rem; color: var(--text-light); letter-spacing: 1px; }
.course-card h3 { font-size: 1.25rem; margin: 10px 0; color: var(--text-dark); }
.instructor { font-size: 0.9rem; color: var(--text-light); margin-bottom: 10px; }
.stars { font-size: 0.9rem; margin-bottom: 15px; }
.learn-more { text-decoration: none; color: var(--primary-navy); font-weight: 600; font-size: 0.9rem; }
