/* AureaVault Custom Styles */

/* Enable WOW.js animations */
.wow {
    visibility: hidden;
}

.wow.animate__animated {
    visibility: visible;
}

/* Disable only SVG animations, not page element animations */
svg animate,
svg animateTransform,
svg animateMotion {
    display: none !important;
}

/* Allow transitions for buttons, cards, and specific links only */
.btn, .btn-secondary, .card, .card-hover,
button, .bg-aurea-gold, .bg-aurea-dark,
.hover\:transform, .hover\:scale-105, .hover\:shadow-lg,
.team-card, .tokenomics-card, .solution-feature,
.nav-link, .mobile-menu a {
    transition: all 0.3s ease !important;
}

/* Disable hover effects for everything else except specific interactive elements */
*:not(.btn):not(.btn-secondary):not(.card):not(.card-hover):not(button):not(.bg-aurea-gold):not(.bg-aurea-dark):not(.hover\:transform):not(.hover\:scale-105):not(.hover\:shadow-lg):not(.team-card):not(.tokenomics-card):not(.solution-feature):not(.nav-link):not(.mobile-menu a):not(.wow):hover {
    transition: none !important;
    transform: none !important;
}

/* Disable SVG animations and hover effects completely */
svg, svg *, 
svg g, svg g *,
svg path, svg circle, svg rect, svg polygon, svg line,
svg text, svg image, svg use {
    animation: none !important;
    animation-duration: 0s !important;
    transition: none !important;
}

/* Disable SVG transforms but allow WOW.js transforms on containers */
svg:not(.wow):not(.animate__animated), svg:not(.wow):not(.animate__animated) *, 
svg:not(.wow):not(.animate__animated) g, svg:not(.wow):not(.animate__animated) g *,
svg:not(.wow):not(.animate__animated) path, svg:not(.wow):not(.animate__animated) circle, 
svg:not(.wow):not(.animate__animated) rect, svg:not(.wow):not(.animate__animated) polygon, 
svg:not(.wow):not(.animate__animated) line, svg:not(.wow):not(.animate__animated) text,
svg:not(.wow):not(.animate__animated) image, svg:not(.wow):not(.animate__animated) use {
    transform: none !important;
}

svg:hover, svg *:hover,
svg g:hover, svg g *:hover,
svg path:hover, svg circle:hover, svg rect:hover, 
svg polygon:hover, svg line:hover, svg text:hover,
svg image:hover, svg use:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    scale: 1 !important;
    opacity: inherit !important;
}

/* Disable all animate elements in SVG */
animate,
animateTransform,
animateMotion {
    display: none !important;
}

/* Disable hover effects on hero section cards */
.hero-section .relative:hover,
.hero-section .relative:hover .absolute,
.hero-section .relative:hover .bg-aurea-gold,
.hero-section .bg-white:hover {
    transform: none !important;
    transition: none !important;
    background-color: inherit !important;
}

/* Remove top margin for stats section on large screens */
@media (min-width: 1280px) {
    .hero-section .space-y-2 > div:last-child {
        margin-top: 0 !important;
    }
}

/* Universal SVG hover prevention */
* svg:hover, * svg *:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    scale: none !important;
    opacity: inherit !important;
    cursor: default !important;
}

/* Disable pointer events on decorative SVGs */
.absolute svg, .inset-0 svg, [class*="background"] svg {
    pointer-events: none !important;
}

