:root {
    /* Builder AI inspired palette */
    --primary: #6366f1;
    /* Indigo/Purple for buttons/accents */
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.5);

    --secondary: #a855f7;
    /* Purple accent */
    --secondary-glow: rgba(168, 85, 247, 0.5);

    --bg-dark: #030014;
    /* Deep space black/blue */
    --bg-card: rgba(255, 255, 255, 0.03);
    /* Glassmorphism bg */
    --bg-card-hover: rgba(255, 255, 255, 0.08);

    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.1);

    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, rgba(3, 0, 20, 0) 70%);

    /* Font sizes */
    --h1-size: clamp(2.5rem, 5vw, 4rem);
    --h2-size: clamp(2rem, 4vw, 3rem);
    --h3-size: clamp(1.5rem, 3vw, 2rem);
    --body-size: clamp(1rem, 1.5vw, 1.125rem);
    --small-size: 0.875rem;
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    background-image: var(--gradient-glow);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Header and Navigation */
header {
    background-color: rgba(3, 0, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    z-index: 101;
    gap: 0;
}

.logo-speats {
    color: #ffffff;
}

.logo-ai {
    color: #8B5CF6;
}

/* Optional: Add a logo icon if needed, or style the text more appropriately */

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Dropdown Menu Styles */
.nav-links .dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
    min-width: 180px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    color: var(--text-main);
    background: rgba(99, 102, 241, 0.1);
    padding-left: 25px;
}

.btn {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

/* Mobile Nav Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
    /* Keep hamburger above mobile menu */
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-btn {
    display: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: transparent;
    position: relative;
    overflow: visible;
}

/* Add a spotlight effect behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badge i {
    color: var(--primary);
    font-size: 0.8rem;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.hero-text h1 {
    font-size: var(--h1-size);
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
    /* Fallback */
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom right, #ffffff, #a5b4fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: var(--body-size);
    color: var(--gray);
    margin-bottom: 30px;
}

/* Hide benefit items in hero for cleaner look, or style them as a small row */
.hero-benefits {
    display: none;
    /* Simplification for the new clean style */
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* ... existing btn-secondary ... */

.hero-image {
    display: none;
    /* Hide image to match text-centric screenshot */
}

.hero-image img {
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    max-width: 100%;
    display: block;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: var(--h2-size);
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: var(--body-size);
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    border-top: 1px solid var(--border-light);
    /* Reset top border */
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
    font-size: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: var(--h3-size);
    color: white;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: var(--body-size);
}

/* Process Section */
.process {
    background-color: var(--gray-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 25%;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: var(--h3-size);
}

.step p {
    color: var(--gray);
    padding: 0 10px;
    font-size: var(--body-size);
}

/* CTA Section */
.cta {
    text-align: center;
    background: transparent;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow behind the CTA */
.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.cta h2 {
    font-size: var(--h2-size);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: var(--body-size);
    opacity: 0.9;
    color: var(--text-muted);
}



/* Testimonials Section */
.testimonials {
    background-color: transparent;
    padding: 80px 0;
}

/* ... grid ... */

.testimonial-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    font-size: var(--body-size);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray-light);
    margin-right: 15px;
    overflow: hidden;
}

.author-name {
    font-weight: 600;
    color: var(--primary-dark);
}

.author-title {
    font-size: var(--small-size);
    color: var(--gray);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 60px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: var(--body-size);
    opacity: 0.9;
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-study-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    border: 1px solid var(--border-light);
}

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

.case-study-image {
    height: 200px;
    background-color: var(--gray-light);
}

.case-study-content {
    padding: 25px;
}

.case-study-tag {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: var(--small-size);
    font-weight: 600;
    margin-bottom: 15px;
}

.case-study-title {
    font-size: var(--h3-size);
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 600;
}

.case-study-excerpt {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: var(--body-size);
}

/* BrokerAI Section */
.brokerai-section {
    background-color: transparent;
}

.brokerai-cta {
    margin-top: 30px;
    text-align: center;
}

.brokerai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--gray-light);
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: var(--h3-size);
    color: var(--primary-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    font-size: var(--body-size);
    margin-bottom: 15px;
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
}

.feature-card li {
    color: var(--gray);
    font-size: var(--small-size);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.brokerai-benefits {
    margin-top: 60px;
}

.brokerai-benefits h3 {
    text-align: center;
    font-size: var(--h2-size);
    color: var(--primary-dark);
    margin-bottom: 40px;
    font-weight: 600;
}

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

.benefit-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-light);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    font-size: 20px;
    margin: 0 auto 15px;
}

.benefit-card h4 {
    font-size: var(--h3-size);
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: var(--body-size);
    line-height: 1.5;
}

/* Mobile responsive for BrokerAI section */
@media (max-width: 768px) {
    .brokerai-features {
        grid-template-columns: 1fr;
    }

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

    .feature-card,
    .benefit-card {
        padding: 20px;
    }
}

