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

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --text: #1F2937;
    --text-light: #6B7280;
    --bg: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-blue: #EBF4FF;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.header-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../images/ambulance.jpeg') center/cover no-repeat;
    position: relative;
}

.hero .container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-subtext {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-illustration svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--bg);
}

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

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

/* About / Features */
.about {
    padding: 80px 0;
    background: var(--bg);
}

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

.feature {
    text-align: center;
    padding: 24px;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: var(--text);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author strong {
    color: var(--text);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-cta {
    background: var(--bg-blue);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact-cta .btn {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #9CA3AF;
    margin-top: 12px;
    font-size: 0.95rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand .logo-icon {
    background: white;
    color: var(--primary);
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links a,
.footer-links span {
    display: block;
    color: #9CA3AF;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-text {
        margin: 0 auto 24px;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }
}
