/* Best Deal Forex - Optimized Production CSS */
/* Combined: consolidated + backgrounds + modern-corporate-theme */

/* Modern Corporate Theme for Best Deal Forex */
/* Created: 2025-11-02 */
/* Professional, clean, and data-friendly design */

/* =============================================
   MODERN CORPORATE COLOR PALETTE
   ============================================= */

:root {
    /* Primary Colors */
    --primary-color: #004AAD;           /* Royal Blue - Buttons, headers, highlights */
    --accent-teal: #00BFA6;             /* Teal Green - Hover states, icons, secondary buttons */
    --accent-gold: #FFD700;             /* Soft Gold - Highlights, callouts */
    
    /* Background & Neutrals */
    --bg-main: #F5F7FA;                 /* Cool white-grey - Main background */
    --bg-white: #FFFFFF;                /* Pure white for cards */
    --bg-light-blue: #E8F4F8;          /* Light blue for stats sections */
    
    /* Text Colors */
    --text-dark: #1C1C1C;               /* Main content */
    --text-light: #FFFFFF;              /* On colored buttons/sections */
    --text-medium: #555555;             /* Secondary text */
    --text-muted: #888888;              /* Muted/disabled text */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #004AAD 0%, #00BFA6 100%);
    --gradient-hero: linear-gradient(135deg, #004AAD 0%, #0066CC 50%, #00BFA6 100%);
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 32px rgba(0, 74, 173, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Spacing (Compact) */
    --spacing-xs: 14px;
    --spacing-sm: 22px;
    --spacing-md: 38px;
    --spacing-lg: 58px;
    --spacing-xl: 78px;
}

/* =============================================
   TYPOGRAPHY - MODERN & CLEAN
   ============================================= */

/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&family=Roboto+Mono:wght@500;600&display=swap');

html {
    font-size: 16px; /* 1rem = 16px */
}

body {
    font-family: 'Open Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    color: #1C1C1C;
    background-color: var(--bg-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1C1C1C;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
    line-height: 1.6;
}

/* Desktop */
h1 { 
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
}

h2 { 
    font-size: 2rem; /* 32px */
    font-weight: 600;
}

h3 { 
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
}

h4 {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
}

h5 {
    font-size: 1.1rem; /* 17.6px */
    font-weight: 500;
}

h6 {
    font-size: 1rem; /* 16px */
    font-weight: 500;
}

/* Numeric data styling (for rates, stats) */
.numeric,
.rate-value,
.stat-number,
.price {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem; /* 17.6px */
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Currency codes */
.currency-code {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; /* 15.2px */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlighted amounts */
.amount-highlight,
.total-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem; /* 16px */
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Blue hover underline animation */
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-item a:hover {
    color: var(--primary-color);
}

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

/* =============================================
   HERO SECTION - LEFT-ALIGNED WITH GRADIENT
   ============================================= */

.hero,
.hero-professional {
    background: var(--gradient-hero) !important;
    padding: 3.75rem 0 !important;
    position: relative;
    overflow: hidden;
    min-height: 170px;
    display: flex;
    align-items: center;
}

.hero h1,
.hero-professional h1 {
    color: #FFFFFF !important;
    text-align: left;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero p,
.hero-professional p {
    color: #FFFFFF !important;
    text-align: left;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Remove old overlay, use gradient directly */
.hero::before,
.hero-professional::before {
    display: none;
}

/* =============================================
   BUTTONS - PRIMARY & ACCENT STYLES
   ============================================= */

.btn,
.btn-professional,
.learn-more-btn,
button[type="submit"] {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary,
.btn-outline {
    font-size: 0.95rem; /* 15.2px */
    font-weight: 500;
}

/* Primary Button - Royal Blue */
.btn-primary,
.btn-professional {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-professional:hover {
    background: #003d8f;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Secondary Button - Teal Green */
.btn-secondary,
.btn-accent {
    background: var(--accent-teal);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-accent:hover {
    background: #009688;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* =============================================
   SERVICE CARDS - COMPACT WITH HOVER LIFT
   ============================================= */

.service-card,
.service-card-professional {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Hover lift effect with colorful glow */
.service-card:hover,
.service-card-professional:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 191, 166, 0.3);
    border-color: var(--accent-teal);
    background: linear-gradient(145deg, rgba(0, 191, 166, 0.08) 0%, rgba(0, 74, 173, 0.08) 50%, rgba(255, 215, 0, 0.08) 100%);
}

.service-card:hover .professional-icon,
.service-card:hover .card-icon,
.service-card-professional:hover .professional-icon,
.service-card-professional:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 191, 166, 0.5);
}

/* Icon styling */
.professional-icon,
.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00BFA6 0%, #004AAD 50%, #FFD700 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 28px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 191, 166, 0.3);
    transition: all 0.3s ease;
}

.service-card h3,
.service-card-professional h3 {
    background: linear-gradient(135deg, #004AAD, #00BFA6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.service-card p,
.service-card-professional p {
    color: var(--text-medium);
    font-size: 1rem; /* 16px */
    line-height: 1.5;
    margin-bottom: 0.75em;
}

/* Small text */
.small-text,
small {
    font-size: 0.9rem; /* 14.4px */
    font-weight: 400;
}

/* Extra small text */
.extra-small-text,
.disclaimer,
.fine-print {
    font-size: 0.8rem; /* 12.8px */
    font-weight: 400;
    color: var(--text-medium);
}

/* =============================================
   STATS & HIGHLIGHTS - TEAL/GOLD NUMBERS
   ============================================= */

.stats-section,
.highlights-section {
    background: var(--bg-light-blue);
    padding: var(--spacing-lg) 0;
}

.stats-card,
.stat-item {
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.1) 0%, rgba(0, 74, 173, 0.1) 100%);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 2px solid rgba(0, 191, 166, 0.3);
}

.stats-card:hover,
.stat-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 191, 166, 0.3);
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.15) 0%, rgba(0, 74, 173, 0.15) 100%);
}

.stats-number,
.stat-number {
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 700;
    color: var(--accent-teal);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stats-number.gold,
.stat-number.gold {
    color: var(--accent-gold);
}

.stats-label,
.stat-label {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 600;
}

/* =============================================
   SECTIONS - COMPACT SPACING
   ============================================= */

.section {
    padding: 2rem 0; /* Balanced spacing */
}

.section-light {
    background: var(--bg-main);
}

.section-title {
    margin-bottom: 1rem;
    text-align: left;
}

.section-title h2 {
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.section-title p {
    color: var(--text-medium);
    font-size: 1.125rem; /* 18px */
    line-height: 1.5;
}

/* =============================================
   CARDS & TESTIMONIALS
   ============================================= */

.card,
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-teal);
    border: 2px solid rgba(0, 191, 166, 0.2);
}

.card:hover,
.testimonial-card:hover {
    box-shadow: 0 12px 30px rgba(0, 191, 166, 0.25);
    transform: translateY(-6px);
    border-color: rgba(0, 191, 166, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(0, 191, 166, 0.05) 100%);
}

/* =============================================
   FOOTER - DARK BLUE
   ============================================= */

.footer {
    background: var(--primary-color) !important;
    color: var(--text-light);
    padding: 2rem 0 0.75rem 0;
}

.footer::before {
    background: var(--primary-color) !important;
}

.footer h3 {
    color: var(--text-light);
    font-size: 1rem; /* 16px */
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer a,
.footer p {
    color: var(--text-light);
    font-size: 0.9rem; /* 14.4px */
    font-weight: 400;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--accent-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom p {
    font-size: 0.8rem; /* 12.8px */
    font-weight: 400;
}

/* =============================================
   FORMS - CLEAN & PROFESSIONAL
   ============================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

/* =============================================
   RATES TABLE - DATA-FRIENDLY
   ============================================= */

.forex-rates-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.forex-rates-table thead {
    background: var(--primary-color);
    color: var(--text-light);
}

.forex-rates-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.forex-rates-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #F0F0F0;
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
}

.forex-rates-table tbody tr:hover {
    background: var(--bg-light-blue);
}

.currency-code {
    font-weight: 700;
    color: var(--primary-color);
}

.buy-rate {
    color: var(--accent-teal);
    font-weight: 600;
}

.sell-rate {
    color: #FF6B6B;
    font-weight: 600;
}

/* =============================================
   GRID LAYOUTS
   ============================================= */

.grid-3,
.services-grid-2x3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

/* =============================================
   ANIMATIONS & HOVER EFFECTS
   ============================================= */

/* Subtle glow on hover */
.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(0, 191, 166, 0.4);
}

/* Scale animation */
.scale-on-hover {
    transition: transform 0.3s ease;
}

.scale-on-hover:hover {
    transform: scale(1.05);
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Tablet Responsive Typography */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; /* 35.2px */ }
    h2 { font-size: 1.8rem; /* 28.8px */ }
    h3 { font-size: 1.4rem; /* 22.4px */ }
    h4 { font-size: 1.2rem; /* 19.2px */ }
    h5 { font-size: 1rem; /* 16px */ }
    h6 { font-size: 0.95rem; /* 15.2px */ }
}

/* Mobile Responsive Typography */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 40px;
        --spacing-xl: 60px;
    }
    
    /* Mobile heading sizes */
    h1 { font-size: 1.8rem; /* 28.8px */ }
    h2 { font-size: 1.6rem; /* 25.6px */ }
    h3 { font-size: 1.3rem; /* 20.8px */ }
    h4 { font-size: 1.1rem; /* 17.6px */ }
    h5 { font-size: 0.95rem; /* 15.2px */ }
    h6 { font-size: 0.9rem; /* 14.4px */ }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero,
    .hero-professional {
        padding: var(--spacing-md) 0 !important;
        text-align: center;
    }
    
    .hero h1,
    .hero-professional h1,
    .hero p,
    .hero-professional p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        color: #FFFFFF !important;
    }
    
    .grid-3,
    .grid-4,
    .services-grid-2x3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        text-align: center;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-teal); }
