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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: var(--transition-theme);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
    font-weight: 500;
}

.skip-link:focus {
    top: 6px;
}

/* Focus Styles for Better Accessibility */
*:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background: #fff;
        color: #000;
    }
    
    .hero {
        background: #000;
        color: #fff;
    }
    
    .primary-btn, .secondary-btn {
        border: 2px solid currentColor;
    }
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Theme Colors - Light Mode (Default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-tertiary: #F5F5F5;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #777777;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --card-bg: #FFFFFF;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --modal-bg: #FFFFFF;
    --input-bg: #FFFFFF;
    --input-border: #E0E0E0;
    
    /* Brand Colors (consistent across themes) */
    --primary-gold: #D4AF37;
    --secondary-gold: #B8941F;
    --accent-gold: #F4E4BC;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    
    /* Legacy colors for backward compatibility */
    --pure-white: var(--bg-primary);
    --off-white: var(--bg-secondary);
    --light-gray: var(--bg-tertiary);
    --medium-gray: #555555;
    --dark-gray: #333333;
    --pure-black: #000000;
    --text-dark: var(--text-primary);
    --text-light: var(--text-secondary);
    --shadow-light: var(--shadow-color);
    --shadow-medium: var(--shadow-hover);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    --gradient-dark: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    
    /* Design System */
    --border-radius: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-theme: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    /* Logo Filters */
    --header-logo-filter: none;
    --footer-logo-filter: invert(1) brightness(1);
    
    /* Footer Colors - Light Mode */
    --footer-bg: var(--pure-black);
    --footer-text: var(--pure-white);
    --footer-text-muted: #CCCCCC;
    --footer-hover-color: var(--primary-gold);
    
    /* Legacy transition variable */
    --dark-gold: #B8941F;
    --light-gold: #F4E4BC;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #1A1A1A;
    --bg-secondary: #2C2C2C;
    --bg-tertiary: #3A3A3A;
    --text-primary: #FFFFFF;
    --text-secondary: #F0F0F0;
    --text-muted: #C0C0C0;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
    --card-bg: #2C2C2C;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --modal-bg: #2C2C2C;
    --input-bg: #3A3A3A;
    --input-border: #404040;
    --header-logo-filter: invert(1) brightness(1);
    --footer-logo-filter: invert(1) brightness(1);
    --medium-gray: #D0D0D0;
    
    /* Footer Colors - Dark Mode */
    --footer-bg: var(--primary-gold);
    --footer-text: var(--pure-black);
    --footer-text-muted: #333333;
    --footer-hover-color: #1A1A1A;
}

/* Link Styles */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition-theme);
}

a:hover {
    color: var(--secondary-gold);
    text-decoration: underline;
}

a:visited {
    color: var(--primary-gold);
}

/* Ensure good contrast in dark mode */
[data-theme="dark"] a {
    color: var(--primary-gold);
}

[data-theme="dark"] a:hover {
    color: #F4E4BC;
}

[data-theme="dark"] a:visited {
    color: var(--primary-gold);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-theme);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--border-color);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.theme-toggle:hover {
    background: var(--primary-gold);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.theme-toggle::before {
    content: '☀️';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 50%;
    transition: var(--transition-smooth);
    transform: translateX(-15px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 2;
}

[data-theme="dark"] .theme-toggle::before {
    content: '🌙';
    transform: translateX(15px);
}

.theme-toggle::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 13px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    opacity: 0;
    transition: var(--transition-theme);
}

[data-theme="dark"] .theme-toggle::after {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    opacity: 0.2;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
    filter: var(--logo-filter, none);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition-theme);
    position: relative;
}

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

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

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

/* Buttons */
.cta-btn, .primary-btn, .secondary-btn, .service-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.cta-btn, .primary-btn {
    background: var(--primary-gold);
    color: var(--pure-white);
}

