/* =========================
   BASE / TOKENS
========================= */
:root {
    --text: #111827;
    --muted: #6b7280;
    --bg: #f7f9fc;
    --card: #ffffff;
    --accent: #2563eb;
    --accent-2: #0ea5e9;
    --radius: 16px;
    --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
    --shadow-md: 0 10px 25px rgba(0,0,0,.08);
    --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    --navbar-bg: #ffffff;
    --footer-bg: #0f172a;
    --footer-text: #cbd5e1;
    --footer-accent: #2563eb;
}

/* =========================
   GLOBAL STYLES
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-heading);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

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

/* =========================
   NAVBAR
========================= */
nav {
    background: var(--navbar-bg);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand a {
    display: flex;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
    color: var(--text);
    font-size: 1rem;
}

.logo {
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active,
.nav-link:hover {
    color: var(--accent);
}

/* =========================
   NAVBAR TOGGLER
========================= */
#mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

#mobile-menu-button svg {
    width: 28px;
    height: 28px;
    color: var(--text);
}

#mobile-menu-button .close-icon {
    display: none;
}

#mobile-menu-button.active .hamburger {
    display: none;
}

#mobile-menu-button.active .close-icon {
    display: block;
}

/* =========================
   PAGE TITLE
========================= */
.page-title {
    background: radial-gradient(1200px 300px at 10% 0%, rgba(37,99,235,.10), transparent 60%),
                radial-gradient(900px 260px at 90% 10%, rgba(14,165,233,.12), transparent 60%),
                #f4f7ff;
    padding: 72px 0 56px;
    text-align: center;
    border-bottom: 1px solid #e9ecf3;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-title p {
    color: var(--muted);
    font-size: 1rem;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-section p {
    color: var(--muted);
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-info, .contact-form {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef0f4;
}

.contact-info ul li {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.contact-form form label {
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.contact-form button {
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: var(--accent-2);
}

#formMessage {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 12px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 1rem 2rem;
}

footer .footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: left;
}

footer h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

footer p,
footer a,
footer li {
    font-size: 0.95rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--accent);
}

footer .footer-bottom {
    text-align: center;
    padding-top: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1.5rem;
}

/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background-color: var(--accent);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.whatsapp-chat img {
    width: 50px;
    height: 50px;
}

.whatsapp-chat:hover {
    transform: scale(1.1);
    background-color: var(--accent-2);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    #mobile-menu-button {
        display: block;
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .page-title p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-section h2 {
        font-size: 1.5rem;
    }
}
