/* Reset and Base Styles */
:root {
    /* Primary Brand Colors - Based on Homeworkhaven Logo */
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --primary-green: #04AC14;
    --white: #FFFFFF;
    
    /* Primary Button Colors - Blue Theme */
    --primary-gold: #1e3a8a;
    --secondary-gold: #3b82f6;
    --light-gold: #60a5fa;
    --dark-gold: #1e40af;
    
    /* Green Colors - Supporting */
    --secondary-green: #06b6d4;
    --light-green: #22c55e;
    --dark-green: #047857;
    
    /* Blue Colors - Supporting Role */
    --light-blue: #60a5fa;
    --dark-blue: #1e293b;
    
    /* Neutral Colors */
    --light-gray: #f8fafc;
    --light-amber: #e0f2fe;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    
    /* Font Variables - Consistent Across Entire Site */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Header Specific Variables */
    --header-height: 70px;
    --nav-font-size: 15px;
    --nav-font-weight: 500;
    --logo-font-size: 22px;
    --dropdown-font-size: 14px;
    
    /* Consistent Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #fff;
}

/* All headings use consistent font family */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
}

/* Consistent heading classes */
.hero-title, .section-title, .service-title, .feature-title, .about-title, .contact-title, 
.page-title, .card-title, .modal-title {
    font-family: var(--font-primary);
}

/* Force consistency for common elements */
* {
    font-family: var(--font-body);
}

/* Override any inline font styles */
body, div, span, p, a, button, input, select, textarea, li, td, th {
    font-family: var(--font-body) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Enhanced Across All Pages */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.3s ease;
}

.header.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo .logo {
    font-family: var(--font-primary);
    font-size: var(--logo-font-size);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    height: 100%;
    align-items: center;
}

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

.logo-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: var(--logo-font-size);
}

.nav-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: var(--nav-font-size);
    font-weight: var(--nav-font-weight);
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: fit-content;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link.active {
    color: var(--primary-gold);
    background: rgba(245, 158, 11, 0.1);
}



    /* Hero-specific button styles using new system */
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
        border-radius: 14px;
        min-width: 200px;
    }

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
    color: var(--text-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Simple Mobile Menu Styles - Matching index.html */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: row;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        gap: 0.5rem;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 8px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown-menu.mobile-active {
        display: block;
    }
}

/* Simple Dropdown Menu Styles - Matching index.html */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    padding-right: 1.5rem !important;
}

.dropdown-toggle::after {
    content: '▼';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: #64748b;
}

.dropdown:hover .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

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

.dropdown-link {
    font-family: var(--font-primary);
    display: block;
    padding: 0.75rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: var(--nav-font-weight);
    border-left: 3px solid transparent;
    font-size: var(--dropdown-font-size);
}

.dropdown-link:hover {
    background: var(--light-amber);
    color: var(--dark-gold);
    border-left-color: var(--primary-gold);
}

.dropdown-link:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-link:last-child {
    border-radius: 0 0 8px 8px;
}

/* Prevent dropdown overlap */
.dropdown:nth-child(n+3) .dropdown-menu {
    left: -30px;
}

