/* Global Styles & Variables */
:root {
    --primary-color: #002244;
    --secondary-color: #D4AF37;
    --accent-orange: #FF8C00;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --card-shadow: 0 10px 25px -5px rgba(0, 34, 68, 0.1), 0 8px 10px -6px rgba(0, 34, 68, 0.1);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 34, 68, 0.2), 0 10px 10px -5px rgba(0, 34, 68, 0.1);
}

/* Base resets */
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Glassmorphism effects */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--card-shadow);
}

.glass-card:hover {
    box-shadow: var(--card-hover-shadow);
}

/* Professional Buttons */
.btn-modern {
    position: relative;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-modern {
    background: var(--primary-color);
    color: white;
}

.btn-primary-modern:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 34, 68, 0.3);
}

.btn-secondary-modern {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary-modern:hover {
    background: #C5A02E;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.3);
}

.btn-outline-modern {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
}

/* Form Styling (Inspired by images) */
.form-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid #E2E8F0;
}

.input-modern {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid #E2E8F0;
    background: #F1F5F9;
    transition: all 0.3s ease;
    outline: none;
}

.input-modern:focus {
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* Section Headlines */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Animation Classes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.animate-marquee {
    animation: marquee 40s linear infinite;
    display: inline-flex;
}

[dir="rtl"] .animate-marquee {
    animation: marquee-rtl 40s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Floating Elements */
.floating-track {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #B8860B 100%);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.3);
    border: 2px solid white;
}

/* Cards from image 1 */
.service-card-modern {
    background: white;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    transition: all 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
}

.service-card-modern .badge-number {
    background: #1e293b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}
