/* ==========================================================================
   VHIREX Premium Tech Theme Stylesheet
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette */
    --bg-dark: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    
    --primary: #7C3AED;
    --primary-glow: rgba(124, 58, 237, 0.08);
    --primary-grad: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    
    --secondary: #7C3AED;
    --secondary-glow: rgba(124, 58, 237, 0.08);
    --secondary-grad: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    
    --accent: #6D28D9;
    --accent-grad: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    
    --border-color: #E2E8F0;
    --border-hover: #7C3AED;
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    
    /* Layout & Shadows */
    --max-width: 1200px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 8px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 4px 20px rgba(124, 58, 237, 0.06);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Gradient & Glow Elements --- */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.28;
    pointer-events: none;
}

.bg-glow-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 40%;
    left: -15%;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.bg-glow-3 {
    bottom: 5%;
    right: -10%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.gradient-text {
    background: var(--secondary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons & UI Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

.btn-primary {
    background: var(--primary-grad);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--secondary-glow);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #A78BFA;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(6, 182, 212, 0.4);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

/* --- Section Layouts --- */
section {
    padding: 6.5rem 2rem;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.text-center {
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- Glassmorphic Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.navbar.scrolled {
    background: #FFFFFF;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo-img-container {
    display: inline-flex;
    align-items: center;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.brand-logo-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.3));
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #0F172A;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    backdrop-filter: blur(15px);
    z-index: 999;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: #0B0E21;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-icon {
    color: var(--secondary);
    font-weight: 700;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-illustration {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 400px;
}

.hero-bg-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.15));
    z-index: 1;
}

.network-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
}

.core-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.core-ring-1 {
    width: 120px;
    height: 120px;
    animation: spin 20s linear infinite;
    border-style: dashed;
}

.core-ring-2 {
    width: 220px;
    height: 220px;
    animation: spin 35s linear infinite reverse;
}

.core-ring-3 {
    width: 320px;
    height: 320px;
    animation: spin 50s linear infinite;
    border-style: dashed;
}

.network-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating Cards in Hero */
.float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-glass);
    z-index: 5;
    transition: var(--transition);
}

.float-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}

.float-card-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