/* Ensure dropdowns don't exceed viewport */
@media (max-width: 1200px) {
    .dropdown-menu {
        min-width: 240px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 200px;
        max-width: 250px;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 15px;
    }
    
    .dropdown-menu {
        min-width: 260px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .nav-link {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .nav-link i {
        font-size: 14px;
    }
    
    .dropdown-menu {
        min-width: 240px;
    }
    
    /* Adjust dropdown positioning to avoid viewport cutoff */
    .dropdown:nth-child(n+4) .dropdown-menu {
        left: -50px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 15px 10px;
        gap: 0.5rem;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 5px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown-menu.mobile-active {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .nav-menu {
        top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 5px;
        gap: 0.3rem;
    }
    
    .nav-menu li {
        margin: 0 3px;
    }
    
    .nav-link {
        padding: 5px 8px;
        font-size: 12px;
    }
}
    
    .mobile-menu-content {
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-nav-link {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .dropdown-menu {
        min-width: 200px;
        max-width: 280px;
        left: -10px;
    }
    
    /* Compact mobile menu header */
    .mobile-menu-header {
        padding: 16px 20px;
    }
    
    .mobile-logo {
        font-size: 18px;
    }
    
    /* Better mobile hero spacing */
    .page-hero,
    .order-hero,
    .booking-hero {
        padding: 5rem 0 3rem;
    }
    
    .page-hero h1,
    .order-hero h1,
    .booking-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p,
    .order-hero p,
    .booking-hero p {
        font-size: 1.1rem;
    }
}

/* Modern Button System - Enhanced */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    line-height: 1.2;
    user-select: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2.5rem;
    min-width: 200px;
}

.btn::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.6s;
}

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

/* Button Size Variants */
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
    gap: 6px;
}

.btn-md {
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 10px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 18px;
    border-radius: 16px;
}

/* Button Color Variants */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--light-blue) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    color: white;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}

/* Outline variants for all colors */
.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.btn-outline-secondary:hover {
    background: var(--secondary-blue);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.btn-outline-success {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.btn-outline-success:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.btn-outline-danger {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}

.btn-outline-danger:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

.btn-outline-warning {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
}

.btn-outline-warning:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25);
}

.btn-outline-info {
    background: transparent;
    color: #06b6d4;
    border: 2px solid #06b6d4;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.08);
}

.btn-outline-info:hover {
    background: #06b6d4;
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.25);
}

.btn-outline-dark {
    background: transparent;
    color: #374151;
    border: 2px solid #374151;
    box-shadow: 0 2px 8px rgba(55, 65, 81, 0.08);
}

.btn-outline-dark:hover {
    background: #374151;
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(55, 65, 81, 0.25);
}

.btn-outline-light {
    background: transparent;
    color: #f8fafc;
    border: 2px solid #f8fafc;
    box-shadow: 0 2px 8px rgba(248, 250, 252, 0.08);
}

.btn-outline-light:hover {
    background: #f8fafc;
    color: var(--text-primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(248, 250, 252, 0.25);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

.btn-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
}

.btn-blue:hover {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35);
}

.btn-blue:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, var(--success-color) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

.btn-warning {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--dark-gold) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35);
}

.btn-warning:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.btn-info:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
}

.btn-info:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-dark {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.25);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(55, 65, 81, 0.35);
}

.btn-dark:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.3);
}

.btn-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.15);
}

.btn-light:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(148, 163, 184, 0.25);
}

.btn-light:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.2);
}

.btn-white {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    color: var(--text-primary);
    border: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(229, 231, 235, 0.8);
}

.btn-white:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Button State Variants */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

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

/* Enhanced Ripple Effect and Micro-interactions */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

.btn-animate {
    position: relative;
    overflow: hidden;
}

@keyframes ripple-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Shine effect for buttons */
.btn-shine::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.6s;
}

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

/* Pulse animation for important buttons */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Glow effect on hover */
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3), 0 8px 25px rgba(30, 58, 138, 0.35);
}

.btn-glow.btn-success:hover {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3), 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-glow.btn-danger:hover {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3), 0 8px 25px rgba(220, 38, 38, 0.35);
}

.btn-glow.btn-warning:hover {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3), 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-glow.btn-gold:hover {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3), 0 8px 25px rgba(245, 158, 11, 0.35);
}

/* Bounce animation */
.btn-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Loading skeleton for buttons */
.btn-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    color: transparent;
    border: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Button Focus States */
.btn:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.btn:focus-visible:focus {
    outline-color: var(--secondary-gold);
}

/* Loading State Animation */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    animation: button-spin 1s linear infinite;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

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

/* Button Icons */
.btn-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

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

