/* Custom Colors */
.bg-primary { background-color: #1e40af !important; }
.text-primary { color: #1e40af !important; }
.border-primary { border-color: #1e40af !important; }

.bg-secondary { background-color: #3b82f6 !important; }
.text-secondary { color: #3b82f6 !important; }

.bg-accent { background-color: #fbbf24 !important; }
.text-accent { color: #fbbf24 !important; }

/* Gradient Classes */
.gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%) !important;
}

.gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Animation Classes */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Hero Section */
.hero-pattern {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image:
            radial-gradient(circle at 25px 25px, rgba(255,255,255,0.2) 2%, transparent 0%),
            radial-gradient(circle at 75px 75px, rgba(255,255,255,0.2) 2%, transparent 0%);
    background-size: 100px 100px;
}

/* Custom Utilities */
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.h-72 { height: 18rem; }
.h-96 { height: 24rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }

/* Blur Effects */
.blur-3xl {
    filter: blur(64px);
}

/* Shadow Custom */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Background Opacity */
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-blue-500\/10 {
    background-color: rgba(59, 130, 246, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 3rem;
    }

    .text-6xl {
        font-size: 3.5rem;
    }

    .h-\[500px\] {
        height: 300px;
    }
}

/* Fix for AOS overlapping */
[data-aos] {
    pointer-events: auto !important;
}

/* Form Styling */
input, textarea {
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    width: 100% !important;
}

input:focus, textarea:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Navigation Styles */
nav ul li {
    position: relative;
}

/* Desktop Menu Hover Effect */
nav ul li a {
    position: relative;
    overflow: hidden;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 60%;
}

/* Active Menu Item */
.current-menu-item a,
.current-page-item a {
    color: #1e40af !important;
    background: rgba(30, 64, 175, 0.1) !important;
}

.current-menu-item a::after,
.current-page-item a::after {
    width: 60% !important;
}

/* Mobile Menu Animation */
[x-cloak] {
    display: none !important;
}

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

/* Active section highlight */
:target {
    scroll-margin-top: 100px;
}

/* Menu spacing fix */
@media (min-width: 1024px) {
    nav ul {
        display: flex;
        align-items: center;
    }

    nav ul li {
        margin: 0;
    }
}

/* Fix for WordPress admin bar */
.admin-bar header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

