:root {
    /* Color Palette - Silicon Valley Minimalist */
    --bg-base: #020617;
    --bg-surface: #0f172a;
    --bg-surface-elevated: rgba(255, 255, 255, 0.02);
    
    --primary: #0055FF; /* Electric Cyan */
    --primary-dim: rgba(0, 85, 255, 0.2);
    --secondary: #002557; /* Fortica Logo Color */
    
    --text-high: #F8FAFC;
    --text-medium: #94A3B8;
    --text-low: #64748B;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 85, 255, 0.4);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    
    /* Effects */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: transparent;
    color: var(--text-high);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(270deg, var(--primary), #ffffff, var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease infinite;
}

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

/* Typing Cursor */
.cursor {
    display: inline-block;
    width: 0.5em;
    height: 1em;
    background-color: var(--primary);
    vertical-align: bottom;
    animation: cursorBlink 1s step-end infinite;
    margin-left: 4px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

/* Background Effects */
.bg-abstract {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -20;
    overflow: hidden;
    background: linear-gradient(-45deg, #000000 0%, #000000 50%, #001a4d 100%);
    background-size: 400% 400%;
    animation: bgGradientMotion 15s ease infinite;
    pointer-events: none;
}

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

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 85, 255, 0.08); /* Cyan glow */
    top: -20%;
    right: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 37, 87, 0.3); /* Deep Logo Blue glow */
    bottom: -10%;
    left: -10%;
    animation-delay: -10s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
    opacity: 0.15; /* Subtler, more precise */
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo img, .logo-img {
    height: 40px; /* Logo height */
    width: auto;
    max-height: 40px;
    object-fit: contain;
}

.logo-accent {
    font-weight: 400;
    color: var(--text-medium);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-high);
}

/* Navbar Dropdown */
.nav-dropdown {
    position: relative;
    padding: 1rem 0; /* Add padding to increase hover area */
    margin: -1rem 0; /* Offset padding */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    background: rgba(4, 9, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-medium);
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    color: var(--primary);
    background: rgba(77, 166, 255, 0.05);
    padding-left: 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
}

.btn-primary {
    background: var(--text-high);
    color: var(--bg-base);
}

.btn-primary:hover {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-dim);
    transform: translateY(-2px);
}

.btn-primary .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-high);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

.cta-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1rem;
    border-left: 2px solid var(--primary);
    margin-bottom: 2rem;
}

