/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #13151e;
    overflow-x: hidden;
    transition: background 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    padding: 10px;
}

/* ---------- ELEGANT DARK MODE WITH DEEP COLORS ---------- */
body.dark {
    background: linear-gradient(135deg, #0a0c15 0%, #0f111a 100%);
    color: #eef2ff;
}

/* 1. ADAPTIVE THEME CONFIGURATION */
:root {
    --watermark-opacity: 0.08;
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --watermark-filter: saturate(1.5) brightness(1.05) sepia(0.1);
    --card-bg-light: rgba(255, 255, 255, 0.85);
    --card-bg-dark: rgba(17, 24, 39, 0.85);
    --primary-gradient-start: #6366f1;
    --primary-gradient-end: #a855f7;
    --secondary-gradient-start: #0ea5e9;
    --secondary-gradient-end: #3b82f6;
    --glass-border-light: rgba(35, 34, 34, 0.6);
    --glass-border-dark: rgba(12, 12, 12, 0.08);
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 30px 45px -15px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
    :root {
        --watermark-opacity: 0.06;
        --bg-color: #090d16;
        --text-color: #f1f5f9;
        --watermark-filter: invert(1) saturate(2) brightness(1.6) sepia(0.3);
    }
}

/* Base styles - Light Mode with subtle gradient */
body {
    background: linear-gradient(135deg, #fefefe 0%, #f1f5f9 100%);
    color: #1e293b;
}

/* Dark Mode with deep cosmic gradient */
body.dark {
    background: linear-gradient(135deg, #0a0c15 0%, #0f172a 100%);
    color: #f1f5f9;
}

/* Dark mode for common elements with glassmorphism */
body.dark .nav-links,
body.dark .navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 25, 25, 0.05);
}

body.dark .card,
body.dark .service-card,
body.dark .testimonial-card {
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(11, 11, 11, 0.06);
}

body.dark a {
    color: #a5f3fc;
    transition: color 0.3s ease;
}

body.dark a:hover {
    color: #cffafe;
}

body.dark button {
    background: rgba(30, 33, 37, 0.8);
    color: #f1f5f9;
    border-color: rgba(58, 52, 52, 0.1);
}

/* 2. BASE GLOBAL SETUP */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* 3. FIXED BACKGROUND LOGO LAYER - Enhanced */
.background-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmin;
    height: 80vmin;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.background-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: var(--watermark-opacity);
    filter: var(--watermark-filter);
    transition: opacity 0.5s ease, filter 0.4s ease;
    mix-blend-mode: overlay;
}

body.dark .background-watermark img {
    mix-blend-mode: soft-light;
}

/* Premium Sizing for the Navigation Logo */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Navbar theme toggle button */
.nav-theme-toggle {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.1));
    border-radius: 40px;
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary, #0f172a);
    font-size: 1.25rem;
    margin-left: 8px;
    flex-shrink: 0;
}

.nav-theme-toggle:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.02);
    border-color: #2563eb;
}

/* Icon switching based on dark mode - USING DISPLAY PROPERTY */
body.dark-mode .nav-theme-toggle .fa-moon {
    display: none !important;
}

body.dark-mode .nav-theme-toggle .fa-sun {
    display: inline-block !important;
}

.nav-theme-toggle .fa-sun {
    display: none !important;
}

.nav-theme-toggle .fa-moon {
    display: inline-block !important;
}

/* Remove old bottom toggle button */
.theme-toggle,
#darkModeToggle,
.theme-toggle-bottom {
    display: none !important;
}

/* Icon switching based on dark mode */
.nav-theme-toggle .fa-sun {
    display: none;
}

body.dark-mode .nav-theme-toggle .fa-moon {
    display: none;
}

body.dark-mode .nav-theme-toggle .fa-sun {
    display: inline-block;
}

/* Remove old bottom toggle button */
.theme-toggle,
#darkModeToggle,
.theme-toggle-bottom {
    display: none !important;
}


.nav-links a {
    color: var(--text-color, #1e293b);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a.active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 700;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.nav-logo-large {
    height: 60px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), filter 0.3s ease;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.nav-logo-large:hover {
    transform: scale(1.03) rotate(0.5deg);
    filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.2));
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    min-height: 82px;
}

.nav-links a {
    display: inline-block;
    vertical-align: middle;
}

/* ---------- LOADER WITH PREMIUM ANIMATION ---------- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b0e17, #0f111a);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s;
}
.loader-wrapper.hide {
    opacity: 0;
    visibility: hidden;
}
.loader-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
}
.wing-left, .wing-right {
    position: absolute;
    width: 45px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    clip-path: polygon(0% 0%, 100% 20%, 80% 100%, 0% 80%);
    animation: flap 1s infinite alternate ease-in-out;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}
.wing-left { left: 0; transform-origin: right center; }
.wing-right { right: 0; transform-origin: left center; clip-path: polygon(0% 20%, 100% 0%, 100% 80%, 20% 100%); }
.core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #ffffff, #c084fc);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 25px #a855f7;
    animation: pulse 1.5s infinite alternate;
}
@keyframes flap {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(10deg); }
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.loader-text {
    font-family: 'Space Grotesk', monospace;
    color: white;
    letter-spacing: 3px;
    font-weight: 500;
    font-size: 1.1rem;
}
.loader-text span { 
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Styling adjustments for clear visibility against the colorful background */
.industries .section-header h2 {
    color: #ffffff !important;
}

.industries .section-tag {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.industries-grid .industry-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    transition: all 0.3s ease;
}

.industries-grid .industry-item:hover {
    background: #ffffff;
    color: #7c52ed; /* Reverts text/icon color to the primary purple on hover */
    transform: translateY(-3px);
}

.industries-grid .industry-item i {
    color: #ffffff; /* Keeps icons white initially */
}

.industries-grid .industry-item:hover i {
    color: #7c52ed;
}


/* ==========================================================================
   1. FIXED CORE DESIGN VARIABLES - ELEVATED
   ========================================================================== */
:root {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.05);
    --text-muted: #64748b;
    --text-main: #1e293b;
    --bg-section: #f8fafc;
    --primary-color: #0f172a;
    --watermark-opacity: 0.08;
    --watermark-filter: saturate(1.2) brightness(1.05) sepia(0.05);
}

/* Consolidated Dark Mode Overrides - Deep & Elegant */
body.dark {
    --bg-color: #090d16;
    --text-color: #eef2ff;
    --card-bg: rgba(17, 24, 39, 0.75);
    --border-color: rgba(255, 255, 255, 0.06);
    --text-muted: #9ca3af;
    --text-main: #f1f5f9;
    --bg-section: #0a0c15;
    --primary-color: #ffffff;
    --watermark-opacity: 0.05;
    --watermark-filter: invert(1) saturate(1.8) brightness(1.4) sepia(0.1);
}

/* ==========================================================================
   2. SEAMLESS GLOBAL INTERFACE TRANSITION
   ========================================================================== */
html, body {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    transition: background-color 0.4s ease, color 0.3s ease;
}

/* Universal Variables Application across layouts */
body.dark .navbar,
body.dark .nav-links,
body.dark header {
    background-color: rgba(10, 12, 21, 0.95) !important;
    backdrop-filter: blur(20px);
}

body.dark .card,
body.dark .service-card,
body.dark .testimonial-card,
body.dark .project-card,
body.dark .accordion-item,
body.dark .contact-detail-card,
body.dark .feature-card, 
body.dark .serv-card, 
body.dark .industry-item,
body.dark .stat-block {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
    backdrop-filter: blur(12px);
}

body.dark p, body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark li {
    color: var(--text-color) !important;
}

