/*
Theme Name: EdShifu
Theme URI: https://edshifu.com/
Author: OpenAI Codex
Description: Custom WordPress theme for the EdShifu marketing site with editable homepage sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: edshifu
*/

:root {
    --primary-blue: #0a2463;
    --accent-orange: #f97316;
    --light-blue: #e0f2fe;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #475569;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    background: var(--accent-orange);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

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

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

body.admin-bar header {
    top: 32px;
}

header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    max-width: 125px;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .nav-cta::after {
    display: none;
}

.mobile-toggle {
    display: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary-blue);
    font-size: 24px;
    cursor: pointer;
}

.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: var(--white);
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 48px;
    color: var(--white);
}

.hero-tagline {
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 500;
    color: #fbbf24;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 20px;
    opacity: 0.92;
}

.audience-selector {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.audience-card {
    width: 320px;
    padding: 30px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.audience-card i {
    margin-bottom: 20px;
    font-size: 50px;
}

.audience-card.schools i {
    color: #34d399;
}

.audience-card.teachers i {
    color: #60a5fa;
}

.audience-card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.audience-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.audience-card .card-link {
    font-weight: 700;
}

.daily-supply,
.about-edshifu {
    padding: 90px 0;
    background: var(--white);
}

.split-section {
    padding: 80px 0;
}

.schools-section {
    background: var(--light-blue);
}

.teachers-section {
    background: #fef3c7;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
    font-size: 36px;
}

.supply-process,
.features-grid,
.footer-container {
    display: grid;
    gap: 30px;
}

.supply-process {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.process-step {
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    background: var(--light-blue);
}

.process-step i {
    margin-bottom: 20px;
    font-size: 40px;
    color: var(--accent-orange);
}

.process-step h4 {
    margin-bottom: 10px;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-content h2 {
    margin-bottom: 20px;
}

.split-content p,
.about-content p,
.feature-card p,
.staff-card p,
.footer-container p {
    margin: 0 0 16px;
}

.split-list {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.split-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 30px;
}

.split-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

.feature-card,
.staff-card,
.founder-card,
.contact-card,
.contact-form,
.content-card {
    padding: 28px 24px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card i,
.staff-icon {
    margin-bottom: 18px;
    font-size: 38px;
    color: var(--primary-blue);
}

.feature-card.media-card img {
    height: 50px;
    margin-bottom: 18px;
}

.staff-supply-section h3,
.feature-stack h3 {
    margin-bottom: 20px;
}

.staff-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.staff-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content {
    max-width: 780px;
    margin: 0 auto;
}

.about-content h3,
.about-content h4 {
    margin-bottom: 18px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.founder-card {
    text-align: center;
    background: var(--light-blue);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-blue);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-title {
    margin: 12px 0 15px;
    color: var(--accent-orange);
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card h3,
.contact-card h4 {
    margin-bottom: 12px;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-socials a {
    font-size: 24px;
    text-decoration: none;
}

.form-control {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.contact-form button {
    width: 100%;
}

.status-message {
    margin-top: 15px;
    font-weight: 600;
}

footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 40px;
}

.footer-container h3 {
    margin-bottom: 12px;
    color: var(--white);
}

.footer-container a {
    color: #e2e8f0;
}

.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list li + li {
    margin-top: 4px;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    font-size: 32px;
    z-index: 90;
}

.page-shell {
    padding: 80px 0;
}

.page-shell .entry-title {
    margin-bottom: 20px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 992px) {
    .split-container,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 38px;
    }

    .staff-cards-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 20px;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero,
    .split-section,
    .daily-supply,
    .about-edshifu {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 30px;
    }

    .audience-selector {
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
}