.pulse-dot {
    display: none; /* Hide generic dot everywhere */
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(77, 166, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(77, 166, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(77, 166, 255, 0); }
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Geo Overline for About Page */
.geo-overline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(77, 166, 255, 0.2);
    padding-bottom: 0.5rem;
}

.geo-overline .accent-slash {
    color: var(--text-low);
    font-size: 0.8rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 3rem;
    min-height: 2.2em; /* Lock height to prevent grid shifting */
}

.typewriter-wrapper {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 90%;
    font-weight: 400;
}

.page-header h1 { margin-bottom: 3rem !important; }

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Terminal Window Glassmorphism */
.glass-panel {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-window {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.terminal-window:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.window-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
    position: absolute;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #febc2e; }
.control.green { background: #28c840; }

.window-title {
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-low);
}

.window-body {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #a1a1aa;
}

.window-body .line {
    margin-bottom: 0.75rem;
}

.prompt { color: var(--secondary); }
.status-ok { color: var(--primary); }

.highlight-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(77, 166, 255, 0.1);
    border: 1px solid rgba(77, 166, 255, 0.2);
    border-radius: 6px;
    color: var(--text-high);
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.typing-anim {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    animation: typing 2s steps(40, end) forwards;
    width: 0;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.fade-in {
    opacity: 0;
    animation: simpleFade 1s forwards;
}

.delay-4 { animation-delay: 4s; }

@keyframes simpleFade {
    to { opacity: 1; }
}

/* Trusted By Marquee */
.trusted-by {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(0, 10, 20, 0.4);
    overflow: hidden;
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-low);
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    text-align: center;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    /* Soft gradient mask on edges so logos fade in/out */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 4rem;
    padding-right: 4rem;
    animation: scrollMarquee 30s linear infinite;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tech-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-medium);
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
    display: inline-block;
}

.tech-logo:hover {
    filter: grayscale(0%) opacity(1);
    color: var(--text-high);
}

/* Services Bento Grid */
.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    auto-rows: minmax(300px, auto);
}

.col-span-2 {
    grid-column: span 2;
}

.bento-card {
    position: relative;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(77, 166, 255, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

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

.card-glow {
    display: none;
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 85, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.learn-more {
    color: var(--text-high);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.learn-more:hover {
    color: var(--primary);
}

/* Metrics Section & Trust Badges */
.metrics {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(0, 5, 12, 0.6);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(77, 166, 255, 0.05);
    border: 1px solid rgba(77, 166, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-high);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.metric-label {
    color: var(--text-medium);
    font-weight: 500;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    color: var(--text-high);
}

/* Modern Form */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    color: var(--text-high);
    font-family: var(--font-sans);
    font-size: 1rem;
    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

.input-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.input-group input:focus ~ .input-line::after,
.input-group textarea:focus ~ .input-line::after {
    width: 100%;
}

.input-group label {
    position: absolute;
    top: 0.5rem;
    left: 0;
    color: var(--text-low);
    transition: var(--transition);
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-1.5rem) scale(0.85);
    transform-origin: left top;
    color: var(--primary);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    background: rgba(0, 85, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 85, 255, 0.2);
}

.form-status.error {
    background: rgba(255, 95, 87, 0.1);
    color: #ff5f57;
    border: 1px solid rgba(255, 95, 87, 0.2);
}

/* Footer */
footer {
    background: #000;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-medium);
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-high);
}

.footer-links-group a {
    display: block;
    color: var(--text-low);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-low);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.proudly-indian {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

/* Mobile Menu Overlay */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--text-high);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 5%;
    cursor: pointer;
    color: var(--text-high);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    padding: 0 2rem;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-dropdown-menu a {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    color: var(--text-medium) !important;
    min-height: 36px !important;
}

.mobile-nav-links a:not(.btn-primary) {
    color: var(--text-high);
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 0.8;
    padding: 0.5rem 0;
}

/* No hover states on mobile to prevent sticky touch */
@media (hover: none) {
    .mobile-nav-links a:not(.btn-primary):active {
        opacity: 1;
        color: var(--primary);
    }
}

.mobile-nav-links a.btn-primary {
    color: var(--bg-base) !important;
}

.mobile-fab-cta {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-fab-cta {
        display: none !important;
    }

    .nav-links, .nav-cta, .glow-orb, .grid-overlay {
        display: none !important;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1, .page-header h1 {
        font-size: 2rem !important; /* Max 32px */
        line-height: 1.3;
    }
    h2, .section-title {
        font-size: 1.75rem;
    }

    /* 44x44px Touch Targets */
    .btn-primary, .btn-secondary, 
    .mobile-nav-links a, 
    .mobile-menu-btn, .mobile-menu-close {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-nav-links a {
        justify-content: flex-start;
    }
    .footer-links-group a {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        min-height: 24px; /* Reduced spacing */
        margin-bottom: 0.5rem;
    }
    .mobile-nav-links {
        text-align: left;
        align-items: flex-start;
    }
    .mobile-nav-links a:not(.btn-primary) {
        justify-content: flex-start;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .bento-grid, .metric-grid, .footer-grid, .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        padding: 2rem;
    }

    .contact-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-layout .glass-panel {
        order: -1; /* Puts form before sidebar */
    }

    .hero {
        padding-top: 6rem;
    }
    
    .status-badge {
        margin-bottom: 1.25rem;
    }
    
    .badge-text {
        font-size: clamp(0.55rem, 2.6vw, 0.75rem);
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .hero-title {
        font-size: 2rem;
        min-height: 80px;
        margin-bottom: 1.25rem;
        display: block; /* Prevents flexbox reflow */
    }
    
    .hero-title span {
        white-space: normal;
    }

    .geo-overline {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        white-space: normal;
        line-height: 1.5;
        margin-bottom: 0.5rem; /* Matches hero-title */
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .cta-group .btn-primary, 
    .cta-group .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .glass-panel {
        padding: 1.5rem;
    }
    
    .window-body {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 5rem 0;
    }
    
    .bento-card {
        padding: 1.5rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .trust-badge {
        width: 100%;
        justify-content: center;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-large-logo {
        display: none !important;
    }
}