.float-card-avatar.py { background: linear-gradient(135deg, #022C22 0%, #064E3B 100%); }
.float-card-avatar.go { background: linear-gradient(135deg, #075985 0%, #0C4A6E 100%); }

.float-card-info {
    display: flex;
    flex-direction: column;
}

.float-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
}

.float-skills {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.float-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
    margin-left: auto;
}

.float-tag.available { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.float-tag.match { background: rgba(6, 182, 212, 0.15); color: #22D3EE; }
.float-tag.verified { background: rgba(139, 92, 246, 0.15); color: #C084FC; }

.float-card-1 {
    top: 5%;
    left: -5%;
    animation: float1 6s ease-in-out infinite;
}

.float-card-2 {
    bottom: 12%;
    right: -5%;
    animation: float2 7s ease-in-out infinite;
}

.float-card-3 {
    top: 45%;
    left: -20%;
    animation: float3 8s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* --- Stats Section --- */
.stats-section {
    background: #FFFFFF;
    padding: 3.5rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.stat-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
    text-align: center;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: var(--transition);
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #E2E8F0;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

/* --- About Section --- */
.about-section {
    background: radial-gradient(circle at 10% 50%, rgba(124, 58, 237, 0.05), transparent 40%);
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
}

.visual-box {
    border-radius: var(--border-radius);
    position: absolute;
    width: 85%;
    height: 85%;
}

.box-main {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.85) 0%, rgba(13, 17, 39, 0.9) 100%);
    border: 1px solid rgba(124, 58, 237, 0.25);
    box-shadow: var(--shadow-glass);
    overflow: hidden;
}

.about-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.box-main:hover .about-visual-image {
    opacity: 0.9;
    transform: scale(1.03);
}

.box-main::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: var(--primary-grad);
    z-index: -1;
    border-radius: var(--border-radius);
    opacity: 0.25;
    filter: blur(10px);
}

.box-overlay {
    bottom: 0;
    right: 0;
    background: rgba(13, 17, 39, 0.7);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.overlay-quote {
    text-align: center;
}

.quote-symbol {
    font-size: 4rem;
    line-height: 1;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Georgia, serif;
    display: block;
    margin-bottom: -1rem;
}

.overlay-quote p {
    font-size: 1.15rem;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.5;
}

.about-content {
    max-width: 580px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.list-check {
    width: 24px;
    height: 24px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 3px;
}

.list-item div {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.list-item strong {
    color: #FFFFFF;
}

/* --- Services Section --- */
.services-section {
    background: radial-gradient(circle at 90% 50%, rgba(6, 182, 212, 0.05), transparent 40%);
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.4s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
}

/* Card Glow Effect following cursor */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 250px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(124, 58, 237, 0.06), transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* --- Industries Section --- */
.industries-section {
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.industries-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.industries-intro {
    max-width: 500px;
}

.industries-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.industry-tile {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.industry-tile:hover {
    border-color: var(--primary);
    background: #F1F5F9;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.05);
}

.tile-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Process Section --- */
.process-section {
    background: radial-gradient(circle at 50% 90%, rgba(124, 58, 237, 0.04), transparent 50%);
}

.process-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline {
    position: relative;
    margin-top: 5rem;
}

.timeline-progress {
    position: absolute;
    top: 24px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: none;
    border-top: 2px dashed #E2E8F0;
    z-index: 1;
}

.timeline-bar {
    display: none;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-item {
    text-align: center;
}

.timeline-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    color: #475569;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.timeline-item.active .timeline-badge {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.timeline-content {
    padding: 0 0.5rem;
    opacity: 0.6;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.timeline-item.active .timeline-content {
    opacity: 1;
    transform: translateY(0);
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background: radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.05), transparent 50%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%; /* 3 slides */
}

.carousel-slide {
    width: 33.3333%;
    flex-shrink: 0;
    padding: 1rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    box-shadow: var(--shadow-glass);
}

.quote-icon {
    font-size: 5rem;
    color: rgba(124, 58, 237, 0.15);
    font-family: Georgia, serif;
    position: absolute;
    top: 1.5rem;
    left: 2.5rem;
    line-height: 1;
}

.testimonial-quote {
    font-size: 1.25rem;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
    text-align: left;
}

.author-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.2);
}

.author-name {
    font-size: 1.1rem;
    color: #FFFFFF;
    font-weight: 600;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Slider Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(13, 17, 39, 0.8);
    border: 1px solid var(--border-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
}

.prev-btn { left: -10px; }
.next-btn { right: -10px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--secondary);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--secondary-glow);
}

/* --- Call to Action Banner --- */
.cta-banner-section {
    padding: 5rem 2rem;
}

.cta-banner-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
}

.cta-banner-content {
    background: var(--primary);
    border: none;
    border-radius: 20px;
    padding: 3.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(124, 58, 237, 0.25);
}

.cta-banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #FFFFFF;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
}

/* --- Footer --- */
.footer {
    background-color: #04060E;
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2rem 2rem;
    color: var(--text-secondary);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-links a:hover {
    background: var(--primary-grad);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-title {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
}

.contact-item svg {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

/* --- Contact Modal Dialog --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 14, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #0B0E21;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: #FFFFFF;
}

.modal-title {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #FFFFFF;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

select.form-input option {
    background-color: #0B0E21;
    color: #FFFFFF;
}

.form-textarea {
    resize: none;
    height: 100px;
}

.error-msg {
    color: #F87171;
    font-size: 0.75rem;
    display: none;
}

.form-input.invalid {
    border-color: #EF4444;
}

.form-input.invalid ~ .error-msg {
    display: block;
}

/* Success Screen overlay in Modal */
.success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B0E21;
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.success-screen.active {
    opacity: 1;
    pointer-events: all;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10B981;
    color: #10B981;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 380px;
}

/* --- Media Queries (Responsive Design) --- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-visual {
        order: 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .industries-intro {
        max-width: 100%;
        text-align: center;
    }
    
    .industries-cta-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-progress {
        display: none;
    }
    
    .timeline-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    
    .timeline-badge {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .timeline-content {
        padding: 0;
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4.5rem 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-quote {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        display: none; /* Hide buttons on mobile, rely on touch/swipe or dot clicks */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Phase 2: Job Board, Form Grids, and Value Card Styles
   ========================================================================== */

/* Why VHirex Section */
.why-vhirex-section {
    background: radial-gradient(circle at 50% 5%, rgba(124, 58, 237, 0.03), transparent 60%);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 2rem;
}

.why-vhirex-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.why-details-text {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.choose-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.choose-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

.choose-num {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.85rem;
}

.choose-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.choose-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Mission & Vision Cards */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.mv-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.mv-card:hover {
    border-color: rgba(6, 182, 212, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.mv-title {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.mv-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Core Values Section */
.values-container {
    max-width: var(--max-width);
    margin: 4.5rem auto 0 auto;
    padding: 0 2rem;
}

.values-header {
    font-size: 1.85rem;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.value-item {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem 1.25rem;
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.value-name {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.value-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Services Ideal List */
.service-ideal {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    text-align: left;
}

.service-ideal strong {
    font-size: 0.85rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.service-ideal ul {
    list-style: none;
    padding-left: 0;
}

.service-ideal li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    position: relative;
    padding-left: 0.95rem;
}

.service-ideal li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Jobs Board Section */
.jobs-section {
    background-color: rgba(13, 17, 39, 0.15);
    border-bottom: 1px solid var(--border-color);
}

.jobs-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.jobs-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-glass);
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.jobs-table th {
    background: rgba(124, 58, 237, 0.06);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.15rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.jobs-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
}

.jobs-table tr:last-child td {
    border-bottom: none;
}

.jobs-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.skill-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-right: 0.35rem;
}

.btn-job-details {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #C084FC;
    padding: 0.45rem 1.15rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-job-details:hover {
    background: var(--primary-grad);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

/* Why Join Card Inside Jobs Section */
.why-join-box {
    background: linear-gradient(135deg, rgba(13, 17, 39, 0.75) 0%, rgba(7, 9, 19, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-glass);
}

.why-join-title {
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
    color: #FFFFFF;
}

.why-join-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.benefit-bullet {
    color: var(--secondary);
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.benefit-item strong {
    color: #FFFFFF;
}

/* Modal Form Layout Updates */
.modal-large {
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
}

.modal-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-grid-row {
    display: flex;
    gap: 1.25rem;
}

.form-grid-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.35rem;
    margin-top: 0.85rem;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    overflow: hidden;
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.75rem;
    pointer-events: none;
    transition: var(--transition);
}

.file-upload-wrapper:hover .file-upload-button {
    background: rgba(255, 255, 255, 0.15);
}

.file-upload-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    max-width: 160px;
}

/* Job Detail Modal Layout */
.job-detail-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}

.job-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.15rem;
}

.job-meta-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.job-detail-body {
    max-height: 55vh;
    overflow-y: auto;
    margin-top: 1.5rem;
    padding-right: 0.5rem;
}

/* Custom Scrollbar for job body */
.job-detail-body::-webkit-scrollbar, .modal-large::-webkit-scrollbar {
    width: 6px;
}

.job-detail-body::-webkit-scrollbar-track, .modal-large::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

.job-detail-body::-webkit-scrollbar-thumb, .modal-large::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.25);
    border-radius: 3px;
}

.job-detail-body::-webkit-scrollbar-thumb:hover, .modal-large::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.45);
}

.jd-section {
    margin-bottom: 2rem;
}

.jd-subtitle {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.jd-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.jd-list {
    list-style: none;
    padding-left: 0;
}

.jd-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.5;
}

.jd-list li::before {
    content: '✦';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.jd-benefits-list li::before {
    content: '✓';
    color: #10B981;
}

.jd-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jd-skills-tags .skill-tag {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}

.job-apply-row {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

/* Contact Section Updates */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
}

.contact-panel-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cd-icon {
    font-size: 1.75rem;
    width: 46px;
    height: 46px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.cd-content {
    display: flex;
    flex-direction: column;
}

.cd-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.cd-value {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 500;
}

.cd-value a:hover {
    color: var(--secondary);
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-glass);
}

.form-panel-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.form-row {
    display: flex;
    gap: 1.25rem;
}

.flex-1 {
    flex: 1;
}

.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B0E21;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- Responsive updates for Phase 2 --- */

@media (max-width: 1024px) {
    .choose-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-large {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .choose-us-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Admin Portal Dashboard Layout Styles
   ========================================================================== */

.admin-dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-dashboard-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.admin-header {
    height: 70px;
    background: #0B0E21;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    flex-shrink: 0;
}

.admin-logo {
    display: flex;
    align-items: center;
}

.admin-badge {
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #A78BFA;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-left: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.admin-sidebar {
    width: 260px;
    background: #0B0E21;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.25rem;
    flex-shrink: 0;
    overflow-y: auto;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.admin-nav-btn {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.admin-nav-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
}

.admin-nav-btn.active {
    background: var(--primary-grad);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.admin-viewport {
    flex: 1;
    overflow-y: auto;
    padding: 3rem;
    background-color: #070913;
}

.admin-tab-content {
    display: none;
    animation: fadeInTab 0.3s ease-in-out;
}

.admin-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-title {
    font-size: 1.85rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
}

.tab-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tab-header-row .tab-title {
    margin-bottom: 0;
}

/* Metric Cards Grid */
.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.metric-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-glass);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.metric-val {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    background: var(--secondary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-box {
    background: rgba(124, 58, 237, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    color: var(--text-secondary);
}

.welcome-box h3 {
    color: #FFFFFF;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.welcome-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.welcome-box code {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #A78BFA;
    font-family: monospace;
}

/* Admin Dashboard Tables */
.admin-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow-x: auto;
    box-shadow: var(--shadow-glass);
    max-height: 65vh;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    text-align: left;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    vertical-align: top;
}

.admin-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.015);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

/* Action buttons */
.btn-delete {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #F87171;
    padding: 0.35rem 0.85rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-delete:hover {
    background: #EF4444;
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}

.admin-table code {
    background: rgba(255,255,255,0.04);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #22D3EE;
    font-family: monospace;
}

/* Responsive updates for Dashboard */
@media (max-width: 1024px) {
    .admin-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.25rem 1.5rem;
    }
    
    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .admin-nav-btn {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .admin-viewport {
        padding: 2rem 1.5rem;
    }
    
    .admin-metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* CMS section buttons */
.cms-sec-btn {
    color: var(--text-secondary);
    border: 1px solid transparent;
}
.cms-sec-btn:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #FFFFFF !important;
}
.cms-sec-btn.active {
    background: rgba(124, 58, 237, 0.15) !important;
    color: #C084FC !important;
    border: 1px solid rgba(124, 58, 237, 0.25) !important;
}

/* ==========================================================================
   Public Light Theme Overrides & Optimizations
   ========================================================================== */

/* Choose Us cards text */
.choose-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03) !important;
}
.choose-title {
    color: #0F172A !important;
}

/* Mission & Vision / About page updates */
.mv-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}
.mv-card:hover {
    background: #F8FAFC !important;
}
.values-header {
    color: #0F172A !important;
}
.value-item {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03) !important;
}
.value-name {
    color: #0F172A !important;
}

/* Clean text colors for lists and badges on light theme */
.list-item strong {
    color: #0F172A !important;
}

.list-check {
    background: rgba(124, 58, 237, 0.08) !important;
    border: 1px solid rgba(124, 58, 237, 0.15) !important;
    color: #7C3AED !important;
}

/* Services Page list text colors */
.service-ideal {
    border-top: 1px solid #E2E8F0 !important;
}
.service-ideal strong {
    color: #0F172A !important;
}

/* Modals & Forms Light Polish */
.modal-content {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
}

.modal-title {
    color: #0F172A !important;
}

.modal-subtitle {
    color: #475569 !important;
}

.form-section-title {
    color: #7C3AED !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.form-label {
    color: #334155 !important;
}

.form-input {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

.form-input:focus {
    border-color: #7C3AED !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1) !important;
}

.file-upload-wrapper {
    background: #F8FAFC !important;
    border: 1px dashed #CBD5E1 !important;
}

.file-upload-button {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

.file-upload-name {
    color: #475569 !important;
}

.success-screen {
    background: #FFFFFF !important;
}

.success-title {
    color: #0F172A !important;
}

.success-desc {
    color: #475569 !important;
}

.modal-close {
    color: #64748B !important;
}

.modal-close:hover {
    color: #0F172A !important;
}

/* Contact page layout overrides */
.contact-form-panel {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

.form-panel-title {
    color: #0F172A !important;
}

.cd-value {
    color: #0f172a !important;
}

.form-success-overlay {
    background: #FFFFFF !important;
}

/* Jobs page and general table overrides */
.jobs-section {
    background-color: #FFFFFF !important;
}

.jobs-table th {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border-bottom: 2px solid #E2E8F0 !important;
}

.jobs-table td {
    border-bottom: 1px solid #E2E8F0 !important;
    color: #334155 !important;
}

.jobs-table tr:hover {
    background: #F8FAFC !important;
}

.why-join-box {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #334155 !important;
}

.why-join-title {
    color: #0F172A !important;
}

.benefit-item {
    color: #475569 !important;
}

.benefit-item strong {
    color: #0F172A !important;
}

.benefit-bullet {
    color: #7C3AED !important;
}

.jd-subtitle {
    color: #0f172a !important;
}

.job-apply-row {
    border-top: 1px solid #E2E8F0 !important;
}

/* Testimonial slider control overlays (Force Dark Theme for Testimonials Section) */
.testimonials-section {
    background: #0B0E21 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
}

.testimonials-section .section-title {
    color: #FFFFFF !important;
}

.testimonials-section .section-subtitle {
    color: #94A3B8 !important;
}

.testimonials-section .testimonial-card {
    background: rgba(13, 17, 39, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.testimonials-section .testimonial-quote {
    color: #FFFFFF !important;
}

.testimonials-section .author-name {
    color: #FFFFFF !important;
}

.testimonials-section .author-role {
    color: #94A3B8 !important;
}

.testimonials-section .carousel-btn {
    background: rgba(13, 17, 39, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}

.testimonials-section .indicator {
    background: rgba(255, 255, 255, 0.2) !important;
}

.testimonials-section .indicator.active {
    background: var(--primary) !important;
}
