/* =========================
   RESET
========================= */

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

/* =========================
   ROOT
========================= */

:root {

    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #06b6d4;

    --color-dark: #0f172a;
    --color-darker: #f8fafc;

    --color-light: #ffffff;

    --color-gray: #64748b;
    --color-gray-dark: #334155;

    --color-success: #22c55e;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;

    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    --container-max-width: 1200px;

    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

    --transition-fast: 150ms ease;
    --transition: 250ms ease;
    --transition-slow: 350ms ease;
}

/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    font-size: 1.02rem;
    color: #475569;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    padding: .95rem 1.8rem;

    border-radius: var(--border-radius);
    border: none;

    cursor: pointer;

    font-weight: 600;

    transition: all .3s ease;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        #2563eb,
        #06b6d4
    );

    color: white;

    box-shadow: 0 10px 25px rgba(37,99,235,0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow: 0 15px 35px rgba(37,99,235,0.35);
}

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

    border: 1px solid #dbeafe;
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

/* =========================
   HEADER
========================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    background: rgba(255,255,255,.75);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(0,0,0,.05);

    z-index: 1000;
}

.header.scroll-down {
    transform: translateY(-100%);
    transition: transform .3s ease;
}

.header.scroll-up {
    transform: translateY(0);
    transition: transform .3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--color-dark);
    font-weight: 500;
}

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

/* =========================
   HERO
========================= */

.hero {

    padding: 8rem 0 6rem;

    background:
        radial-gradient(circle at top left,
        rgba(37,99,235,0.15),
        transparent 35%),

        radial-gradient(circle at bottom right,
        rgba(6,182,212,0.15),
        transparent 35%),

        #f8fafc;

    position: relative;

    overflow: hidden;
}

.hero-content {
    max-width: 700px;
}

.hero-title {

    background: linear-gradient(
        135deg,
        #2563eb,
        #06b6d4
    );

    -webkit-background-clip: text;
    color: transparent;

    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* =========================
   CARDS
========================= */

.service-card,
.feature-card,
.testimonial-card,
.sidebar-card,
.contact-actions,
.district-card,
.contact-method-card,
.service-detail {

    background: white;

    border: 1px solid #e2e8f0;

    border-radius: var(--border-radius-lg);

    padding: 2rem;

    box-shadow: var(--shadow);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.service-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.contact-method-card:hover,
.district-card:hover,
.service-detail:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(37,99,235,0.15);

    border-color: rgba(37,99,235,0.2);
}

/* =========================
   GRID
========================= */

.services-grid,
.features-grid,
.testimonials-grid,
.contact-methods-grid,
.districts-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(300px,1fr));

    gap: 2rem;
}

/* =========================
   WHY US
========================= */

.why-us,
.location-section {
    background: white;
}

/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* =========================
   FOOTER
========================= */

.footer {

    background: #0f172a;

    color: white;

    padding: 5rem 0 2rem;

    margin-top: 4rem;
}

.footer-content {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap: 3rem;

    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

.footer-links,
.footer-contact {

    list-style: none;
}

.footer-links li,
.footer-contact li {

    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {

    color: rgba(255,255,255,.75);

    transition: .3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {

    color: white;

    padding-left: 4px;
}

.footer h3,
.footer h4 {

    color: white;

    margin-bottom: 1.5rem;
}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.1);

    padding-top: 2rem;

    text-align: center;
}

.footer-bottom p {

    color: rgba(255,255,255,.6);

    margin: 0;
}

.design-credit {

    margin-top: .5rem;

    font-size: .9rem;
}

/* MOBILE */

@media (max-width:768px) {

    .footer {

        text-align: center;
    }

    .footer-content {

        gap: 2rem;
    }
}
/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-button {

    position: fixed;

    right: 2rem;
    bottom: 2rem;

    width: 65px;
    height: 65px;

    border-radius: 50%;

    background: #25D366;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    box-shadow: var(--shadow-xl);

    z-index: 999;
}

.whatsapp-button:hover {
    transform: scale(1.08);
}

/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
    display: none;
}

@media (max-width:768px) {

    .menu-toggle {
        display: block;
        background: none;
        border: none;
    }

    .nav-menu {

        position: fixed;

        top: 70px;
        left: 0;
        right: 0;

        background: white;

        flex-direction: column;

        padding: 2rem;

        transform: translateY(-120%);

        opacity: 0;
        visibility: hidden;

        transition: .3s ease;

        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {

        transform: translateY(0);

        opacity: 1;
        visibility: visible;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .services-grid,
    .features-grid,
    .testimonials-grid,
    .contact-methods-grid,
    .districts-grid {

        grid-template-columns: 1fr;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width:576px) {

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }
}
/* =========================
   FAQ / SSS
========================= */

.faq-section {
    background: #f8fafc;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {

    background: white;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    margin-bottom: 1rem;

    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0,0,0,0.04);

    transition: all .3s ease;
}

.faq-item:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 24px rgba(37,99,235,0.08);

    border-color: rgba(37,99,235,0.15);
}

.faq-question {

    width: 100%;

    background: transparent;

    border: none;

    padding: 1.5rem 2rem;

    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    font-size: 1.05rem;

    font-weight: 600;

    color: #0f172a;

    text-align: left;

    transition: .3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {

    font-size: 1.2rem;

    color: var(--color-primary);

    transition: transform .3s ease;
}

.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition:
        max-height .4s ease,
        padding .3s ease;

    padding: 0 2rem;

    color: #475569;

    line-height: 1.8;
}

.faq-item.active .faq-answer {

    max-height: 300px;

    padding: 0 2rem 1.5rem;
}

.faq-item.active .faq-icon {

    transform: rotate(180deg);
}

/* MOBILE */

@media (max-width:768px) {

    .faq-question {

        padding: 1.2rem 1.3rem;

        font-size: 1rem;
    }

    .faq-answer {

        padding: 0 1.3rem;
    }

    .faq-item.active .faq-answer {

        padding: 0 1.3rem 1.2rem;
    }
}