/* Button Groups */
.btn-group {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

/* Specialized Button Styles */
.btn-primary-quote {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary-quote:hover {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--light-gold) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary-quote {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.btn-secondary-quote:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.btn-paypal {
    background: linear-gradient(135deg, #ffc439 0%, #ff9500 100%);
    color: #003087;
    box-shadow: 0 4px 15px rgba(255, 196, 57, 0.25);
    font-weight: 700;
    border: none;
}

.btn-paypal:hover {
    background: linear-gradient(135deg, #ff9500 0%, #ff8000 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 196, 57, 0.35);
    color: #003087;
}

.btn-paypal:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 196, 57, 0.3);
}

.btn-cancel {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.25);
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.35);
}

.btn-cancel:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.05);
}

.btn-ghost:hover {
    background: var(--text-secondary);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.2);
}

.btn-ghost:active {
    transform: translateY(-1px) scale(0.98);
}

/* Ensure .btn-primary works in modals */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Modal specific buttons */
.btn-close {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
}

.btn-close:hover {
    background: var(--text-secondary);
    color: white;
    transform: translateY(-1px);
}

/* Width utility classes */
.w-25 { width: 25%; }
.w-33 { width: 33.333%; }
.w-50 { width: 50%; }
.w-66 { width: 66.666%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }

/* Spacing utility classes */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

/* Flex utility classes */
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* Enhanced button container and utility classes */
.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-container-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
}

.btn-container-left {
    justify-content: flex-start;
}

.btn-container-right {
    justify-content: flex-end;
}

.btn-container-between {
    justify-content: space-between;
}

.btn-container-stretch {
    justify-content: stretch;
}

.btn-container-stretch .btn {
    flex: 1;
}

/* Button width utilities */
.btn-w-auto { width: auto; }
.btn-w-full { width: 100%; }
.btn-w-fit { width: fit-content; }
.btn-w-min { width: min-content; }

/* Button spacing utilities */
.btn-gap-xs { gap: 0.25rem; }
.btn-gap-sm { gap: 0.5rem; }
.btn-gap-md { gap: 1rem; }
.btn-gap-lg { gap: 1.5rem; }
.btn-gap-xl { gap: 2rem; }

/* Button alignment utilities */
.btn-align-start { align-items: flex-start; }
.btn-align-center { align-items: center; }
.btn-align-end { align-items: flex-end; }
.btn-align-stretch { align-items: stretch; }

/* Advanced button group styles */
.btn-group-connected {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-group-connected .btn {
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
}

.btn-group-connected .btn:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.btn-group-connected .btn:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: none;
}

.btn-group-connected .btn:only-child {
    border-radius: 12px;
    border: none;
}

/* Button with icon variations */
.btn-icon-left {
    flex-direction: row;
}

.btn-icon-right {
    flex-direction: row-reverse;
}

.btn-icon-top {
    flex-direction: column;
    gap: 0.5rem;
}

.btn-icon-bottom {
    flex-direction: column-reverse;
    gap: 0.5rem;
}

