/* Variables & Base Styles to match the main site */
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--primary: #6366f1;
--primary-dark: #4f46e5;
--secondary: #f59e0b;
--success: #10b981;
--dark: #0f172a;
--darker: #020617;
--light: #f8fafc;
--gray: #64748b;
--card-bg: rgba(255, 255, 255, 0.9);
--border: rgba(255, 255, 255, 0.2);
--shadow: rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
--border-radius: 24px;
--border-radius-sm: 12px;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.7;
color: var(--dark);
background: var(--light);
min-height: 100vh;
overflow-x: hidden;
}

h1, h2, h3 {
font-weight: 800;
letter-spacing: -0.025em;
line-height: 1.2;
}

h1 {
font-size: clamp(2.2rem, 4vw, 3.5rem);
background: linear-gradient(135deg, var(--dark), var(--primary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

h2 {
font-size: 1.2rem;
color: var(--gray);
font-weight: 700;
margin-bottom: 0.5rem;
}

p {
color: var(--gray);
}

/* Background animation pulled from home page */
.bg-animation {
position: fixed;
inset: 0;
z-index: -2;
background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #43e97b 100%);
background-size: 400% 400%;
animation: gradientShift 20s ease infinite;
opacity: 0.05;
}

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

.floating-shapes {
position: fixed;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}

.shape {
position: absolute;
border-radius: 50%;
background: linear-gradient(45deg, var(--primary), var(--secondary));
opacity: 0.03;
animation: float 15s infinite ease-in-out;
}

.shape:nth-child(1) { width: 500px; height: 500px; top: -250px; left: -200px; }
.shape:nth-child(2) { width: 320px; height: 320px; bottom: -180px; right: -160px; animation-delay: 5s; }
.shape:nth-child(3) { width: 260px; height: 260px; top: 60%; left: 75%; animation-delay: 10s; }

@keyframes float {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(40px, -30px) scale(1.05); }
66% { transform: translate(-20px, 20px) scale(0.95); }
}

.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 1.75rem;
}

/* Header */
.top-nav {
position: sticky;
top: 0;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.85);
border-bottom: 1px solid var(--border);
z-index: 10;
}

.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 0;
}

.brand {
font-weight: 800;
color: var(--dark);
text-decoration: none;
letter-spacing: -0.02em;
}

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

.nav-link {
color: var(--gray);
text-decoration: none;
font-weight: 600;
padding: 0.5rem 0.75rem;
border-radius: var(--border-radius-sm);
transition: var(--transition);
}

.nav-link:hover {
color: var(--primary);
background: rgba(99, 102, 241, 0.08);
}

.cta-button-main {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
padding: 0.9rem 1.4rem;
font-size: 1rem;
font-weight: 700;
border: none;
border-radius: var(--border-radius-sm);
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: var(--transition);
box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.cta-button-main:hover {
transform: translateY(-2px);
box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
}

/* Layout */
.contact-hero {
padding: 4rem 0 5rem;
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
}

.contact-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 2.5rem;
align-items: start;
}

.contact-card {
order: -1;
}

.hero-copy {
order: 1;
}

.hero-copy {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.eyebrow {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: rgba(245, 158, 11, 0.12);
color: var(--secondary);
padding: 0.5rem 1rem;
border-radius: 999px;
font-weight: 700;
width: fit-content;
border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-subtitle {
font-size: 1.1rem;
color: var(--gray);
max-width: 680px;
}

.highlights {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
}

.highlight-card {
display: flex;
gap: 0.75rem;
align-items: center;
padding: 1rem 1.1rem;
background: var(--card-bg);
border-radius: var(--border-radius-sm);
border: 1px solid var(--border);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.highlight-icon {
width: 40px;
height: 40px;
border-radius: 12px;
display: grid;
place-items: center;
background: rgba(99, 102, 241, 0.12);
color: var(--primary);
font-weight: 800;
}

.card {
background: var(--card-bg);
border-radius: var(--border-radius);
border: 1px solid var(--border);
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
padding: 2.25rem;
}

.contact-card h3 {
margin-bottom: 0.5rem;
}

/* Form */
form {
display: flex;
flex-direction: column;
gap: 1.1rem;
}

.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem 1.25rem;
}

.form-field {
display: flex;
flex-direction: column;
gap: 0.35rem;
}

label {
font-weight: 700;
color: var(--dark);
font-size: 0.95rem;
}

input, select, textarea {
width: 100%;
padding: 0.85rem 1rem;
border-radius: var(--border-radius-sm);
border: 1px solid rgba(15, 23, 42, 0.08);
background: rgba(255, 255, 255, 0.9);
font-size: 1rem;
color: var(--dark);
transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
border-color: rgba(99, 102, 241, 0.4);
outline: 2px solid rgba(99, 102, 241, 0.12);
box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12);
}

textarea {
min-height: 140px;
resize: vertical;
}

.consent-box {
background: rgba(99, 102, 241, 0.05);
border: 1px solid rgba(99, 102, 241, 0.15);
border-radius: var(--border-radius-sm);
padding: 1rem 1.2rem;
display: flex;
gap: 0.75rem;
align-items: flex-start;
}

.consent-box input {
width: auto;
margin-top: 0.2rem;
}

.consent-text {
font-size: 0.9rem;
color: var(--gray);
font-weight: 400;
}

.consent-note {
font-size: 0.85rem;
color: var(--gray);
margin-top: 0.3rem;
display: block;
}

.consent-inline {
display: inline-flex;
align-items: baseline;
gap: 0.4rem;
flex-wrap: wrap;
}

.consent-extra {
font-size: 0.9rem;
color: var(--gray);
font-weight: 400;
display: none;
}

.consent-extra.is-visible {
display: block;
}

.consent-toggle {
background: transparent;
border: none;
color: var(--primary);
text-decoration: none;
font-weight: 500;
cursor: pointer;
padding: 0;
margin: 0;
font-size: 0.85rem;
}

.info-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
margin-top: 1rem;
}

.info-item {
display: flex;
align-items: flex-start;
gap: 0.75rem;
}

.info-icon {
width: 36px;
height: 36px;
border-radius: 10px;
background: rgba(245, 158, 11, 0.12);
color: var(--secondary);
font-weight: 800;
display: grid;
place-items: center;
}

.footer-note {
text-align: center;
padding: 2rem 1.75rem 3rem;
color: var(--gray);
}

/* Responsive */
@media (max-width: 900px) {
.contact-grid {
grid-template-columns: 1fr;
}

.nav-inner {
flex-direction: column;
gap: 0.75rem;
align-items: flex-start;
}

.nav-actions {
width: 100%;
justify-content: space-between;
}
}

@media (max-width: 640px) {
.form-grid {
grid-template-columns: 1fr;
}

.card {
padding: 1.5rem;
}

.cta-button-main {
width: 100%;
}
}
