/*
Theme Name: Kadence Child
Theme URI: https://kimoinstitute.org
Description: Kadence Child Theme for KIMO Institute
Author: Your Name
Template: kadence
Version: 1.0.0
*/

/* ===========================
   Global Variables
   =========================== */
:root {
    --kimo-navy: #1a3a5c;
    --kimo-blue: #2a5f8f;
    --kimo-white: #ffffff;
    --kimo-light: #f4f7fb;
    --kimo-text: #333333;
    --kimo-muted: #666666;
}

/* ===========================
   Global Reset
   =========================== */
#kimo-home * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#kimo-home section {
    width: 100%;
}

#kimo-home .kimo-hero-inner,
#kimo-home .kimo-stats-inner,
#kimo-home .kimo-about-inner,
#kimo-home .kimo-schools-inner,
#kimo-home .kimo-news-inner,
#kimo-home .kimo-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Badges
   =========================== */
.kimo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #a8d4f5;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.kimo-badge-dark {
    display: inline-block;
    background: #e8f0fa;
    color: var(--kimo-navy);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* ===========================
   Links
   =========================== */
.kimo-link {
    color: var(--kimo-navy);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.kimo-link:hover {
    text-decoration: underline;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
    display: inline-block;
    background: var(--kimo-white);
    color: var(--kimo-navy);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--kimo-white);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary-light {
    display: inline-block;
    background: var(--kimo-white);
    color: var(--kimo-navy);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-primary-light:hover {
    opacity: 0.9;
}

/* ===========================
   Hero Section
   =========================== */
.kimo-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5f8f 100%);
    padding: 80px 0;
    text-align: center;
}

.kimo-hero h1 {
    color: var(--kimo-white);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
}

.kimo-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.kimo-hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Stats Bar
   =========================== */
.kimo-stats {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 0;
}

.kimo-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 12px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: var(--kimo-navy);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--kimo-muted);
    margin-top: 4px;
}

/* ===========================
   About Section
   =========================== */
.kimo-about {
    padding: 80px 0;
}

.kimo-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.kimo-about-text h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--kimo-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.kimo-about-text p {
    font-size: 15px;
    color: var(--kimo-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.kimo-about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-card {
    border-radius: 12px;
    padding: 20px;
}

.about-card h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 13px;
    line-height: 1.5;
}

.about-card.blue {
    background: #e8f0fa;
}

.about-card.blue h4 {
    color: #1a3a5c;
}

.about-card.blue p {
    color: #185fa5;
}

.about-card.green {
    background: #eaf3de;
}

.about-card.green h4 {
    color: #3b6d11;
}

.about-card.green p {
    color: #3b6d11;
}

.about-card.amber {
    background: #faeeda;
}

.about-card.amber h4 {
    color: #854f0b;
}

.about-card.amber p {
    color: #854f0b;
}

.about-card.pink {
    background: #fbeaf0;
}

.about-card.pink h4 {
    color: #993556;
}

.about-card.pink p {
    color: #993556;
}

/* ===========================
   Schools Section
   =========================== */
.kimo-schools {
    background: var(--kimo-light);
    padding: 80px 0;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.kimo-schools h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--kimo-text);
    margin-bottom: 40px;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.school-card {
    background: var(--kimo-white);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 28px;
}

.school-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.school-icon.blue {
    background: #e8f0fa;
}

.school-icon.green {
    background: #eaf3de;
}

.school-icon.amber {
    background: #faeeda;
}

.school-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--kimo-text);
    margin-bottom: 10px;
}

.school-card p {
    font-size: 13px;
    color: var(--kimo-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ===========================
   News Section
   =========================== */
.kimo-news {
    padding: 80px 0;
    border-top: 1px solid #e5e7eb;
}

.kimo-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.kimo-news-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--kimo-text);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

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

.news-placeholder {
    width: 100%;
    height: 160px;
    background: #e8f0fa;
}

.news-content {
    padding: 16px;
}

.news-date {
    font-size: 12px;
    color: var(--kimo-muted);
}

.news-content h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--kimo-text);
    margin-top: 6px;
    line-height: 1.5;
}

/* ===========================
   CTA Section
   =========================== */
.kimo-cta {
    background: var(--kimo-navy);
    padding: 60px 0;
    text-align: center;
}

.kimo-cta h2 {
    color: var(--kimo-white);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}

.kimo-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 24px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .kimo-hero h1 {
        font-size: 28px;
    }

    .kimo-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .kimo-about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .kimo-about-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .kimo-about-cards {
        grid-template-columns: 1fr;
    }

    .kimo-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   Navbar Fix
   =========================== */
.site-header,
.kadence-sticky-header,
header.site-header {
    background-color: #1a3a5c !important;
}

.main-navigation a,
.site-branding .site-title a,
.site-branding .site-title {
    color: #ffffff !important;
}

/* ===========================
   Schools Cards Fix
   =========================== */
.school-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.2s;
}

.school-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===========================
   CTA Fix
   =========================== */
.kimo-cta {
    background-color: #1a3a5c !important;
    padding: 60px 0;
    text-align: center;
}

.kimo-cta h2 {
    color: #ffffff !important;
}

.kimo-cta p {
    color: rgba(255, 255, 255, 0.75) !important;
}

.btn-primary-light {
    background: #ffffff;
    color: #1a3a5c;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

/* ===========================
   Footer Fix
   =========================== */
.site-footer {
    background-color: #0f2238 !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.5) !important;
}