/*
=======================================================================
Handcrafted by ROYED
Website: https://royed.org/
=======================================================================
*/

/* Core CSS Token Variables Setup - Luxury Dark/Light Flexible Engine */
:root {
    /* Color Tokens (Default Dark Elite Palette ala Linear/Stripe/Vercel) */
    --bg-primary: #0a0f1d;
    --bg-secondary: #111827;
    --bg-light-tint: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #d4af37; /* Premium Luxury Gold highlights */
    --secondary-hover: #b5942b;
    --accent: #06b6d4;
    --success: #10b981;
    --error: #ef4444;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Radius & Spacing Framework tokens */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows systems */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.25);
    
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Light Mode Overrides with Premium Soft Executive Whites */
[data-theme="light"] {
    --bg-primary: #fdfdfd;
    --bg-secondary: #f4f6f9;
    --bg-light-tint: #eef2f7;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --primary: #1e40af;
    --primary-hover: #1e3a8a;
    --border-color: rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(15, 23, 42, 0.12); /* Slightly higher visibility outline */
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 30px rgba(30, 64, 175, 0.15);
}

/* Base Normalizations resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.loading {
    overflow: hidden;
}

/* Typography styles using modern clamping fluid layout architectures */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
p { font-size: clamp(0.95rem, 1.2vw, 1.1rem); color: var(--text-secondary); margin-bottom: 1.5rem; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

/* Utility Grid Systems Layouts wrappers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.section-padding {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-desc {
    max-width: 650px;
    margin: 0 auto;
}

/* Premium Buttons Architecture */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--secondary);
}
.btn-secondary:hover {
    background-color: var(--secondary);
    color: #000000;
    transform: translateY(-2px);
}

.btn-third {
    background-color: transparent;
    color: #ffffff;
    border-color: var(--secondary);
}
.btn-third:hover {
    background-color: var(--secondary);
    color: #000000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}
.btn-outline:hover {
    background-color: var(--bg-light-tint);
    border-color: var(--text-secondary);
}

/* Specific Light Mode Fix to maintain visible contrasts on outline items */
[data-theme="light"] .btn-outline {
    border-color: var(--text-muted);
    color: var(--text-primary);
}
[data-theme="light"] .btn-outline:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
}

.btn-block { width: 100%; display: flex; }
.justify-center { justify-content: center; }

/* Custom Luxury Preloader screen system */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #0a0f1d;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}
.preloader-content { text-align: center; }
.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.preloader-bar {
    width: 200px; height: 2px; background: rgba(255,255,255,0.1);
    border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.preloader-progress {
    width: 0%; height: 100%; background: var(--primary);
    transition: width 0.4s ease;
}

/* Reading Progress Bar indicator */
.scroll-progress-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10000;
}
.scroll-progress-bar {
    width: 0%; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Elegant Desktop Cursor Follower Component */
.custom-cursor {
    width: 20px; height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    opacity: 0;
}
.custom-cursor.hovered {
    width: 40px; height: 40px;
    background-color: rgba(37, 99, 235, 0.15);
    border-color: var(--accent);
}

/* Glassmorphism Premium Header bar layout definitions */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s, padding 0.4s, border-bottom 0.4s;
    padding: 24px 0;
}
.main-header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
}
.header-container {
    max-width: 1440px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--text-primary); }
.logo-accent { color: var(--primary); }
.logo-sub { font-size: 0.65rem; display: block; letter-spacing: 0.3em; color: var(--text-muted); font-weight: 500; margin-top: -2px; }

.nav-list { display: flex; gap: 24px; list-style: none; }
.nav-link {
    font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
    position: relative; padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background-color: var(--primary); transition: width 0.3s ease;
}
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
    background: none; border: none; font-size: 1.25rem; color: var(--text-secondary);
    cursor: pointer; padding: 6px; border-radius: 50%; transition: color 0.3s;
}
.theme-toggle:hover { color: var(--text-primary); }
.theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }

/* Mobile Menu architecture design */
.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 4px; }
.hamburger-line { width: 24px; height: 2px; background-color: var(--text-primary); transition: transform 0.3s, opacity 0.3s; }

