/*
Theme Name: ZAI Suite Theme
Theme URI: https://emltd.app
Author: ZAI Systems
Description: A custom theme for ZAI Suite for Schools based on the UI Concept.
Version: 1.0
Text Domain: zai-suite
*/

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #f4f7fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* main website card */
.website {
    max-width: 1280px;
    width: 100%;
    background: white;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Top Bar */
.top-bar {
    background: #0a2a44;
    color: white;
    padding: 1.2rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #f5b041;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: #f5b041;
    color: #0a2a44;
    font-weight: 800;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}
.logo-small {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 4px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    font-size: 0.95rem;
}
.contact-row i {
    color: #f5b041;
    margin-right: 8px;
    width: 18px;
}
.contact-item {
    display: flex;
    align-items: center;
}
.contact-item a {
    color: white;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,0.3);
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(145deg, #ffffff 0%, #f1f6fa 100%);
    padding: 2rem 2.5rem;
    gap: 2rem;
}

.left-why {
    flex: 2;
    min-width: 280px;
}
.right-images {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.badge-orange {
    background: #f5b041;
    color: #0a2a44;
    font-weight: 700;
    padding: 0.25rem 1.2rem;
    border-radius: 40px;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    border: 1px solid #e09d30;
}

h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0a2a44;
    margin-bottom: 0.5rem;
}
.suitable {
    font-weight: 600;
    color: #2c3e50;
    margin: 1rem 0 1.5rem 0;
    font-size: 1.1rem;
    border-left: 5px solid #f5b041;
    padding-left: 1rem;
    background: #f0f5fa;
    padding: 0.7rem 1rem;
    border-radius: 0 12px 12px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}
.feature-item {
    display: flex;
    gap: 12px;
    align-items: center;
}
.feature-item i {
    color: #f5b041;
    font-size: 1.4rem;
    width: 32px;
}
.feature-item span {
    font-weight: 500;
    color: #1e2f47;
}

/* Mock Images */
.mock-img {
    background: #d9e2ec;
    border-radius: 24px;
    padding: 1.2rem 1rem;
    box-shadow: 0 8px 18px rgba(0, 20, 40, 0.12);
    border: 1px solid white;
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.img-placeholder-large {
    background: linear-gradient(145deg, #a6c1d9, #7fa3c2);
    width: 100%;
    height: 110px;
    border-radius: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2a44;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}
.img-placeholder-small {
    background: linear-gradient(145deg, #b6cdff, #7fa3c2);
    height: 70px;
    width: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2a44;
    font-weight: 600;
    margin-bottom: 10px;
}
.img-caption {
    font-weight: 600;
    color: #0a2a44;
    background: rgba(255,255,255,0.6);
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.9rem;
}
.img-caption i {
    margin-right: 6px;
    color: #f5b041;
}

/* Split Modules */
.split-modules {
    display: flex;
    flex-wrap: wrap;
    border-top: 2px solid #e5eef5;
}
.exam-module {
    flex: 1.2;
    min-width: 350px;
    padding: 2.2rem 2rem;
    background: #ffffff;
    border-right: 1px solid #dae6ed;
}
.finance-module {
    flex: 1;
    min-width: 350px;
    padding: 2.2rem 2rem;
    background: #fbfeff;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.8rem;
}
.section-title h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0a2a44;
}
.title-icon {
    background: #f5b041;
    color: #0a2a44;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    margin-top: 1.2rem;
}
.feature-block {
    margin-bottom: 0.8rem;
}
.feature-block p {
    font-weight: 600;
    color: #0a2a44;
    margin-bottom: 6px;
    font-size: 1.05rem;
}
.feature-block ul {
    list-style: none;
}
.feature-block li {
    font-size: 0.9rem;
    padding: 3px 0 3px 22px;
    position: relative;
    color: #2e405b;
}
.feature-block li:before {
    content: "•";
    color: #f5b041;
    font-weight: 800;
    font-size: 1.2rem;
    position: absolute;
    left: 4px;
    top: -2px;
}

.extra-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.8rem 0 0.8rem;
    border-top: 1px dashed #bcd2e3;
    padding-top: 1.5rem;
}
.extra-card {
    background: #f0f7fd;
    border-radius: 24px;
    padding: 1rem 1.2rem;
    flex: 1 1 160px;
}
.extra-card i {
    color: #f5b041;
    font-size: 1.5rem;
    margin-right: 10px;
}
.extra-card strong {
    font-size: 1.1rem;
    color: #0f3b5e;
}
.extra-card div {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #1e3a5f;
}

/* Finance Highlights */
.finance-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.finance-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.fin-item {
    background: white;
    border-radius: 20px;
    padding: 1.2rem 1rem;
    box-shadow: 0 6px 14px rgba(0, 32, 64, 0.04);
    flex: 1 1 180px;
    border: 1px solid #d9e8f2;
}
.fin-item i {
    font-size: 1.8rem;
    color: #f5b041;
    margin-bottom: 12px;
}
.fin-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #0a2a44;
}
.fin-item ul {
    list-style: none;
}
.fin-item li {
    font-size: 0.85rem;
    padding: 2px 0;
    color: #2b4b6f;
}

.bank-row {
    margin-top: 1.8rem;
    background: #e2eef9;
    border-radius: 30px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.bank-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-weight: 500;
    color: #0a2a44;
}
.bank-logos span {
    background: white;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.mpesa {
    background: #1eb35b !important;
    color: white;
    font-weight: 600;
}

/* Footer */
.support-footer {
    background: #0a2a44;
    color: white;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    border-top: 4px solid #f5b041;
}
.support-footer i {
    color: #f5b041;
    margin-right: 8px;
}
.footer-tag {
    background: #1f486b;
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-weight: 500;
}

/* Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid #f5b041;
    color: #0a2a44;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    font-size: 1rem;
}
.btn i {
    color: #f5b041;
    font-size: 1.2rem;
}
.btn:hover {
    background: #f5b041;
    color: #0a2a44;
    border-color: #0a2a44;
}
.btn:hover i {
    color: #0a2a44;
}
.btn-solid {
    background: #f5b041;
    border: 2px solid #f5b041;
}
.btn-solid:hover {
    background: #e09d30;
}

/* Utilities */
.image-note {
    font-size: 0.75rem;
    color: #345375;
    background: rgba(255,255,240,0.7);
    padding: 2px 8px;
    border-radius: 30px;
}
.mock-flex {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 800px) {
    .top-bar { padding: 1rem 1.5rem; }
    .hero-section { padding: 1.5rem; }
    .exam-module { border-right: none; border-bottom: 1px solid #dae6ed; }
    .contact-row { gap: 1rem; margin-top: 10px; }
    h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .feature-cols { grid-template-columns: 1fr; }
    .bank-row { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}