/* Dark Modern Theme for Wizards Private Money - 2025 */
:root {
    /* Main Colors */
    --primary-color: #1e1e2f;
    --secondary-color: #b8860b;

    /* Dark Gold */
    --accent-color: #c0a080;

    /* Soft Gold */
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --dark-bg: #121220;
    --darker-bg: #0a0a15;
    --light-bg: #2a2a40;
    --lighter-bg: #3a3a50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;

    /* Shadows */
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

    /* Gradients */
    --dark-gradient: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    --gold-gradient: linear-gradient(135deg, #b8860b 0%, #ffd700 100%);

    /* Transitions */
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;

    /* This ensures content doesn't get hidden behind the fixed header */
    padding-top: 0;

    /* Default for desktop */
}

/* Ensure all pages have proper spacing with the fixed header */
@media screen and (max-width: 992px) {
    body {
        padding-top: 0;

        /* Let individual sections handle their own spacing */
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 0;

        /* Let individual sections handle their own spacing */
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
    text-shadow: var(--text-shadow);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Modern Styling - Reference Site Inspired */
/* Updated Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1e293b;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(192, 160, 128, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(192, 160, 128, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(245, 245, 245, 0.3);
}

.btn-outline:hover {
    background: rgba(245, 245, 245, 0.1);
    border-color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 245, 245, 0.1);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    background-color: rgba(10, 10, 21, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-speed) ease;
    height: 72px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo h1 {
    font-size: 1.75rem;
    margin: 0;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 600;
    letter-spacing: -0.5px;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-item {
    margin: 0;
}

/* Framer-inspired Navigation Buttons - Optimized Sizing */
.nav-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: 1px solid transparent;
    white-space: nowrap;
    letter-spacing: -0.2px;
    min-height: 36px;
}

.nav-link:hover {
    background-color: rgba(245, 245, 245, 0.08);
    color: var(--text-color);
    transform: translateY(-1px);
    border-color: rgba(245, 245, 245, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    background-color: rgba(184, 134, 11, 0.15);
    color: var(--secondary-color);
    border-color: rgba(184, 134, 11, 0.3);
    font-weight: 600;
}

.nav-link.active:hover {
    background-color: rgba(184, 134, 11, 0.2);
    border-color: rgba(184, 134, 11, 0.4);
    transform: translateY(-1px);
}

.nav-cta {
    flex-shrink: 0;
}

/* Enhanced CTA Button - Optimized Sizing */
.nav-cta .btn-secondary {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.12) 0%, rgba(192, 160, 128, 0.12) 100%);
    border: 1px solid rgba(184, 134, 11, 0.4);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    letter-spacing: -0.2px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cta .btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(184, 134, 11, 0.3);
    border-color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;

    /* Remove tap highlight on mobile */
}

.hamburger:hover {
    background-color: rgba(245, 245, 245, 0.08);
    border-color: rgba(245, 245, 245, 0.12);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all var(--transition-speed) ease;
    border-radius: 1px;
}

/* Enhanced mobile menu backdrop */
@media screen and (max-width: 768px) {
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* Special handling for hero section */
    margin-top: -72px;

    /* Cancel out the body padding for desktop */
    padding-top: 72px;

    /* Add padding to account for fixed header */
}

@media screen and (max-width: 992px) {
    .hero {
        margin-top: -72px;

        /* Cancel out the body padding for tablets */
        padding-top: 72px;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        margin-top: -70px;

        /* Cancel out the body padding for mobile */
        padding-top: 70px;
        height: auto;
        min-height: 100vh;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        margin-top: -65px;

        /* Cancel out the body padding for small mobile */
        padding-top: 65px;
    }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 21, 0.7), rgba(10, 10, 21, 0.9));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    margin: 4rem auto 0;
    text-align: center;
    z-index: 2;
    position: relative;
    background: rgba(10, 10, 21, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* Section Styles */
.section {
    padding: 6rem 0;
}

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

.section-title h2 {
    display: inline-block;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Clean styling for services section */
.section .container,
.section .services-grid,
.section .section-title,
.services-grid,
.service-card {
    border: none;
    outline: none;
}

.service-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.service-feature i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Features Section */
.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.features-content {
    flex: 1;
    min-width: 300px;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    background-color: var(--light-bg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-muted);
}

.features-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.features-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.features-image:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    z-index: -1;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--lighter-bg) 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(184, 134, 11, 0.3);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
    box-shadow: 0 12px 40px rgba(184, 134, 11, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.pricing-header {
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--primary-color) 100%);
    text-align: center;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.pricing-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
}