/* Unforgettable Hero Section UI Elements */
.hero-section {
    position: relative; padding-top: calc(100px + 6rem); padding-bottom: clamp(4rem, 10vw, 8rem);
    min-height: 95vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg-visual { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.animated-blob {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
    animation: blobFloat 12s infinite alternate ease-in-out;
}
.blob-1 { width: 500px; height: 500px; background-color: var(--primary); top: -10%; right: -10%; }
.blob-2 { width: 400px; height: 400px; background-color: var(--accent); bottom: 10%; left: -10%; animation-delay: 4s; }
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px; opacity: 0.4;
}
.hero-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background-color: var(--bg-light-tint); border: 1px solid var(--border-color);
    border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-title { margin-bottom: 24px; font-weight: 800; }
.hero-subtitle { font-size: 1.15rem; margin-bottom: 40px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 64px; flex-wrap: wrap; }

/* Metrics dashboards items styling */
.hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--border-color); padding-top: 32px; }
.metric-item { display: flex; flex-direction: column; }
.metric-number { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-primary); font-family: var(--font-heading); }
.metric-plus { color: var(--secondary); margin-left: 2px; }
.metric-label { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* Interactive Hero Floating Widgets UI Elements */
.hero-visual-wrapper { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; }
.hero-image-container { position: relative; width: 100%; max-width: 480px; aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: visible; }
.hero-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.glass-card {
    background-color: var(--glass-bg); backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 16px; box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center;
}
.floating-card-1 { position: absolute; bottom: 10%; left: -15%; width: 280px; animation: itemFloat 6s infinite alternate ease-in-out; }
.floating-card-2 { position: absolute; top: 15%; right: -15%; width: 260px; animation: itemFloat 8s infinite alternate ease-in-out 1s; }
.card-icon-wrapper { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.card-icon-wrapper.success { background-color: rgba(16,185,129,0.15); color: var(--success); }
.card-icon-wrapper.accent { background-color: rgba(6,182,212,0.15); color: var(--accent); }
.card-text h4 { font-size: 0.9rem; margin-bottom: 2px; }
.card-text p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0; }

/* Infinite Scroll Brand Corporate Marquee Architecture */
.trusted-section { background-color: var(--bg-secondary); border-block: 1px solid var(--border-color); padding: 32px 0; overflow: hidden; }
.marquee-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 24px; }
.marquee-container { width: 100%; overflow: hidden; display: flex; }
.marquee-track { display: flex; gap: 64px; animation: marqueeRun 25s linear infinite; white-space: nowrap; }
.marquee-item {
    display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-heading);
    font-size: 1.25rem; font-weight: 700; color: var(--text-muted); transition: color 0.3s;
}
.marquee-item:hover { color: var(--text-primary); }
.logo-icon { font-size: 1.5rem; }

/* Timeline connected process cards architecture setup */
.timeline-container { position: relative; max-width: 900px; margin: 0 auto; padding-left: 32px; }
.timeline-progress-line { position: absolute; top: 0; left: 15px; width: 2px; height: 100%; background: var(--border-color); }
.timeline-step { position: relative; margin-bottom: 48px; }
.timeline-step:last-child { margin-bottom: 0; }
.step-number {
    position: absolute; left: -32px; top: 0; width: 32px; height: 32px;
    background-color: var(--bg-primary); border: 2px solid var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--primary);
    transform: translateX(-50%); z-index: 2;
}
.step-content { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; }