body.dark .contact-glass-form {
    background: rgba(17, 24, 39, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(16px);
}

/* ---------- CUSTOM CURSOR - Refined ---------- */
.custom-cursor, .cursor-dot {
    pointer-events: none;
    position: fixed;
    z-index: 9999;
}
.custom-cursor {
    width: 36px;
    height: 36px;
    border: 2px solid #6366f1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: 0.15s ease;
    mix-blend-mode: difference;
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
body.dark .custom-cursor { border-color: #a855f7; }
body.dark .cursor-dot { background: #c084fc; }

/* Container holding the marquee line */
.logo-marquee-container {
    overflow: hidden;
    padding: 2.5rem 0;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.03), transparent);
}

/* Linear track containing both logo sets */
.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

/* Standardized constraints for individual logo files */
.logo-item {
    height: 65px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.logo-item img {
    filter: grayscale(0%);
    opacity: 0.7;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.logo-marquee-container::before,
.logo-marquee-container::after {
    content: "";
    height: 100%;
    width: 180px;
    position: absolute;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color, #ffffff), transparent);
}
.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color, #ffffff), transparent);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2.5rem)); }
}

.logo-marquee-container:hover .logo-marquee-track {
    animation-play-state: paused;
}

/* ========== THEME TOGGLE - Premium Glass ========== */
.theme-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1e293b;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.theme-toggle:hover {
    border-color: #6366f1;
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.25);
}
.theme-toggle .fa-sun { display: none; }
body.light-mode .theme-toggle .fa-moon { display: none; }
body.light-mode .theme-toggle .fa-sun { display: block; }

body.dark-mode {
    background: linear-gradient(135deg, #0a0c15, #0f172a) !important;
    color: #ffffff !important;
}

body.dark-mode .navbar,
body.dark-mode .nav-links,
body.dark-mode header {
    background: rgba(15, 23, 42, 0.95) !important;
}

body.dark-mode .card,
body.dark-mode .service-card,
body.dark-mode .testimonial-card {
    background: rgba(30, 41, 59, 0.7) !important;
    color: #ffffff !important;
}

body.dark-mode button:not(#themeToggle) {
    background: linear-gradient(135deg, #334155, #1e293b) !important;
    color: #fff !important;
}

body.dark-mode a {
    color: #a5f3fc !important;
}

/* Dark mode styles for your site */
body.dark {
    background: linear-gradient(135deg, #0a0c15, #0f172a) !important;
    color: #f1f5f9 !important;
}

body.dark .navbar,
body.dark .nav-links,
body.dark header {
    background: rgba(15, 23, 42, 0.95) !important;
}

body.dark .card,
body.dark .service-card,
body.dark .testimonial-card,
body.dark .stats-section {
    background: rgba(30, 41, 59, 0.7) !important;
    color: #f1f5f9 !important;
}

body.dark p,
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4 {
    color: #f1f5f9 !important;
}

body.dark a {
    color: #a5f3fc !important;
}

/* ---------- ENHANCED NAVBAR with adaptive logo ---------- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}
body.dark .navbar {
    background: rgba(10, 12, 21, 0.92);
    border-bottom-color: rgba(99, 102, 241, 0.2);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-item img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo-link:hover {
    transform: scale(1.02);
}
#site-logo {
    height: 52px;
    width: auto;
    transition: all 0.3s ease;
    filter: none;
}
body.dark #site-logo {
    filter: brightness(1.05) contrast(1.1);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.elegant-cursor,
.cursor-dot {
    pointer-events: none !important;
    z-index: 10000;
}

.nav-links a {
    position: relative;
    color: var(--text-color, #334155);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 14px;
}

.nav-links a.active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transition: width 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-radius: 2px;
}

.nav-links a.active::after {
    width: calc(100% - 28px);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.nav-links a {
        position: relative;
        border-bottom: none !important; /* Removes any standard bottom borders */
        text-decoration: none !important; /* Removes default link underlines */
    }
    
    /* Disables any custom animated sliding lines built with pseudo-elements */
    .nav-links a::after, 
    .nav-links a::before,
    .nav-links a.active::after,
    .nav-links a.active::before {
        display: none !important;
        content: none !important;
    }

    /* Optional: If you still want the text color itself to change when active/hovered */
    .nav-links a.active, 
    .nav-links a:hover {
        color: #7B52AB; /* Matches your brand purple instead of using a line */
    }

.nav-links {
    display: flex;
    gap: 2.2rem;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1f2937;
    transition: 0.3s;
    font-size: 1rem;
}
body.dark .nav-links a {
    color: #cbd5e6;
}
.nav-links a:hover, .nav-links a.active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 2.5px;
    background: #1f2937;
    transition: 0.3s;
    border-radius: 2px;
}
body.dark .hamburger span { background: #eef2ff; }

@media (max-width: 960px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        z-index: 998;
        gap: 1.8rem;
    }
    body.dark .nav-links {
        background: rgba(12,14,26,0.98);
    }
    .nav-links.active {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
}

/* ========== SERVICES SECTION STYLES - Enhanced ========== */
.services-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body.dark .services-section {
    background: linear-gradient(135deg, #0a0c15 0%, #0f172a 100%);
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1rem;
}

.services-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-primary, #0f172a);
}

body.dark .services-header h2 {
    color: #eef2ff;
}

.gradient-text-services {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.services-header p {
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

body.dark .services-header p {
    color: #9ca3af;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.1);
    cursor: pointer;
}

body.dark .service-card-item {
    background: rgba(17, 24, 39, 0.7);
    border-color: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(12px);
}

.service-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 45px -15px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.service-img-top {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-item:hover .service-img-top {
    transform: scale(1.05);
}

.service-card-content {
    padding: 2rem;
}

.service-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.dark .service-card-content h3 {
    background: linear-gradient(135deg, #eef2ff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-short-desc {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

body.dark .service-short-desc {
    color: #cbd5e1;
}

.service-readmore-btn {
    background: transparent;
    border: none;
    padding: 0;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    font-family: inherit;
}

.service-readmore-btn:hover {
    gap: 0.9rem;
}

/* ========== MODAL STYLES - Refined ========== */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    max-width: 540px;
    width: 90%;
    border-radius: 40px;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-modal-overlay.active .service-modal-container {
    transform: scale(1);
}

body.dark .service-modal-container {
    background: rgba(17, 24, 39, 0.98);
    border-color: rgba(99, 102, 241, 0.2);
}

.service-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
    line-height: 1;
}

.service-modal-close:hover {
    color: #ef4444;
    transform: rotate(90deg);
}

.service-modal-container h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-right: 2rem;
    background: linear-gradient(135deg, #090b10, #13181e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.dark .service-modal-container h3 {
    background: linear-gradient(135deg, #eef2ff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-modal-container p {
    line-height: 1.7;
    color: #334155;
    font-size: 1rem;
}

body.dark .service-modal-container p {
    color: #cbd5e6;
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 1rem;
    }
    .services-header h2 {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-img-top {
        height: 200px;
    }
}

/* ========== TRUSTED PARTNERS SECTION STYLES ========== */
.trusted-section {
    padding: 5rem 1.5rem 2rem 1.5rem;
    background: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

body.dark .trusted-section {
    background: #0a0c15;
}

.trusted-container {
    max-width: 1280px;
    margin: 0 auto;
}

.trusted-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.trusted-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1rem;
}

.trusted-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

body.dark .trusted-header h2 {
    color: #eef2ff;
}

/* --- Marquee Engine --- */
.trusted{
    padding:60px 0;
    background:#fafafa;
}

.logo-slider{
    overflow:hidden;
    position:relative;
    width:100%;
    margin-top:40px;
}

.logo-track{
    display:flex;
    width:max-content;
    animation:scroll 40s linear infinite;
}

.logo-slider:hover .logo-track{
    animation-play-state:paused;
}

.logo-card{
    width:220px;
    height:120px;
    background:#fff;
    border-radius:14px;
    margin:0 15px;
    padding:18px;
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    transition:all .3s ease;
}

.logo-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.logo-card img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    display:block;
    transition:transform .3s ease;
}

.logo-card:hover img{
    transform:scale(1.05);
}

@keyframes scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* ========== ABOUT SECTION STYLES - Elegant ========== */
.about-section {
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-content-left {
    padding-right: 1rem;
}

.about-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.about-content-left h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', monospace;
}

.about-gradient-text {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

.about-description {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1.2rem;
}

body.dark .about-description {
    color: #9ca3af;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}


.stat-badge {
    background: linear-gradient(135deg, #f0f4fe, #eef2ff);
    padding: 0.9rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.stat-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

body.dark .stat-badge {
    background: rgba(17, 24, 39, 0.8);
}

.stat-badge i {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
}

.about-cta {
    margin-top: 2rem;
}

.about-btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.about-btn-primary:hover {
    background: linear-gradient(135deg, #4f52e0, #9333ea);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.about-hexagon-right {
    position: relative;
    min-height: 550px;
}

.about-hex-cluster {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: 550px;
}

.about-hex-card {
    width: 260px;
    height: 290px;
    perspective: 1000px;
    position: relative;
    transition: transform 0.3s ease;
}

.about-pos-top { transform: translateY(-45px); }
.about-pos-mid-left { transform: translateY(5px); }
.about-pos-mid-right { transform: translateY(5px); }
.about-pos-bottom { transform: translateY(65px); }

.about-hex-card:hover {
    transform: translateY(var(--hover-offset, 0)) scale(1.02);
}

.about-pos-top:hover { --hover-offset: -45px; }
.about-pos-mid-left:hover,
.about-pos-mid-right:hover { --hover-offset: 5px; }
.about-pos-bottom:hover { --hover-offset: 65px; }

.about-hex-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.about-hex-card:hover .about-hex-inner {
    transform: rotateY(180deg);
}

.about-hex-front,
.about-hex-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.about-hex-front {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: #1a1e2b;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

body.dark .about-hex-front {
    background: linear-gradient(135deg, #111827, #1e293b);
    color: #eef2ff;
}

.about-hex-front i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.about-hex-front h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.about-hex-back {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    transform: rotateY(180deg);
}

.about-hex-back p {
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-pos-top,
    .about-pos-mid-left,
    .about-pos-mid-right,
    .about-pos-bottom {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .about-section { padding: 50px 0; }
    .about-content-left h2 { font-size: 2rem; }
}

/* ---------- BUTTONS & LAYOUT GLOBAL - Enhanced ---------- */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover { 
    background: linear-gradient(135deg, #4f52e0, #9333ea);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}
.btn-outline {
    border: 1.5px solid #6366f1;
    color: #6366f1;
    background: transparent;
}
.btn-outline:hover { 
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
    border-color: #a855f7;
    color: #a855f7;
}
.gradient-text { 
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}
.section-tag { 
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1); }
.reveal.active { opacity: 1; transform: translateY(0); }

section {
    padding: 5rem 0;
}
.hero {
    padding: 4rem 0 7rem 0;
    min-height: auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    section { padding: 3rem 0; }
    .section-header h2 { font-size: 2rem; }
}

/* ---------- GRIDS & CARDS - Premium ---------- */
.features-grid, .service-cards, .industries-grid, .stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}
.feature-card, .serv-card, .industry-item {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem 1.8rem;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid rgba(99, 102, 241, 0.08);
}
body.dark .feature-card, body.dark .serv-card, body.dark .industry-item {
    background: rgba(17, 24, 39, 0.7);
    border-color: rgba(99, 102, 241, 0.12);
}
.feature-card:hover, .serv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -15px rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
}
.feature-card i, .serv-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

/* ========== HERO SECTION - Fixed margin issue for "Engineering the Extraordinary" ========== */
.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    margin: 1.5rem 0 1.2rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e293b, #334155, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
}
/* Ensure proper spacing for "Engineering the Extraordinary" text */
.hero-content .hero-title br {
    display: block;
    content: "";
    margin-bottom: 8px;
}
/* Additional spacing fix */
.hero-tagline {
    font-weight: 700;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}
body.dark .hero-title {
    background: linear-gradient(135deg, #eef2ff, #cbd5e1, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-desc {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ========== INDUSTRIES SECTION - Added gradient background to headings like Hero ========== */
.industries {
    padding: 80px 0;
}

.industries .section-header h2,
.industries .section-header .gradient-text,
.industries-section .section-header h2 {
    background: linear-gradient(135deg, #1e293b, #334155, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
    display: inline-block;
}

body.dark .industries .section-header h2,
body.dark .industries .section-header .gradient-text,
body.dark .industries-section .section-header h2 {
    background: linear-gradient(135deg, #eef2ff, #cbd5e1, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Also apply to any "Industries We Serve" heading */
.section-header h2:contains("Industries"),
.industries-header h2 {
    background: linear-gradient(135deg, #1e293b, #334155, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
}

body.dark .section-header h2:contains("Industries"),
body.dark .industries-header h2 {
    background: linear-gradient(135deg, #eef2ff, #cbd5e1, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ========== INTRO SPECIFICS ========== */
.intro-grid {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: center;
}
.intro-text {
    flex: 1.2;
}
.intro-text h2 {
    font-size: 2.5rem;
}
.intro-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 1.2rem 0;
}
.intro-image {
    flex: 1;
}
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 36px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    padding: 2.2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
body.dark .glass-card {
    background: rgba(17, 24, 39, 0.7);
    border-color: rgba(99, 102, 241, 0.15);
}
.glass-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

/* ---------- SECTORS & PARTNERS ---------- */
/* Industries Section - LIGHT BRIGHT MOVING BACKGROUND */

    /* Industries Section - NO BACKGROUND (Transparent) */
    
    .industries-transparent-section {
        padding: 80px 0;
        /* NO BACKGROUND - completely transparent */
        background: transparent;
        position: relative;
        margin-top: 80px;
        margin-bottom: 60px;
        width: 100%;
    }
    
    /* Dark mode - also transparent */
    body.dark .industries-transparent-section {
        background: transparent;
    }
    
    .industries-transparent-section .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    /* FULL GRADIENT HEADING */
    .industries-heading-full {
        font-size: 3rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        margin: 0;
        background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #a855f7, #6366f1);
        background-size: 300% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: gradientFlow 4s ease infinite;
        display: inline-block;
    }
    
    @keyframes gradientFlow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    .industries-heading-full:hover {
        animation: gradientFlow 0.8s ease infinite;
    }
    
    /* Clean Grid */
    .industries-clean-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    /* Industry Name Items - Glass effect so watermark shows through */
    .industry-name-item {
        display: inline-flex;
        align-items: center;
        gap: 0.7rem;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(99, 102, 241, 0.2);
        padding: 0.7rem 1.8rem;
        border-radius: 60px;
        font-weight: 600;
        font-size: 1rem;
        color: #1e293b;
        transition: all 0.3s ease;
        cursor: default;
        flex: 0 0 auto;
    }
    
    body.dark .industry-name-item {
        background: rgba(30, 41, 59, 0.6);
        backdrop-filter: blur(8px);
        border-color: rgba(99, 102, 241, 0.25);
        color: #e2e8f0;
    }
    
    .industry-name-item i {
        font-size: 1.1rem;
        background: linear-gradient(135deg, #6366f1, #a855f7);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    body.dark .industry-name-item i {
        background: linear-gradient(135deg, #a78bfa, #c084fc);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    .industry-name-item:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.9);
        border-color: #a855f7;
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
    }
    
    body.dark .industry-name-item:hover {
        background: rgba(51, 65, 85, 0.85);
        border-color: #c084fc;
        box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
    }
    
    .industry-name-item:hover i {
        transform: scale(1.1);
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .industries-transparent-section {
            padding: 50px 0;
            margin-top: 50px;
            margin-bottom: 40px;
        }
        
        .industries-transparent-section .container {
            padding: 0 20px;
        }
        
        .industries-heading-full {
            font-size: 2rem;
        }
        
        .industries-clean-grid {
            gap: 0.9rem;
        }
        
        .industry-name-item {
            padding: 0.55rem 1.4rem;
            font-size: 0.85rem;
        }
        
        .industry-name-item i {
            font-size: 0.9rem;
        }
    }
    
    @media (max-width: 550px) {
        .industries-clean-grid {
            gap: 0.75rem;
        }
        
        .industry-name-item {
            padding: 0.5rem 1.2rem;
            font-size: 0.8rem;
        }
    }

/* ---------- STATS SPECIFICS ---------- */
.stats-mini {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stats-mini div {
    font-weight: 600;
    background: rgba(240, 244, 254, 0.8);
    padding: 0.7rem 1.4rem;
    border-radius: 60px;
    display: inline-block;
    transition: all 0.3s ease;
}
.stats-mini div:hover {
    transform: translateY(-2px);
}
body.dark .stats-mini div {
    background: rgba(17, 24, 39, 0.8);
}
.stat-block {
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 32px;
    min-width: 170px;
    transition: all 0.3s ease;
    text-align: center;
}
.stat-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(99, 102, 241, 0.15);
}
body.dark .stat-block {
    background: rgba(17, 24, 39, 0.7);
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-track {
    display: flex;
    overflow-x: auto;
    gap: 1.8rem;
    padding: 1rem 0.2rem 1.5rem;
    scroll-behavior: smooth;
}
.testimonial-card {
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 32px;
    min-width: 320px;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(99, 102, 241, 0.12);
}
body.dark .testimonial-card {
    background: rgba(30, 41, 59, 0.7);
}
.testimonial-card i {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}
.testimonial-card p {
    margin-top: 0.8rem;
}
.testimonial-card h4 {
    margin-top: 1rem;
}
.slider-controls {
    text-align: center;
    margin-top: 0.5rem;
}
.slider-controls button {
    background: rgba(99, 102, 241, 0.15);
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-controls button:hover {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
}
.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* ---------- ANIMATED DEEP PURPLE & PINK GLOW BACKGROUND ---------- */
.industries-animated-section {
    padding: 40px 0;
    
    /* Blending your purple colors with the vibrant pink from the text design */
    background: linear-gradient(135deg, #7e64c5, #a254d0, #ec4899, #9452c0, #7e64c5);
    background-size: 400% 400%;
    
    /* Slightly faster speed to make the color transition sharp and modern */
    animation: luxuryPinkFlow 8s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Fluid movement timeline shifting the pink spectrum through the container */
@keyframes luxuryPinkFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Explicit style resets to ensure text remains crisp above the shifting pink */
.text-white-header {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.section-tag-white {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}


/* ---------- ANIMATED DEEP PURPLE & PINK GLOW BACKGROUND ---------- */
.industries-animated-section {
    padding: 40px 0;
    
    /* Blending your purple colors with the vibrant pink from the text design */
    background: linear-gradient(135deg, #7e64c5, #a254d0, #ec4899, #9452c0, #7e64c5);
    background-size: 400% 400%;
    
    /* Slightly faster speed to make the color transition sharp and modern */
    animation: luxuryPinkFlow 8s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Fluid movement timeline shifting the pink spectrum through the container */
@keyframes luxuryPinkFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Explicit style resets to ensure text remains crisp above the shifting pink */
.text-white-header {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.section-tag-white {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* ==========================================================================
   CONTACT US PAGE STYLES - Luxurious
   ========================================================================== */
.contact-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-header-mini h2 {
    font-family: 'Space Grotesk', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-header-mini p {
    color: #4b5563;
    line-height: 1.7;
}

body.dark .contact-header-mini p { color: #9ca3af; }

.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-card {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 32px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

body.dark .contact-detail-card {
    background: rgba(17, 24, 39, 0.7);
}

.contact-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 35px -15px rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
}

.contact-detail-card .icon-wrapper {
    background: rgba(99, 102, 241, 0.12);
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail-card:hover .icon-wrapper {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    transform: scale(1.05);
}

.icon-wrapper i {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.contact-detail-card:hover .icon-wrapper i {
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-inner-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', monospace;
}

.card-inner-content a {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.card-inner-content p, .card-inner-content address {
    color: #6b7280;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.5;
}

body.dark .card-inner-content p, body.dark .card-inner-content address { color: #9ca3af; }

.contact-glass-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 36px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}

body.dark .contact-glass-form {
    background: rgba(17, 24, 39, 0.6);
    border-color: rgba(99, 102, 241, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-block {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-block label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.input-block input, .input-block textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

body.dark .input-block input, body.dark .input-block textarea {
    border-color: rgba(99, 102, 241, 0.15);
    background: rgba(10, 12, 21, 0.5);
}

.input-block input:focus, .input-block textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-glass-form {
        padding: 2rem 1.5rem;
    }
}

/* ---------- CALL TO ACTION Banner - Stunning ---------- */
.cta-banner {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 56px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
    animation: rotateGlow 20s linear infinite;
}
@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.cta-banner h2 {
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}
.cta-banner p {
    margin: 1rem 0;
    position: relative;
    z-index: 1;
}
.cta-banner .btn-primary {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   CAREERS SECTION - Premium Refinements
   ========================================================================== */
:root {
    --primary-blue: #6366f1;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(99, 102, 241, 0.15);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body.dark-mode {
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-glass: rgba(15, 23, 42, 0.7);
    --border-glass: rgba(99, 102, 241, 0.2);
}

.careers-section {
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.careers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.careers-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.careers-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.careers-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.filter-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 12px 28px;
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.filter-tab:hover, .filter-tab.tab-active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.careers-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.accordion-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.accordion-item:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 35px -12px rgba(99, 102, 241, 0.12);
}

.accordion-header {
    padding: 25px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.role-title-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-pill {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    letter-spacing: 0.05em;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.accordion-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 5px 0 0 0;
    color: var(--text-main);
}

.quick-meta-strip {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
    flex-wrap: wrap;
}

.toggle-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.role-expanded .toggle-icon-circle {
    transform: rotate(180deg);
    background: var(--primary-gradient);
    color: #ffffff;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.inner-details-grid {
    padding: 15px 32px 32px 32px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.details-meta-box {
    display: flex;
    gap: 32px;
    background: rgba(99, 102, 241, 0.04);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.details-meta-box p strong {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.inner-details-grid h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 15px 0 0 0;
    color: var(--text-main);
}

.inner-details-grid p, .inner-details-grid ul {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.inner-details-grid ul {
    padding-left: 20px;
}

.nice-to-haves {
    background: rgba(245, 158, 11, 0.06);
    border-left: 4px solid #f59e0b;
    padding: 14px 22px;
    border-radius: 0 10px 10px 0;
}

.action-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    flex-wrap: wrap;
    gap: 20px;
}

.email-notice a {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    font-weight: 700;
}

.apply-now-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.apply-now-btn:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* ---------- FOOTER - Premium ---------- */
.footer {
    background: linear-gradient(135deg, #0f111a, #0a0c15);
    color: #ccc;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}
.footer-logo {
    font-weight: 800;
    font-size: 1.6rem;
}
.footer-logo span {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}
.footer a:hover { 
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.social-icons i {
    font-size: 1.4rem;
    margin-right: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}
.social-icons i:hover { 
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(-2px);
}
.newsletter input {
    padding: 12px 16px;
    border-radius: 50px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(30, 31, 42, 0.8);
    color: white;
    width: 200px;
}
.newsletter button {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
}
.newsletter button:hover {
    transform: scale(1.05);
}
.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments for hero title spacing on mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin: 1rem 0;
    }
    .hero-content {
        padding: 0 16px;
    }
}

/* Reduce space between Industries and Services section */
.industries-transparent-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#page-services.services-section {
    padding: 30px 0 !important;
    margin-top: 50px !important;
}

.products-section {
    padding-bottom: 20px !important;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    border: none;
    cursor: pointer;
    animation: wa-pulse 1.8s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background-color: #20b859;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Optional: Dark mode adjustment */
.dark-theme .whatsapp-float {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive: Smaller on mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========== PREMIUM MINIMALIST - CEO & DIRECTOR STYLES ========== */
.premium-team {
    margin-top: 60px;
    padding: 0;
}

.premium-container {
    max-width: 1100px;
    margin: 0 auto;
}

.premium-header {
    text-align: center;
    margin-bottom: 3rem;
}

.premium-tag {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #6366f1;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.premium-heading {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Space Grotesk', monospace;
    color: #1a1a2e;
    margin: 0.5rem 0 1rem;
}

body.dark .premium-heading {
    color: #eef2ff;
}

.premium-accent {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.premium-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    margin: 0 auto;
    border-radius: 3px;
}

.premium-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.premium-member {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: transparent;
}

.premium-member-inner {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.05);
}

.premium-member-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 45px -20px rgba(99, 102, 241, 0.2);
}

body.dark .premium-member-inner {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
}

.premium-image-area {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.premium-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-member:hover .premium-image {
    transform: scale(1.05);
}

.premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.premium-quote-mark {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.3);
    font-family: serif;
    line-height: 1;
}

.premium-details {
    padding: 1.8rem;
}

.premium-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

body.dark .premium-name {
    color: #fff;
}

.premium-position {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.premium-bio-short {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1rem;
}

body.dark .premium-bio-short {
    color: #aaa;
}

.premium-signature {
    margin: 1rem 0;
    opacity: 0.6;
}

.premium-contact-links {
    display: flex;
    gap: 1rem;
}

.premium-contact-links a {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.premium-contact-links a:hover {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    transform: translateY(-2px);
}

.premium-footer-note {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.premium-footer-note i {
    color: #6366f1;
}

@media (max-width: 768px) {
    .premium-heading { font-size: 1.8rem; }
    .premium-member { min-width: 280px; }
    .premium-image-area { height: 250px; }
}

/* Product Image Hover Effect */
.product-img-wrapper img {
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.product-flip-container:hover .product-img-wrapper img {
    transform: scale(1.05);
}

/* Dark mode image adjustment */
body.dark .product-img-wrapper {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
}

/* Responsive images */
@media (max-width: 768px) {
    .product-img-wrapper {
        height: 160px !important;
    }
}

         *{margin:0;padding:0;box-sizing:border-box;}
        body{background:#f8fafc;font-family:'Space Grotesk',sans-serif;}
        .container{max-width:1280px;margin:0 auto;padding:0 24px;}
        .products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:32px;perspective:1200px;}
        .product-flip-container{position:relative;height:520px;width:100%;transform-style:preserve-3d;transition:transform 0.5s cubic-bezier(0.23,1,0.32,1);cursor:pointer;}
        .product-front,.product-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;border-radius:28px;padding:22px;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box;}
        .product-front{background:#fff;border:1px solid rgba(37,99,235,0.2);box-shadow:0 10px 25px -8px rgba(0,0,0,0.08);}
        .product-back{transform:rotateY(180deg);background:#fff;border:2px solid #2563eb;box-shadow:0 15px 30px -12px rgba(0,0,0,0.15);}
        .product-flip-container.flipped{transform:rotateY(180deg);}
        /* SQUARE IMAGE SPACE - uniform for all products */
        .product-img-wrapper{width:100%;aspect-ratio:1/1;background:#f1f5f9;border-radius:20px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:18px;}
        .product-img-wrapper img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.25s;}
        .product-img-wrapper img:hover{transform:scale(1.02);}
        .product-front h3{font-size:1.15rem;font-weight:600;line-height:1.35;margin:0 0 12px 0;color:#0f172a;min-height:60px;}
        .product-back h4{font-size:1.1rem;font-weight:600;color:#2563eb;margin:0 0 8px 0;}
        .product-back p{color:#334155;font-size:0.85rem;line-height:1.45;margin-bottom:12px;}
        .product-back ul{list-style:none;padding-left:0;margin:8px 0 0 0;}
        .product-back li{padding-left:20px;position:relative;margin-bottom:8px;font-size:0.82rem;color:#1e293b;line-height:1.4;}
        .product-back li:before{content:"▹";position:absolute;left:4px;color:#2563eb;font-size:0.7rem;}
        .read-more-link,.back-link{font-weight:600;font-size:0.85rem;display:inline-flex;align-items:center;gap:6px;transition:all 0.2s;width:fit-content;cursor:pointer;text-decoration:none;}
        .read-more-link{color:#2563eb;margin-top:6px;}
        .back-link{color:#475569;margin-top:14px;}
        .read-more-link:hover,.back-link:hover{gap:10px;color:#1e40af;}
        .section-title{font-size:1.6rem;font-weight:600;margin-bottom:28px;display:flex;align-items:center;gap:12px;color:#0f172a;}
        .section-title i{color:#2563eb;font-size:1.6rem;}
        .section-divider{border-top:1px solid rgba(37,99,235,0.12);padding-top:48px;margin-top:20px;}
        @media (max-width:640px){.product-flip-container{height:510px;}.section-title{font-size:1.4rem;}.product-front h3{min-height:auto;}}

      * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f8fafc;
    font-family: 'Space Grotesk', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- FIXED 3 COLUMNS WIDE DISPLAY --- */
/* ==========================================================================
   PRODUCT GRID & FLIP CARDS SECTION (Universal Theme Adaptable)
   ========================================================================== */

/* --- Theme Variable Core Configuration --- */
:root {
    --p-card-bg: #ffffff;
    --p-text-main: #0f172a;
    --p-text-muted: #334155;
    --p-text-support: #475569;
    --p-border-front: rgba(37, 99, 235, 0.2);
    --p-border-back: #2563eb;
    --p-img-bg: #f1f5f9;
    --p-primary: #2563eb;
    --p-primary-hover: #1e40af;
    --p-shadow-front: 0 10px 25px -8px rgba(0, 0, 0, 0.08);
    --p-shadow-back: 0 15px 30px -12px rgba(0, 0, 0, 0.15);
}

body.dark {
    --p-card-bg: #111827;
    --p-text-main: #f1f5f9;
    --p-text-muted: #cbd5e1;
    --p-text-support: #94a3b8;
    --p-border-front: rgba(99, 102, 241, 0.3);
    --p-border-back: #6366f1;
    --p-img-bg: linear-gradient(135deg, #1a1a2e, #16213e);
    --p-primary: #6366f1;
    --p-primary-hover: #818cf8;
}

/* --- Layout Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
    perspective: 1200px;
    margin-bottom: 48px;
}

/* --- Flip Container Core --- */
.product-flip-container {
    position: relative;
    height: 460px; 
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.product-flip-container.flipped {
    transform: rotateY(180deg);
}

/* --- Front & Back Card Panes --- */
.product-front, .product-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px; 
    padding: 16px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    background: var(--p-card-bg);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-front {
    border: 1px solid var(--p-border-front);
    box-shadow: var(--p-shadow-front);
}

.product-back {
    transform: rotateY(180deg);
    border: 2px solid var(--p-border-back);
    box-shadow: var(--p-shadow-back);
}

/* --- Image Space Configuration --- */
.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; 
    background: var(--p-img-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    transition: background 0.3s ease;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.product-flip-container:hover .product-img-wrapper img {
    transform: scale(1.05);
}

/* --- Typography Settings --- */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--p-text-main);
    transition: color 0.3s ease;
}

.section-title i {
    color: var(--p-primary);
}

.product-front h3 {
    font-size: 1.05rem;     
    font-weight: 500; 
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: var(--p-text-main);
    min-height: 45px; 
    transition: color 0.3s ease;
}

.product-back h4 {
    font-size: 1.05rem;     
    font-weight: 500; 
    color: var(--p-primary);
    margin: 0 0 6px 0;
    transition: color 0.3s ease;
}

.product-back p {
    color: var(--p-text-muted);
    font-size: 0.82rem; 
    font-weight: 400;
    line-height: 1.45;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

/* --- Features List --- */
.product-back ul {
    list-style: none;
    padding-left: 0;
    margin: 4px 0 0 0;
}

.product-back li {
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
    font-size: 0.8rem;    
    font-weight: 400;
    color: var(--p-text-main);
    line-height: 1.35;
    transition: color 0.3s ease;
}

.product-back li:before {
    content: "▹";
    position: absolute;
    left: 2px;
    color: var(--p-primary);
    font-size: 0.7rem;
}

/* --- UI Links --- */
.read-more-link, .back-link {
    font-weight: 500;       
    font-size: 0.85rem;     
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    width: fit-content;
    cursor: pointer;
    text-decoration: none;
}

.read-more-link {
    color: var(--p-primary);
    margin-top: 2px;
}

.back-link {
    color: var(--p-text-support);
    margin-top: 4px;
}

.read-more-link:hover, .back-link:hover {
    gap: 10px;
    color: var(--p-primary-hover);
}

/* --- Responsive Media Wrappers --- */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    .product-flip-container {
        height: 440px; 
    }
    .section-title {
        font-size: 1.3rem;
    }
    .product-front h3 {
        min-height: auto;
    }
}

.product-flip-container.flipped {
    transform: rotateY(180deg);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; 
    background: #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}

.product-img-wrapper img:hover {
    transform: scale(1.02);
}

/* --- MEDIUM TYPOGRAPHY SETTING --- */
.product-front h3 {
    font-size: 1.05rem;     
    font-weight: 500; 
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #0f172a;
    min-height: 45px; 
}

.product-back h4 {
    font-size: 1.05rem;     
    font-weight: 500; 
    color: #2563eb;
    margin: 0 0 6px 0;
}

.product-back p {
    color: #334155;
    font-size: 0.82rem; 
    font-weight: 400;
    line-height: 1.45;
    margin-bottom: 6px;
}

.product-back ul {
    list-style: none;
    padding-left: 0;
    margin: 4px 0 0 0;
}

.product-back li {
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
    font-size: 0.8rem;     
    font-weight: 400;
    color: #1e293b;
    line-height: 1.35;
}

.product-back li:before {
    content: "▹";
    position: absolute;
    left: 2px;
    color: #2563eb;
    font-size: 0.7rem;
}

.read-more-link, .back-link {
    font-weight: 500;       
    font-size: 0.85rem;     
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    width: fit-content;
    cursor: pointer;
    text-decoration: none;
}

.read-more-link {
    color: #2563eb;
    margin-top: 2px;
}

.back-link {
    color: #475569;
    margin-top: 4px;
}

.read-more-link:hover, .back-link:hover {
    gap: 10px;
    color: #1e40af;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
}

.section-title i {
    color: #2563eb;
    font-size: 1.5rem;
}

/* --- CLEAN RESPONSIVE WRAPPING --- */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    .product-flip-container {
        height: 440px; 
    }
    .section-title {
        font-size: 1.3rem;
    }
    .product-front h3 {
        min-height: auto;
    }
}

 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* ========== BASE & DARK MODE READY ========== */
        :root {
            --bg-color: #f8fafc;
            --text-color: #0f172a;
            --card-bg-light: rgba(255, 255, 255, 0.88);
            --card-bg-dark: rgba(17, 24, 39, 0.85);
            --primary-gradient-start: #6366f1;
            --primary-gradient-end: #a855f7;
            --hex-border-light: rgba(99, 102, 241, 0.2);
            --hex-border-dark: rgba(99, 102, 241, 0.35);
            --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.03);
            --shadow-hover: 0 30px 45px -15px rgba(99, 102, 241, 0.25);
        }

        body {
            font-family: 'Inter', 'Space Grotesk', sans-serif;
            background: linear-gradient(135deg, #fefefe 0%, #f1f5f9 100%);
            color: #1e293b;
            overflow-x: hidden;
            transition: background 0.4s ease, color 0.3s ease;
        }

        body.dark {
            background: linear-gradient(135deg, #0a0c15 0%, #0f172a 100%);
            color: #eef2ff;
        }

        body.dark .about-hex-card-inner {
            background: linear-gradient(145deg, #111827, #1e293b);
            color: #eef2ff;
            border-color: rgba(99, 102, 241, 0.3);
        }

        body.dark .section-tag,
        body.dark .section-header h2 {
            background: linear-gradient(135deg, #a5f3fc, #c084fc);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        /* ========== ABOUT SECTION ========== */

        /* Ensure the image container has a completely clean background */
.premium-image-area {
    background: transparent !important;
}

/* Force the images to have normal exposure, removing dark filters or blend modes */
.premium-image {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

/* Remove or hide the dark overlay background element completely */
.premium-overlay {
    background: transparent !important;
    background-image: none !important;
    opacity: 0; /* Keeps it hidden unless you want text to hover over seamlessly */
    transition: opacity 0.3s ease;
}

/* Optional: If you still want the quote mark (“) to appear on hover without the dark shade */
.premium-member:hover .premium-overlay {
    opacity: 1;
    background: transparent !important; /* Forces background to stay clear */
}

        .about-section {
            padding: 100px 0;
            font-family: 'Inter', sans-serif;
            position: relative;
        }

        .about-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .about-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        /* LEFT SIDE CONTENT */
        .about-content-left {
            padding-right: 1rem;
        }

        .section-tag {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 5px;
            background: linear-gradient(135deg, #6366f1, #a855f7);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .about-content-left h2 {
            font-size: 3.2rem;
            font-weight: 700;
            margin-top: 0.5rem;
            margin-bottom: 1.5rem;
            font-family: 'Space Grotesk', monospace;
            line-height: 1.2;
        }

        .gradient-text-head {
            background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            background-size: 200% auto;
        }

        .about-description {
            color: #475569;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        body.dark .about-description {
            color: #cbd5e1;
        }

        .about-description p {
            margin-bottom: 1rem;
        }

        .stats-mini {
            display: flex;
            gap: 1rem;
            margin: 1.8rem 0;
            flex-wrap: wrap;
        }

        .stat-badge {
            background: rgba(99, 102, 241, 0.08);
            backdrop-filter: blur(4px);
            padding: 0.7rem 1.4rem;
            border-radius: 60px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(99, 102, 241, 0.2);
        }

        body.dark .stat-badge {
            background: rgba(30, 41, 59, 0.6);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .stat-badge i {
            background: linear-gradient(135deg, #6366f1, #a855f7);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-size: 1.1rem;
        }

        .about-btn-primary {
            display: inline-block;
            padding: 0.9rem 2.2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            background: linear-gradient(135deg, #6366f1, #a855f7);
            color: white;
            border: none;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
            cursor: pointer;
        }

        .about-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
        }

        /* ========== HEXAGON CLUSTER - CLICKABLE LINKS TO PAGES ========== */
        .about-hexagon-right {
            position: relative;
            min-height: 550px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .about-hex-cluster {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.8rem;
            position: relative;
            width: 100%;
        }

        /* Base hex card - interactive link wrapper */
        .about-hex-card{
    width:260px;
    height:290px;
    position:relative;
    cursor:pointer;
    text-decoration:none;
    display:block;
    transition:transform .3s cubic-bezier(.2,.9,.4,1.1);
}

/* Hexagon Border */
.about-hex-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:#8E8E8E;      /* Border Color */
    clip-path:polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );
}

        /* Offsets for honeycomb layout */
        .about-pos-top {
            transform: translateY(-40px);
        }
        .about-pos-mid-left {
            transform: translateX(-15px) translateY(10px);
        }
        .about-pos-mid-right {
            transform: translateX(15px) translateY(10px);
        }
        .about-pos-bottom {
            transform: translateY(55px);
        }

        /* Inner card styling (static, no flip) */
       .about-hex-card-inner{
    position:absolute;
    inset:3px;                /* Border Thickness */
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:1.8rem;

    clip-path:polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );

    background:linear-gradient(145deg,#ffffff,#f8fafc);
    color:#0f172a;

    box-shadow:0 12px 25px rgba(0,0,0,.08);

    transition:.35s;
}

.about-hex-card:hover::before{
    background: #f0f0f0;
}

.about-hex-card:hover .about-hex-card-inner{
    transform:scale(.98);
}

        body.dark .about-hex-card-inner {
            background: linear-gradient(145deg, #111827, #1e293b);
            border-color: rgba(99, 102, 241, 0.4);
            color: #f1f5f9;
        }

        .about-hex-card-inner{

    background:#ffffff;

    border:3px solid #6366F1;

    box-shadow:
        0 12px 25px rgba(99,102,241,.18);

}

        .about-hex-card-inner h3 {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.3px;
            margin: 0.5rem 0 0;
        }

        /* Hover effect: subtle scale & glow */
        .about-hex-card:hover .about-hex-card-inner {
            transform: scale(1.02);
            box-shadow: var(--shadow-hover);
            border-color: rgba(168, 85, 247, 0.6);
        }

        /* Small indicator arrow on hover (optional) */
        .about-hex-card:hover .about-hex-card-inner::after {
            content: "→";
            position: absolute;
            bottom: 20px;
            right: 25px;
            font-size: 1.2rem;
            opacity: 0.8;
            color: #a855f7;
            font-weight: 600;
        }

        body.dark .about-hex-card:hover .about-hex-card-inner::after {
            color: #c084fc;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .about-layout {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .about-pos-top,
            .about-pos-mid-left,
            .about-pos-mid-right,
            .about-pos-bottom {
                transform: translate(0, 0) !important;
            }
            .about-hex-cluster {
                gap: 1.5rem;
            }
            .about-hex-card {
                width: 240px;
                height: 270px;
            }
        }

        @media (max-width: 768px) {
            .about-section { padding: 60px 0; }
            .about-content-left h2 { font-size: 2.2rem; }
            .about-hex-card { width: 210px; height: 240px; }
            .about-hex-card-inner i { font-size: 2.3rem; }
            .about-hex-card-inner h3 { font-size: 1.2rem; }
        }

        @media (max-width: 550px) {
            .about-hex-card { width: 180px; height: 210px; }
            .about-hex-card-inner i { font-size: 2rem; }
            .about-hex-card-inner h3 { font-size: 1rem; }
        }

        /* Animation for cards */
        .about-hex-card {
            animation: fadeSlideUp 0.5s ease backwards;
        }
        .about-hex-card:nth-child(1) { animation-delay: 0.05s; }
        .about-hex-card:nth-child(2) { animation-delay: 0.15s; }
        .about-hex-card:nth-child(3) { animation-delay: 0.25s; }
        .about-hex-card:nth-child(4) { animation-delay: 0.35s; }

        @keyframes fadeSlideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ========== PAGE TRANSITION / NOTIFICATION STYLES (for demo pages) ========== */
        .demo-page-notice {
            display: none;
        }

    /* Light theme (default) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-muted: #475569;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.92);
    --nav-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    --border-light: #e2e8f0;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --footer-bg: #f1f5f9;
    --input-bg: #ffffff;
}

/* Dark theme */
body.dark {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --card-bg: #1e293b;
    --card-border: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(15, 23, 42, 0.92);
    --nav-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --border-light: #334155;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --footer-bg: #020617;
    --input-bg: #0f172a;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Theme toggle button styles */
.theme-toggle, .nav-theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.theme-toggle:hover, .nav-theme-toggle:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Layout Grid Setup --- */
.premium-team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
}

/* --- The Core Fix: Absolute containers MUST have an exact height specified here --- */
.premium-member {
    width: 320px;
    height: 460px;
    perspective: 1200px; /* Activates 3D spacing */
    cursor: pointer;
    background: transparent;
}

.premium-card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d; /* Allows nested elements to live in 3D space */
}

/* --- Trigger Class applied by JS --- */
.premium-member.is-flipped .premium-card-flipper {
    transform: rotateY(180deg);
}

/* --- Card Sides Baseline Configuration --- */
.premium-card-front, 
.premium-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Safari Engine Fix */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-sizing: border-box;
}

/* --- Front Styles --- */
.premium-card-front {
    background: #ffffff;
    z-index: 2;
    transform: rotateY(0deg);
    border: 1px solid #f0f0f0;
}

.premium-image-area {
    width: 100%;
    height: 70%;
    position: relative;
    background: #f9fafb;
}

.premium-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-details {
    padding: 20px;
    text-align: center;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-name {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: #111827;
}

.premium-position {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* --- Back Styles (White Theme) --- */
.premium-card-back {
    background: #ffffff; 
    color: #374151;
    transform: rotateY(180deg); /* Pre-flipped facing away */
    z-index: 1;
    border: 1px solid #e5e7eb; /* Keeps it distinct against light pages */
}

.back-content {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.back-name {
    font-size: 1.22rem;
    margin: 0 0 4px 0;
    color: #111827;
}

.back-role {
    font-size: 0.88rem;
    color: #3b82f6;
    font-weight: 600;
}

.back-divider {
    height: 2px;
    width: 40px;
    background: #3b82f6;
    margin: 15px 0;
}

.back-bio-full {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.back-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.spec-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.flip-back-hint {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

/* Forces the back side of the team cards to remain crisp and readable */
    .premium-card-back {
        background-color: #ffffff !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
        padding: 30px !important;
        box-sizing: border-box;
    }

    /* Locks the executive names to a deep, dark slate blue */
    .premium-card-back h3.back-name,
    .premium-card-back .back-content h3 {
        color: #07286b !important;
        font-family: 'Space Grotesk', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.5rem !important;
        margin-bottom: 4px !important;
    }

    /* Sets the role/position title to your primary brand blue */
    .premium-card-back span.back-role {
        color: #2563eb !important;
        font-weight: 600 !important;
        font-size: 1rem !important;
        display: block !important;
        margin-bottom: 12px !important;
    }

    /* Cleans up the divider line color */
    .premium-card-back .back-divider {
        border-top: 2px solid #e2e8f0 !important;
        background: #e2e8f0 !important;
        height: 2px !important;
        margin: 12px 0 !important;
        opacity: 1 !important;
    }

    /* Forces the full bio paragraph text to a clear, dark readable charcoal gray */
    .premium-card-back p.back-bio-full,
    .premium-card-back .back-content p {
        color: #334155 !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        font-weight: 400 !important;
        margin-bottom: 20px !important;
    }

    /* Styles the specialty tags so they pop neatly against the white card background */
    .premium-card-back .back-specialties .spec-tag {
        background-color: rgba(37, 99, 235, 0.08) !important;
        color: #2563eb !important;
        border: 1px solid rgba(37, 99, 235, 0.15) !important;
        font-weight: 600 !important;
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        border-radius: 20px !important;
    }

    /* Sets the bottom 'flip back' helper hint to a subtle muted gray */
    .premium-card-back span.flip-back-hint {
        color: #64748b !important;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
        opacity: 0.8 !important;
    }

    /* Locks the entire slider track wrapper to a clean white ribbon layout */
    .logo-marquee-container {
        background-color: #ffffff !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        padding: 24px 0 !important; /* Adds professional spacing above and below logos */
        border-radius: 8px !important; /* Optional: adds smooth rounded edges to the white strip */
    }

    /* Standardizes the individual logo wrappers to blend perfectly */
    .logo-marquee-track .logo-item {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* Guarantees no dark-mode invert filters or opacities hide the logos */
    .logo-marquee-track .logo-item img {
        filter: none !important;
        -webkit-filter: none !important;
        opacity: 1 !important;
        mix-blend-mode: normal !important; /* Keeps the original brand asset coloring accurate */
    }

    /* Ensure the container sets up the 3D space */
.product-flip-container {
    perspective: 1000px;
    position: relative;
    width: 100%; /* Or your custom width */
    height: 400px; /* Adjust height based on your layout */
}

/* This is the inner wrapper that actually rotates */
.product-flip-container .product-front,
.product-flip-container .product-back {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    backface-visibility: hidden;
    
    /* CHANGED: Increased from 0.6s to 1.5s for a much slower, smoother flip */
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1); 
    
    box-sizing: border-box;
}

/* Initial states */
.product-front {
    transform: rotateY(0deg);
    z-index: 2;
}

.product-back {
    transform: rotateY(180deg);
}

/* Trigger the flip on Hover */
.product-flip-container:hover .product-front {
    transform: rotateY(-180deg);
}

.product-flip-container:hover .product-back {
    transform: rotateY(0deg);
}

/* --- SERVICES GRID BASE --- */
#servicesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
}

/* --- ADVANCED CARD DESIGN --- */
.service-card-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- IMAGE HOVER (ZOOM EFFECT) --- */
.service-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-item:hover .service-img-top {
    transform: scale(1.06);
}

/* --- CARD CONTENT --- */
.service-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* --- TITLE HOVER (ACCENT LINE EFFECT) --- */
.service-card-content h3 {
    font-size: 1.35rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

/* The Animated Line */
.service-card-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0066cc; /* Change to your brand color */
    transition: width 0.3s ease;
}

.service-card-item:hover .service-card-content h3::after {
    width: 50px; /* Expands line on card hover */
}

/* --- DESCRIPTION --- */
.service-short-desc {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* --- BUTTON HOVER (INTERACTIVE ARROW) --- */
.service-readmore-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: #0066cc; /* Change to your brand color */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    transition: color 0.3s ease;
}

.service-readmore-btn i {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Hover Actions targeting internal elements */
.service-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.service-card-item:hover .service-readmore-btn {
    color: #004499; /* Darker shade on hover */
}

.service-card-item:hover .service-readmore-btn i {
    transform: translateX(6px); /* Arrow shoots outward */
}

/* launch badge */
        .launch-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #7b3ff4;
            color: #fff;
            font-weight: 700;
            font-size: 0.7rem;
            padding: 4px 12px;
            border-radius: 30px;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 8px rgba(244,63,94,0.3);
            z-index: 5;
            text-transform: uppercase;
        }

        /* action row inside back */
        .back-actions {
            display: flex;
            gap: 12px;
            margin-top: 16px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .back-actions .btn-sm {
            padding: 6px 16px;
            border-radius: 40px;
            font-size: 0.75rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: 1px solid #2563eb;
            background: transparent;
            color: #2563eb;
            transition: 0.2s;
        }
        .back-actions .btn-sm:hover { background: #2563eb; color: #fff; }
        .back-actions .btn-sm.primary { background: #2563eb; color: #fff; border-color: #2563eb; }
        .back-actions .btn-sm.primary:hover { background: #1d4ed8; }

       /* ============================================================
   MOBILE RESPONSIVE FIXES - Add this to your CSS
   ============================================================ */

/* --- Fix Hero Text Wrapping --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-content .hero-desc span:first-child {
        white-space: normal !important;
        font-size: 1rem !important;
        display: block !important;
    }
    
    .hero-content .hero-desc span:last-child {
        font-size: 0.9rem !important;
        padding: 0 10px;
    }
    
    .hero-buttons .btn-primary {
        font-size: 0.85rem !important;
        padding: 0.7rem 1.4rem !important;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* --- Products Grid: 2 columns on tablet, 1 on mobile --- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .product-flip-container {
        height: 400px !important;
    }
    
    .product-front h3 {
        font-size: 0.95rem !important;
        min-height: auto !important;
    }
    
    .product-img-wrapper {
        height: 160px !important;
    }
}

/* --- Services Grid --- */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .services-header h2 {
        font-size: 1.8rem !important;
    }
    
    .service-card-content h3 {
        font-size: 1.1rem !important;
    }
    
    .service-card-content {
        padding: 1.2rem !important;
    }
}

/* --- About Section --- */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .about-content-left h2 {
        font-size: 2rem !important;
    }
    
    .about-hex-cluster {
        gap: 1rem !important;
        justify-content: center !important;
    }
    
    .about-pos-top,
    .about-pos-mid-left,
    .about-pos-mid-right,
    .about-pos-bottom {
        transform: none !important;
    }
}

@media (max-width: 550px) {
    .about-hex-card {
        width: 160px !important;
        height: 190px !important;
    }
    
    .about-hex-card-inner h3 {
        font-size: 0.9rem !important;
    }
    
    .about-hex-card-inner i {
        font-size: 1.8rem !important;
    }
    
    .about-hex-card-inner {
        padding: 1rem !important;
    }
}

/* --- Contact Section --- */
@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column !important;
        gap: 24px !important;
    }
    
    .contact-info-column,
    .contact-form-column {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    
    .contact-glass-form {
        padding: 1.5rem !important;
    }
    
    .form-row {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .input-block input,
    .input-block textarea {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }
    
    .contact-detail-card {
        padding: 14px !important;
        flex-wrap: wrap !important;
    }
    
    .contact-header-mini h2 {
        font-size: 1.6rem !important;
    }
}

/* --- Industry Tags --- */
@media (max-width: 768px) {
    .industries-clean-grid {
        gap: 0.7rem !important;
        justify-content: center !important;
    }
    
    .industry-name-item {
        padding: 0.4rem 1rem !important;
        font-size: 0.75rem !important;
    }
    
    .industries-heading-full {
        font-size: 1.8rem !important;
    }
}

/* --- Stats Section --- */
@media (max-width: 600px) {
    .stats-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .stat-block {
        width: 100%;
        max-width: 200px;
        padding: 1.2rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
}

/* --- Navigation --- */
@media (max-width: 960px) {
    .nav-container {
        padding: 10px 16px !important;
        min-height: 70px !important;
    }
    
    #site-logo {
        height: 50px !important;
    }
    
    .nav-links {
        top: 70px !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        padding: 2rem 1rem !important;
        gap: 1.2rem !important;
    }
    
    .nav-links a {
        font-size: 1rem !important;
        padding: 8px 0 !important;
    }
}

/* --- Testimonials --- */
@media (max-width: 768px) {
    .testimonial-track {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        padding: 0 10px !important;
    }
    
    .testimonial-card {
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px !important;
    }
}

/* --- CTA Banner --- */
@media (max-width: 768px) {
    .cta-banner {
        padding: 2.5rem 1rem !important;
        border-radius: 24px !important;
        margin: 1rem !important;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem !important;
    }
    
    .cta-banner p {
        font-size: 0.95rem !important;
    }
}

/* --- Premium Team Cards --- */
@media (max-width: 768px) {
    .premium-team-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px !important;
    }
    
    .premium-member {
        width: 280px !important;
        height: 420px !important;
    }
}

/* --- Logo Marquee --- */
@media (max-width: 768px) {
    .logo-card {
        width: 140px !important;
        height: 80px !important;
        margin: 0 8px !important;
        padding: 10px !important;
    }
    
    .logo-marquee-track {
        gap: 2rem !important;
    }
}

/* --- Features Grid --- */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .feature-card {
        padding: 1.2rem !important;
    }
    
    .feature-card h3 {
        font-size: 0.95rem !important;
    }
    
    .feature-card p {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- Footer --- */
@media (max-width: 768px) {
    footer > div > div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }
    
    footer .social-icons {
        justify-content: center !important;
    }
    
    footer .quick-links {
        justify-content: center !important;
    }
}

/* --- WhatsApp Float --- */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
        font-size: 24px !important;
        bottom: 16px !important;
        right: 16px !important;
    }
}

/* --- Section Padding --- */
@media (max-width: 768px) {
    section {
        padding: 2rem 0 !important;
    }
    
    .container {
        padding: 0 16px !important;
    }
    
    .section-header h2 {
        font-size: 1.6rem !important;
    }
}

/* --- Fix overlapping elements --- */
@media (max-width: 768px) {
    .about-hexagon-right {
        min-height: auto !important;
        padding: 20px 0 !important;
    }
    
    .about-hex-cluster {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px !important;
    }
}
/* ============================================================
   COMPLETE MOBILE RESPONSIVE FIXES
   ============================================================ */

/* --- FIX: Mobile Menu Background Gradient --- */
@media (max-width: 960px) {
    .nav-links {
        background: linear-gradient(135deg, #0a0c15 0%, #1a1a3e 100%) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-right: 1px solid rgba(99, 102, 241, 0.2) !important;
    }
    
    body:not(.dark) .nav-links {
        background: linear-gradient(135deg, #f8fafc 0%, #e8ecf8 100%) !important;
        border-right: 1px solid rgba(99, 102, 241, 0.15) !important;
    }
    
    .nav-links a {
        color: #eef2ff !important;
        font-size: 1.1rem !important;
        padding: 12px 20px !important;
        border-radius: 12px !important;
        width: 100% !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }
    
    body:not(.dark) .nav-links a {
        color: #0f172a !important;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: linear-gradient(135deg, #6366f1, #a855f7) !important;
        color: #ffffff !important;
        transform: scale(1.02) !important;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3) !important;
    }
    
    body:not(.dark) .nav-links a:hover,
    body:not(.dark) .nav-links a.active {
        color: #ffffff !important;
    }
    
    /* Hamburger icon color fix */
    .hamburger span {
        background: #0f172a !important;
    }
    
    body.dark .hamburger span {
        background: #eef2ff !important;
    }
}

/* --- FIX: Product Images Visible on Mobile --- */
@media (max-width: 600px) {
    .product-flip-container {
        height: 380px !important;
        margin-bottom: 16px !important;
    }
    
    .product-img-wrapper {
        height: 150px !important;
        background: #f1f5f9 !important;
        border-radius: 12px !important;
        margin-bottom: 10px !important;
    }
    
    .product-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 8px !important;
    }
    
    .product-front,
    .product-back {
        padding: 14px !important;
        border-radius: 16px !important;
    }
    
    .product-front h3 {
        font-size: 0.9rem !important;
        min-height: auto !important;
        margin-bottom: 4px !important;
    }
    
    .product-back h4 {
        font-size: 0.95rem !important;
    }
    
    .product-back p {
        font-size: 0.78rem !important;
    }
    
    .product-back li {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
    }
    
    .back-actions {
        gap: 8px !important;
        margin-top: 10px !important;
    }
    
    .back-actions .btn-sm {
        padding: 4px 12px !important;
        font-size: 0.65rem !important;
    }
    
    /* Dark mode product images */
    body.dark .product-img-wrapper {
        background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    }
}

/* --- FIX: "Why Industry Leaders Choose Us" Section --- */
@media (max-width: 768px) {
    .why-us .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 4px !important;
    }
    
    .why-us .feature-card {
        padding: 16px 12px !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(99, 102, 241, 0.1) !important;
        text-align: center !important;
        min-height: 120px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    body.dark .why-us .feature-card {
        background: rgba(17, 24, 39, 0.8) !important;
        border-color: rgba(99, 102, 241, 0.2) !important;
    }
    
    .why-us .feature-card i {
        font-size: 1.8rem !important;
        margin-bottom: 6px !important;
    }
    
    .why-us .feature-card h3 {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
        font-weight: 700 !important;
    }
    
    .why-us .feature-card p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        color: #64748b !important;
    }
    
    body.dark .why-us .feature-card p {
        color: #94a3b8 !important;
    }
    
    .why-us .section-header h2 {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    .why-us .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .why-us .feature-card {
        padding: 12px 8px !important;
        min-height: 100px !important;
    }
    
    .why-us .feature-card i {
        font-size: 1.4rem !important;
    }
    
    .why-us .feature-card h3 {
        font-size: 0.75rem !important;
    }
    
    .why-us .feature-card p {
        font-size: 0.65rem !important;
    }
}

/* --- FIX: Footer Social Media Links --- */
@media (max-width: 768px) {
    footer > div > div {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    footer .social-icons,
    footer [style*="display: flex; gap: 12px;"] {
        justify-content: center !important;
        gap: 16px !important;
    }
    
    footer .social-icons a,
    footer [style*="display: flex; gap: 12px;"] a {
        font-size: 1.3rem !important;
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    
    body.dark footer .social-icons a,
    body.dark footer [style*="display: flex; gap: 12px;"] a {
        background: rgba(255, 255, 255, 0.08) !important;
    }
    
    footer .social-icons a:hover,
    footer [style*="display: flex; gap: 12px;"] a:hover {
        background: linear-gradient(135deg, #6366f1, #a855f7) !important;
        transform: translateY(-3px) scale(1.1) !important;
        color: #ffffff !important;
    }
    
    footer .social-icons a i,
    footer [style*="display: flex; gap: 12px;"] a i {
        font-size: 1.1rem !important;
    }
    
    /* Footer text alignment */
    footer [style*="font-weight: 700"] {
        font-size: 0.8rem !important;
    }
    
    footer p[style*="margin: 0"] {
        font-size: 0.65rem !important;
    }
    
    footer .quick-links,
    footer [style*="display: flex; flex-wrap: wrap;"] {
        justify-content: center !important;
        gap: 4px 12px !important;
    }
    
    footer .quick-links a,
    footer [style*="display: flex; flex-wrap: wrap;"] a {
        font-size: 0.7rem !important;
        padding: 4px 8px !important;
    }
}

/* --- Additional Mobile Fixes --- */

/* Fix for hero section on mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
        min-height: auto !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-tagline {
        font-size: 0.7rem !important;
        letter-spacing: 2px !important;
    }
    
    .hero-desc {
        font-size: 0.9rem !important;
        padding: 0 10px !important;
    }
    
    .hero-desc span:first-child {
        font-size: 0.95rem !important;
        white-space: normal !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 10px auto 0 !important;
        gap: 10px !important;
    }
    
    .hero-buttons .btn-primary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
        border-radius: 30px !important;
    }
}

/* Fix for stats section on mobile */
@media (max-width: 600px) {
    .stats-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 8px !important;
    }
    
    .stat-block {
        padding: 14px 10px !important;
        border-radius: 20px !important;
        min-width: auto !important;
        width: 100% !important;
    }
    
    .stat-number {
        font-size: 1.6rem !important;
    }
    
    .stat-block div:last-child {
        font-size: 0.7rem !important;
    }
}

/* Fix for trusted partners section */
@media (max-width: 768px) {
    .logo-card {
        width: 120px !important;
        height: 70px !important;
        margin: 0 6px !important;
        padding: 8px !important;
        border-radius: 10px !important;
    }
    
    .logo-card img {
        object-fit: contain !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .logo-marquee-track {
        gap: 1.5rem !important;
    }
}

/* Fix for CTA banner buttons */
@media (max-width: 768px) {
    .cta-banner .btn-primary {
        display: inline-block !important;
        padding: 0.7rem 1.8rem !important;
        font-size: 0.85rem !important;
        width: auto !important;
        min-width: 200px !important;
    }
}

/* Fix for modal on mobile */
@media (max-width: 768px) {
    .service-modal-container {
        padding: 1.5rem !important;
        margin: 0 16px !important;
        border-radius: 24px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }
    
    .service-modal-container h3 {
        font-size: 1.3rem !important;
        padding-right: 1.5rem !important;
    }
    
    .service-modal-container p {
        font-size: 0.9rem !important;
    }
    
    .service-modal-close {
        top: 0.8rem !important;
        right: 1rem !important;
        font-size: 1.5rem !important;
    }
}

/* ============================================================
   MOBILE MENU - Clean Gradient (Shows/Hides Properly)
   ============================================================ */

/* Animation for gradient backgrounds */
@keyframes purpleGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 960px) {
    /* Mobile menu - hidden by default */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 380px !important;
        height: 100vh !important;
        /* GRADIENT BACKGROUND */
        background: linear-gradient(160deg, #0f0518 0%, #1a0a2e 25%, #2d1b4e 50%, #4a1a6b 75%, #0f0518 100%) !important;
        background-size: 200% 200% !important;
        animation: purpleGradientMove 10s ease infinite !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 3rem 1.5rem !important;
        transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
        border-right: 2px solid rgba(168, 85, 247, 0.3) !important;
        box-shadow: 0 20px 60px rgba(74, 26, 107, 0.7) !important;
        z-index: 9998 !important;
        gap: 1rem !important;
        overflow-y: auto !important;
        display: flex !important;
        /* Ensure text is visible */
        color: #f5e8ff !important;
    }
    
    /* Light mode - lighter purple gradient */
    body:not(.dark) .nav-links {
        background: linear-gradient(160deg, #dcc4f0 0%, #c9a8e8 25%, #b88ad4 50%, #c9a8e8 75%, #dcc4f0 100%) !important;
        background-size: 200% 200% !important;
        animation: purpleGradientMove 10s ease infinite !important;
        border-right: 2px solid rgba(168, 85, 247, 0.4) !important;
        box-shadow: 0 20px 60px rgba(74, 26, 107, 0.2) !important;
        color: #2d1b4e !important;
    }
    
    /* When menu is OPEN - slide in from left */
    .nav-links.active {
        left: 0 !important;
    }
    
    /* When menu is CLOSED - slide out to left */
    .nav-links:not(.active) {
        left: -100% !important;
    }
    
    /* Menu links */
    .nav-links a {
        color: #f5e8ff !important;
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        padding: 16px 32px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
        letter-spacing: 0.5px !important;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15)) !important;
        border: 1px solid rgba(168, 85, 247, 0.2) !important;
        backdrop-filter: blur(4px) !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        text-decoration: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body:not(.dark) .nav-links a {
        color: #2d1b4e !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(168, 85, 247, 0.15)) !important;
        border: 1px solid rgba(168, 85, 247, 0.2) !important;
        text-shadow: none !important;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: linear-gradient(135deg, #7c3aed, #a855f7, #d946ef) !important;
        color: #ffffff !important;
        transform: scale(1.05) !important;
        box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5) !important;
        border-color: transparent !important;
    }
    
    body:not(.dark) .nav-links a:hover,
    body:not(.dark) .nav-links a.active {
        color: #ffffff !important;
        background: linear-gradient(135deg, #7c3aed, #a855f7, #d946ef) !important;
    }
    
    .nav-links a::after,
    .nav-links a.active::after {
        display: none !important;
        content: none !important;
    }
    
    /* Hamburger icon */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        cursor: pointer !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12)) !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(168, 85, 247, 0.2) !important;
        z-index: 9999 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    
    .hamburger:hover {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25)) !important;
        border-color: rgba(168, 85, 247, 0.4) !important;
    }
    
    .hamburger span {
        width: 28px !important;
        height: 3px !important;
        background: #2d1b4e !important;
        transition: all 0.3s ease !important;
        border-radius: 4px !important;
        display: block !important;
    }
    
    body.dark .hamburger span {
        background: #eef2ff !important;
    }
    
    body.dark .hamburger {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(124, 58, 237, 0.2)) !important;
        border-color: rgba(168, 85, 247, 0.3) !important;
    }
    
    body.dark .hamburger:hover {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(124, 58, 237, 0.35)) !important;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px) !important;
    }
    
    /* Fix for body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }
}

/* ============================================================
   MOBILE MENU - DARKER BACKGROUND + COLORED WORDS
   ============================================================ */

/* Dark Purple Gradient Animation */
@keyframes darkPurpleFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 960px) {
    /* Hamburger icon - visible and clickable */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        cursor: pointer !important;
        padding: 12px 14px !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15)) !important;
        transition: all 0.3s ease !important;
        border: 1.5px solid rgba(168, 85, 247, 0.25) !important;
        z-index: 99999 !important;
        position: relative !important;
        flex-shrink: 0 !important;
        min-width: 48px !important;
        min-height: 48px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hamburger:hover {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3)) !important;
        border-color: rgba(168, 85, 247, 0.5) !important;
        transform: scale(1.05) !important;
    }
    
    .hamburger span {
        width: 30px !important;
        height: 3.5px !important;
        background: #1a0a2e !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-radius: 4px !important;
        display: block !important;
        margin: 0 !important;
    }
    
    body.dark .hamburger span {
        background: #eef2ff !important;
    }
    
    body.dark .hamburger {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(124, 58, 237, 0.2)) !important;
        border-color: rgba(168, 85, 247, 0.3) !important;
    }
    
    body.dark .hamburger:hover {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(124, 58, 237, 0.35)) !important;
    }
    
    /* Hamburger animation - X transformation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px) !important;
        width: 30px !important;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px) !important;
        width: 30px !important;
    }
    
    /* Mobile menu - EXTRA DARKER PURPLE GRADIENT */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 380px !important;
        height: 100vh !important;
        /* EXTRA DARKER PURPLE GRADIENT */
        background: linear-gradient(160deg, 
            #04000a 0%,
            #0a0218 15%,
            #12052a 30%,
            #1a0a3a 50%,
            #12052a 70%,
            #0a0218 85%,
            #04000a 100%
        ) !important;
        background-size: 200% 200% !important;
        animation: darkPurpleFlow 12s ease infinite !important;
        backdrop-filter: blur(35px) !important;
        -webkit-backdrop-filter: blur(35px) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 3rem 1.5rem !important;
        transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-right: 2px solid rgba(168, 85, 247, 0.15) !important;
        box-shadow: 20px 0 80px rgba(0, 0, 0, 0.95) !important;
        z-index: 99998 !important;
        gap: 1.2rem !important;
        overflow-y: auto !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Dark overlay for extra darkness */
    .nav-links::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        pointer-events: none !important;
        z-index: 0 !important;
    }
    
    /* Glow effect */
    .nav-links::before {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -50% !important;
        width: 200% !important;
        height: 200% !important;
        background: radial-gradient(circle at 30% 40%, rgba(124, 58, 237, 0.08), transparent 60%) !important;
        pointer-events: none !important;
        z-index: 0 !important;
        animation: darkGlowPulse 6s ease-in-out infinite !important;
    }
    
    @keyframes darkGlowPulse {
        0%, 100% { opacity: 0.3; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(1.1); }
    }
    
    /* Ensure content stays above overlay */
    .nav-links a {
        z-index: 1 !important;
        position: relative !important;
    }
    
    /* When menu is OPEN - slide in */
    .nav-links.active {
        left: 0 !important;
    }
    
    /* When menu is CLOSED - slide out */
    .nav-links:not(.active) {
        left: -100% !important;
    }
    
    /* ============================================================
       MENU WORDS - COLORED AND VISIBLE
       ============================================================ */
    .nav-links a {
        /* GRADIENT TEXT - Purple to Pink */
        background: linear-gradient(135deg, #c084fc 0%, #a78bfa 30%, #818cf8 60%, #c084fc 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        color: transparent !important;
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        padding: 16px 32px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        letter-spacing: 0.5px !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(168, 85, 247, 0.12) !important;
        backdrop-filter: blur(4px) !important;
        text-shadow: 0 0 20px rgba(168, 85, 247, 0.2) !important;
        text-decoration: none !important;
        display: block !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        margin: 0 !important;
        background-size: 200% 200% !important;
        animation: textGradientFlow 4s ease infinite !important;
    }
    
    /* Text gradient animation */
    @keyframes textGradientFlow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    /* Hover state - WHITE TEXT with glow */
    .nav-links a:hover,
    .nav-links a.active {
        background: linear-gradient(135deg, #6d28d9, #7c3aed, #8b5cf6) !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        color: #ffffff !important;
        transform: scale(1.05) !important;
        box-shadow: 0 8px 40px rgba(124, 58, 237, 0.6) !important;
        border-color: rgba(168, 85, 247, 0.3) !important;
        text-shadow: 0 0 30px rgba(168, 85, 247, 0.5) !important;
        animation: none !important;
    }
    
    /* Remove underlines */
    .nav-links a::after,
    .nav-links a.active::after {
        display: none !important;
        content: none !important;
    }
    
    /* Light mode - brighter text */
    body:not(.dark) .nav-links a {
        background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 30%, #5b21b6 60%, #7c3aed 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        color: transparent !important;
        text-shadow: 0 0 30px rgba(124, 58, 237, 0.3) !important;
        border-color: rgba(168, 85, 247, 0.15) !important;
    }
    
    body:not(.dark) .nav-links a:hover,
    body:not(.dark) .nav-links a.active {
        background: linear-gradient(135deg, #6d28d9, #7c3aed, #8b5cf6) !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        color: #ffffff !important;
        text-shadow: 0 0 30px rgba(168, 85, 247, 0.4) !important;
    }
    
    /* Fix for body scroll */
    body.menu-open {
        overflow: hidden !important;
    }
    
    /* Navbar container adjustments */
    .nav-container {
        padding: 8px 16px !important;
        min-height: 78px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    
    /* Logo */
    .logo-link {
        flex-shrink: 0 !important;
    }
    
    #site-logo {
        height: 60px !important;
        width: auto !important;
    }
}