/* CSS Variables */
:root {
    --aurea-gold: #D4AF37;
    --aurea-dark: #1a2332;
    --aurea-blue: #2563eb;
    --gold-gradient: linear-gradient(135deg, #D4AF37, #F7DC6F);
    --dark-gradient: linear-gradient(135deg, #1a2332, #2563eb);
}

/* Smooth Scroll Animation Classes - DISABLED */
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-scale,
.scroll-animate-fade-up,
.scroll-animate-slide-right,
.scroll-animate-slide-left {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* All floating and scale animations disabled */
.floating,
.scroll-animate-right.floating,
.scroll-animate-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

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

/* Global width constraint - most important rule */
html {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}


/* Constrain all major layout elements */
body > nav,
body > main,
body > section,
body > footer,
body > div {
    max-width: 100vw !important;
}

/* Container System with Responsive Max-Widths */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    max-width: 1280px;
}

/* Responsive container sizes */
@media (min-width: 640px) {
    .container {
        padding: 0 24px;
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 48px;
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        padding: 0 48px;
        max-width: 1400px;
    }
}

/* Override Tailwind max-width classes for better control */
.max-w-7xl {
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.max-w-6xl {
    max-width: 1152px !important;
    margin: 0 auto !important;
}

.max-w-5xl {
    max-width: 1024px !important;
    margin: 0 auto !important;
}

.max-w-4xl {
    max-width: 896px !important;
    margin: 0 auto !important;
}

.max-w-3xl {
    max-width: 768px !important;
    margin: 0 auto !important;
}

/* Force container constraints on large screens */
@media (min-width: 1400px) {
    .max-w-7xl,
    .container,
    section > .max-w-7xl,
    section > div.max-w-7xl {
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
}

/* Main container constraint strategy */
.content-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 24px !important;
}

/* Apply to all main content sections */
section:not(.full-width) {
    width: 100%;
}

section:not(.full-width) > div:first-child {
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Large screen specific constraints */
@media (min-width: 1440px) {
    /* Force all max-w-7xl containers to be constrained */
    div.max-w-7xl,
    section > div.max-w-7xl,
    .max-w-7xl {
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding-left: 48px !important;
        padding-right: 48px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure sections themselves don't exceed viewport */
    section {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Grid containers inside sections */
    section .grid {
        max-width: 1280px !important;
        margin: 0 auto !important;
    }
    
    /* Hero section specific constraints */
    .hero-section > div:first-child {
        max-width: 1280px !important;
        margin: 0 auto !important;
    }
}

/* Extra large screen constraints */
@media (min-width: 1680px) {
    body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .max-w-7xl,
    div.max-w-7xl,
    section > div {
        max-width: 1280px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
}

/* Ultimate container width enforcement - Apply to ALL pages */
body > * {
    max-width: 100vw !important;
}

/* Wrapper for all main content */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1280px;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}

/* FINAL SOLUTION: Force 1280px constraint on ALL content */
@media (min-width: 1320px) {
    /* Create a content wrapper */
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100vh;
    }
    
    /* Force all direct children of body to max 1280px */
    body > * {
        max-width: 1280px !important;
        width: 100% !important;
        margin: 0 auto !important;
        position: relative !important;
    }
    
    /* Navigation can span full width for background but content constrained */
    body > nav {
        max-width: 100vw !important;
        width: 100vw !important;
    }
    
    body > nav > * {
        max-width: 1280px !important;
        margin: 0 auto !important;
    }
    
    /* Sections can have full-width backgrounds but content constrained */
    body > section {
        max-width: 100vw !important;
        width: 100vw !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    body > section > div:first-child:not([style*="position: absolute"]) {
        max-width: 1280px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Content containers that are not overlays */
    body > section > div[style*="position: relative"],
    body > section > div[style*="z-index: 2"],
    body > section > div.max-w-7xl,
    body > section > div:not([style*="position: absolute"]) {
        max-width: 1280px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Allow only dark overlay backgrounds to stay full width, not card backgrounds */
    section > div[style*="position: absolute"][style*="background-color: rgba(0, 0, 0"] {
        max-width: 100vw !important;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        margin: 0 !important;
        position: absolute !important;
    }
    
    /* SVG decorative elements can stay full width */
    section > div.absolute:first-child,
    section > .absolute:first-child,
    .absolute.inset-0,
    section > div[style*="overflow: hidden"] {
        max-width: 100vw !important;
        width: 100vw !important;
        left: 0 !important;
        transform: none !important;
        margin: 0 !important;
        position: absolute !important;
    }
    
    /* Hero section SVG container should be full width */
    .hero-section > div.absolute,
    section > div.absolute.inset-0 {
        max-width: 100vw !important;
        width: 100vw !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
    
    /* Card background elements should be constrained */
    .relative > .absolute {
        max-width: none !important;
        width: auto !important;
        left: auto !important;
        transform: translate(16px, 16px) !important;
    }
    
    /* Footer same treatment */
    body > footer {
        max-width: 100vw !important;
        width: 100vw !important;
    }
    
    body > footer > * {
        max-width: 1280px !important;
        margin: 0 auto !important;
    }
}

/* Prevent horizontal overflow while preserving shadows */
section, div {
    max-width: 100%;
    overflow-y: visible;
}

/* Specific handling for containers with shadow elements */
.max-w-7xl:has(.shadow-lg), .max-w-7xl:has(.shadow-xl), .max-w-7xl:has(.shadow-2xl) {
    overflow: visible !important;
    padding: 20px;
}

/* Ensure SVG elements don't cause overflow */
svg {
    max-width: 100%;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* SVG containers should be constrained */
.absolute svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Specific fixes for sections that might overflow */
section {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
}

/* Grid containers should not overflow horizontally but allow shadows */
.grid {
    overflow-x: hidden;
    overflow-y: visible;
    padding: 20px 0;
}

/* Ensure shadow elements have proper spacing */
.shadow-lg, .shadow-xl, .shadow-2xl {
    margin: 0;
}

/* Sections containing shadow elements need proper padding */
section:has(.shadow-lg), section:has(.shadow-xl), section:has(.shadow-2xl) {
    padding-top: calc(80px + 20px);
    padding-bottom: calc(80px + 20px);
    overflow: visible !important;
}

/* Force all shadow elements to be visible */
.shadow-lg, .shadow-xl, .shadow-2xl, [class*="shadow"] {
    position: relative;
    z-index: 10;
}

/* Ensure parent containers don't clip shadows */
.py-20, .py-16, .py-12 {
    overflow: visible !important;
    position: relative;
}

/* Additional overflow prevention while preserving shadows */
.max-w-7xl, .max-w-6xl, .max-w-5xl, .max-w-4xl, .max-w-3xl {
    overflow-x: hidden;
    overflow-y: visible;
}

/* Ensure animations don't cause overflow */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Constrain all animated elements */
[class*="animate"], [class*="scroll-animate"] {
    max-width: 100%;
    overflow: visible;
}

/* Universal horizontal overflow prevention */
* {
    max-width: 100vw;
}

/* Critical overflow prevention for immediate page load */
html, body {
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Immediate constraint on all elements */
*:not(svg):not(path):not(circle):not(line):not(polygon):not(g) {
    max-width: 100%;
}

/* Allow flexbox and grid items to shrink properly */
.flex > *, .grid > * {
    min-width: 0;
    max-width: 100%;
}

/* Ensure viewBox elements don't overflow */
svg[viewBox] {
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Section-level container constraints */
section {
    width: 100%;
    max-width: 100vw;
    position: relative;
}

section > div:first-child {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Ensure all main content areas are constrained */
main {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Navigation should span full width but content should be constrained */
nav {
    width: 100%;
}

nav > div {
    max-width: 1280px;
    margin: 0 auto;
}

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

/* Button Enhancements */
.btn-primary {
    background: var(--gold-gradient);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Fixed Background Images with Parallax Effect */
.bg-fixed-pattern {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.bg-financial-pattern {
    background-image: 
        linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(37, 99, 235, 0.8) 100%),
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.05) 42%, rgba(212, 175, 55, 0.05) 58%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(37, 99, 235, 0.05) 42%, rgba(37, 99, 235, 0.05) 58%, transparent 60%);
    background-size: 100% 100%, 800px 800px, 600px 600px, 60px 60px, 60px 60px;
    background-attachment: fixed;
}

.bg-tech-pattern {
    background-image: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(212, 175, 55, 0.03) 2px, rgba(212, 175, 55, 0.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(37, 99, 235, 0.03) 2px, rgba(37, 99, 235, 0.03) 4px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

.bg-gold-pattern {
    background-image: 
        linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(124, 58, 237, 0.8) 100%),
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.05) 35px, rgba(212, 175, 55, 0.05) 70px);
    background-size: 100% 100%, 600px 600px, 400px 400px, 70px 70px;
    background-attachment: fixed;
}

.bg-dark-corporate {
    background-image: 
        linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%),
        linear-gradient(45deg, transparent 49%, rgba(212, 175, 55, 0.03) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(37, 99, 235, 0.03) 50%, transparent 51%);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

/* All keyframe animations disabled */
@keyframes float { 0%, 100% { transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } }

.floating,
.pulse {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--aurea-gold);
    color: var(--aurea-gold);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--aurea-gold);
    color: var(--aurea-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Card Enhancements */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Hover effects for solution cards and feature cards */
.hover\:transform:hover {
    transform: translateY(-2px) scale(1.01);
}

.hover\:scale-105:hover {
    transform: scale(1.02) translateY(-2px);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Button hover effects */
.bg-aurea-gold:hover {
    background-color: #F7DC6F !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.bg-aurea-dark:hover {
    background-color: rgba(26, 35, 50, 0.95) !important;
    h4 {
        color: #fff !important;
    }
}
.bg-aurea-dark {
    background-color: rgba(26, 35, 50, 0.95) !important;
    h4 {
        color: #fff !important;
    }
}
/* FontAwesome icon hover effects - DISABLED */
.fab:hover, .fas:hover, i:hover {
    transform: none !important;
}

/* Completely disable all icon effects - both font and SVG */
.fab, .fas, .far, .fal, .fat, .fad, .fass, .fasr, .fasl,
i[class*="fa-"], span[class*="fa-"], i[class*="fab"], i[class*="fas"],
svg .fab, svg .fas, svg i, svg span,
.fab svg, .fas svg, i svg, span svg {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.fab:hover, .fas:hover, .far:hover, .fal:hover, .fat:hover, .fad:hover, 
.fass:hover, .fasr:hover, .fasl:hover,
i[class*="fa-"]:hover, span[class*="fa-"]:hover, 
i[class*="fab"]:hover, i[class*="fas"]:hover,
svg .fab:hover, svg .fas:hover, svg i:hover, svg span:hover,
.fab svg:hover, .fas svg:hover, i svg:hover, span svg:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    scale: 1 !important;
}

/* Card specific hover effects with natural timing */
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tokenomics-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.solution-feature:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(59, 130, 246, 0.08));
    transform: translateY(-2px);
}

/* General button styles for better interaction */
button, .btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

button:hover, .btn:hover {
    transform: translateY(-1px);
}

/* Disable hover effects for non-interactive elements */
.h-10.w-10:hover,
svg.h-10.w-10:hover,
nav:hover,
footer:hover,
header:hover {
    transform: none !important;
    background: inherit !important;
    color: inherit !important;
    box-shadow: none !important;
}

/* Footer link hover effects */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #D4AF37;
}

/* Enable hover effects only for specific navigation and footer links */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--aurea-gold) !important;
}



.mobile-menu a {
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--aurea-gold) !important;
    transform: translateX(3px);
}

/* Gold Gradient Backgrounds */
.bg-gold-gradient {
    background: var(--gold-gradient);
}

.bg-dark-gradient {
    background: var(--dark-gradient);
}

/* Navigation Enhancements */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand:hover {
    transform: none !important;
    color: inherit !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aurea-gold);
    transition: width 0.3s ease;
}

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

/* Mobile Menu Overlay with Content */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
}

#mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Menu Content Container */
#mobile-menu-content {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #1a2332;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#mobile-menu-overlay.show #mobile-menu-content {
    transform: translateY(0);
}

/* Menu Links Styling */
#mobile-menu-content a {
    display: block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

#mobile-menu-content a:focus,
#mobile-menu-content a:active,
#mobile-menu-content a:visited {
    outline: none !important;
    box-shadow: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

#mobile-menu-content a:hover,
#mobile-menu-content a:focus {
    background-color: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    transform: translateX(8px);
}

#mobile-menu-content a:last-child {
    border-bottom: none;
}

/* Navigation Bar - Fixed Position with Highest Z-Index */
nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
}

/* Mobile menu button */
#mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

#mobile-menu-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #D4AF37;
}