.cta-btn:hover, .primary-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.secondary-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.service-btn {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.service-btn:hover {
    background: var(--primary-gold);
    color: var(--pure-white);
}

.large {
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 1px;
}

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

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--primary-gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    transition: var(--transition-theme);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.gold-text {
    color: var(--primary-gold);
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 4px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: var(--transition-theme);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--pure-white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 300;
}

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

/* Consultation CTA Section */
.consultation-cta {
    margin-top: 6rem;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c9a96e 100%);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.consultation-cta::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.consultation-content {
    position: relative;
    z-index: 2;
}

.consultation-content h3 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--pure-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.consultation-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.consultation-btn {
    background: var(--pure-white);
    color: var(--primary-gold);
    border: 2px solid transparent;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.consultation-btn:hover {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card {
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-theme);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.service-card:hover::before {
    left: 0;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gold);
    border-radius: 50%;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.service-card:hover .service-icon {
    background: var(--primary-gold);
}

.service-card:hover .service-icon i {
    color: var(--pure-white);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--light-gray);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 1rem;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.feature i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature span {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 300;
    text-align: left;
}

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

.video-placeholder {
    width: 100%;
    height: 300px;
    background: var(--card-bg);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-theme);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.video-placeholder p {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 300;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--pure-white);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--light-gold);
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 300;
}

.contact-cta {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 0 1rem;
    transition: var(--transition-theme);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Header Logo Styles */
.nav-logo .logo {
    height: 40px;
    filter: var(--header-logo-filter, none);
}

/* Footer Logo Styles */
.footer-logo img {
    height: 40px;
    filter: var(--footer-logo-filter, none);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--footer-text-muted);
    font-weight: 300;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--modal-bg);
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: var(--medium-gray);
    transition: var(--transition);
    z-index: 10;
}

.close:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Quiz Modal Styles */
.quiz-modal {
    max-width: 700px;
}

.quiz-container {
    padding: 3rem;
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--light-gray);
    border-radius: 2px;
    margin-right: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gold);
    width: 20%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.quiz-step {
    text-align: center;
}

.quiz-step h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.quiz-step p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quiz-option {
    padding: 1rem 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background: var(--pure-white);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-size: 0.9rem;
}

.quiz-option:hover {
    border-color: var(--primary-gold);
    background: var(--light-gold);
}

.quiz-option.selected {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: var(--pure-white);
}

.quiz-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.quiz-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.quiz-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.quiz-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.quiz-btn.prev {
    background: transparent;
    color: var(--medium-gray);
    border: 1px solid var(--light-gray);
}

.quiz-btn.next {
    background: var(--primary-gold);
    color: var(--pure-white);
}

.quiz-btn:hover {
    transform: translateY(-2px);
}

.quiz-btn.prev:hover {
    background: var(--light-gray);
}

.quiz-btn.next:hover {
    background: var(--dark-gold);
}

/* Service Modal */
.service-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.service-modal-content {
    padding: 3rem;
    max-height: calc(90vh - 6rem);
    overflow-y: auto;
}

/* Service Detail Styling */
.service-detail {
    line-height: 1.7;
}

.service-detail h2 {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-detail h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    margin-top: 2rem;
    letter-spacing: -0.01em;
}

.service-detail h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.service-detail p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-detail > p:first-of-type {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Service Features and Benefits */
.service-features,
.service-benefits {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-gold);
}

.service-features ul,
.service-benefits ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.service-features li,
.service-benefits li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.service-features li:last-child,
.service-benefits li:last-child {
    border-bottom: none;
}

.service-features li::before,
.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Service CTA */
.service-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.service-cta .primary-btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Quiz Success Styles */
.quiz-step.success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.success-icon i {
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.next-steps {
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
}

/* Consultation Form Styles */
.consultation-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.consultation-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.consultation-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.consultation-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    background: var(--pure-white);
}

.consultation-form input:hover,
.consultation-form select:hover,
.consultation-form textarea:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.consultation-form select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23d4af37" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 14px;
    padding-right: 3rem;
}