.pricing-content {
    padding: 1.5rem;
}

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

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pricing-feature i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 0.9rem;
}

.pricing-feature span {
    color: var(--text-color);
    line-height: 1.5;
}

.pricing-footer {
    text-align: center;
}

.pricing-footer .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(184, 134, 11, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
}

.faq-question:hover {
    background: rgba(184, 134, 11, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease, opacity 0.3s ease;
    background: var(--darker-bg);
    opacity: 0;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 1.5rem 2rem;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Form Messages and Validation */
.form-message {
    margin-top: 1rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Form Validation States */
.form-control.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.form-control.valid {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

/* Submit Button Loading State */
.submit-loading {
    display: none;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

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

.form-success p {
    color: var(--text-muted);
}

/* Contact Form Styles */
.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.contact-form-content {
    padding-right: 2rem;
}

.contact-features {
    margin-top: 2rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-feature i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: var(--darker-bg);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2);
    background: var(--primary-color);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

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

select.form-control {
    cursor: pointer;
}

/* Form Checkbox Styles */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-checkbox-input {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 0;
}

/* Submit Button Specific Styles */
.w-100 {
    width: 100%;
}

#submit-btn {
    position: relative;
    overflow: hidden;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 134, 11, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-info-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-info-icon i {
    color: var(--dark-bg);
    font-size: 1.5rem;
}

.contact-info-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-info-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-info-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-link:hover {
    color: var(--secondary-color);
}

.contact-info-address {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.6;
}

.contact-info-hours {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Consultation Section */
.consultation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.consultation-content {
    padding-right: 2rem;
}

.consultation-list {
    list-style: none;
    margin-top: 1.5rem;
}

.consultation-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.consultation-list i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1rem;
}

.consultation-calendar {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.calendar-placeholder p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.calendar-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* FAQ Section Specific to Contact - Updated for full width */
.faq-section {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Mobile Responsive for Contact Page */
@media screen and (max-width: 768px) {
    .contact-form-container,
    .consultation-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-content,
    .consultation-content {
        padding-right: 0;
    }

    .contact-form,
    .consultation-calendar {
        padding: 1.5rem;
    }

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

    .contact-info-item {
        padding: 1.5rem;
    }

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

    .calendar-buttons .btn {
        width: 100%;
    }

    .form-checkbox {
        align-items: flex-start;
    }

    .form-checkbox-input {
        margin-top: 0.3rem;
        flex-shrink: 0;
    }
}

/* Responsive Pricing Grid - Keep 4x4 on all screen sizes */
@media screen and (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

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

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

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Mobile: 4 cards side by side - maintaining 4x4 grid */
@media screen and (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

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

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

    .pricing-card {
        transform: none !important;
        padding: 0.5rem;
    }

    .pricing-card.featured {
        transform: none !important;
    }

    .service-card {
        padding: 0.5rem;
    }

    .feature-item {
        padding: 0.5rem;
    }

    .pricing-header {
        padding: 1rem 0.5rem;
    }

    .pricing-title {
        font-size: 0.9rem;
    }

    .pricing-price {
        font-size: 1.5rem;
    }

    .pricing-content {
        padding: 0.5rem;
    }

    .pricing-feature {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .service-content {
        padding: 0.5rem;
    }

    .service-title {
        font-size: 0.9rem;
    }

    .service-description {
        font-size: 0.8rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
        max-height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
    }

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

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

    .pricing-card {
        padding: 0.25rem;
    }

    .service-card {
        padding: 0.25rem;
    }

    .feature-item {
        padding: 0.25rem;
    }

    .pricing-title {
        font-size: 0.8rem;
    }

    .pricing-price {
        font-size: 1.2rem;
    }

    .service-title {
        font-size: 0.8rem;
    }

    .service-description {
        font-size: 0.7rem;
    }

    .pricing-feature {
        font-size: 0.7rem;
        padding: 0.2rem 0;
    }
}

/* Footer - Modern 2025 Design */
.footer {
    position: relative;
    background: #1a1a2e;
    padding: 4rem 0 2rem;
    color: #ffffff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Company Info Section */
.footer-company {
    text-align: left;
}

.footer-company .footer-logo h3 {
    font-size: 1.5rem;
    color: #ffb800;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-phone i {
    margin-right: 0.5rem;
    color: #ffb800;
}

.footer-phone:hover {
    color: #ffb800;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-link:hover {
    background: #ffb800;
    color: #1a1a2e;
}

/* Footer Links Sections */
.footer-links-section {
    text-align: left;
}

.footer-section-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links .footer-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 0.5rem;
}

.footer-links .footer-link::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffb800;
    font-size: 0.8rem;
}

.footer-links .footer-link:hover {
    color: #ffffff;
}

/* Get Started Today Section */
.footer-cta-section {
    text-align: left;
    background: rgba(255, 184, 0, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.footer-cta-description {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    background: #ffb800;
    color: #1a1a2e;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.footer-cta-btn i {
    margin-right: 0.5rem;
}

.footer-cta-btn:hover {
    background: #e6a600;
    transform: translateY(-1px);
}

.footer-stats {
    margin-top: 1.5rem;
}

.stats-label {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 0.8rem;
}

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

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

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffb800;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #a0a0a0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #a0a0a0;
}

.footer-bottom-links span {
    color: #a0a0a0;
}

/* Desktop Responsive Styles for Footer */
@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
        gap: 3rem;
    }

    .footer-company {
        padding-right: 1rem;
    }

    .footer-description {
        max-width: none;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-bottom-links {
        gap: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 5rem 0 2rem;
    }

    .footer-main {
        gap: 4rem;
    }
}

.footer-contact-info {
    gap: 2rem;
}

/* Scroll to Top Button - Left Side */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFD700;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

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

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

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

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

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

    /* Fix for mobile content bleeding behind header */
    main {
        padding-top: 70px;

        /* Add padding to account for fixed header */
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 70px;

        /* Extra padding for hero section */
    }

    .hero-content {
        margin-top: 0;

        /* Remove the top margin that pushes content down */
    }

    .features-container {
        flex-direction: column;
    }

    .features-image {
        margin-top: 3rem;
    }
}

/* Tablet View - Medium screens */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 1.5rem;
        max-width: 800px;
    }
}

/* Responsive Navigation Styles */
@media screen and (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-list {
        gap: 0.15rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.55rem 0.85rem;
    }

    .nav-cta .btn-secondary {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    .header {
        height: 70px;
        position: relative;
        z-index: 1003;

        /* Ensure header is above everything */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;

        /* Allow scrolling if content is too tall */
    }

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

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 2rem;
        padding: 2rem 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        color: var(--text-color);
        text-align: center;
        width: 100%;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(184, 134, 11, 0.2);
        color: var(--accent-color);
    }

    .nav-cta {
        margin: 0;
        padding: 0 2rem;
        width: 100%;
    }

    .nav-cta .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
    }

    .hamburger {
        display: flex !important;

        /* Force display on mobile */
        z-index: 1002;
        position: relative;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .header-container {
        padding: 0 1rem;
        position: relative;
        z-index: 1003;
    }

    /* Enhanced menu backdrop */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        animation: fadeIn 0.3s ease-out;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

@media screen and (max-width: 480px) {
    .header {
        height: 65px;
    }

    .logo h1 {
        font-size: 1.35rem;
    }

    .hamburger {
        width: 32px;
        height: 32px;
    }

    .hamburger span {
        width: 18px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Fix for mobile content bleeding behind header */
    main {
        padding-top: 60px;

        /* Add padding to account for fixed header */
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 60px;

        /* Extra padding for hero section */
    }

    .hero-content {
        margin-top: 0;

        /* Remove the top margin that pushes content down */
        padding: 1.5rem;
    }

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

    /* Ensure all sections have proper spacing on mobile */
    .section {
        padding: 4rem 0;
    }

    /* Add padding to ensure no content is hidden under the fixed header */
    .section:first-of-type {
        padding-top: 5rem;
    }

    .header-container {
        padding: 1rem 1.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex-shrink: 0;
    }

    /* Hamburger animation styles */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    /* Hamburger animation styles */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-content {
        padding: 1.5rem;
        margin-top: 2rem;
        background: rgba(10, 10, 21, 0.4);
    }

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

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

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Services Grid Mobile Adjustments */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;

        /* Two columns side by side */
        gap: 15px;

        /* Reduced gap for mobile */
        margin-top: 2rem;
    }

    .service-card {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .service-image {
        height: 120px;

        /* Reduced height for mobile */
        overflow: hidden;
    }

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-content {
        padding: 15px 12px;

        /* Reduced padding */
    }

    .service-title {
        font-size: 16px;

        /* Smaller title */
        margin-bottom: 8px;
    }

    .service-description {
        font-size: 13px;

        /* Smaller description */
        line-height: 1.4;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;

        /* Limit to 3 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-features {
        margin-bottom: 15px;
    }

    .service-feature {
        font-size: 12px;

        /* Smaller feature text */
        margin-bottom: 6px;
    }

    .service-feature i {
        font-size: 12px;
        margin-right: 6px;
    }

    .btn.btn-secondary {
        padding: 8px 16px;

        /* Smaller button */
        font-size: 13px;
    }

    /* Features Section Mobile Optimization - Compact & Visual */
    .features-container {
        gap: 1.5rem;

        /* More compact gap */
    }

    .features-content {
        min-width: 100%;
    }

    .features-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .features-content > p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

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

        /* 2x2 grid on mobile */
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .feature-item {
        background-color: rgba(42, 42, 64, 0.5);
        border-radius: 12px;
        padding: 1.2rem 0.8rem;
        text-align: center;
        align-items: center;
        flex-direction: column;
        transition: transform 0.3s ease, background-color 0.3s ease;
        border: 1px solid rgba(192, 160, 128, 0.1);
    }

    .feature-item:hover {
        transform: translateY(-5px);
        background-color: rgba(42, 42, 64, 0.8);
        border-color: rgba(192, 160, 128, 0.3);
    }

    .feature-icon {
        margin: 0 auto 0.8rem;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
        border: none;
    }

    .feature-icon i {
        font-size: 1rem;
        color: var(--dark-bg);
        font-weight: bold;
    }

    .feature-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        font-weight: 600;
    }

    .feature-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
        color: var(--text-muted);
    }

    .features-image {
        margin-top: 1.5rem;
        min-width: 100%;
    }

    .features-image img {
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    /* Pricing Section Mobile Optimization - Compact & Visual */
    .pricing-grid {
        grid-template-columns: 1fr;

        /* Single column on mobile */
        gap: 1.5rem;
    }

    .pricing-card {
        border-radius: 12px;
        overflow: hidden;
        transform: none;

        /* Reset desktop scaling */
        transition: all 0.3s ease;
    }

    .pricing-card.featured {
        transform: none;

        /* Reset featured scaling on mobile */
        border: 2px solid var(--accent-color);
        box-shadow: 0 8px 30px rgba(184, 134, 11, 0.3);
    }

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

    .pricing-header {
        padding: 1.5rem 1rem;
        background: linear-gradient(135deg, var(--darker-bg) 0%, var(--primary-color) 100%);
    }

    .pricing-title {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .pricing-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .pricing-price {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }

    .pricing-price span {
        font-size: 0.85rem;
    }

    .pricing-content {
        padding: 1.2rem;
    }

    .pricing-features {
        margin-bottom: 1.5rem;
    }

    .pricing-feature {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
        align-items: flex-start;
    }

    .pricing-feature i {
        margin-right: 0.8rem;
        margin-top: 2px;
        font-size: 0.8rem;
    }

    .pricing-feature span {
        line-height: 1.4;
    }

    .pricing-footer {
        padding: 0 1.2rem 1.5rem;
    }

    .featured-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobile navigation menu styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(10, 10, 21, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0 2rem;
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        text-align: left;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        background: transparent;
        border: 1px solid transparent;
    }

    .nav-link:hover {
        background-color: rgba(245, 245, 245, 0.1);
        border-color: rgba(245, 245, 245, 0.15);
    }

    .nav-link.active {
        background-color: rgba(184, 134, 11, 0.2);
        color: var(--secondary-color);
        border-color: rgba(184, 134, 11, 0.4);
    }

    .nav-cta {
        margin-top: 2rem;
        padding: 0 2rem;
        width: 100%;
    }

    .nav-cta .btn-secondary {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

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

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

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media screen and (max-width: 480px) {
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
    }
}

/* Marketplace Section - Airbnb Carousel */
.marketplace-section {
    background-color: var(--darker-bg);
    padding: 6rem 0;
}

.marketplace-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 50px;

    /* Add padding to accommodate arrows */
}

@media screen and (max-width: 768px) {
    .marketplace-wrapper {
        padding: 0;

        /* Remove padding on mobile */
    }
}

.marketplace-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.marketplace-container::-webkit-scrollbar {
    display: none;
}

.marketplace-container:active {
    cursor: grabbing;
}

/* Property Cards */
.property-card {
    flex: 0 0 320px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--lighter-bg) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    scroll-snap-align: start;
}

.property-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(184, 134, 11, 0.3);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.property-like {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.property-like:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: scale(1.1);
}

.property-like i {
    color: #6b7280;
    transition: color 0.3s ease;
}

.property-like:hover i {
    color: white;
}

.property-like.liked i {
    color: #ef4444;
}

.property-content {
    padding: 1.5rem;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.property-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-rating i {
    color: white;
    font-size: 0.8rem;
}

.property-rating span {
    color: white;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-location i {
    color: var(--accent-color);
}

.property-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.stat span {
    font-weight: 500;
}

.property-features {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature {
    background: rgba(184, 134, 11, 0.15);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(184, 134, 11, 0.3);
}

.property-revenue {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.revenue-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.3rem;
}

.revenue-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.property-cta {
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.property-cta:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4);
}

/* Navigation Arrows */
.marketplace-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(245, 245, 245, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid rgba(184, 134, 11, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.marketplace-nav:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    border-color: var(--secondary-color);
}

.marketplace-nav-prev {
    left: -25px;
}

.marketplace-nav-next {
    right: -25px;
}

.marketplace-nav.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.marketplace-nav.disabled:hover {
    background: rgba(245, 245, 245, 0.95);
    transform: translateY(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.marketplace-nav i {
    font-size: 1.2rem;
    color: var(--dark-bg);
}

.marketplace-nav:hover i {
    color: white;
}

/* Marketplace Subtitle */
.marketplace-subtitle {
    text-align: center;
    margin-top: 1rem;
}

.swipe-instruction {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(184, 134, 11, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(184, 134, 11, 0.3);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .marketplace-wrapper {
        padding: 0 25px;

        /* Reduced padding for mobile */
    }

    .marketplace-nav {
        display: flex;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(184, 134, 11, 0.3);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);

        /* Ensure they're above other content */
        z-index: 20;
    }

    .marketplace-nav:hover {
        background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
        border-color: var(--secondary-color);
        transform: translateY(-50%) scale(1.05);
    }

    /* Improved touch targets */
    .marketplace-nav:active {
        transform: translateY(-50%) scale(0.95);
        transition: transform 0.1s ease;
    }

    .marketplace-nav-prev {
        left: 5px;
    }

    .marketplace-nav-next {
        right: 5px;
    }

    .marketplace-nav i {
        font-size: 1rem;
        color: var(--dark-bg);
    }

    .marketplace-nav:hover i {
        color: white;
    }

    .property-card {
        flex: 0 0 280px;
    }

    .marketplace-container {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .swipe-instruction {
        display: inline-block;
    }
}

@media screen and (max-width: 480px) {
    .marketplace-nav {
        width: 36px;
        height: 36px;
    }

    .marketplace-nav-prev {
        left: 5px;
    }

    .marketplace-nav-next {
        right: 5px;
    }

    .marketplace-nav i {
        font-size: 0.9rem;
    }

    .property-card {
        flex: 0 0 250px;
    }

    .property-content {
        padding: 1rem;
    }

    .property-title {
        font-size: 1.1rem;
    }

    .revenue-main {
        font-size: 1.5rem;
    }
}

/* Adding visual fade gradients to the marketplace carousel */
.marketplace-wrapper::before,
.marketplace-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 5;
}

.marketplace-wrapper::before {
    left: 50px;
    background: linear-gradient(to right, var(--darker-bg), transparent);
}

.marketplace-wrapper::after {
    right: 50px;
    background: linear-gradient(to left, var(--darker-bg), transparent);
}

@media screen and (max-width: 768px) {
    .marketplace-wrapper::before,
    .marketplace-wrapper::after {
        display: none;
    }
}
