/* HARNESS Educator Website - Main Styles */

/* ========== VARIABLES ========== */
:root {
    /* HARNESS Brand Colors */
    --primary-cyan: #00B0BD;
    --primary-pink: #DD0E6E;
    --accent-yellow: #F6CC00;
    --text-gray: #737373;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    
    /* Gradients - ALL BRAND COLORS! */
    --gradient-primary: linear-gradient(135deg, #00B0BD 0%, #F6CC00 50%, #DD0E6E 100%);
    --gradient-reverse: linear-gradient(135deg, #DD0E6E 0%, #F6CC00 50%, #00B0BD 100%);
    
    /* Typography */
    --font-main: 'Bree Serif', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Bree Serif', 'Georgia', 'Times New Roman', serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 40%, #E8ECEF 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-pink);
}

/* ========== NAVIGATION ========== */
.navbar {
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    /* Clean shield display */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo h1 {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
}

.nav-subtitle {
    font-size: 0.85rem;
    color: #737373; /* Solid gray - no gradient */
    display: block;
    margin-top: 4px;
    font-weight: 400;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--text-gray);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-gray);
}

/* ========== HERO SECTION ========== */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 800px;
    max-width: 90%;
    height: auto;
    margin: 0 auto 40px;
    display: block;
    object-fit: contain;
    /* Beautiful shield with prominent shadow */
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-pink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-pink);
    color: var(--white);
}

.btn-secondary:hover {
    background: #c00d60;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-cyan);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ========== SECTIONS ========== */
section {
    padding: var(--spacing-xl) 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-gray);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

/* ========== MISSION SECTION ========== */
.mission {
    background: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.mission-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-pink);
}

.mission-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ========== FEATURED RESOURCES ========== */
.featured {
    background: var(--light-gray);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-cyan);
}

.feature-desc {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-gray);
    line-height: 1.6;
}

.feature-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

/* ========== PHILOSOPHY SECTION ========== */
.philosophy {
    background: var(--white);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.philosophy-text h3 {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.philosophy-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.philosophy-list li {
    padding: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    border-left: 4px solid var(--primary-cyan);
    background: var(--light-gray);
    border-radius: var(--radius-sm);
}

.philosophy-quote {
    font-style: italic;
    font-size: 1.2rem;
    padding: var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
}

.layers-visual {
    position: relative;
    padding: var(--spacing-md);
}

.layer {
    padding: var(--spacing-md);
    margin: var(--spacing-sm) 0;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.layer-1 {
    background: var(--primary-cyan);
    animation-delay: 0.1s;
}

.layer-2 {
    background: #00a0ac;
    animation-delay: 0.2s;
}

.layer-3 {
    background: #DD0E6E;
    animation-delay: 0.3s;
}

.layer-4 {
    background: #c00d60;
    animation-delay: 0.4s;
}

.layer-5 {
    background: var(--accent-yellow);
    color: var(--dark-gray);
    animation-delay: 0.5s;
}

.visual-caption {
    text-align: center;
    font-style: italic;
    margin-top: var(--spacing-md);
    color: var(--text-gray);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-yellow);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-cyan);
}

/* ========== CTA SECTION ========== */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    object-fit: contain;
    /* Clean shield display */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-section h4 {
    color: var(--primary-cyan);
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    font-style: italic;
    color: var(--accent-yellow);
    margin-top: var(--spacing-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer {
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}



/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-logo {
        width: 350px;
        max-width: 90%;
        height: auto;
        margin: 0 auto 32px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .featured-grid,
    .mission-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 2rem;
    }
}