#mobile-menu-button:active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile menu links */
#mobile-menu .space-y-1 > a {
    display: block;
    padding: 16px 24px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

#mobile-menu .space-y-1 > a:hover,
#mobile-menu .space-y-1 > a:focus {
    background-color: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    transform: translateX(8px);
}

#mobile-menu .space-y-1 > a:last-child {
    border-bottom: none;
    margin-bottom: 8px;
}

/* Ensure menu is hidden by default */
#mobile-menu.hidden {
    display: none !important;
}

/* Loading Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* Section Spacing */
.section-padding {
    padding: 80px 0;
}

/* Hero Section Enhancements */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Icon Styling */
.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.icon-wrapper:hover {
    transform: scale(1.1);
}

/* Team Card Styling */
.team-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .icon-wrapper {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .team-card {
        padding: 1rem;
    }
}

/* Footer Enhancements */
footer {
    background: var(--aurea-dark);
    color: white;
}

footer a {
    color: #9ca3af;
    transition: none !important;
}

footer a:hover {
    color: #9ca3af !important;
    transition: none !important;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    z-index: 100;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    width: 256px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    padding-top: 8px;
}

/* Create invisible bridge between trigger and menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Dropdown content styling */
.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.dropdown-menu a:focus,
.dropdown-menu a:active,
.dropdown-menu a:visited {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Current page indicator in dropdown menu */
.dropdown-menu a.current-page {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    color: var(--aurea-gold) !important;
    border-left: 3px solid var(--aurea-gold) !important;
    font-weight: 600;
}

.dropdown-menu a.current-page:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--aurea-gold);
    transform: translateX(4px);
}

