/* Reuse the same CSS with contact-specific additions */
:root {
    --bg-dark: #0a0f1a;
    --bg-darker: #050811;
    --bg-card: #111827;
    --bg-card-light: #1f2937;
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-glow: rgba(14, 165, 233, 0.15);
    --secondary: #10b981;
    --secondary-dark: #059669;
    --secondary-glow: rgba(16, 185, 129, 0.15);
    --accent: #8b5cf6;
    --accent-dark: #7c3aed;
    --accent-glow: rgba(139, 92, 246, 0.15);
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border: #374151;
    --border-light: #4b5563;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 16px;
    --grid-bg: linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    --grid-size: 30px;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grid-bg);
    background-size: var(--grid-size) var(--grid-size);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.contact-section {
    padding-top: 60px;
}
.container-narrow {
    max-width: 1200px;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.25s ease, box-shadow 0.25s ease;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    padding: 20px 0; 
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
}

.logo span {
    color: var(--primary);
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.logo i {
    margin-right: 12px;
    font-size: 2rem;
    color: var(--primary);
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}
/* ACTIVE STATE — underline stays */ 
nav ul li a.active { 
    color: var(--primary); 
} 
nav ul li a.active::after {
    width: 100%; 
}
.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-button.small {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    background-color: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

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

/* Page Hero */
.page-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 40px;
}

.contact-info {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-method {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-method h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.contact-method h3 i {
    margin-right: 12px;
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-method p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-method a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
}

.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-submit {
    margin-top: 30px;
}

.form-submit button {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
}


/* Regional Offices */
.offices-section {
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.offices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.offices-container {
    position: relative;
    z-index: 1;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.office-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.office-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.office-flag {
    width: 60px;
    height: 40px;
    border-radius: 6px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.uk-flag { background: linear-gradient(135deg, #C8102E, #012169); }
.us-flag { background: linear-gradient(135deg, #B31942, #0A3161); }
.de-flag { background: linear-gradient(135deg, #DD0000, #000000, #FFCE00); }

.office-header h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
}

.office-details p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.office-details i {
    margin-right: 12px;
    color: var(--primary);
    margin-top: 4px;
}

.office-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(55, 65, 81, 0.5);
}

.office-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.office-hours p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.section-divider {
    width: 70%;
    height: 2px;
    margin: 60px auto 0;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        var(--primary-dark),
        transparent
    );
    border-radius: 2px;
}

/* FAQ Section */
.faq-section {
    padding-top: 80px;
    padding-bottom: 60px;
}

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

.faq-item {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(14, 165, 233, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-toggle {
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-top: 30px;
    padding-bottom: 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-column ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-logo i {
    margin-right: 12px;
    font-size: 2rem;
    color: var(--primary);
}

.footer-about {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .page-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .page-hero h1 {
        font-size: 2.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .page-hero {
        padding: 150px 0 80px;
    }
    
    .page-hero h1 {
        font-size: 2.4rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .office-card {
        padding: 30px 25px;
    }
}

.form-success {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--secondary);
    background: rgba(16, 185, 129, 0.08);
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
}

.form-success i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.form-success h3 {
    color: var(--text-primary);
    font-size: 1rem;
}

.form-success p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.error-text {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

