:root {
    --bg-light: #ffffff;
    --bg-gray: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);

    --primary-blue: #2563eb;
    /* Royal Blue */
    --primary-dark: #1e40af;
    --accent-orange: #f97316;

    --text-main: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */

    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-blue {
    color: var(--primary-blue);
}

.text-orange {
    color: var(--accent-orange);
}

.bg-white {
    background: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f8fafc;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.top-bar {
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
    font-weight: 500;
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-main);
    gap: 8px;
}

.logo i {
    color: var(--primary-blue);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover,
nav a.active {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: #fff;
    overflow: hidden;
}

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

.hero-img img {
    width: 130%;
    /* Oversize creative effect */
    margin-left: -15%;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.trust-row {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 20px;
}

/* Service Cards */
.section-services {
    padding: 100px 0;
    background: var(--bg-gray);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: #e2e8f0;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-blue);
    color: #fff;
}

/* About / Features */
.section-about {
    padding: 100px 0;
    background: #fff;
}

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

.about-graphic {
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.about-graphic img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact / Emergency */
.emergency-strip {
    background: linear-gradient(90deg, #fff1f2, #fef2f2);
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
}

/* Footer */
footer {
    background: #f8fafc;
    padding: 80px 0 30px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-muted);
}

.footer-nav h4 {
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-nav ul a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.footer-nav ul a:hover {
    color: var(--primary-blue);
    translate: 5px 0;
    display: inline-block;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Mobile Sticky */
.mobile-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 99;
    border-top: 1px solid #f1f5f9;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.2s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin: 20px 0;
}

/* Common Form */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .nav-container nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-hidden {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-img img {
        width: 100%;
        margin: 0;
    }

    .hero {
        padding-top: 120px;
    }

    .trust-row {
        justify-content: center;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .emergency-strip {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .mobile-sticky {
        display: block;
    }

    footer {
        padding-bottom: 100px;
    }
}