.consultation-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.consultation-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
}

/* Step 4 Specific Styling */
.quiz-step h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
}

.quiz-step h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), #e6c866);
    border-radius: 2px;
}

/* Enhanced Form Group Styling */
.consultation-form .form-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-gold), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.consultation-form .form-group:focus-within::before {
    opacity: 1;
}

.consultation-form .quiz-navigation {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.consultation-form .quiz-navigation::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--primary-gold);
}

@media (max-width: 768px) {
    .consultation-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .consultation-form input,
    .consultation-form select,
    .consultation-form textarea {
        padding: 0.875rem 1rem;
    }
}

/* Responsive Design */
/* Medium screens - tablets and small laptops */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
        box-shadow: 0 10px 27px var(--shadow-color);
        padding: 2rem 0;
        z-index: 999;
        border-top: 1px solid rgba(212, 175, 55, 0.1);
    }

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

    .nav-menu a {
        font-size: 1.2rem;
        margin: 1rem 0;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--text-primary);
    }

    .nav-menu a:hover {
        background: rgba(212, 175, 55, 0.1);
        transform: translateX(10px);
    }

    .nav-menu .cta-btn {
        margin-top: 1rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Hero Section Mobile Fixes */
    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta .primary-btn,
    .hero-cta .secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .quiz-container {
        padding: 2rem;
    }

    .quiz-buttons {
        flex-direction: column;
    }
}