/* Bento Grid System Dashboard Component Design */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.bento-card {
    background-color: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.bento-card.large { grid-column: span 2; }
.bento-card.medium { grid-column: span 1; }
.card-icon { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.card-bg-gradient {
    position: absolute; right: -10%; bottom: -10%; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%); pointer-events: none;
}

/* Service Cards Grids layout systems styling */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.service-card {
    background-color: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 40px; transition: all 0.3s;
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.service-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.service-icon { font-size: 1.75rem; color: var(--accent); }
.service-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.service-features li { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.service-features li i { color: var(--success); }

/* Industries Premium Grid blocks structure */
.bg-dark { background-color: #05070f !important; }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.industry-card {
    background-size: cover; background-position: center; border-radius: var(--radius-lg);
    padding: 32px; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
    border: 1px solid rgba(255,255,255,0.05); transition: transform 0.4s ease;
}
.industry-card:hover { transform: scale(1.02); }
.industry-icon { font-size: 2rem; color: var(--secondary); margin-bottom: auto; }
.industry-card h3 { color: #ffffff; margin-bottom: 8px; }
.industry-card p { font-size: 0.85rem; color: #cbd5e1; margin-bottom: 0; }

/* Enhanced Separated Fluid Pillar Sections Architectural Specs */
.separation-pillar .pillar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.pillar-visual {
    width: 100%;
    position: relative;
}
.pillar-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.custom-pillar-list {
    list-style: none;
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.custom-pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}
.custom-pillar-list li i {
    font-size: 1.1rem;
    margin-top: 3px;
}
.icon-seeker { color: var(--secondary); }
.icon-employer { color: var(--primary); }
.pillar-actions {
    display: flex;
    gap: 16px;
}

/* Curated Job boards layout templates UI controls */
.filter-wrapper { margin-bottom: 40px; display: flex; justify-content: center; gap: 12px; }
.filter-btn {
    background-color: var(--bg-secondary); border: 1px solid var(--border-color);
    color: var(--text-secondary); padding: 10px 24px; border-radius: 100px; cursor: pointer;
    font-weight: 600; font-size: 0.9rem; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary); border-color: var(--primary); color: #ffffff;
}
.jobs-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
.job-card {
    background-color: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px;
    transition: all 0.3s ease;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.job-meta { display: flex; justify-content: space-between; align-items: center; }
.job-tag { font-size: 0.8rem; font-weight: 700; color: var(--accent); background: rgba(6,182,212,0.1); padding: 4px 12px; border-radius: 100px; }
.job-type { font-size: 0.8rem; color: var(--text-muted); }
.job-location { font-size: 0.9rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.job-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 16px; margin-top: 8px; }
.job-salary { font-weight: 700; color: var(--text-primary); font-size: 1rem; }

/* New Premium Team Grid Section Component Specs */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}
.team-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
}
.team-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img {
    transform: scale(1.03);
}
.team-info {
    padding: 24px;
}
.team-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.team-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.team-socials {
    display: flex;
    gap: 12px;
}
.team-socials a {
    width: 36px;
    height: 36px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.team-socials a:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Carousel Testimonial Slider styling architecture definitions */
.carousel-container { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.carousel-track-wrapper { overflow: hidden; width: 100%; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); width: 100%; }
.carousel-slide { min-width: 100%; width: 100%; }
.testimonial-card { background-color: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 40px; }
.stars { color: var(--secondary); margin-bottom: 20px; font-size: 1.1rem; }
.testimonial-text { font-size: 1.25rem; font-style: italic; color: var(--text-primary); line-height: 1.5; margin-bottom: 24px; }
.testimonial-user { display: flex; align-items: center; gap: 16px; }
.user-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); }
.carousel-controls { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.carousel-btn {
    background-color: var(--bg-secondary); border: 1px solid var(--border-color);
    color: var(--text-primary); width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s;
}
.carousel-btn:hover { background-color: var(--primary); border-color: var(--primary); color: #ffffff; }

/* Centered Form Layout Framework Structural Assertions */
.centered-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.centered-form-wrapper .form-container-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}
.form-container-card { padding: 48px !important; }
.premium-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.floating-group { position: relative; display: flex; flex-direction: column; }
.form-control {
    background-color: var(--bg-primary); border: 1px solid var(--border-color);
    color: var(--text-primary); padding: 16px; border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
textarea.form-control { resize: none; }

.floating-label {
    position: absolute; left: 16px; top: 16px; color: var(--text-muted);
    transition: all 0.25s ease; pointer-events: none; font-size: 1rem;
}
.form-control:focus ~ .floating-label,
.form-control:not(:placeholder-shown) ~ .floating-label {
    top: -10px; left: 12px; font-size: 0.75rem; background-color: var(--bg-secondary);
    padding: 2px 8px; color: var(--primary); border-radius: var(--radius-sm);
}

/* File Upload drag and drop elements styling fields */
.custom-file-upload-label { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; display: block; color: var(--text-secondary); }
.file-drop-zone {
    border: 2px dashed var(--border-color); border-radius: var(--radius-md); padding: 32px;
    text-align: center; cursor: pointer; position: relative; transition: border-color 0.3s;
}
.file-drop-zone:hover, .file-drop-zone.dragover { border-color: var(--accent); background-color: rgba(6,182,212,0.02); }
.upload-icon { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 12px; display: block; }
.file-input-hidden { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.text-accent-color { color: var(--accent); font-weight: 600; }
.file-name-display { margin-top: 12px; font-size: 0.85rem; color: var(--success); font-weight: 600; }

/* Validation error alerts rules styling */
.error-msg { font-size: 0.75rem; color: var(--error); margin-top: 4px; display: none; }
.form-group.has-error .form-control { border-color: var(--error); }
.form-group.has-error .error-msg { display: block; }
.form-status-msg { display: none; padding: 16px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; margin-top: 12px; }
.success-box { background-color: rgba(16,185,129,0.1); border: 1px solid var(--success); color: var(--success); }

/* Accordion Component design patterns for institutional FAQs layout */
.accordion { display: flex; flex-direction: column; gap: 16px; }
.accordion-item { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-header {
    width: 100%; background: none; border: none; padding: 24px; text-align: left;
    display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem;
    font-weight: 600; color: var(--text-primary); cursor: pointer; font-family: var(--font-heading);
}
.accordion-icon { font-size: 1.1rem; color: var(--text-muted); transition: transform 0.3s; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 24px; }
.accordion-body p { margin-bottom: 24px; color: var(--text-secondary); font-size: 0.95rem; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); color: var(--primary); }
.accordion-item.open .accordion-body { max-height: 200px; }

/* Conversion High Impact Call To Action section styles */
.cta-section { position: relative; padding: clamp(5rem, 10vw, 10rem) 0; background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80'); background-size: cover; background-position: center; background-attachment: fixed; }
.cta-bg-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(10,25,47,0.9), #0a0f1d); }
.relative-z { position: relative; z-index: 3; max-width: 750px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 16px; font-weight: 800; }
.cta-section p { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; gap: 24px; }

/* Contact Section Map Layout and Custom Dimensions Adjustments */
.map-only-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: stretch;
}
.map-embed-container {
    width: 100%;
    min-height: 400px;
    padding: 8px !important;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.map-embed-container iframe {
    border-radius: calc(var(--radius-xl) - 8px);
    width: 100%;
    height: 100%;
}
.info-card { display: flex; gap: 20px; background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; }
.info-icon { font-size: 1.5rem; color: var(--primary); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0; line-height: 1.5; }

/* Premium Global Footer Structures and components layout design rules */
.main-footer { background-color: #05070f; border-top: 1px solid var(--border-color); padding: 80px 0 32px; color: #ffffff; }
.footer-top-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 64px; }
.brand-pitch { font-size: 0.9rem; color: #94a3b8; margin-top: 16px; line-height: 1.6; }
.social-links { display: flex; gap: 16px; margin-top: 24px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #94a3b8; }
.social-links a:hover { background-color: var(--primary); color: #ffffff; border-color: var(--primary); transform: translateY(-2px); }
.footer-links-col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; color: #ffffff; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links-col ul a { font-size: 0.9rem; color: #94a3b8; }
.footer-links-col ul a:hover { color: var(--secondary); padding-left: 4px; }
.newsletter-text { font-size: 0.9rem; color: #94a3b8; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; background-color: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 6px; border-radius: var(--radius-md); }
.newsletter-form .form-control { background: none; border: none; padding: 10px; font-size: 0.9rem; color: #ffffff; }
.newsletter-form .form-control:focus { box-shadow: none; }
.newsletter-form button { background-color: var(--primary); border: none; color: #ffffff; width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; transition: background 0.3s; }
.newsletter-form button:hover { background-color: var(--primary-hover); }

/* Horizontal Inline Alignment Engine for Desktop Footer Base */
.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    padding-top: 32px; 
    color: #64748b; 
}
.footer-bottom-flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.85rem;
}
.footer-copyright {
    margin-bottom: 0;
}
.royed-attribution-subtle {
    margin-bottom: 0;
}
.royed-attribution-subtle a { color: #94a3b8; font-weight: 600; border-bottom: 1px dashed #64748b; }
.royed-attribution-subtle a:hover { color: var(--secondary); border-bottom-color: var(--secondary); }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a:hover { color: #ffffff; }

/* Back to top UI component module design */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; background-color: var(--primary); color: #ffffff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: var(--shadow-md); z-index: 800; opacity: 0; visibility: hidden; transition: all 0.3s; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); background-color: var(--primary-hover); }

/* Premium Scrollbar Custom Design Framework */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-light-tint); border-radius: 10px; border: 2px solid var(--bg-primary); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Scroll-driven Reveal Symmetrical Keyframe Animations layout sets */
.reveal-item { 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-item.revealed { opacity: 1; transform: translateY(0); }

@keyframes blobFloat { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, -60px) scale(1.1); } 100% { transform: translate(-20px, 20px) scale(0.95); } }
@keyframes itemFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-12px); } }
@keyframes marqueeRun { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Advanced Responsive Screen Resolution Breakpoints Adaptive Engine Design */
@media (max-width: 1200px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.large { grid-column: span 2; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 64px; }
    .hero-badge, .hero-subtitle, .hero-actions { margin-left: auto; margin-right: auto; justify-content: center; }
    .hero-metrics { justify-content: center; }
    .hero-visual-wrapper { order: -1; }
    .services-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .separation-pillar .pillar-grid { grid-template-columns: 1fr; gap: 40px; }
    .separation-pillar.layout-right .pillar-text { order: 2; }
    .separation-pillar.layout-right .pillar-visual { order: 1; }
    .map-only-layout { grid-template-columns: 1fr; }
    .map-embed-container { min-height: 350px; }
    .team-grid { grid-template-columns: 1fr; max-width: 450px; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .mobile-nav-toggle { display: flex; z-index: 1000; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background-color: var(--bg-secondary); border-left: 1px solid var(--border-color); padding: 100px 40px; transition: right 0.4s ease; z-index: 999; }
    .nav-menu.open { right: 0; }
    .nav-list { flex-direction: column; gap: 24px; }
    .nav-link { font-size: 1.1rem; }
    
    /* Hamburger active mechanics transitions */
    .mobile-nav-toggle.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
    .mobile-nav-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .form-row { grid-template-columns: 1fr; gap: 24px; }
    .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    
    /* Stacked Layout Configuration for Tablet/Mobile Footer Bottom */
    .footer-bottom-flex-wrapper {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-metrics { grid-template-columns: 1fr; text-align: center; }
    .floating-card-1, .floating-card-2 { position: static; width: 100%; margin-top: 12px; }
    .hero-image-container { aspect-ratio: 1; }
    .industries-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
    .filter-wrapper { flex-wrap: wrap; }
    .form-container-card { padding: 24px !important; }
    .pillar-actions { flex-direction: column; }
}

/* Screen accessibility reduction request compliance */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation-delay: -1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; background-attachment: scroll !important; scroll-behavior: auto !important; transition-duration: 0s !important; transition-delay: 0s !important; }
    .reveal-item { transform: none !important; opacity: 1 !important; }
}

.white-card-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px; /* Ensure equal padding on all sides */
}

/* Ensure the form takes up the desired width up to a maximum */
.white-card-container form {
    width: 100%;
    max-width: 600px; /* Adjust based on your design */
}

form {
    max-width: 600px; /* Adjust to match your fields' row width */
    margin: 0 auto;   /* Centers the block horizontally */
}