/* ============================================
   Universal Dispatchers - Blue & White Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent: #0ea5e9;
    --text-dark: #0f172a;
    --text: #334155;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-blue: #eff6ff;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 14px rgba(30, 64, 175, 0.08);
    --shadow-lg: 0 12px 30px rgba(30, 64, 175, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 800; line-height: 1.2; }
h1 { font-size: 3.2rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.25rem; }

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}
.btn-outline {
    display: inline-block;
    border: 2px solid var(--border);
    color: var(--text-dark);
    padding: 14px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    background: #fff;
    cursor: pointer;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-white {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* --- Navigation --- */
nav {
    background: #fff;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo img {
    height: 125px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.nav-phone {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--transition);
}
.nav-phone:hover { background: var(--primary-dark); }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Section Common --- */
.section { padding: 100px 5%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-blue);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 12px auto 0;
    font-size: 1.05rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Hero --- */
.hero {
    background: var(--bg-light);
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(14, 165, 233, 0.05));
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.04);
}
.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-blue);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}
.hero h1 {
    margin-bottom: 20px;
}
.hero h1 em {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}
.hero p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* --- Stats Bar --- */
.stats-bar {
    background: #fff;
    padding: 50px 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat {
    text-align: center;
    padding: 20px 30px;
    background: var(--bg-blue);
    border-radius: var(--radius-lg);
    min-width: 160px;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
}
.service-card h3 {
    margin-bottom: 10px;
    font-weight: 700;
}
.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- How It Works --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}
.step {
    text-align: center;
    position: relative;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray); font-size: 0.9rem; }

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 1rem;
}
.testimonial-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    margin: 0 5% 60px;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p {
    color: rgba(255,255,255,0.75);
    max-width: 550px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 5% 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.page-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- About Content --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }
.about-values {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}
.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.value-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.value-item h4 { margin-bottom: 4px; font-size: 1rem; }
.value-item p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.about-image-placeholder {
    background: linear-gradient(135deg, var(--bg-blue), #dbeafe);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* --- Forms --- */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.form-group label .required { color: #ef4444; }
.form-group .helper-text {
    color: var(--gray-light);
    font-size: 0.8rem;
    margin-top: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--bg-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Role Toggle */
.role-toggle {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}
.role-toggle button {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all var(--transition);
}
.role-toggle button.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.checkbox-group label:hover {
    border-color: var(--primary);
}
.checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: var(--primary);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* --- Contact Info Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info-cards {
    display: grid;
    gap: 20px;
}
.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-info-card .icon {
    width: 48px;
    height: 48px;
    background: var(--bg-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.contact-info-card a { color: var(--primary); font-weight: 500; }

/* --- Rates --- */
.rates-content {
    max-width: 800px;
    margin: 0 auto;
}
.rate-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}
.rate-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.rate-number small { font-size: 2rem; }
.rate-highlight h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
.rate-highlight p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.benefit-card {
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.benefit-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
}
.benefit-card p { color: var(--gray); font-size: 0.9rem; margin: 0; }

/* --- Footer --- */
footer {
    background: var(--text-dark);
    padding: 40px 5% 20px;
    color: #94a3b8;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.footer-brand .nav-logo { margin-bottom: 2px; display: inline-block; }
.footer-brand .nav-logo img { height: 90px; width: auto; }
.footer-slogan {
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
footer h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 700;
}
footer ul li { margin-bottom: 10px; font-size: 0.85rem; }
footer ul li a {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: color var(--transition);
    white-space: nowrap;
}
footer ul li a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid,
    .testimonial-grid,
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section { padding: 60px 5%; }

    .nav-links, .nav-phone { display: none; }
    .nav-toggle { display: flex; }

    /* Mobile Menu */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 5%;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    .nav-links.mobile-open a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        display: block;
    }
    .nav-links.mobile-open a:last-child { border-bottom: none; }
    .nav-phone.mobile-open {
        display: inline-block;
        position: absolute;
        top: 22px;
        right: 60px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero { padding: 60px 5%; }
    .hero-btns { flex-direction: column; align-items: center; }
    .stats-bar { gap: 16px; padding: 30px 5%; }
    .stat { min-width: 140px; padding: 16px 20px; }
    .stat-number { font-size: 1.8rem; }

    .services-grid,
    .testimonial-grid,
    .steps-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .cta { margin: 0 3% 40px; padding: 60px 5%; border-radius: 16px; }
    .page-hero { padding: 50px 5% 40px; }
    .page-hero h1 { font-size: 2rem; }

    .form-container { padding: 24px; }
    .role-toggle { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .stat { min-width: 100%; }
    .stats-bar { flex-direction: column; align-items: center; }
}
