.offcanvas { background: #0b1220; color: #fff; }
.offcanvas .offcanvas-title { color: #fff; }
.offcanvas .btn-close { filter: invert(1); }
.offcanvas .nav-link { color: #e5e7eb !important; padding: 0.75rem 0.5rem !important; }
.offcanvas .nav-link:hover { background: rgba(255,255,255,0.12); }
/* =====================================================
   QURESHICO MANPOWER BUREAU - FRONTEND STYLES
   Professional Recruitment Theme matching Recrute quality
   ===================================================== */

/* CSS Variables for consistent theming */
:root {
    /* Vibrant blue→teal palette for higher contrast */
    --primary-color: #2563eb; /* blue-600 */
    --primary-dark: #1e40af; /* blue-800 */
    --primary-light: #60a5fa; /* blue-400 */
    --accent-teal: #14b8a6; /* teal-500 */
    --secondary-color: #4b5563;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --dark-color: #0f172a;
    --light-color: #f6f7fb;
    --gray-color: #94a3b8;
    --white: #ffffff;
    
    /* Premium gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    --gradient-secondary: linear-gradient(135deg, #60a5fa 0%, #99f6e4 100%);
    --gradient-success: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --gradient-warning: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: radial-gradient(1200px 600px at 10% 10%, rgba(37,99,235,0.14) 0%, rgba(20,184,166,0.10) 40%, transparent 70%), linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    --gradient-card: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    --gradient-button: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    
    /* Depth */
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 10px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 12px 24px rgba(16, 24, 40, 0.10);
    --shadow-xl: 0 18px 28px rgba(16, 24, 40, 0.12);
    --shadow-2xl: 0 24px 48px rgba(16, 24, 40, 0.14);
    
    --border-radius: 14px;
    --border-radius-lg: 18px;
    --border-radius-xl: 24px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* =====================================================
   GLOBAL STYLES & RESET
   ===================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: #0b1220;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

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

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

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

/* =====================================================
   TOPBAR
   ===================================================== */
.topbar {
    background: rgba(8,12,22,0.96);
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    z-index: 3100; /* slightly above nav */
}
.topbar + #mainNav { margin-top: 0; }
.topbar .social-link { background: rgba(255,255,255,0.12); }
.topbar a { color: rgba(255,255,255,0.85); text-decoration: none; }

/* =====================================================
   NAVIGATION
   ===================================================== */

#mainNav {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 0.6rem 0; /* compact height */
    box-shadow: none;
    overflow: visible; /* allow mega dropdown to overflow */
    position: relative;
    z-index: 3000; /* keep nav and dropdowns above hero */
}
/* Force transparent header at top */
#mainNav { background-color: transparent !important; margin-top: 0; }
#mainNav:not(.scrolled) .navbar-brand, #mainNav:not(.scrolled) .navbar-brand span { color: #ffffff !important; }
#mainNav:not(.scrolled) .nav-link { color: #ffffff !important; }
#mainNav.scrolled .nav-link { color: #ffffff !important; }
#mainNav.scrolled .navbar-brand, #mainNav.scrolled .navbar-brand span { color: #ffffff !important; }

#mainNav.scrolled {
    background: transparent !important;
    box-shadow: none;
    padding: 1rem 0;
}

#mainNav.scrolled {
    background: transparent !important;
    box-shadow: none;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color) !important;
    text-decoration: none;
}
.navbar-brand { position: relative; display: flex; align-items: center; gap: .5rem; color: #ffffff !important; }
/* Overlap logo: larger visual without inflating nav height */
.brand-logo {
    height: 60px; width: auto; object-fit: contain;
    margin-bottom: 0;
    position: relative; z-index: 10; transition: var(--transition);
}
@media (min-width: 768px) { .brand-logo { height: 74px; margin-bottom: 0; } }
@media (min-width: 1200px) { .brand-logo { height: 82px; margin-bottom: 0; } }

/* Compact logo while scrolled for tidy header */
#mainNav.scrolled .brand-logo { height: 48px; margin-bottom: 0; }
@media (min-width: 768px) { #mainNav.scrolled .brand-logo { height: 64px; } }
@media (min-width: 1200px) { #mainNav.scrolled .brand-logo { height: 72px; } }

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 0.2rem;
    padding: 0.45rem 0.6rem !important; /* tighter so menu fits next to big logo */
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-dark) !important;
    background: rgba(255,255,255,0.12);
}

.navbar-nav .nav-link::after { display: none; }

.dropdown-menu {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(2,6,23,0.6);
    padding: 0.75rem;
    animation: dropdownFade .18s ease-out;
    background: rgba(11,18,32,0.98);
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
/* Mega dropdown */
.dropdown-mega { width: calc(100% - 32px); max-width: 1320px; left: 50%; right: auto; transform: translateX(-50%); border-radius: 0 0 16px 16px; border-top: none; background: rgba(11,18,32,0.98); z-index: 2000; }
.dropdown-mega .mega-title { font-weight: 700; color: #ffffff !important; margin-bottom: .5rem; }
.dropdown-mega .mega-list { list-style: none; padding: 0; margin: 0; }
.dropdown-mega .mega-list li { margin-bottom: .35rem; }
.dropdown-mega .mega-list a { color: rgba(255,255,255,0.9) !important; text-decoration: none; padding: .5rem .65rem; display: block; border-radius: 10px; }
.dropdown-mega .mega-list a:hover { background: rgba(255,255,255,0.08); color: #ffffff !important; }
.dropdown-mega .mega-cta { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(20,184,166,0.12)); border: 1px solid rgba(255,255,255,0.08); }

/* Ensure standard dropdown items are visible too */
.dropdown-item { color: rgba(255,255,255,0.9) !important; }
.dropdown-item:hover, .dropdown-item:focus { color: #ffffff !important; background: rgba(255,255,255,0.08); }

/* Hover open on desktop */
@media (min-width: 992px) {
  .navbar .dropdown.position-static:hover > .dropdown-menu { display: block; }
  .navbar .dropdown.position-static .dropdown-menu { margin-top: .25rem; }
}
.dropdown-item { border-radius: 8px; }
.dropdown-item:hover { background: rgba(255,255,255,0.08); }
.dropdown-divider { border-top-color: rgba(15,23,42,0.08); }

@keyframes dropdownFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.navbar-toggler { border: 0; }
.navbar-toggler-icon {
    width: 1.25rem; height: 1.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================================================
   HERO SECTION
   ===================================================== */

/* FutureSight-like hero */
.futuresight-hero { position: relative; padding: 72px 0 40px; background: var(--gradient-hero); overflow: hidden; }
.futuresight-hero .container { position: relative; z-index: 2; }
.futuresight-swiper { overflow: hidden; }
.futuresight-hero .swiper-slide { padding-top: 40px; padding-bottom: 40px; position: relative; overflow: hidden; }
.fs-eyebrow { letter-spacing: .25em; text-transform: uppercase; color: var(--gray-color); font-weight: 700; font-size: .85rem; display: inline-block; margin-bottom: 16px; }
.fs-title { font-size: 3.25rem; line-height: 1.1; margin-bottom: 16px; }
.fs-subtitle { font-size: 1.125rem; color: var(--secondary-color); margin-bottom: 24px; max-width: 600px; }
.fs-media { position: relative; min-height: 360px; }
.fs-img { position: absolute; border-radius: 18px; box-shadow: var(--shadow-2xl); width: 52%; height: auto; object-fit: cover; }
.fs-img-lg { right: 0; top: 6%; }
.fs-img-md { left: 0; bottom: 0; width: 46%; }
.fs-img-sm { right: 12%; bottom: -6%; width: 36%; filter: blur(0.2px); }
.fs-mosaic { position: relative; min-height: 420px; }
.fs-mosaic .fs-tile { position: absolute; border-radius: 18px; box-shadow: var(--shadow-2xl); object-fit: cover; }
.fs-mosaic .fs-lg { width: 64%; right: 6%; top: 10%; }
.fs-mosaic .fs-sm { width: 26%; }
.fs-mosaic .fs-md { width: 36%; }
.fs-mosaic .fs-pos-1 { left: 0; top: 0; }
.fs-mosaic .fs-pos-2 { right: 0; bottom: 6%; }
.fs-mosaic .fs-pos-3 { left: 10%; bottom: 0; }
.fs-card-image { background: #fff; padding: 18px; border-radius: 24px; box-shadow: var(--shadow-2xl); display: inline-block; }
.fs-card-image img { width: 100%; height: auto; border-radius: 16px; display: block; }
.fs-slide-3 .fs-wave { height: 8px; margin: 28px auto 0; width: 180px; background: linear-gradient(90deg, rgba(37,99,235,.25), rgba(20,184,166,.25)); border-radius: 999px; position: relative; }
.fs-slide-3 .fs-wave::after { content: ''; position: absolute; left: 0; right: 0; top: -32px; height: 120px; background: radial-gradient(closest-side, rgba(99,102,241,.25), transparent); filter: blur(10px); border-radius: 50%; }
.fs-gradient { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(1200px 600px at 65% 40%, rgba(20,184,166,.24), transparent 60%), radial-gradient(900px 500px at 10% 70%, rgba(37,99,235,.22), transparent 60%); }
.fs-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.fs-counter { font-weight: 700; color: #111827; }
.fs-arrows { display: flex; gap: 10px; }
.fs-arrows button { width: 44px; height: 44px; border-radius: 50%; background: rgba(15,23,42,0.06); border: 1px solid rgba(0,0,0,0.06); display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); }
.fs-arrows button:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.futuresight-hero .swiper-pagination { position: static; margin-top: 8px; }
.futuresight-hero .swiper-pagination-bullet { background: #111827; opacity: .25; }
.futuresight-hero .swiper-pagination-bullet-active { opacity: 1; }

@media (max-width: 991.98px) {
  .fs-title { font-size: 2.25rem; }
  .fs-media { min-height: 260px; margin-top: 12px; }
  .fs-img { position: absolute; width: 54%; }
}

/* Showcase slider styling (transparent glass like SR) */
.showcase-section { position: relative; overflow: hidden; }
.showcase-swiper { width: 100%; height: 80vh; }
@media (min-width: 992px) { .showcase-swiper { height: 90vh; } }
.showcase-slide { 
    position: relative; 
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 20% 10%, rgba(37,99,235,0.18), transparent 40%),
                radial-gradient(ellipse at 80% 90%, rgba(20,184,166,0.18), transparent 40%);
}
.showcase-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--bg) center/cover no-repeat;
    filter: brightness(0.8) saturate(1.05);
}
.showcase-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,18,32,0.45) 0%, rgba(11,18,32,0.65) 60%, rgba(11,18,32,0.75) 100%);
}
.showcase-slide .glass-card {
    position: relative; z-index: 2; max-width: 560px; margin: 0 2rem; padding: 1.5rem 1.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff; border-radius: 16px;
    box-shadow: 0 20px 50px rgba(2,6,23,0.35);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.showcase-section .swiper-pagination-bullet { background: rgba(255,255,255,0.8); }

/* Gallery slider styling inspired by SR "Exquisite" */
.gallery-section { padding: 3rem 0; background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.08), transparent 60%); }
.gallery-swiper { width: 100%; height: 70vh; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2xl); }
@media (min-width: 992px) { .gallery-swiper { height: 80vh; } }
.gallery-slide { position: relative; width: 100%; height: 100%; }
.gallery-slide::before { content: ''; position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; filter: brightness(0.85); }
.gallery-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,0.25) 0%, rgba(11,18,32,0.65) 70%); }
.gallery-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2rem; color: #fff; }
.gallery-overlay .badge.bg-primary-soft { background: rgba(37,99,235,0.18); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gallery-overlay .title { font-size: 2.25rem; margin: .25rem 0 .5rem; }
.gallery-overlay .desc { opacity: .9; max-width: 720px; }
.gallery-overlay .actions .btn { border-radius: 12px; }
.gallery-thumbs { margin-top: 1rem; }
.gallery-thumbs .swiper-slide { width: 160px; height: 100px; border-radius: 12px; overflow: hidden; opacity: .6; transition: .2s; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; box-shadow: 0 10px 24px rgba(2,6,23,0.25); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem; /* slightly larger */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatCard 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateZ(0);
    transition: var(--transition);
    max-width: 300px; /* slightly wider */
    z-index: 1;
    pointer-events: none; /* avoid interaction blocking */
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(255, 255, 255, 0.3);
}

.floating-card i {
    font-size: 1.5rem;
}

.floating-card span {
    font-weight: 600;
    color: var(--dark-color);
}

.card-1 {
    top: 10%;
    right: -15%; /* maximum push to the right */
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: -25%; /* maximum push to the right */
    animation-delay: 1s;
}

.card-3 {
    top: 70%;
    right: -18%; /* maximum push to the right */
    animation-delay: 2s;
}

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

/* =====================================================
   STATISTICS SECTION
   ===================================================== */

.stats-section {
    background: var(--white);
    position: relative;
    z-index: 3;
    margin-top: 0; /* prevent overlap with hero search */
}

.stat-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-card);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2xl);
}