.text-gold { color: var(--accent-gold); }
.bg-primary { background: var(--primary-color); }
.bg-accent { background: var(--accent-teal); }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }


/* Background Images Integration for Best Deal Forex Website */
/* Created: 2025-11-02 */

/* =============================================
   BACKGROUND IMAGE 1: Dotted Pattern
   Usage: Hero sections, headers, featured areas
   ============================================= */

.hero,
.hero-professional,
.page-header {
    background-image: url('../images/backgrounds/bg-pattern-dots.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Add overlay for better text readability on dotted background */
.hero::before,
.hero-professional::before,
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(59, 130, 246, 0.75) 50%, rgba(14, 165, 233, 0.85) 100%);
    z-index: 0;
}

.hero > *,
.hero-professional > *,
.page-header > * {
    position: relative;
    z-index: 1;
}

/* =============================================
   BACKGROUND IMAGE 2: Subtle Texture
   Usage: Cards, forms, content sections
   ============================================= */

.card,
.service-card,
.service-card-professional,
.testimonial-card,
.stats-card,
.feature-card,
.modal-content,
.contact-form-container,
form.contact-form {
    background-image: url('../images/backgrounds/bg-texture-light.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.95);
    background-blend-mode: overlay;
}

/* Light sections with texture */
.section-light {
    background-image: url('../images/backgrounds/bg-texture-light.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(248, 250, 252, 0.98);
    background-blend-mode: soft-light;
}

/* Trust badges with subtle texture */
.trust-badge {
    background-image: url('../images/backgrounds/bg-texture-light.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Footer with dotted pattern */
.footer {
    background-image: url('../images/backgrounds/bg-pattern-dots.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.95);
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

/* Modal headers with pattern */
.modal-header {
    background-image: url('../images/backgrounds/bg-pattern-dots.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(59, 130, 246, 0.9));
    z-index: 0;
}

.modal-header > * {
    position: relative;
    z-index: 1;
}

/* Feature sections alternating backgrounds */
.section:nth-child(even) {
    background-image: url('../images/backgrounds/bg-texture-light.png');
    background-size: cover;
    background-position: center;
    background-color: rgba(248, 250, 252, 0.95);
    background-blend-mode: soft-light;
}

/* CTA sections with pattern background */
.cta-section,
.call-to-action {
    background-image: url('../images/backgrounds/bg-pattern-dots.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-section::before,
.call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(34, 197, 94, 0.85));
    z-index: 0;
}

.cta-section > *,
.call-to-action > * {
    position: relative;
    z-index: 1;
}

/* Rates section with texture */
#live-rates .rate-sheet-table {
    background-image: url('../images/backgrounds/bg-texture-light.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Enhanced hover effects with backgrounds */
.service-card-professional:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.15);
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */

@media (max-width: 768px) {
    /* Simplify backgrounds on mobile for performance */
    .hero,
    .hero-professional,
    .page-header,
    .footer {
        background-size: 200%;
        background-position: center;
    }
    
    .section-light,
    .card,
    .service-card-professional {
        background-attachment: scroll;
    }
}

/* =============================================
   FALLBACK STYLES
   If images don't load, maintain good appearance
   ============================================= */

@supports not (background-blend-mode: overlay) {
    .card,
    .service-card-professional {
        background-color: white;
        border: 1px solid rgba(30, 64, 175, 0.1);
    }
}

/* Print styles - remove backgrounds */
@media print {
    .hero,
    .hero-professional,
    .page-header,
    .footer,
    .section-light,
    .card,
    .service-card-professional,
    .testimonial-card {
        background-image: none !important;
        background-color: white !important;
    }
    
    .hero::before,
    .footer::before {
        display: none !important;
    }
}

/* =============================================
   ANIMATION ENHANCEMENTS
   ============================================= */

.hero,
.hero-professional {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle parallax effect for hero backgrounds on desktop */
@media (min-width: 1024px) {
    .hero,
    .hero-professional {
        background-attachment: fixed;
        background-size: 100%;
    }
}


/* Best Deal Forex Website - Consolidated Stylesheet for Performance */
/* Combining style.css, visual-enhancements.css, and professional-enhancements.css */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #004AAD;
    --secondary-color: #f59e0b;
    --accent-color: #00BFA6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Professional Colors */
    --professional-gold: #f59e0b;
    --professional-dark-blue: #1e3a8a;
    --professional-light-blue: #dbeafe;
    --professional-success: #00BFA6;
    --professional-danger: #ef4444;
    --professional-purple: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.1vw, 16px);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    width: 100%;
    overflow-x: hidden;
}

html {
    width: 100%;
    overflow-x: hidden;
}

/* Container System */
.container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 60px;
}

.container-full {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 60px;
}

.container-edge-to-edge {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.4em;
    color: #0a1f44;
}

h1 { font-size: clamp(42px, 3.2vw, 48px); }
h2 { font-size: clamp(28px, 2.2vw, 32px); }
h3 { font-size: clamp(22px, 1.6vw, 24px); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Body text size set via body font-size and responsive media queries */

/* Content elements inherit body typography */

/* Inline font-size overrides intentionally not forced */

/* Header and Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: nowrap;
    gap: 1rem;
    padding-left: 50px;
    padding-right: 100px;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    flex-shrink: 0;
    margin-left: 0;
    padding-left: 0;
}

.logo-container a {
    text-decoration: none;
    display: flex;
    align-items: center;
    border: none;
    outline: none;
    margin-right: 1rem;
}

.logo-container img,
.logo-image {
    height: auto;
    width: auto;
    max-height: 144px;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-container img:hover,
.logo-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-text {
    background: linear-gradient(135deg, #00BFA6, #004AAD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00BFA6, #004AAD);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-right: 0;
    padding-right: 0;
}

.nav-item a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

 .nav-item a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Navigation font and size */
.nav-menu,
.nav-menu li,
.nav-item a,
.nav-menu a,
.mobile-menu-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1rem !important; /* 16px */
}

/* Links and buttons use Poppins */
a, button, .btn, .btn-professional {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Removed duplicate - handled above in main footer section */

/* Full HD (1920x1080) layout tweaks */
@media (min-width: 1920px) {
    .container, .container-full, .container-edge-to-edge { padding: 0 100px; }
    .nav-container { padding-left: 120px; padding-right: 160px; }
    .section { padding: 5rem 0; }
    .grid { gap: 2.5rem; }
    .service-card-professional { min-height: 380px; }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

/* Center hero content on all pages */
.hero .container,
.hero-professional .container,
.page-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Page header spacing */
.page-header {
    padding: 3rem 0;
}

.page-header h1,
.page-header h2 {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

.page-header p {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    margin-bottom: 1rem;
    color: #FFFFFF !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    color: #FFFFFF !important;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Professional */
.hero-professional {
    background: linear-gradient(135deg, #004AAD 0%, #0066CC 50%, #00BFA6 100%);
    position: relative;
    overflow: hidden;
}

.hero-professional::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
    opacity: 0.3;
}

/* Hero Enhanced */
.hero-enhanced {
    background: linear-gradient(135deg, #00BFA6 0%, #004AAD 50%, #003d8f 100%);
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-enhanced .container,
.hero-professional .container {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Professional Button */
.btn-professional {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.25);
    position: relative;
    overflow: hidden;
}

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

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

.btn-professional:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

/* Cards */
.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(0, 191, 166, 0.03) 100%);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(0, 191, 166, 0.15);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.5rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

/* 2x3 grid for Our Services (desktop) */
.services-grid-2x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

/* Justify descriptions inside services */
.services-grid-2x3 p,
.service-card-professional p {
    text-align: justify;
}

/* Justify paragraphs in about.html and knowledge.html pages */
.grid-2 p,
.product-category p {
    text-align: justify;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Service Card Enhanced */
.service-card-enhanced {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00BFA6, #f59e0b);
}

.service-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Service Card Professional */
.service-card-professional {
    background: linear-gradient(145deg, rgba(0, 191, 166, 0.05) 0%, rgba(0, 74, 173, 0.05) 50%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 191, 166, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.1);
}

.service-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card-professional:hover::before {
    transform: scaleX(1);
}

.service-card-professional:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.3);
}

.service-card-professional:hover .professional-icon {
    transform: translateY(-4px) scale(1.1) rotate(-2deg);
}

/* Professional Icons */
.professional-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

.professional-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.3);
}

.professional-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
    stroke: white;
    stroke-width: 1.5;
}

.service-icon-enhanced {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00BFA6, #004AAD);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

/* Sections */
.section {
    padding: 2.5rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label,
label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem; /* 15px */
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 400;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Product Category */
.product-category {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.product-header .icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.product-title {
    color: var(--text-dark);
    margin: 0;
}

.product-tagline {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Product Category Enhanced */
.product-category-enhanced {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 6px solid #00BFA6;
    position: relative;
}

.product-category-enhanced:nth-child(even) {
    border-left-color: #f59e0b;
}

.product-category-enhanced:nth-child(3n) {
    border-left-color: #00BFA6;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.leader-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.leader-name {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.leader-title {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.leader-card-enhanced {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.leader-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00BFA6, #f59e0b);
    border-radius: 0 0 4px 4px;
}

.leader-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.contact-item .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-enhanced {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.contact-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-opacity='0.03'%3E%3Cg fill='%230ea5e9'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3Ccircle cx='10' cy='30' r='4'/%3E%3Ccircle cx='50' cy='30' r='4'/%3E%3Ccircle cx='30' cy='10' r='4'/%3E%3Ccircle cx='30' cy='50' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, #00BFA6, #004AAD);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.05);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Trust Badges */
.trust-badge {
    transition: all 0.3s ease;
    cursor: pointer;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

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

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Glass Morphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Professional Typography */
.professional-heading {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.professional-subheading {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.professional-spacing {
    padding: 4rem 0;
}

/* Content Sections */
.content-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Feature Highlights */
.feature-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.25);
}

.feature-highlight h3 {
    color: #92400e;
    margin-bottom: 1rem;
}

.feature-highlight p {
    color: #451a03;
    font-weight: 500;
}

/* Animated Backgrounds */
.pattern-bg {
    position: relative;
    overflow: hidden;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.03'%3E%3Cpolygon fill='%230ea5e9' points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

.currency-bg {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='currency' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ctext x='20' y='25' fill='%230ea5e9' fill-opacity='0.05' font-family='Arial' font-size='24' text-anchor='middle'%3E$%3C/text%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23currency)'/%3E%3C/svg%3E");
}

/* Info Banner */
.info-banner {
    background: linear-gradient(90deg, #00BFA6, #059669);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 500;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00BFA6, #f59e0b, #00BFA6);
    border-radius: 10px;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

/* Download Links */
.download-link {
    display: inline-block;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #00BFA6, #004AAD);
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

.download-link:hover {
    background: linear-gradient(135deg, #004AAD, #00BFA6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    color: white !important;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

/* Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Ultra-wide screen optimizations */
@media (min-width: 1600px) {
    .container {
        padding: 0 80px;
    }
    
    .container-full {
        padding: 0 80px;
    }
    
    .container-edge-to-edge {
        padding: 0 60px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    p {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.375rem;
        max-width: 800px;
    }

    .section {
        padding: 6rem 0;
    }
    
    .section-title {
        margin-bottom: 4rem;
    }
    
    .section-title p {
        font-size: 1.25rem;
        max-width: 800px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .grid-2 { gap: 3rem; }
    .grid-3 { gap: 2.5rem; }
    .grid-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .service-card-enhanced,
    .service-card-professional {
        padding: 2.5rem;
    }
    
    .service-icon-enhanced {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1920px) {
    .container {
        padding: 0 100px;
    }
    
    .container-full {
        padding: 0 100px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero p {
        font-size: 1.5rem;
        max-width: 1000px;
    }

    .section {
        padding: 8rem 0;
    }
    
    .section-title {
        margin-bottom: 5rem;
    }
    
    .section-title p {
        font-size: 1.375rem;
        max-width: 1000px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }

    .grid-3 { gap: 4rem; }
    .grid-2 { gap: 4rem; }
    
    .service-card-enhanced,
    .service-card-professional {
        padding: 3rem;
    }

    .nav-container {
        padding-left: 50px;
        padding-right: 100px;
    }
}

/* Ultra-wide screen optimizations (2560px+) */
@media (min-width: 2560px) {
    .container {
        padding: 0 200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(4, 1fr);
        gap: 5rem;
    }
}

/* Desktop optimizations */
@media (min-width: 1200px) {
    .nav-container {
        padding-left: 50px;
        padding-right: 100px;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .services-grid-2x3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        min-height: 70px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo-container {
        /* Remove size restrictions on mobile */
    }
    
    .logo-container img,
    .logo-image {
        max-height: 72px;
        width: auto;
        height: auto;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #004AAD 0%, #0066CC 50%, #00BFA6 100%);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: translateY(-100%);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
    }
    
    .nav-menu .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-menu .nav-item a {
        color: white !important;
        font-size: 1.1rem;
        font-weight: 500;
        padding: 1rem;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-item a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(10px);
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active {
        transform: rotate(180deg);
    }


    .hero h1 {
        font-size: 2.5rem;
        color: #FFFFFF !important;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    }

    .hero p {
        font-size: 1.1rem;
        color: #FFFFFF !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    }

    .section {
        padding: 3rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid-2x3 {
        grid-template-columns: 1fr;
    }

    .service-card-professional {
        padding: 2rem;
        min-height: 300px;
    }
    
    .professional-icon {
        width: 56px;
        height: 56px;
        padding: 14px;
    }
    
    .professional-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-icon-enhanced {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trust-badge .trust-icon {
        width: 64px !important;
        height: 64px !important;
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }


    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 2rem 0;
    }

    .service-card-professional {
        padding: 1.5rem;
        min-height: 250px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .mobile-menu-btn {
        display: none !important;
    }
    
    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }
    
    .card,
    .service-card-professional {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
