/* ============================================================
   NTIZA Agricultural Platform - Main Stylesheet
   Compact layout — fits naturally at 100% zoom
   ============================================================ */

:root {
    --green-600:        #16a34a;
    --green-700:        #15803d;
    --green-100:        #dcfce7;
    --green-50:         #f0fdf4;
    --gray-900:         #111827;
    --gray-800:         #1f2937;
    --gray-700:         #374151;
    --gray-600:         #4b5563;
    --gray-500:         #6b7280;
    --gray-400:         #9ca3af;
    --gray-300:         #d1d5db;
    --gray-200:         #e5e7eb;
    --gray-100:         #f3f4f6;
    --gray-50:          #f9fafb;
    --white:            #ffffff;
    --danger:           #dc2626;
    --yellow-500:       #eab308;

    --font:             'Inter', sans-serif;
    --radius-sm:        4px;
    --radius:           8px;
    --radius-lg:        12px;
    --radius-xl:        16px;
    --radius-full:      9999px;
    --shadow-sm:        0 1px 2px rgba(0,0,0,0.05);
    --shadow:           0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:        0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg:        0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl:        0 20px 25px rgba(0,0,0,0.1);
    --transition:       all 0.2s ease;
    --navbar-height:    60px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    font-size: 15px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}
a   { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ── Layout ─────────────────────────────────────────────────── */
.container    { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { width: 100%; max-width: 600px;  margin: 0 auto; padding: 0 20px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    height: var(--navbar-height);
}
.navbar-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
}
.navbar-brand   { display: flex; align-items: center; gap: 8px; }
.brand-logo {
    width: 34px; height: 34px;
    background: var(--green-600);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; color: var(--white); flex-shrink: 0;
}
.brand-name    { display: block; font-weight: 700; font-size: 18px; color: var(--gray-900); line-height: 1.2; }
.brand-tagline { display: block; font-size: 10px; color: var(--gray-500); line-height: 1.2; }
.navbar-links  { display: flex; align-items: center; gap: 2px; }
.navbar-links a {
    padding: 5px 7px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.navbar-links a:hover  { color: var(--green-600); }
.navbar-links a.nav-active {
    color: var(--green-600);
    font-weight: 600;
    position: relative;
}
.navbar-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green-600);
    border-radius: 2px;
}
.navbar-mobile a.nav-active {
    color: var(--green-600);
    font-weight: 600;
}
.navbar-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.navbar-toggle  { display: none; padding: 6px; color: var(--gray-700); font-size: 18px; }
.navbar-mobile  { display: none; background: var(--white); border-top: 1px solid var(--gray-200); padding: 12px 20px; }
.navbar-mobile ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.navbar-mobile a  { display: block; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.navbar-mobile-actions { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.navbar-mobile.open { display: block; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 8px 18px; font-size: 13px; font-weight: 500;
    border-radius: var(--radius); transition: var(--transition);
    white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn-primary        { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.btn-primary:hover  { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.btn-white          { background: var(--white); color: var(--green-600); border-color: var(--white); font-weight: 600; }
.btn-white:hover    { background: var(--gray-100); color: var(--green-700); }
.btn-outline        { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.btn-outline:hover  { background: var(--gray-100); }
.btn-outline-white  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-ghost          { background: transparent; color: var(--gray-700); border-color: transparent; }
.btn-ghost:hover    { color: var(--green-600); }
.btn-danger         { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-block          { width: 100%; }
.btn-lg             { padding: 11px 24px; font-size: 15px; }
.btn-sm             { padding: 5px 12px; font-size: 12px; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group    { margin-bottom: 16px; }
.form-label    { display: block; font-size: 13px; font-weight: 500; color: var(--gray-700); margin-bottom: 5px; }
.form-label span { color: var(--danger); }
.form-control  {
    width: 100%; padding: 9px 12px; font-size: 13px;
    color: var(--gray-800); background: var(--gray-50);
    border: 1px solid var(--gray-300); border-radius: var(--radius);
    transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--green-600); background: var(--white); box-shadow: 0 0 0 3px rgba(22,163,74,0.1); }
.form-control::placeholder { color: var(--gray-400); }
select.form-control    { cursor: pointer; }
textarea.form-control  { resize: vertical; min-height: 90px; }
.form-hint  { font-size: 11px; color: var(--gray-500); margin-top: 3px; }
.form-error { font-size: 11px; color: var(--danger); margin-top: 3px; }
.input-group { position: relative; display: flex; align-items: center; }
.input-group .form-control { padding-right: 40px; }
.input-group-icon { position: absolute; right: 12px; color: var(--gray-400); font-size: 14px; cursor: pointer; }
.search-input-wrap { position: relative; }
.search-input-wrap .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 14px; pointer-events: none; }
.search-input-wrap .form-control { padding-left: 38px; background: var(--white); }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert { padding: 10px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 500; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 8px; }
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.alert-info    { background: #dbeafe; color: #2563eb; border: 1px solid #bfdbfe; }

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-page  { min-height: 100vh; background: var(--gray-50); display: flex; flex-direction: column; }
.auth-body  { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.auth-card  { width: 100%; max-width: 460px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 36px 32px; box-shadow: var(--shadow-md); }
.auth-card-header { text-align: center; margin-bottom: 28px; }
.auth-card-header .brand-logo { margin: 0 auto 14px; width: 46px; height: 46px; font-size: 20px; }
.auth-card-header h1 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; }
.auth-card-header p  { font-size: 13px; color: var(--gray-500); }
.auth-card-footer    { margin-top: 20px; text-align: center; font-size: 13px; color: var(--gray-600); }
.auth-card-footer a  { color: var(--green-600); font-weight: 500; }
.auth-card-footer a:hover { text-decoration: underline; }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.role-option  { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 12px 8px; text-align: center; cursor: pointer; transition: var(--transition); }
.role-option:hover   { border-color: var(--green-600); background: var(--green-100); }
.role-option.selected { border-color: var(--green-600); background: var(--green-100); }
.role-option i    { font-size: 20px; color: var(--green-600); margin-bottom: 5px; display: block; }
.role-option span { font-size: 12px; font-weight: 500; color: var(--gray-700); display: block; }

/* ── Page Banner ─────────────────────────────────────────────── */
.page-banner    { background: var(--green-600); color: var(--white); padding: 36px 0; }
.page-banner h1 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.page-banner p  { font-size: 14px; color: rgba(255,255,255,0.85); }

/* ── Filter Bar ─────────────────────────────────────────────── */
.filter-bar       { background: var(--white); padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.filter-bar-inner { display: flex; flex-direction: column; gap: 12px; }
.filter-grid      { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.filter-results   { font-size: 13px; color: var(--gray-600); }

/* ── Card Grids ─────────────────────────────────────────────── */
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ── Equipment Card ─────────────────────────────────────────── */
.equip-card       { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); cursor: pointer; }
.equip-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.equip-card-img   { position: relative; overflow: hidden; }
.equip-card-img-ratio { aspect-ratio: 4/3; }
.equip-card-img img   { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.equip-card:hover .equip-card-img img { transform: scale(1.05); }
.equip-card-img-placeholder { aspect-ratio: 4/3; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--gray-300); }
.equip-card-body  { padding: 14px; }
.equip-badge      { display: inline-block; padding: 2px 8px; border-radius: var(--radius-sm); font-size: 10px; font-weight: 600; margin-bottom: 6px; }
.equip-badge-available { background: var(--green-100); color: #15803d; }
.equip-badge-booked    { background: var(--gray-100);  color: var(--gray-700); }
.equip-badge-category  { background: var(--green-100); color: #15803d; }
.equip-card-name  { font-size: 14px; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.equip-card-meta  { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray-600); margin-bottom: 5px; }
.equip-card-meta i { color: var(--green-600); font-size: 11px; }
.equip-card-price  { font-size: 12px; font-weight: 600; color: var(--green-600); }
.equip-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--gray-100); }
.book-btn-text     { font-size: 12px; font-weight: 600; color: var(--green-600); cursor: pointer; background: none; border: none; }
.book-btn-text:hover { color: var(--green-700); text-decoration: underline; }

/* ── Expert Card ─────────────────────────────────────────────── */
.expert-card       { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); cursor: pointer; }
.expert-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.expert-card-img   { aspect-ratio: 3/4; overflow: hidden; }
.expert-card-img img { width: 100%; height: 100%; object-fit: cover; }
.expert-card-img-placeholder { aspect-ratio: 3/4; background: var(--green-600); display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 700; color: var(--white); }
.expert-card-body  { padding: 14px; }
.expert-card-body h3 { font-size: 14px; font-weight: 600; color: var(--gray-900); margin-bottom: 3px; }
.expert-specialization { font-size: 12px; font-weight: 500; color: var(--green-600); margin-bottom: 8px; }
.expert-card-meta  { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray-600); margin-bottom: 5px; }
.expert-card-meta i { color: var(--green-600); font-size: 11px; }
.expert-rating     { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.expert-rating .stars      { color: var(--yellow-500); font-size: 12px; }
.expert-rating .rating-val { font-size: 12px; font-weight: 600; }
.expert-rating .rating-count { font-size: 11px; color: var(--gray-500); }
.expert-rate       { font-size: 12px; font-weight: 600; color: var(--green-600); margin-bottom: 10px; }

/* ── Training Card ─────────────────────────────────────────────── */
.training-card       { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); cursor: pointer; }
.training-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.training-card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.training-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.training-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.training-card:hover .training-card-overlay { opacity: 1; }
.play-btn  { width: 42px; height: 42px; background: var(--green-600); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; }
.training-card-body { padding: 14px; }
.training-card-body h3  { font-size: 13px; font-weight: 600; color: var(--gray-900); margin-bottom: 3px; line-height: 1.4; }
.training-instructor    { font-size: 12px; color: var(--gray-600); margin-bottom: 8px; }
.training-card-meta     { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-600); margin-bottom: 10px; }
.training-card-meta span { display: flex; align-items: center; gap: 3px; }
.training-card-meta i    { color: var(--green-600); }

/* ── Hero Section ─────────────────────────────────────────────── */
.hero-section  { position: relative; background: var(--gray-900); color: var(--white); overflow: hidden; }
.hero-bg       { position: absolute; inset: 0; }
.hero-bg img   { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-inner    { position: relative; padding: 60px 0 72px; }
.hero-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-title {
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-subtitle { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 24px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-video-wrap { position: relative; }
.hero-video-box  { aspect-ratio: 16/9; background: var(--gray-800); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.hero-video-box img { width: 100%; height: 100%; object-fit: cover; }
.hero-video-play  { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-play-btn    { width: 56px; height: 56px; background: var(--green-600); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--white); transition: var(--transition); }
.hero-play-btn:hover { background: var(--green-700); transform: scale(1.05); }

/* ── Impact Numbers ─────────────────────────────────────────────── */
.impact-section { background: var(--green-600); padding: 40px 0; }
.impact-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-item    { text-align: center; color: var(--white); }
.impact-item .impact-val { font-size: 32px; font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.impact-item .impact-lbl { font-size: 13px; color: rgba(255,255,255,0.8); }

/* ── Partner Logos ─────────────────────────────────────────────── */
.partners-section { background: var(--gray-50); padding: 32px 0; }
.partners-label   { text-align: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 20px; }
.partners-grid    { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px; }
.partner-logo     { opacity: 0.5; transition: var(--transition); filter: grayscale(100%); }
.partner-logo:hover { opacity: 1; filter: grayscale(0%); }
.partner-logo img { height: 32px; width: auto; }
.partner-logo-text { font-size: 16px; font-weight: 700; color: var(--gray-500); letter-spacing: 1px; }

/* ── Sections ─────────────────────────────────────────────────── */
.section    { padding: 52px 0; }
.section-sm { padding: 32px 0; }
.bg-white-section { background: var(--white); }
.bg-gray-section  { background: var(--gray-50); }
.bg-green-section { background: var(--green-50); }
.section-head      { text-align: center; margin-bottom: 36px; }
.section-head h2   { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.section-head p    { font-size: 14px; color: var(--gray-600); max-width: 520px; margin: 0 auto; }
.section-head-flex { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head-flex h2 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; }
.section-head-flex p  { font-size: 13px; color: var(--gray-600); }

/* ── How It Works ─────────────────────────────────────────────── */
.how-grid      { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how-step      { text-align: center; }
.how-icon-wrap { width: 64px; height: 64px; background: var(--green-100); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 26px; color: var(--green-600); }
.how-number    { width: 40px; height: 40px; background: var(--green-600); color: var(--white); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 18px; font-weight: 700; }
.how-step h3   { font-size: 14px; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.how-step p    { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ── Agent Section ─────────────────────────────────────────────── */
.agent-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.agent-checklist    { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.agent-check-item   { display: flex; align-items: flex-start; gap: 10px; }
.agent-check-item i  { color: var(--green-600); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.agent-check-item h4 { font-size: 14px; font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.agent-check-item p  { font-size: 13px; color: var(--gray-600); }
.agent-stats-card    { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 20px; }
.agent-stats-img     { width: 100%; border-radius: var(--radius); margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; }
.agent-stats-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agent-stat-box      { background: var(--green-50); border-radius: var(--radius); padding: 14px; }
.agent-stat-box .val { font-size: 20px; font-weight: 700; color: var(--green-600); margin-bottom: 3px; }
.agent-stat-box .lbl { font-size: 12px; color: var(--gray-600); }

/* ── Benefits ─────────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card  { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; }
.benefit-icon  { width: 42px; height: 42px; background: var(--green-100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--green-600); margin-bottom: 14px; }
.benefit-card h3 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.benefit-card p  { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ── Tech Stats ─────────────────────────────────────────────────── */
.tech-stats-card  { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; }
.tech-stats-inner { padding: 28px; }
.tech-stats-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.tech-stat-box    { background: var(--green-50); border-radius: var(--radius); padding: 20px; }
.tech-stat-box .val { font-size: 24px; font-weight: 700; color: var(--green-600); margin-bottom: 5px; }
.tech-stat-box .lbl { font-size: 13px; color: var(--gray-700); }
.admin-features   { background: var(--gray-50); border-radius: var(--radius); padding: 20px; }
.admin-features h3 { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 14px; }
.admin-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-feature-item  { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gray-700); }
.admin-feature-item i { color: var(--green-600); }

/* ── CTA Section ─────────────────────────────────────────────────── */
.cta-section    { background: var(--green-600); padding: 60px 0; color: var(--white); text-align: center; }
.cta-section h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.cta-section p  { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns-grid  { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 700px; margin: 0 auto; }

/* ── About Page ─────────────────────────────────────────────────── */
.about-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 52px; }
.about-mission-img  { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.about-mission-text h2 { font-size: 26px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; }
.about-mission-text p  { font-size: 14px; color: var(--gray-700); line-height: 1.8; margin-bottom: 14px; }
.about-stats-grid   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 52px; }
.about-stat         { text-align: center; }
.about-stat-icon    { width: 52px; height: 52px; background: var(--green-100); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 24px; color: var(--green-600); }
.about-stat .val    { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.about-stat .lbl    { font-size: 13px; color: var(--gray-600); }
.values-section     { background: var(--gray-50); border-radius: var(--radius-lg); padding: 40px; margin-bottom: 52px; }
.values-section h2  { font-size: 24px; font-weight: 700; text-align: center; color: var(--gray-900); margin-bottom: 28px; }
.values-grid        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-item         { text-align: center; }
.value-item h3      { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 7px; }
.value-item p       { font-size: 13px; color: var(--gray-700); line-height: 1.6; }
.about-tagline      { text-align: center; }
.about-tagline h2   { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.about-tagline p    { font-size: 14px; color: var(--gray-700); max-width: 680px; margin: 0 auto; line-height: 1.8; }

/* ── Contact Page ─────────────────────────────────────────────────── */
.contact-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2   { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.contact-info > p  { font-size: 14px; color: var(--gray-700); margin-bottom: 28px; line-height: 1.7; }
.contact-items     { display: flex; flex-direction: column; gap: 20px; }
.contact-item      { display: flex; align-items: flex-start; gap: 14px; }
.contact-item-icon { width: 42px; height: 42px; background: var(--green-100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: var(--green-600); }
.contact-item h3   { font-size: 14px; font-weight: 600; color: var(--gray-900); margin-bottom: 3px; }
.contact-item p    { font-size: 13px; color: var(--gray-700); line-height: 1.7; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; }
.contact-form-card h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; }

/* ── Training CTA ─────────────────────────────────────────────────── */
.training-cta      { background: var(--green-50); padding: 52px 0; text-align: center; margin-top: 40px; }
.training-cta-icon { width: 64px; height: 64px; background: var(--green-600); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: var(--white); }
.training-cta h2   { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.training-cta p    { font-size: 14px; color: var(--gray-600); margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer  { background: var(--gray-900); color: var(--gray-400); padding-top: 52px; }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #1f2937; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; color: var(--gray-400); }
.footer-social  { display: flex; gap: 8px; }
.footer-social a { width: 30px; height: 30px; background: #1f2937; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--gray-400); transition: var(--transition); }
.footer-social a:hover { background: var(--green-600); color: var(--white); }
.footer-col h4  { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 14px; }
.footer-col ul  { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--gray-400); }
.footer-col ul li a:hover { color: var(--green-600); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact li  { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.footer-contact li i { color: var(--green-600); margin-top: 2px; flex-shrink: 0; }
.footer-bottom  { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: var(--gray-500); }
.footer-bottom-links a:hover { color: var(--green-600); }

/* ── Misc Utilities ─────────────────────────────────────────────── */
.card         { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.empty-state  { text-align: center; padding: 48px 20px; color: var(--gray-400); }
.empty-state i { font-size: 40px; margin-bottom: 14px; display: block; }
.empty-state p { font-size: 13px; }
.page-body    { padding: 40px 0; }
.text-center  { text-align: center; }
.text-primary { color: var(--green-600); }
.text-muted   { color: var(--gray-500); }
.text-sm      { font-size: 12px; }
.text-xs      { font-size: 11px; }
.fw-600       { font-weight: 600; }
.fw-700       { font-weight: 700; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 20px; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 20px; }
.d-flex         { display: flex; }
.align-center   { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 6px; }
.gap-2 { gap: 14px; }
.w-100 { width: 100%; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .card-grid-4, .how-grid        { grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .agent-section-grid,
    .about-mission-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid    { grid-template-columns: 1fr 1fr; }
    .tech-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title     { font-size: 32px; }
    .impact-grid    { grid-template-columns: repeat(2, 1fr); }
    .filter-grid    { grid-template-columns: repeat(2, 1fr); }
    .cta-btns-grid  { justify-content: center; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 13px; }
    .hero-btns .btn-lg { padding: 9px 16px; font-size: 13px; }
}

@media (max-width: 1024px) {
    .navbar-links, .navbar-actions { display: none; }
    .navbar-toggle  { display: block; }
    .card-grid-4    { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3, .benefits-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-grid    { grid-template-columns: repeat(2, 1fr); }
    .hero-inner     { padding: 36px 0 48px; }
    .hero-title     { font-size: 26px; }
    .section-head h2 { font-size: 22px; }
    .cta-section h2  { font-size: 22px; }
    .auth-card      { padding: 24px 18px; }
    .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom  { flex-direction: column; text-align: center; }
    .values-section { padding: 24px; }
    .tech-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid    { grid-template-columns: repeat(2, 1fr); }
    .partners-grid  { gap: 20px; }
}

@media (max-width: 480px) {
    .container      { padding: 0 14px; }
    .hero-btns      { flex-direction: column; }
    .cta-btns-grid  { flex-direction: column; align-items: center; }
    .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
    .filter-grid    { grid-template-columns: 1fr; }
    .agent-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-features-grid { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid    { grid-template-columns: 1fr; }
    .role-selector  { grid-template-columns: 1fr 1fr; }
    .impact-grid    { grid-template-columns: repeat(2, 1fr); }
    .impact-item .impact-val { font-size: 24px; }
}

/* ── Language Switcher ───────────────────────────────────── */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
    max-width: 140px;
}

.lang-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lang-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.lang-chevron {
    font-size: 9px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 160px;
    z-index: 9999;
    overflow: hidden;
    animation: langDropIn 0.15s ease;
}

@keyframes langDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    font-family: inherit;
}

.lang-option:hover {
    background: #f3f4f6;
}

.lang-option.active {
    background: #f0fdf4;
    color: #16a34a;
    font-weight: 600;
}

.lang-option.active::after {
    content: '✓';
    margin-left: auto;
    font-size: 11px;
    color: #16a34a;
}

/* Dashboard topbar lang button smaller */
.topbar .lang-btn {
    padding: 5px 10px;
    font-size: 12px;
}

.topbar .lang-label {
    display: none;
}

@media (min-width: 1024px) {
    .topbar .lang-label {
        display: inline;
    }
}

@media (max-width: 480px) {
    .lang-btn span {
        display: none;
    }
    .lang-btn {
        padding: 6px 8px;
    }
}