.stat-icon {
    margin-bottom: 1rem;
}

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

.stat-label {
    font-size: 1.125rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-section {
    background: var(--white);
}

.about-content h6 {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.about-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--dark-color);
}

.about-image {
    position: relative;
}

.image-stack {
    position: relative;
    height: 400px;
}

.image-item {
    position: absolute;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.image-item:hover {
    transform: scale(1.05);
}

.image-1 {
    top: 0;
    left: 0;
    width: 70%;
    z-index: 2;
}

.image-2 {
    bottom: 0;
    right: 0;
    width: 70%;
    z-index: 1;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services-section {
    background: #fbfcff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}
.service-thumb { margin: -2rem -2rem 1rem; height: 160px; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1.125rem;
    background: var(--gradient-card);
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-icon i {
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-features .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
}

/* =====================================================
   JOBS SECTION
   ===================================================== */

.jobs-section {
    background: var(--white);
}

.job-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.06);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.job-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; box-shadow: var(--shadow-sm); }

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.job-card:hover::before {
    opacity: 0.02;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
}

.job-type {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.job-type.full-time { background: rgba(16, 185, 129, 0.1); color: var(--success-color); }
.job-type.part-time { background: rgba(245, 158, 11, 0.1); color: var(--warning-color); }
.job-type.contract { background: rgba(6, 182, 212, 0.1); color: var(--info-color); }

.job-company, .job-location {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.job-date {
    font-size: 0.875rem;
    color: var(--gray-color);
}

.no-jobs {
    padding: 3rem 1rem;
    text-align: center;
}

.no-jobs i {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */

.testimonials-section {
    background: #fbfcff;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(240, 147, 251, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    margin-right: 0.25rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}
.author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }

.author-info h6 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.no-testimonials {
    padding: 3rem 1rem;
    text-align: center;
}

.no-testimonials i {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

/* Swiper overrides */
.testimonials-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.4;
}
.testimonials-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* =====================================================
   CLIENTS SECTION
   ===================================================== */
.clients-section { background: var(--white); }
.clients-swiper .swiper-slide { text-align: center; }
.clients-swiper img {
    width: 140px; height: 40px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: var(--transition);
}
.clients-swiper img:hover { filter: grayscale(0%); opacity: 1; }

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section .accordion-button { font-weight: 600; }
.faq-section .accordion-button:focus { box-shadow: none; }
.faq-section .accordion-item { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); }

/* =====================================================
   BLOG SECTION
   ===================================================== */
.blog-card { background: var(--white); border-radius: var(--border-radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; transition: var(--transition); border: 1px solid rgba(0,0,0,0.05); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.blog-image img { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 1.25rem 1.25rem 1.5rem; }

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-section {
    background: var(--white);
}

.contact-info h6 {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text h6 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
    font-weight: 600;
}

.contact-text p {
    margin: 0;
    color: var(--secondary-color);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-card);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    background: var(--white);
    transform: translateY(-2px);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: #0b1220;
}
.footer-logo { height: 42px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.footer-logo { height: 40px; width: auto; object-fit: contain; filter: brightness(1) contrast(1.05); }

.footer h5, .footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

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

.newsletter-form .input-group {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.newsletter-form .btn {
    border-radius: 0;
    padding: 0.75rem 1rem;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        animation: none;
    }
    
    .hero-image {
        height: auto;
        margin-top: 2rem;
    }

    /* Responsive adjustments for large logo and spacing */
    .brand-logo { height: 96px; margin-bottom: -32px; }
    .hero-section .container { padding-top: 72px; }
    .service-card, .job-card, .testimonial-card, .tech-card { padding: 1.25rem; }
    .service-thumb { height: 140px; }
    .tech-thumb { height: 120px; }
    .project-image img { height: 220px; }
    .team-image img { height: 260px; }
    .stats-section { margin-top: -20px; }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }

    /* Tighter mobile layout */
    .brand-logo { height: 72px; margin-bottom: -24px; }
    .hero-section .container { padding-top: 88px; }
    .service-thumb { height: 120px; }
    .tech-thumb { height: 110px; }
    .project-image img { height: 200px; }
    .team-image img { height: 240px; }
    .hero-subtitle { font-size: 0.95rem; }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }

    .hero-subtitle { font-size: 0.9rem; }
}

/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */

.why-choose-section {
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.feature-content h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.feature-content p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */

.projects-section {
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.project-content p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* =====================================================
   TECHNOLOGIES SECTION
   ===================================================== */

.technologies-section {
    background: var(--white);
    position: relative;
}

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.tech-thumb { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; }

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.tech-card h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.tech-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* =====================================================
   TEAM SECTION
   ===================================================== */

.team-section {
    background: var(--white);
    position: relative;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(99, 102, 241, 0.9);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-content h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.team-content p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */

.newsletter-section {
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.newsletter-section .section-title {
    color: var(--white);
}

.newsletter-section .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* =====================================================
   ENHANCED SECTION STYLING
   ===================================================== */

.section-header {
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.text-center .section-header::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Enhanced feature items */
.feature-item {
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: var(--transition);
}

.feature-item:hover::before {
    left: 100%;
}

/* Enhanced project cards */
.project-card {
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

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

.project-content {
    position: relative;
    z-index: 2;
}

/* Enhanced tech cards */
.tech-card {
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    transition: var(--transition);
    transform: scale(0);
}

.tech-card:hover::before {
    transform: scale(1);
}

/* Enhanced team cards */
.team-card {
    position: relative;
}

.team-social {
    transform: translateY(100%);
    transition: var(--transition);
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.social-link:hover::before {
    left: 100%;
}

/* Enhanced service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.service-icon {
    position: relative;
    z-index: 2;
}

/* Enhanced statistics */
.stat-card {
    position: relative;
    overflow: hidden;
}

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

.stat-card:hover::before {
    transform: scaleX(1);
}

/* Enhanced contact form */
.contact-form {
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, transparent 100%);
    border-radius: var(--border-radius-xl);
    z-index: -1;
}

/* Enhanced navigation */
#mainNav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#mainNav.scrolled {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Enhanced hero section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced floating cards */
.floating-card {
    position: relative;
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

/* Enhanced buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Enhanced testimonials */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

/* Enhanced about section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-section {
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.newsletter-section .section-title {
    color: var(--white);
}

.newsletter-section .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* =====================================================
   ENHANCED ANIMATIONS & TRANSITIONS
   ===================================================== */

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered grid animations */
.row .col-lg-4,
.row .col-md-6 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.row .col-lg-4.revealed,
.row .col-md-6.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced hover effects */
.service-card:hover,
.project-card:hover,
.tech-card:hover,
.team-card:hover,
.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Enhanced button effects */
.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Enhanced social media effects */
.social-link:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Enhanced form field effects */
.form-control:focus,
.form-select:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Enhanced statistics animation */
.stat-number {
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* Enhanced navigation effects */
#mainNav.scrolled {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
#mainNav.scrolled .navbar-brand { color: #0f172a !important; }
#mainNav.scrolled .nav-link { color: #1f2937 !important; }
#mainNav.scrolled .nav-link:hover { background: rgba(93,95,239,0.08); }

/* Enhanced hero section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced floating cards */
.floating-card {
    position: relative;
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

/* Enhanced testimonials */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

/* Enhanced about section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* =====================================================
   ANIMATIONS & TRANSITIONS
   ===================================================== */

/* Fade in animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced floating animation */
@keyframes floatCard {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) translateX(5px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-10px) translateX(-3px) rotate(-1deg); 
    }
    75% { 
        transform: translateY(-20px) translateX(8px) rotate(2deg); 
    }
}

/* Pulse animation for icons */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.service-icon:hover {
    animation: pulse 1s ease-in-out infinite;
}

/* Glow effect for buttons */
.btn-primary:hover {
    box-shadow: var(--shadow-xl), 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Smooth reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Hover effects for interactive elements */
a:hover {
    text-decoration: none;
}

/* Match Recrute container width: 1320px on very large screens */
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1320px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none !important;
    }
    
    .hero-section {
        background: var(--white) !important;
        color: var(--dark-color) !important;
    }
    
    .hero-title {
        color: var(--dark-color) !important;
    }
}

/* Brand bar (under hero) */
.brandbar { 
    position: relative; 
    padding: 3rem 0;
    background: #000000 !important; /* Pure black background */
}
.brandbar .brandbar-swiper { 
    width: 100%; 
}
.brandbar .swiper-slide { 
    text-align: center; 
    padding: 0 20px;
}
.brandbar .swiper-slide img {
    width: 220px; 
    height: 100px; 
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brandbar .swiper-slide img {
        width: 180px;
        height: 80px;
    }
    .brandbar .swiper-slide {
        padding: 0 15px;
    }
}

/* FutureSight slider styles moved to assets/css/futuresight-slider.css */