.btn-icon-only {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.btn-icon-only.btn-sm {
    width: 36px;
    height: 36px;
}

.btn-icon-only.btn-lg {
    width: 60px;
    height: 60px;
}

@media (max-width: 768px) {
    .btn {
        font-size: 1rem;
        padding: 1.2rem 2rem;
        min-width: unset;
        width: 100%;
        max-width: 300px;
        border-radius: 50px;
        min-height: 44px;
    }
    
    .btn-sm {
        padding: 10px 20px;
        font-size: 12px;
        min-height: 40px;
        border-radius: 50px;
    }
    
    .btn-md {
        padding: 12px 24px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .btn-xl {
        padding: 20px 40px;
        font-size: 18px;
        min-height: 52px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .btn-container {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .btn-container .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .reduce-animation-intensity-for-mobile {
        transform: translateY(-1px) scale(1.01);
    }
}

/* Enhanced Responsive Buttons */
@media (max-width: 768px) {
    .btn {
        font-size: 14px;
        padding: 12px 24px;
        min-height: 44px; /* Touch-friendly */
        border-radius: 10px;
        gap: 6px;
    }
    
    .btn-sm {
        padding: 10px 20px;
        font-size: 12px;
        min-height: 40px;
        border-radius: 8px;
    }
    
    .btn-md {
        padding: 12px 24px;
        font-size: 14px;
        min-height: 44px;
        border-radius: 10px;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 12px;
    }
    
    .btn-xl {
        padding: 20px 40px;
        font-size: 18px;
        min-height: 52px;
        border-radius: 14px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .btn-container {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    /* Reduce animation intensity for mobile */
    .btn:hover {
        transform: translateY(-1px) scale(1.01);
    }
    
    .btn:active {
        transform: translateY(0) scale(0.99);
    }
}

@media (max-width: 480px) {

/* Large screen improvements */
@media (min-width: 1200px) {
    .btn-xl {
        padding: 20px 40px;
        font-size: 20px;
        min-height: 60px;
        border-radius: 16px;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 18px;
        min-height: 56px;
        border-radius: 14px;
    }
}

/* Hero Section */
.hero {
    padding: calc(6rem + var(--header-height, 80px)) 0 4rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-description {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

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

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #64748b;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-description {
    color: #64748b;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-gold);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    color: #64748b;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    color: #64748b;
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: white;
}

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

.testimonial-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author-name {
    font-weight: 600;
    color: #1e293b;
}

.author-subject {
    color: #64748b;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0f172a 100%);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Page Hero Sections - Consistent Across All Pages */
.page-hero,
.order-hero,
.booking-hero,
.service-hero {
    padding: calc(4rem + var(--header-height, 80px)) 0 3rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-hero::before,
.order-hero::before,
.booking-hero::before,
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.page-hero .container,
.order-hero .container,
.booking-hero .container,
.service-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.order-hero h1,
.booking-hero h1,
.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.page-hero p,
.order-hero p,
.booking-hero p,
.service-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: row;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        margin-top: 0.5rem;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .dropdown-menu.mobile-active {
        display: block;
        max-height: 500px;
    }

    .dropdown-toggle::after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .nav-item {
        width: 100%;
        padding: 0 1rem;
    }

    .nav-link {
        font-family: var(--font-primary);
        font-size: var(--nav-font-size);
        display: block;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .dropdown-link {
        padding: 0.75rem 0;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
        font-size: 6rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-graphic {
        width: 280px;
        height: 280px;
        font-size: 4rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero {
        padding: 6rem 0 3rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Contact Section Styles */
.contact {
    padding: 5rem 0;
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #64748b;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Font Consistency Overrides */
/* Force consistent fonts across all elements and override any inline styles */
body, html, div, span, p, h1, h2, h3, h4, h5, h6, a, button, input, select, textarea, li, td, th, label, form {
    font-family: var(--font-body) !important;
}

/* All headings and navigation use primary font */
h1, h2, h3, h4, h5, h6, .nav-link, .dropdown-link, .logo-text, .btn, .modal-title, .card-title, .page-title, .section-title {
    font-family: var(--font-primary) !important;
}

/* Override specific page styles that might use different fonts */
header, .header, nav, .navbar, .nav-menu, .nav-container, .nav-item, .nav-logo {
    font-family: var(--font-primary) !important;
}

/* Ensure consistent button and link fonts */
.btn, button, input[type="button"], input[type="submit"], a {
    font-family: var(--font-primary) !important;
}

/* Form elements */
input, textarea, select {
    font-family: var(--font-body) !important;
}

/* Specific overrides for commonly used elements */
.modal-content, .card-body, .form-control, .form-select {
    font-family: var(--font-body) !important;
}

.modal-header, .card-header, .form-label {
    font-family: var(--font-primary) !important;
}