/* =====================================================
   DESTACK SOLUTIONS - Redesigned System
   Palette: #71AAFF, #DADADA, #B9C2D9, #FFFFFF
   Font: Space Grotesk
   ===================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* =====================================================
   CSS Custom Properties (Design Tokens)
   ===================================================== */
:root {
    /* Palette */
    --color-primary: #71AAFF;
    --color-primary-dark: #5a91e0;
    --color-secondary: #B9C2D9;
    --color-gray-light: #DADADA;
    --color-white: #FFFFFF;
    
    /* Semantic Colors - DARK THEME */
    --bg-body: #0B0E14;     /* Deep dark blue-black */
    --bg-surface: #151921;  /* Slightly lighter dark */
    --bg-card: rgba(21, 25, 33, 0.7); /* Translucent dark card */
    
    --text-main: #FFFFFF;
    --text-muted: #B9C2D9; /* Using the palette's blue-gray for muted text */
    --text-light: #DADADA;
    
    --border-color: rgba(113, 170, 255, 0.15); /* Subtle blueish border */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, #4D8EFF 100%);
    --gradient-soft: linear-gradient(180deg, rgba(113, 170, 255, 0.08) 0%, rgba(11, 14, 20, 0) 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    
    /* Typography */
    --font-main: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows - Adapted for Dark Mode (Glows) */
    /* Shadows - Stronger for "Floating" Effect */
    --shadow-sm: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    --shadow-md: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(113, 170, 255, 0.05);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(113, 170, 255, 0.1);
    --shadow-glow: 0 0 30px rgba(113, 170, 255, 0.2);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Layout */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    --header-height: 80px;
    
    /* Z-Index */
    --z-header: 1000;
    --z-modal: 2000;
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    /* Central top glow + Main Grid (50px) + Sub Grid (10px) */
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(60, 100, 180, 0.25) 0%, rgba(11, 14, 20, 0) 70%),
        linear-gradient(rgba(113, 170, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113, 170, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(113, 170, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113, 170, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    background-attachment: fixed;
    background-repeat: no-repeat, repeat, repeat, repeat, repeat;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
    Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(113, 170, 255, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(113, 170, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* =====================================================
    Header & Nav
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(11, 14, 20, 0.85); /* Dark background */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(113, 170, 255, 0.1);
    z-index: var(--z-header);
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav .btn {
    margin-left: var(--space-6);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* =====================================================
    Hero Section
   ===================================================== */
.hero {
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-16);
    background: transparent;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(113, 170, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px); /* Increased blur for smoother glow */
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(80, 100, 255, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}


.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--space-8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
    Services / Cards
   ===================================================== */
.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.service-card {
    background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(21, 25, 33, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-base);
    border: 1px solid rgba(113, 170, 255, 0.15);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    background: linear-gradient(145deg, rgba(113, 170, 255, 0.08) 0%, var(--bg-surface) 100%);
    box-shadow: var(--shadow-md), 0 0 30px rgba(113, 170, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(113, 170, 255, 0.2) 0%, rgba(113, 170, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(113, 170, 255, 0.15);
    border: 1px solid rgba(113, 170, 255, 0.2);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(113, 170, 255, 0.3) 0%, rgba(113, 170, 255, 0.1) 100%);
    box-shadow: 0 0 30px rgba(113, 170, 255, 0.3);
    transform: scale(1.05);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.service-feature {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* =====================================================
    Features Section
   ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-10);
}

.feature-item {
    padding: var(--space-8);
    background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(21, 25, 33, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(113, 170, 255, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-item:hover {
    background: linear-gradient(145deg, rgba(113, 170, 255, 0.08) 0%, var(--bg-surface) 100%);
    box-shadow: var(--shadow-md), 0 0 30px rgba(113, 170, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-5);
    background: linear-gradient(135deg, rgba(113, 170, 255, 0.2) 0%, rgba(113, 170, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(113, 170, 255, 0.15);
    border: 1px solid rgba(113, 170, 255, 0.2);
    transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, rgba(113, 170, 255, 0.3) 0%, rgba(113, 170, 255, 0.1) 100%);
    box-shadow: 0 0 30px rgba(113, 170, 255, 0.3);
    transform: scale(1.05);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-item h3 {
    margin-bottom: var(--space-2);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-item p {
    text-align: center;
    color: var(--text-muted);
}

/* =====================================================
    CTA Section
   ===================================================== */
.cta {
    background: rgba(113, 170, 255, 0.05); /* Very subtle blue tint */
    backdrop-filter: blur(12px);
    color: var(--text-main);
    margin: var(--space-16) var(--container-padding);
    border-radius: var(--radius-xl);
    text-align: center;
    padding: var(--space-16) var(--space-4);
    box-shadow: 0 0 50px rgba(113, 170, 255, 0.1), inset 0 0 0 1px rgba(113, 170, 255, 0.3); /* Glow + Border */
    max-width: calc(var(--container-max) - var(--space-8));
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

/* Subtle background gradient for CTA */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -50%, rgba(113, 170, 255, 0.2), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    font-size: 1.125rem;
}

.cta .btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta .btn-secondary {
    border-color: var(--color-primary);
    color: var(--text-main);
    background: transparent;
}

.cta .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* =====================================================
    Footer
   ===================================================== */
.footer {
    background: linear-gradient(180deg, var(--bg-surface) 0%, #0a0d12 100%);
    padding: var(--space-16) 0 0;
    color: var(--text-main);
    border-top: 1px solid rgba(113, 170, 255, 0.15);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect at top of footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.6;
}

/* Background glow orb */
.footer::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(113, 170, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-12);
}

.footer-brand {
    padding-right: var(--space-8);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
    display: inline-block;
}

.footer-brand .logo img {
    height: 70px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: var(--space-5) 0;
    max-width: 320px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: var(--space-3);
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-base);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 10px;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(113, 170, 255, 0.08);
    border: 1px solid rgba(113, 170, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(113, 170, 255, 0.3);
}

.footer-bottom {
    padding: var(--space-6) 0;
    border-top: 1px solid rgba(113, 170, 255, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 calc(-1 * var(--container-padding));
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.footer-bottom p {
    opacity: 0.8;
}

/* =====================================================
    Page Specific & Responsive
   ===================================================== */
/* Page Hero (About/Contact) */
.page-hero {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-12);
    text-align: center;
    background: transparent;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* About Page - Founder */
.founder-content {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    max-width: 900px;
    margin: 0 auto;
}

.founder-image {
    flex-shrink: 0;
}

.founder-image-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-surface); /* Match surface bg */
}

.founder-initials {
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    color: white;
    font-size: 4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-info h2 {
    font-size: 2rem;
    margin-bottom: var(--space-1);
}

.founder-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.founder-bio {
    margin-bottom: var(--space-4);
    color: var(--text-muted);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
}

.value-card {
    background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(21, 25, 33, 0.9) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(113, 170, 255, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.value-card:hover {
    background: linear-gradient(145deg, rgba(113, 170, 255, 0.08) 0%, var(--bg-surface) 100%);
    box-shadow: var(--shadow-md), 0 0 30px rgba(113, 170, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(113, 170, 255, 0.2) 0%, rgba(113, 170, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(113, 170, 255, 0.15);
    border: 1px solid rgba(113, 170, 255, 0.2);
    transition: all var(--transition-base);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, rgba(113, 170, 255, 0.3) 0%, rgba(113, 170, 255, 0.1) 100%);
    box-shadow: 0 0 30px rgba(113, 170, 255, 0.3);
    transform: scale(1.05);
}

.value-icon svg { width: 32px; height: 32px; stroke-width: 1.5; }
.value-card h3 { margin-bottom: var(--space-2); color: var(--text-main); }
.value-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-12);
    align-items: stretch; /* Ensure columns define same height bounds */
}

.contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    justify-content: flex-start; /* Natural stacking */
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.contact-card {
    background: var(--bg-surface);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(113, 170, 255, 0.15); /* Match other border colors */
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: var(--space-4);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 1rem; margin-bottom: var(--space-1); }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Input Fields */
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    color: var(--text-main);
    font-size: 1rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(113, 170, 255, 0.2);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
}

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

.contact-section {
    background: transparent;
    padding-bottom: var(--space-8);
}

.contact-form-wrapper {
    background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(21, 25, 33, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid rgba(113, 170, 255, 0.15);
    box-shadow: var(--shadow-sm);
}

.contact-form {
    background: transparent;
}

@media (max-width: 968px) {
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav .btn { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero { text-align: center; }
    .hero-buttons { justify-content: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .footer-social { justify-content: center; }
    
    .cta { margin: var(--space-8) var(--space-4); padding: var(--space-8) var(--space-4); }
}