.dropdown-menu a i {
    width: 18px;
    height: 18px;
    margin-right: 14px;
    color: var(--aurea-gold);
    font-size: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover i {
    background: var(--aurea-gold);
    color: white;
    transform: scale(1.1);
}

.dropdown-menu a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-menu a:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Mobile Dropdown Styles */
.mobile-dropdown-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-dropdown-menu.show {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.mobile-dropdown-trigger {
    transition: all 0.2s ease;
}

.mobile-dropdown-trigger i {
    transition: transform 0.3s ease;
}

.mobile-dropdown-trigger.active {
    color: var(--aurea-gold);
}

.mobile-dropdown-trigger.active i {
    transform: rotate(180deg);
}

/* Utility Classes */
.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: var(--gold-gradient) 1;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--aurea-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--aurea-gold);
    outline-offset: 2px;
}

/* Print Styles */
/* Hero Section Layout Fix */
.hero-section {
    overflow: visible !important;
}

.hero-section .grid {
    overflow: visible !important;
}

.hero-section .max-w-7xl {
    overflow: visible !important;
}

.scroll-animate-right {
    overflow: visible !important;
}

.floating {
    overflow: visible !important;
    z-index: 10;
}

/* Card styling restored to original */

/* Ensure rotated elements don't cause scroll */
section.overflow-hidden {
    overflow-x: hidden;
    overflow-y: visible;
}