/* Quiz Navigation */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.nav-btn {
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

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

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

.nav-btn:hover {
    background: var(--primary-gold);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.nav-btn.prev {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.nav-btn.prev:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.nav-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .quiz-navigation {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Enhanced Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-theme);
    background-color: var(--input-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}

/* Form States */
.form-group.focused label {
    color: var(--primary-gold);
}

.form-group.filled input,
.form-group.filled select,
.form-group.filled textarea {
    background-color: #f8f9fa;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff5f5;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Field Error Messages */
.field-error {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: slideDown 0.3s ease-out;
}

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

/* Form Progress Indicator */
.form-progress {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.form-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold) 0%, #f4d03f 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.form-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.form-progress-text {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Enhanced Button Styles */
.primary-btn.loading, .cta-button.loading {
    pointer-events: none;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error Message Styles */
.error-message {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 1px solid #feb2b2;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.3s ease-out;
}

.error-message i {
    color: #e53e3e;
    font-size: 1.2rem;
}

.error-message span {
    color: #742a2a;
    font-weight: 500;
    flex: 1;
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--pure-white);
    font-weight: bold;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
}

.success-message h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    animation: slideInLeft 0.6s ease-out 0.4s both;
}

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

.success-message p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    animation: slideInRight 0.6s ease-out 0.6s both;
}

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

.success-details {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.success-details p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-details li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.success-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.success-message .cta-button {
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    background: var(--primary-gold);
    color: var(--pure-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success-message .cta-button:hover {
    background: #c5a647;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Enhanced Mobile Optimization Styles */

/* Enhanced Touch Targets */
@media (max-width: 768px) {
    /* Minimum 44px touch targets for accessibility */
    .primary-btn, .secondary-btn, .cta-button {
        min-height: 44px;
        min-width: 44px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .quiz-btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
    }
    
    /* Mobile Navigation Improvements */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hamburger {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .hamburger span {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        display: block;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .hamburger span::before,
    .hamburger span::after {
        content: '';
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .hamburger span::before {
        top: -8px;
    }
    
    .hamburger span::after {
        bottom: -8px;
    }
    
    .hamburger.active span {
        background: transparent;
    }
    
    .hamburger.active span::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .hamburger.active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    /* Mobile menu styles already defined above */
    
    /* Mobile Hero Section - Enhanced */
    .hero {
        padding: 6rem 0 4rem;
        text-align: center;
        min-height: auto;
        overflow-x: hidden;
    }
    
    .hero-container {
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
        display: block;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero h1,
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .hero p,
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .hero-buttons,
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn,
    .hero-cta .primary-btn,
    .hero-cta .secondary-btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile Stats */
    .stats,
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Mobile Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile Forms */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .consultation-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
    }
    
    /* Mobile Quiz */
    .quiz-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quiz-option {
        padding: 1.25rem;
        text-align: center;
    }
    
    .quiz-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quiz-btn {
        width: 100%;
        order: 2;
    }
    
    .quiz-btn.prev {
        order: 1;
    }
    
    /* Mobile Modals */
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        border-radius: 12px;
    }
    
    .quiz-modal-content,
    .consultation-modal-content,
    .service-modal-content {
        padding: 2rem 1.5rem;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }
    
    .service-modal {
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }
    
    /* Mobile Service Modal */
    .service-detail h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .service-detail h3 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .service-detail h4 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .service-detail p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .service-detail > p:first-of-type {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-features,
    .service-benefits {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .service-features li,
    .service-benefits li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
        padding-left: 1.8rem;
    }
    
    .service-cta {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .service-cta .primary-btn {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    /* Mobile Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile Section Spacing */
    .section {
        padding: 4rem 0;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .quiz-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
        max-width: 100%;
    }

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

    .hero-container {
        padding: 0 0.75rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0 0.25rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-cta {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta .primary-btn,
    .hero-cta .secondary-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        max-width: 260px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1rem 0.75rem;
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    .modal-content {
        margin: 0.5rem;
        border-radius: 8px;
    }

    .quiz-modal-content,
    .consultation-modal-content,
    .service-modal-content {
        padding: 1.5rem 1rem;
        max-height: calc(100vh - 3rem);
        overflow-y: auto;
    }
    
    .service-modal {
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
    }
    
    /* Extra Small Mobile Service Modal */
    .service-detail h2 {
        font-size: 1.6rem;
    }
    
    .service-detail h3 {
        font-size: 1.4rem;
    }
    
    .service-detail h4 {
        font-size: 1.1rem;
    }
    
    .service-features,
    .service-benefits {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }
    
    .service-features li,
    .service-benefits li {
        font-size: 0.9rem;
        padding-left: 1.6rem;
    }
    
    .service-features li::before,
    .service-benefits li::before {
        font-size: 1rem;
    }

    .success-message {
        padding: 2rem 1rem;
    }

    .success-message h3 {
        font-size: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .quiz-option:hover,
    .primary-btn:hover,
    .secondary-btn:hover {
        transform: none;
    }
    
    /* Add active states for touch feedback */
    .service-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .quiz-option:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .primary-btn:active,
    .secondary-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 2rem;
    }
    
    .nav-menu a {
        margin: 0.5rem;
        font-size: 1rem;
    }
    
    .modal-content {
        max-height: calc(100vh - 1rem);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hamburger span,
    .hamburger span::before,
    .hamburger span::after {
        transition: none;
    }
    
    .nav-links {
        transition: none;
    }
}

/* Success Message CTA Button */
.success-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.6s ease 1.2s both;
}

.success-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

/* Ripple Effect for Buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

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

/* Enhanced Loading Animations */
.content-loaded {
    animation: contentFadeIn 0.6s ease-out;
}

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

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

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

/* Lazy Loading Images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}

img.error {
    opacity: 0.5;
    filter: grayscale(100%);
}

/* Enhanced Form Field Focus */
.field-focused {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

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

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

/* Performance Optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Micro-interaction Enhancements */
.service-card,
.stat-item,
.primary-btn,
.secondary-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Button States */
button,
.primary-btn,
.secondary-btn {
    position: relative;
    overflow: hidden;
}

button:active,
.primary-btn:active,
.secondary-btn:active {
    transform: scale(0.98);
}

/* Focus Indicators */
*:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}