/* Root variables for navy theme */
:root {
    --primary-900: #0a0f1c;        /* Deep navy background */
    --primary-800: #1a2332;        /* Main background - navy blue */
    --primary-400: #9ca3af;        /* Medium text */
    --primary-300: #cbd5e1;        /* Primary text */
    --primary-100: #f8fafc;        /* Brightest text */
    --accent-primary: #4f7df3;      /* Bright blue for buttons */
    --accent-primary-light: #6b8bf5; /* Lighter blue for highlights */
    --accent-primary-dark: #1d4ed8; /* Darker blue for depth */
    --accent-secondary: #7c3aed;    /* Purple accent */
    --accent-tertiary: #0ea5e9;     /* Sky blue */
    --surface-overlay: rgba(26, 35, 50, 0.98);
    --border-subtle: rgba(79, 125, 243, 0.1);
    --border-default: rgba(79, 125, 243, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.35);
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #000000 0%, #111827 30%, #1f2937 70%, #374151 100%);
    min-height: 100vh;
    color: #e5e7eb;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle professional background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.015) 0%, transparent 40%),
        linear-gradient(rgba(59, 130, 246, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.01) 1px, transparent 1px);
    background-size: 1200px 1200px, 800px 800px, 100px 100px, 100px 100px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface-overlay);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: var(--surface-overlay);
    border-bottom-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 170px;
    height: 50px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(79, 125, 243, 0.4);
    transition: box-shadow 0.3s ease;
}

.logo-icon:hover {
    box-shadow: 0 0 40px rgba(79, 125, 243, 0.6);
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));
    border-radius: 18px;
    z-index: -1;
    animation: logoGlow 4s linear infinite;
    background-size: 300% 300%;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(1.1) contrast(1.05);
}

@keyframes logoGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--primary-300);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--primary-100);
    transform: translateY(-1px);
}

.nav-links a:hover::before {
    opacity: 0.1;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-overlay);
    backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 1rem 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--primary-400);
    border-radius: 0;
    background: none;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(79, 125, 243, 0.08);
    color: var(--accent-primary-light);
    transform: translateX(4px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--primary-300);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    background: rgba(79, 125, 243, 0.1);
    color: var(--accent-primary);
}

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

main {
    padding: 6rem 0 2rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Form */
.contact-form-section {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(75, 85, 99, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #e5e7eb;
    font-weight: 600;
}

.form-subtitle {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    color: #e5e7eb;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
    color: #6b7280;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Contact Info */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(75, 85, 99, 0.2);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.info-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #e5e7eb;
    font-weight: 600;
}

.info-content {
    color: #9ca3af;
    line-height: 1.6;
}

.info-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #06b6d4;
}

/* Map Section */
.map-section {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(75, 85, 99, 0.2);
    margin-bottom: 3rem;
}

.map-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
    font-weight: 600;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.map-icon {
    font-size: 3rem;
    color: #3b82f6;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(75, 85, 99, 0.2);
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1);
}

.faq-question h3 {
    color: #e5e7eb;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-toggle {
    color: #3b82f6;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface-overlay);
        backdrop-filter: blur(20px) saturate(1.5);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border-default);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(79, 125, 243, 0.1);
        margin-top: 0.5rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .contact-form-section,
    .contact-info-card,
    .map-section,
    .faq-section {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-contrast: high) {
    :root {
        --primary-300: #ffffff;
        --border-subtle: rgba(79, 125, 243, 0.3);
        --border-default: rgba(79, 125, 243, 0.5);
    }
}