section.overflow-hidden .grid {
    overflow: visible;
}

/* Navigation fixes - prevent border cutoff */
nav {
    overflow: visible !important;
    width: 100%;
}

nav .max-w-7xl {
    overflow: visible !important;
    max-width: 1280px !important;
    margin: 0 auto;
}

nav .flex {
    overflow: visible !important;
}

/* Navigation active state styling */
nav a.active {
    position: relative;
    border: 2px solid var(--aurea-gold);
    padding: 4px 8px;
    border-radius: 6px;
    margin: 0 4px;
}

/* Ensure navigation container has enough space */
nav .hidden.md\\:flex {
    padding: 0 8px;
    overflow: visible;
}

/* Footer content constraints */
footer {
    width: 100%;
}

footer > div {
    max-width: 1280px;
    margin: 0 auto;
}

/* CTA sections should also be contained */
.cta-section {
    width: 100%;
}

.cta-section > div {
    max-width: 1280px;
    margin: 0 auto;
}

/* Hero sections need special handling */
.hero-section {
    width: 100%;
    position: relative;
}

.hero-section > div:first-child {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

section.overflow-hidden .scroll-animate-right {
    overflow: visible !important;
}

/* Enhanced Entrance Animations for Hero Text */
@keyframes fadeUpText {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRightText {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeftText {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleText {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Text Animation Classes */
.scroll-animate-fade-up {
    opacity: 0;
    animation: fadeUpText 1s ease-out forwards;
    animation-fill-mode: both;
}

.scroll-animate-slide-right {
    opacity: 0;
    animation: slideRightText 1s ease-out forwards;
    animation-fill-mode: both;
    display: block;
}

.scroll-animate-slide-left {
    opacity: 0;
    animation: slideLeftText 1s ease-out forwards;
    animation-fill-mode: both;
    display: block;
}

.scroll-animate-scale {
    opacity: 0;
    animation: scaleText 0.8s ease-out forwards;
    animation-fill-mode: both;
}

/* Immediate loading animations for hero */
.hero-section .scroll-animate-fade-up,
.hero-section .scroll-animate-slide-right,
.hero-section .scroll-animate-slide-left,
.hero-section .scroll-animate-scale {
    animation-play-state: running;
}

/* Ensure text elements maintain proper spacing during animation */
.hero-section h1 span {
    display: block;
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .hero-section h1 span {
        display: inline;
        margin-bottom: 0;
    }
}

/* Ensure Institutional-Grade Security card yellow background is always visible */
.absolute.inset-0.bg-aurea-gold.rounded-3xl.transform.translate-x-4.translate-y-4,
.absolute.inset-0.bg-aurea-gold,
.floating .absolute.bg-aurea-gold,
.relative .absolute.bg-aurea-gold,
div[class*="bg-aurea-gold"] {
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #D4AF37 !important;
    border-radius: 1.5rem !important;
    inset: 0 !important;
}

/* Specific fix for the exact class combination */
.absolute.inset-0.bg-aurea-gold.rounded-3xl.transform.translate-x-4.translate-y-4 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #D4AF37 !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    border-radius: 1.5rem !important;
    transform: translate(1rem, 1rem) !important;
    z-index: 1 !important;
}

/* Ultra-wide screen support for hero card */
@media (min-width: 1920px) {
    .absolute.inset-0.bg-aurea-gold.rounded-3xl.transform.translate-x-4.translate-y-4,
    .floating .absolute.bg-aurea-gold {
        display: block !important;
        visibility: visible !important;
        transform: translate(1rem, 1rem) !important;
        inset: 0 !important;
        background-color: #D4AF37 !important;
        border-radius: 1.5rem !important;
        z-index: 1 !important;
    }
    
    .scroll-animate-right .floating {
        overflow: visible !important;
        position: relative !important;
    }
    
    .scroll-animate-right .relative {
        overflow: visible !important;
    }
}

/* Mobile Footer Optimization */
@media (max-width: 768px) {
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    footer .md\\:col-span-2 {
        grid-column: span 1 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Mobile footer links horizontal layout */
    footer h4 + ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        margin-top: 0.5rem !important;
    }
    
    footer h4 + ul li {
        margin: 0 !important;
    }
    
    footer h4 + ul li a {
        font-size: 0.875rem !important;
        padding: 0.375rem 0.75rem !important;
        border-radius: 0.375rem !important;
        white-space: nowrap !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: all 0.2s ease !important;
    }
    
    footer h4 + ul li a:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Reduce footer padding on mobile */
    footer {
        padding: 2rem 0 !important;
    }
    
    /* Compact footer titles */
    footer h4 {
        margin-bottom: 0.75rem !important;
        font-size: 1rem !important;
    }
    
    /* Social media icons spacing */
    footer .flex.space-x-4 {
        gap: 1rem !important;
        margin-top: 1rem !important;
    }
}

@media print {
    .navbar,
    footer,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
