/**
 * Elhamd Commercial Theme - Dynamic Utilities & Brand Extensions
 * Colors: Primary Navy (#0A1A3F), Accent Red (#DC2626), Navy Secondary (#142850)
 */

/* Global Mobile & Viewport Safety Rules */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

img, video, canvas {
    max-width: 100%;
    height: auto;
}

*, ::before, ::after {
    box-sizing: border-box;
}

/* Brand Gradients */
.bg-elhamd-gradient {
    background: linear-gradient(180deg, #0A1A3F 0%, #0E204C 50%, #0A1A3F 100%) !important;
}

.bg-elhamd-card-gradient {
    background: linear-gradient(135deg, #0A1A3F 0%, #10234a 50%, #142850 100%) !important;
}

.bg-elhamd-navy {
    background-color: #0A1A3F !important;
}

.bg-elhamd-navy-light {
    background-color: #142850 !important;
}

.bg-elhamd-red {
    background-color: #DC2626 !important;
}

.text-elhamd-navy {
    color: #0A1A3F !important;
}

.text-elhamd-red {
    color: #DC2626 !important;
}

/* Glassmorphism & Alpha Utilities */
.bg-white\/5, [class*="bg-white/5"] {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-white\/10, [class*="bg-white/10"] {
    background-color: rgba(255, 255, 255, 0.10) !important;
}

.bg-white\/15, [class*="bg-white/15"] {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.bg-white\/20, [class*="bg-white/20"] {
    background-color: rgba(255, 255, 255, 0.20) !important;
}

.border-white\/10, [class*="border-white/10"] {
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.border-white\/15, [class*="border-white/15"] {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.border-white\/20, [class*="border-white/20"] {
    border-color: rgba(255, 255, 255, 0.20) !important;
}

.backdrop-blur, [class*="backdrop-blur"] {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Arbitrary color rule fallbacks */
[class*="bg-[#0A1A3F]"] {
    background-color: #0A1A3F !important;
}

[class*="bg-[#142850]"] {
    background-color: #142850 !important;
}

[class*="text-[#0A1A3F]"] {
    color: #0A1A3F !important;
}

[class*="border-[#233558]"] {
    border-color: #233558 !important;
}

/* ==========================================================================
   Commercial Dark Theme & Navy Hero Gradients (Zero FOUT / 100% Contrast)
   ========================================================================== */
.hero-commercial-navy,
section.hero-commercial-navy {
    background-color: #0A1A3F !important;
    color: #ffffff;
    background: linear-gradient(180deg, #0A1A3F 0%, #0E2554 50%, #0A1A3F 100%) !important;
}

/* Ensure Swiper Slide Overlays never paint a solid opaque wall over hero images */
.hero-slider-overlay,
.swiper-slide .bg-gradient-to-t,
.swiper-slide [class*="bg-gradient-to-t"] {
    background-color: transparent !important;
    background-image: linear-gradient(to top, rgba(10, 26, 63, 0.85) 0%, rgba(10, 26, 63, 0.25) 50%, rgba(0, 0, 0, 0.35) 100%) !important;
}

.card-dark-navy {
    background: linear-gradient(135deg, #0f172a 0%, #0A1A3F 100%) !important;
    background-color: #0A1A3F !important;
    color: #ffffff !important;
}

/* Tailwind Arbitrary Gradients Fallback Engine */
section[class*="bg-gradient-to-b"][class*="from-[#0A1A3F]"],
div.hero-fleet-content[class*="from-[#0A1A3F]"] {
    background-image: linear-gradient(180deg, #0A1A3F 0%, #0E2554 50%, #0A1A3F 100%) !important;
    background-color: #0A1A3F !important;
}

/* ==========================================================================
   Standard High-Contrast Button System (Eliminates White-on-White / Ghost Buttons)
   ========================================================================== */
.btn-brand-primary,
a.btn-brand-primary,
button.btn-brand-primary {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid #b91c1c !important;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
}
.btn-brand-primary:hover,
a.btn-brand-primary:hover,
button.btn-brand-primary:hover {
    background-color: #b91c1c !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 15px 20px -3px rgba(220, 38, 38, 0.4) !important;
}

.btn-brand-secondary,
a.btn-brand-secondary,
button.btn-brand-secondary {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
}
.btn-brand-secondary:hover,
a.btn-brand-secondary:hover,
button.btn-brand-secondary:hover {
    background-color: #1e293b !important;
    border-color: #475569 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-brand-light,
a.btn-brand-light,
button.btn-brand-light {
    background-color: #ffffff !important;
    color: #0A1A3F !important;
    font-weight: 700 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
}
.btn-brand-light:hover,
a.btn-brand-light:hover,
button.btn-brand-light:hover {
    background-color: #f8fafc !important;
    color: #dc2626 !important;
    border-color: #94a3b8 !important;
}

/* Contrast Protection inside Dark Navy Sections */
.hero-commercial-navy h1,
.hero-commercial-navy h2,
.hero-commercial-navy h3,
.card-dark-navy h1,
.card-dark-navy h2,
.card-dark-navy h3,
[class*="bg-gradient-to-b"][class*="from-[#0A1A3F]"] h1,
[class*="bg-gradient-to-b"][class*="from-[#0A1A3F]"] h2,
[class*="bg-gradient-to-b"][class*="from-[#0A1A3F]"] h3,
[class*="bg-gradient-to-br"][class*="from-slate-900"] h2,
[class*="bg-gradient-to-br"][class*="from-slate-900"] h3 {
    color: #ffffff !important;
}

.hero-commercial-navy p,
[class*="bg-gradient-to-b"][class*="from-[#0A1A3F]"] p {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   Full Slate Palette System (Text, Backgrounds, Borders)
   ========================================================================== */

/* 1. Slate Text Utilities - Strict Exact Class Selectors */
.text-slate-950 { color: #020617 !important; }
.text-slate-900 { color: #0f172a !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-200 { color: #e2e8f0 !important; }
.text-slate-100 { color: #f1f5f9 !important; }
.text-slate-50  { color: #f8fafc !important; }

/* 2. Slate Background Utilities - Strict Exact Class Selectors */
.bg-slate-950 { background-color: #020617 !important; }
.bg-slate-900 { background-color: #0f172a !important; }
.bg-slate-800 { background-color: #1e293b !important; }
.bg-slate-700 { background-color: #334155 !important; }
.bg-slate-600 { background-color: #475569 !important; }
.bg-slate-500 { background-color: #64748b !important; }
.bg-slate-400 { background-color: #94a3b8 !important; }
.bg-slate-200 { background-color: #e2e8f0 !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-50  { background-color: #f8fafc !important; }

/* 3. Slate Border Utilities - Strict Exact Class Selectors */
.border-slate-300 { border-color: #cbd5e1 !important; }
.border-slate-200 { border-color: #e2e8f0 !important; }
.border-slate-100 { border-color: #f1f5f9 !important; }
.border-slate-50  { border-color: #f8fafc !important; }

/* 4. Shadow Utilities */
.shadow-2xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important; }
.shadow-xs   { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }

/* 5. Fleet Hero Layout Stabilization */
.hero-fleet-content {
    flex: 1 1 0% !important;
    max-width: 65rem !important;
    min-width: 0 !important;
}

.hero-fleet-metrics {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 22rem !important;
}

/* Hero Section Height Stabilization & Anti-Jump (Expanded Heights & 100% Size Stability) */
.hero-slider-fixed {
    height: 700px !important;
    max-height: 700px !important;
    min-height: 700px !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #0A1A3F !important;
}

@media (min-width: 768px) {
    .hero-slider-fixed {
        height: 780px !important;
        max-height: 780px !important;
        min-height: 780px !important;
    }
}

@media (min-width: 1024px) {
    .hero-slider-fixed {
        height: 840px !important;
        max-height: 840px !important;
        min-height: 840px !important;
    }
}

@media (min-width: 1280px) {
    .hero-slider-fixed {
        height: 880px !important;
        max-height: 880px !important;
        min-height: 880px !important;
    }
}

.hero-slider-fixed .swiper {
    height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
}

.hero-slider-fixed .swiper-wrapper {
    height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
}

.hero-slider-fixed .swiper-slide {
    height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.hero-slider-fixed .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Primary Utility Fallbacks & Button Contrast Guarantees */
.bg-primary-600 {
    background-color: #0A1A3F !important;
}

.hover\:bg-primary-700:hover,
.bg-primary-600:hover {
    background-color: #DC2626 !important;
}

.bg-primary-700 {
    background-color: #081533 !important;
}

.bg-primary-50 {
    background-color: #f0f4fa !important;
}

.bg-primary {
    background-color: #0A1A3F !important;
}

.hover\:bg-primary-dark:hover,
.bg-primary-dark {
    background-color: #081533 !important;
}

.bg-primary-light {
    background-color: #d9e2f2 !important;
}

.text-primary-600 {
    color: #0A1A3F !important;
}

.text-primary-700 {
    color: #081533 !important;
}

.text-primary {
    color: #0A1A3F !important;
}

.border-primary-600 {
    border-color: #0A1A3F !important;
}

.border-primary {
    border-color: #0A1A3F !important;
}

/* Responsive Grids & Layout Fallbacks for Production */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .sm\:col-span-1 { grid-column: span 1 / span 1 !important; }
    .sm\:col-span-2 { grid-column: span 2 / span 2 !important; }
}

@media (min-width: 768px) {
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .md\:flex-row { flex-direction: row !important; }
    .md\:col-span-1 { grid-column: span 1 / span 1 !important; }
    .md\:col-span-2 { grid-column: span 2 / span 2 !important; }
    .md\:col-span-3 { grid-column: span 3 / span 3 !important; }
    .md\:col-span-4 { grid-column: span 4 / span 4 !important; }
    .md\:col-span-6 { grid-column: span 6 / span 6 !important; }
    .md\:col-span-12 { grid-column: span 12 / span 12 !important; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
    .lg\:col-span-1 { grid-column: span 1 / span 1 !important; }
    .lg\:col-span-2 { grid-column: span 2 / span 2 !important; }
    .lg\:col-span-3 { grid-column: span 3 / span 3 !important; }
    .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
    .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
    .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
    .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
    .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
    .lg\:col-span-9 { grid-column: span 9 / span 9 !important; }
    .lg\:col-span-10 { grid-column: span 10 / span 10 !important; }
    .lg\:col-span-12 { grid-column: span 12 / span 12 !important; }
    .lg\:flex-row { flex-direction: row !important; }
}

/* Responsive Display Utilities (Critical for Navbar, Drawer & Responsive Breakpoints) */
@media (min-width: 640px) {
    .sm\:flex { display: flex !important; }
    .sm\:hidden { display: none !important; }
    .sm\:block { display: block !important; }
    .sm\:inline-block { display: inline-block !important; }
    .sm\:inline-flex { display: inline-flex !important; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
    .md\:block { display: block !important; }
    .md\:inline-block { display: inline-block !important; }
    .md\:inline-flex { display: inline-flex !important; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:hidden { display: none !important; }
    .lg\:block { display: block !important; }
    .lg\:inline-block { display: inline-block !important; }
    .lg\:inline-flex { display: inline-flex !important; }
}

@media (max-width: 1023px) {
    .max-lg\:hidden { display: none !important; }
    .max-lg\:flex { display: flex !important; }
    .max-lg\:block { display: block !important; }
}

@media (max-width: 767px) {
    .max-md\:hidden { display: none !important; }
    .max-md\:flex { display: flex !important; }
    .max-md\:block { display: block !important; }
}

/* Universal High-Contrast Button Guarantees */
.bg-red-600, .bg-red-700, [class*="bg-red-600"], [class*="bg-red-700"] {
    color: #ffffff !important;
}

a.bg-\[\#0A1A3F\], button.bg-\[\#0A1A3F\],
a[class*="bg-[#0A1A3F]"], button[class*="bg-[#0A1A3F]"],
a.bg-slate-900, button.bg-slate-900,
a[class*="bg-slate-900"], button[class*="bg-slate-900"] {
    color: #ffffff !important;
}

a.bg-red-600:hover, button.bg-red-600:hover,
a.bg-red-700:hover, button.bg-red-700:hover,
a.bg-\[\#0A1A3F\]:hover, button.bg-\[\#0A1A3F\]:hover,
a.bg-slate-900:hover, button.bg-slate-900:hover {
    color: #ffffff !important;
}

/* Light button states guarantee contrast */
.bg-red-50 {
    color: #b91c1c !important;
}
.bg-red-50:hover {
    color: #ffffff !important;
}

.bg-blue-50 {
    color: #1e40af !important;
}
.bg-blue-50:hover {
    color: #ffffff !important;
}

.bg-emerald-50 {
    color: #065f46 !important;
}
.bg-emerald-50:hover {
    color: #ffffff !important;
}

/* Hero Slider Navigation Arrows - Crystal Transparent */
.main-slider .swiper-button-next,
.main-slider .swiper-button-prev,
.hero-slider-fixed .swiper-button-next,
.hero-slider-fixed .swiper-button-prev {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #ffffff !important;
    transition: all 0.25s ease-in-out !important;
}

.main-slider .swiper-button-next:hover,
.main-slider .swiper-button-prev:hover,
.hero-slider-fixed .swiper-button-next:hover,
.hero-slider-fixed .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ef4444 !important;
    transform: scale(1.1);
}

.main-slider .swiper-button-next::after,
.main-slider .swiper-button-prev::after,
.hero-slider-fixed .swiper-button-next::after,
.hero-slider-fixed .swiper-button-prev::after {
    font-size: 26px !important;
    font-weight: 900 !important;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.95)) !important;
}

/* SEO, GEO & AEO Hub Contrast Guarantees */
.geo-aeo-hub-container {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.4) !important;
}

.geo-aeo-hub-container p,
.geo-aeo-hub-container .geo-card-desc {
    color: #cbd5e1 !important;
}

.geo-aeo-hub-container h3,
.geo-aeo-hub-container .geo-card-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.admin-seo-banner {
    background: linear-gradient(135deg, #065f46 0%, #0f766e 100%) !important;
    color: #ffffff !important;
}

.admin-seo-banner h3 {
    color: #ffffff !important;
}

.admin-seo-banner p {
    color: #d1fae5 !important;
}

/* -------------------------------------------------------------
 * Automotive 3D Micro-Interactions & Scroll-Driven Effects
 * ------------------------------------------------------------- */

/* 1. Telemetry Top Scroll Progress Laser Bar */
.telemetry-hud-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #D61F26 0%, #E60012 35%, #0284c7 75%, #38BDF8 95%, #FFFFFF 100%);
    z-index: 99999;
    width: 0%;
    pointer-events: none;
    box-shadow: 0 0 14px rgba(214, 31, 38, 0.9), 0 0 25px rgba(2, 132, 199, 0.6);
    transition: width 0.08s ease-out;
}

/* 2. Floating Automotive Telemetry HUD Pill (Speedo & Progress) */
.telemetry-hud-pill {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99998;
    background: rgba(10, 26, 63, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(214, 31, 38, 0.25);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, box-shadow 0.25s ease;
    user-select: none;
    font-family: inherit;
    direction: ltr;
}

.telemetry-hud-pill:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 22px rgba(214, 31, 38, 0.45);
    border-color: rgba(214, 31, 38, 0.5);
}

.telemetry-hud-pill .speedo-icon {
    font-size: 14px;
    color: #ef4444;
    animation: speedoPulse 2s infinite ease-in-out;
}

@keyframes speedoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #ef4444); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 8px #ef4444); }
}

.telemetry-hud-pill .speedo-pct {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #f8fafc;
    min-width: 32px;
}

.telemetry-hud-pill .speedo-brand {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 8px;
}

/* 3. True 3D Spatial Holographic Fleet Cards */
.truck-card-3d {
    perspective: 1200px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
}

.truck-card-3d:hover {
    box-shadow: 0 25px 45px -8px rgba(10, 26, 63, 0.25), 0 12px 24px -6px rgba(214, 31, 38, 0.22) !important;
}

/* Child 3D Z-Lift layers */
.truck-card-3d img,
.truck-card-3d picture,
.truck-card-3d .vehicle-img-wrap {
    transform: translateZ(28px);
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.truck-card-3d .absolute.top-3,
.truck-card-3d .truck-badge-3d {
    transform: translateZ(42px);
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.truck-card-3d h3,
.truck-card-3d .truck-title-3d {
    transform: translateZ(18px);
    transform-style: preserve-3d;
}

.truck-card-3d .truck-card-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 30;
    opacity: 0;
    border-radius: inherit;
    mix-blend-mode: overlay;
    transition: opacity 0.25s ease;
}

/* 4. Cinematic 3D Scroll Reveal on Page Sections */
.scroll-3d-reveal {
    opacity: 0.15;
    transform: perspective(1000px) rotateX(12deg) translateY(35px) scale(0.97);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.scroll-3d-reveal.is-revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .telemetry-hud-bar { transition: none; }
    .telemetry-hud-pill { display: none; }
    .truck-card-3d { transform: none !important; perspective: none; }
    .truck-card-3d img, .truck-card-3d .absolute.top-3 { transform: none !important; }
    .scroll-3d-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Bulletproof High-Contrast Dark Navy Cards */
.card-dark-navy {
    background-color: #0A1A3F !important;
    background: linear-gradient(135deg, #0A1A3F 0%, #142850 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.card-dark-navy h2, 
.card-dark-navy h3, 
.card-dark-navy h4, 
.card-dark-navy p, 
.card-dark-navy span:not([class*="text-red-"]) {
    color: #ffffff !important;
}

.card-dark-navy .text-gray-300,
.card-dark-navy .text-slate-300 {
    color: #cbd5e1 !important;
}

.card-dark-navy .text-gray-400,
.card-dark-navy .text-slate-400 {
    color: #94a3b8 !important;
}

/* High-Contrast Clean Form Inputs */
.form-input-clean {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 500 !important;
}

.form-input-clean:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
    outline: none !important;
}

/* Universal Safe Top Spacing for Hero Sections Below Fixed Navbar */
.hero-nav-safe,
section.hero-page-top,
.pt-hero-offset,
section[data-hero-nav="safe"] {
    padding-top: 130px !important;
}

@media (min-width: 768px) {
    .hero-nav-safe,
    section.hero-page-top,
    .pt-hero-offset,
    section[data-hero-nav="safe"] {
        padding-top: 155px !important;
    }
}

@media (min-width: 1024px) {
    .hero-nav-safe,
    section.hero-page-top,
    .pt-hero-offset,
    section[data-hero-nav="safe"] {
        padding-top: 170px !important;
    }
}

/* Bulletproof High-Contrast Dark Navy Card */
.card-navy-contrast {
    background: linear-gradient(135deg, #0A1A3F 0%, #142850 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 20px 45px -12px rgba(10, 26, 63, 0.55) !important;
}

.card-navy-contrast h2,
.card-navy-contrast h3,
.card-navy-contrast h4 {
    color: #ffffff !important;
}

.card-navy-contrast p,
.card-navy-contrast .card-desc {
    color: #e2e8f0 !important;
}

.card-navy-contrast .card-subtext {
    color: #cbd5e1 !important;
}


