/* ==========================================================================
   GLOBAL DESIGN SYSTEM & SHARED COMPONENTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-navy: #0B1B3D;
    --primary-navy-dark: #061027;
    --accent-blue: #1E3A8A;
    --accent-red: #d26970;
    --accent-red-hover: #B71C1C;
    --accent-coral: #E05638;
    --accent-teal: #00E5A3;

    --neutral-100: #FFFFFF;
    --neutral-200: #F2F2F1;
    --neutral-300: #EAEBF0;
    --neutral-400: #D1D5DB;
    --neutral-600: #6B7280;
    --neutral-800: #1F2937;
    --neutral-900: #0F172A;

    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-light: #F9FAFB;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Glassmorphism & Shadows */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 27, 61, 0.12);
    --shadow-hover: 0 20px 48px rgba(11, 27, 61, 0.18);

    /* Layout Constants */
    --container-max: 1280px;
    --header-height: 90px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--neutral-100);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-300);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.brand-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);

.nav-link:hover, .nav-link.active {
    color: var(--primary-navy);
    font-weight: 700;
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--neutral-100);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    min-width: 220px;
    display: none;
    list-style: none;
    z-index: 1100;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background var(--transition-fast);
}

.dropdown-item a:hover {
    background: var(--neutral-200);
    color: var(--primary-navy);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-contact, .btn-primary {
    background: var(--primary-navy);
    color: var(--neutral-100);
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-contact:hover, .btn-primary:hover {
    background: var(--accent-blue);
    color: var(--neutral-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--neutral-100);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: right var(--transition-normal);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-navy);
    color: var(--neutral-100);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 3000;
    border-left: 4px solid var(--accent-teal);
}

.toast.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 868px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
