/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #0c4a6e;   /* Deep Blue */
    --primary-light: #0284c7;   /* Bright Blue */
    --secondary-color: #166534; /* Deep Green */
    --secondary-light: #22c55e; /* Bright Green */
    --accent-color: #f59e0b;    /* Orange/Gold for CTAs */
    --danger-color: #ef4444;
    
    /* Grays & Neutrals */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Utility */
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: color var(--transition-fast);
}
a:hover { color: var(--primary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   UTILITIES
   ========================================= */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }
.text-center { text-align: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; } .mb-40 { margin-bottom: 40px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.font-bold { font-weight: 700; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 8px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white !important;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: white !important;
}

.pulse-btn {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(2, 132, 199, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.875rem;
}
.top-bar a { color: white; margin-left: 15px; }
.top-bar a:hover { color: var(--accent-color); }
.top-bar .contact-info span { margin-right: 20px; }

.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}
.logo img { max-height: 65px; }

.navbar { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 25px; margin: 0; }
.nav-list li a {
    color: var(--text-main);
    font-weight: 500;
    font-family: var(--font-heading);
    padding: 10px 0;
    position: relative;
    font-size: 1rem;
}
.nav-list li a:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 3px;
    background-color: var(--secondary-color);
    transition: width var(--transition-normal);
    border-radius: 3px;
}
.nav-list li a:hover:after, .nav-list li a.active:after { width: 100%; }
.nav-list li a:hover, .nav-list li a.active { color: var(--primary-color); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    border-radius: 8px;
    top: 100%;
    left: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}
.dropdown:hover .dropdown-content { display: block; opacity: 1; transform: translateY(0); }
.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 16px !important;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid var(--border-color);
}
.dropdown-content a:after { display: none !important; }
.dropdown-content a:hover { background-color: var(--bg-light); color: var(--primary-color) !important; padding-left: 20px !important; }

.nav-actions { display: flex; gap: 15px; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}
.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 10px;
}
.footer h3:after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 3px; background-color: var(--accent-color);
    border-radius: 3px;
}
.footer p { color: #cbd5e1; }
.footer-logo { max-width: 200px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: #cbd5e1; }
.footer ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.contact-info-list li { display: flex; gap: 10px; align-items: flex-start; color: #cbd5e1; }
.contact-info-list i { color: var(--accent-color); margin-top: 5px; }
.social-links a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 36px; height: 36px; border-radius: 50%;
    background-color: rgba(255,255,255,0.1); color: white;
    transition: var(--transition-normal); margin-right: 8px;
}
.social-links a:hover { background-color: var(--accent-color); transform: translateY(-3px); }
.badge { background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 4px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.2); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.9rem; color: #cbd5e1; }

/* =========================================
   FORMS & WIZARD
   ========================================= */
.form-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.form-control {
    width: 100%; padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body); font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--bg-light);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
    background-color: var(--bg-white);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* Wizard Styles */
.wizard-progress { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.wizard-progress::before {
    content: ''; position: absolute; top: 15px; left: 0; width: 100%; height: 2px;
    background-color: var(--border-color); z-index: 1;
}
.wizard-step {
    position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.wizard-step-circle {
    width: 32px; height: 32px; border-radius: 50%;
    background-color: var(--bg-white); border: 2px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: var(--text-muted); transition: all 0.3s;
}
.wizard-step.active .wizard-step-circle {
    border-color: var(--primary-color); background-color: var(--primary-color); color: white;
}
.wizard-step.completed .wizard-step-circle {
    border-color: var(--secondary-light); background-color: var(--secondary-light); color: white;
}
.wizard-step-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.wizard-step.active .wizard-step-label { color: var(--primary-color); }

.wizard-panel { display: none; animation: fadeIn 0.5s ease-in-out; }
.wizard-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wizard-actions { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color); }

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .navbar {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--bg-white);
        flex-direction: column; align-items: flex-start;
        padding: 20px; box-shadow: var(--shadow-lg);
        display: none; border-top: 1px solid var(--border-color);
    }
    .navbar.active { display: flex; }
    .nav-list { flex-direction: column; width: 100%; align-items: flex-start; gap: 15px; }
    .nav-list li { width: 100%; }
    .nav-list li a { display: block; width: 100%; }
    .dropdown-content { position: static; box-shadow: none; padding-left: 20px; display: none; margin-top: 10px; border-left: 2px solid var(--primary-color); }
    .dropdown.active .dropdown-content { display: block; }
    .nav-actions { width: 100%; flex-direction: column; margin-top: 20px; }
    .nav-actions .btn { width: 100%; }
    .menu-toggle { display: block; }
    .top-bar { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .mobile-column { flex-direction: column; gap: 10px; text-align: center; }
    .form-card { padding: 20px; }
}