/* Odoo AI Section */
.odoo-section {
    background: transparent;
}

.odoo-hero {
    margin: 40px 0 60px;
}

.odoo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.odoo-stat-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-light);
}

.odoo-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.odoo-stat-item h3 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.odoo-stat-item p {
    color: var(--text-muted);
    font-size: var(--body-size);
    font-weight: 500;
}

.odoo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.odoo-screenshots {
    margin: 80px 0;
}

.odoo-screenshots h3 {
    text-align: center;
    font-size: var(--h2-size);
    color: var(--primary-dark);
    margin-bottom: 50px;
    font-weight: 700;
}

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

.screenshot-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.screenshot-item h4 {
    font-size: var(--h3-size);
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.screenshot-item p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: var(--body-size);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshot-item img:hover {
    transform: scale(1.02);
}

.odoo-benefits {
    margin: 80px 0;
}

.odoo-benefits h3 {
    text-align: center;
    font-size: var(--h2-size);
    color: var(--primary-dark);
    margin-bottom: 50px;
    font-weight: 700;
}

.odoo-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: 0 10px 40px rgba(15, 76, 129, 0.3);
}

.odoo-cta h3 {
    font-size: var(--h2-size);
    margin-bottom: 20px;
    font-weight: 700;
}

.odoo-cta p {
    font-size: var(--body-size);
    margin-bottom: 30px;
    opacity: 0.95;
}

.odoo-cta .btn {
    background-color: white;
    color: #1a1a2e;
    font-weight: 600;
    padding: 15px 40px;
    font-size: var(--body-size);
    display: inline-block;
    transition: all 0.3s;
}

.odoo-cta .btn:hover {
    background-color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive for Odoo section */
@media (max-width: 768px) {
    .odoo-stats {
        grid-template-columns: 1fr;
    }

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

    .screenshot-showcase {
        grid-template-columns: 1fr;
    }

    .odoo-stat-item h3 {
        font-size: 36px;
    }

    .odoo-cta {
        padding: 40px 20px;
    }
}

/* Footer */
footer {
    background-color: black;
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: var(--h3-size);
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-info p {
    color: #c9d1d9;
    margin-bottom: 20px;
    font-size: var(--body-size);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

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

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #c9d1d9;
    text-decoration: none;
    transition: color 0.3s;
    font-size: var(--body-size);
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #c9d1d9;
    font-size: var(--body-size);
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2d333b;
    color: #8b949e;
    font-size: var(--small-size);
}

/* Language Switcher Styles */
.language-globe {
    position: relative;
    margin-right: 15px;
    z-index: 102;
}

.globe-icon {
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.globe-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.flag-icon {
    font-size: 18px;
    margin-right: 8px;
}

.language-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: rgba(3, 0, 20, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 8px;
    min-width: 160px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.language-dropdown.active {
    display: block;
}

.lang-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.lang-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading for images below the fold */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Mobile Header */
    .hamburger {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 100;
    }

    .nav-wrapper.active {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 40px;
    }

    .nav-links a {
        font-size: 20px;
    }

    /* Mobile dropdown menu */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 10px 0 10px 20px;
        margin-top: 0;
        display: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        font-size: 18px;
        padding: 10px 0;
    }

    /* Hamburger animation */
    .hamburger.active span:first-child {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:last-child {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header-btn {
        display: none;
        /* Hide the button in the original position */
    }

    .mobile-btn {
        display: block;
        /* Show the button inside the mobile menu */
    }

    /* Hero Section */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        width: 80%;
        margin-top: 40px;
    }

    .btn-group {
        justify-content: center;
    }

    /* Process Section */
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-steps::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        z-index: 0;
        /* Ensure the line is behind the text */
    }

    .step {
        width: 100%;
        background-color: var(--gray-light);
        /* Add background to hide the line behind text */
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        z-index: 2;
        /* Ensure text is above the line */
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Case Study Grid */
    .case-study-grid {
        grid-template-columns: 1fr;
    }

    /* Services Grid */
    .services {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stat-item h3 {
        font-size: 36px;
    }
}

/* Additional media query for medium-sized screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-image {
        width: 45%;
    }

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

    .language-selector {
        display: flex;
        align-items: center;
        margin-left: 20px;
    }

    .lang-btn {
        background: none;
        border: none;
        color: var(--gray);
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 500;
        margin: 0 5px;
        padding: 5px 8px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .lang-btn:hover {
        color: var(--primary);
    }

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

/* Print styles for better accessibility */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .hero,
    .cta,
    .stats-section {
        background: white !important;
        color: black !important;
        padding: 1cm 0;
    }

    .cta .btn,
    .btn {
        border: 1px solid black;
        color: black;
        background: none;
    }

    nav,
    .hamburger,
    .mobile-btn,
    .language-globe {
        display: none;
    }

    .hero-content,
    .footer-content {
        display: block;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    a::after {
        content: " (" attr(href) ")";
        font-size: 80%;
    }
}