/* === DARK THEME & GRID BACKGROUND === */
:root {
    --background: #232323;
    --surface: #2E2E2E;
    --text-main: #fff;
    --text-secondary: #b3b3b3;
    --accent: var(--mclaren-orange);
    --accent-hover: var(--mclaren-orange);
    --border: #292929;
    --grid-line: rgba(255,255,255,0.04);
    
    /* Mobile-optimized typography scale */
    --mobile-h1: 1.8rem;
    --mobile-h2: 1.5rem;
    --mobile-h3: 1.2rem;
    --mobile-body: 0.95rem;
    --mobile-small: 0.85rem;
    
    /* Mobile spacing */
    --mobile-padding: 1rem;
    --mobile-margin: 1.5rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text-main);
    font-family: 'Inter', Arial, sans-serif;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
}

h1, h2, h3, h4, h5, h6, .logo-art {
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Fixed: Higher z-index to ensure navbar stays on top */
    padding: 0;
    background: rgba(24, 24, 24, 0.7) !important; /* subtle dark overlay */
    border-bottom: none; /* remove strong separation */
    box-shadow: none; /* remove shadow for blending */
    backdrop-filter: blur(8px); /* optional: adds a modern glassy effect */
    transition: background 0.3s, backdrop-filter 0.3s;
    height: 80px;
    /* Fixed: Ensure navbar doesn't get affected by other elements */
    contain: layout style;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease-in-out;
}

.navbar.scrolled .nav-logo img {
    height: 50px;
}

.nav-logo h2 {
    color: var(--accent) !important;
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 0;
    display: flex;
    align-items: center;
}

.logo-art {
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--mclaren-orange) !important;
    background: none;
    text-shadow: none;
    margin: 0;
    padding: 0;
}

/* Remove .ai-gradient styling if present */
.ai-gradient { background: none; color: inherit; -webkit-background-clip: unset; -webkit-text-fill-color: unset; background-clip: unset; text-fill-color: unset; filter: none; margin-left: 0; font-weight: inherit; letter-spacing: inherit; }

/* Make nav items more compact */
.nav-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    font-size: 1.05rem;
    padding: 0.25rem 0.5rem;
}

.nav-link:hover {
    color: var(--accent) !important;
}

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

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

.nav-link.active {
    color: var(--accent) !important;
    font-weight: 700;
}
.nav-link.active::after {
    width: 100%;
    background: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .cta-link {
    color: var(--mclaren-orange);
    font-weight: 700;
    font-size: 1.05rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-cta .cta-link {
    background: var(--accent);
    color: #fff;
    border-radius: 7px;
    padding: 10px 28px;
    box-shadow: 0 2px 8px rgba(255,128,0,0.10);
}

.navbar.scrolled .nav-cta .cta-link:hover {
    background: var(--accent-hover);
}

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

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

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    padding-top: 60px;
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Remove floating background shapes and their animations */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.hero-title {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    position: relative;
    opacity: 1;
}

.title-line-1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: visible;
}

.title-line-2 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-main);
    min-height: 2.4em;
    line-height: 1.2;
    word-wrap: break-word;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-text {
    min-width: 400px;
    text-align: left;
    display: inline-block;
}

.cursor {
    color: var(--accent);
    font-weight: 600;
    animation: blink 1s infinite;
    display: inline-block;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.gradient-text {
    color: var(--accent);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

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

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.8s;
}

.hero-social-proof {
    margin-top: 3rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 1.1s;
}

.hero-social-proof p {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 128, 0, 0.3);
}

.btn-secondary {
    background: #2E2E2E;
    color: #ffffff;
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: #3E3E3E;
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.tech-expertise p, .tech-logo {
    color: var(--text-secondary);
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-logo {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* === SECTION HEADERS - UNIFIED STYLING === */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 var(--mobile-padding);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Unified section header styles for all sections */
.services .section-header h2,
.faq .section-header h2,
.process .process-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
}

.about-modern .about-modern-title,
.contact .contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: left;
}

.services .section-header p,
.process .process-header p,
.about-modern .about-modern-text,
.faq .section-header p,
.contact .contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* === MOBILE-SPECIFIC SECTION HEADER ADJUSTMENTS === */
@media (max-width: 768px) {
    .section-header,
    .services .section-header,
    .process .process-header,
    .about-modern,
    .faq .section-header,
    .contact {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .section-header h2,
    .services .section-header h2,
    .process .process-header h2,
    .about-modern .about-modern-title,
    .faq .section-header h2,
    .contact .contact-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .section-header p,
    .services .section-header p,
    .process .process-header p,
    .about-modern .about-modern-text,
    .faq .section-header p,
    .contact .contact-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .section-header h2,
    .services .section-header h2,
    .process .process-header h2,
    .about-modern .about-modern-title,
    .faq .section-header h2,
    .contact .contact-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .section-header p,
    .services .section-header p,
    .process .process-header p,
    .about-modern .about-modern-text,
    .faq .section-header p,
    .contact .contact-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* === SERVICES SECTION (Refactored) === */
.services {
    padding: 3rem 0 2rem 0;
    background: transparent;
}

.process {
    padding: 3rem 0 2rem 0;
    background: transparent;
    display: flex;
    align-items: flex-start;
    margin-top: 2rem;
}

/* Process Hero Section */
.process-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.process-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.process-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
    .process-header p {
        margin-bottom: 1rem;
    }
}

.process-cta .btn {
    align-self: flex-start;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Process Visual Flow */
.process-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.process-hero-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.process-flow {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.flow-step.active {
    opacity: 1;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: var(--surface);
    border: 3px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.flow-step.active .flow-icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(255, 106, 26, 0.4);
}

.flow-icon i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.flow-step.active .flow-icon i {
    color: white;
}

.flow-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

.flow-step.active .flow-label {
    color: var(--accent);
    font-weight: 800;
}

.flow-connector {
    width: 40px;
    height: 2px;
    background: var(--border);
    position: relative;
}

.flow-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--border);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Process Features Grid */
.process-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Large screen optimizations for process section */
@media (min-width: 1200px) {
    .process {
        padding: 1.5rem 0 2.5rem 0;
        margin-top: 1.5rem;
    }
    
    .process-hero {
        gap: 2rem;
        margin-bottom: 1rem;
    }
    
    .process-features {
        gap: 1rem;
        margin-top: 0.75rem;
    }
    
    .process-feature {
        padding: 1.25rem;
    }
}

/* Extra large screen optimizations */
@media (min-width: 1400px) {
    .process-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .process-feature {
        padding: 1rem;
    }
}

.process-feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--mclaren-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-feature:hover::before {
    transform: scaleX(1);
}

.process-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: var(--accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--mclaren-orange));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.process-feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.process-feature h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.process-feature p {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.9rem;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.problem-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--mclaren-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--mclaren-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem-icon i {
    font-size: 1.5rem;
    color: white;
}

.problem-card h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.problem-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.problem-card p b {
    color: var(--mclaren-orange);
    font-weight: bold;
}

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

.problem-card li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.problem-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #47ff5c;
    font-weight: bold;
}

.problem-card {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.service-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    background: var(--background);
}
.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
}
.service-icon i {
    font-size: 1.5rem;
}
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}
.service-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}
.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}
.service-categories {
    margin-bottom: 2rem;
}
.category {
    margin-bottom: 1.5rem;
}
.category h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.category h4 i {
    color: var(--accent);
}
.category ul {
    margin-bottom: 0;
}
.category li {
    font-size: 0.875rem;
    padding: 0.25rem 0;
}
.service-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,106,26,0.3);
    background: var(--accent-hover);
}

/* === BLUEPRINTS SECTION === */
.blueprints {
    padding: 6rem 0 2rem 0;
    background: transparent;
}
.blueprints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}
.blueprint-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    color: var(--text-main);
}
.blueprint-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.blueprint-header {
    background: var(--accent);
    color: #fff;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.blueprint-header i {
    font-size: 2rem;
}
.blueprint-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}
.blueprint-content {
    padding: 2rem;
}
.problem, .solution, .benefits {
    margin-bottom: 1.5rem;
}
.problem h4, .solution h4, .benefits h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}
.problem p, .solution p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.benefits ul {
    list-style: none;
}
.benefits li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}
.benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}
.blueprint-btn {
    display: block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.blueprint-btn:hover {
    background: var(--accent-hover);
}

/* === ABOUT SECTION (Refactored) === */
.about, .about-modern {
    padding: 3rem 0 2rem 0;
    background: transparent;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
}
.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    text-align: center;
}
.about-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}
.founders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.founder {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--text-main);
}
.founder-avatar {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.founder-avatar i {
    font-size: 1.5rem;
}
.founder-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.founder-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.founder-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}
.about-story, .expertise-summary {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    color: var(--text-main);
}
.about-story h3, .expertise-summary h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.about-story p, .expertise-summary p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === FAQ SECTION (Refactored) === */
.faq {
    padding: 3rem 0 2rem 0;
    background: transparent;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--surface);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    color: var(--text-main);
}
.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.faq-item.active {
    background: #1a1a1a;
    border-color: rgba(255, 106, 26, 0.5);
}
.faq-item.active .faq-question:hover {
    background: transparent;
}
.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--text-main);
}
.faq-question:hover {
    background: var(--border);
}
.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}
.faq-question i {
    color: var(--accent);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}
.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 200px;
}
.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* === CONTACT SECTION (Refactored) === */
.contact, .contact-card-section {
    padding: 6rem 0 2rem 0;
    background: transparent !important;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-info {
    display: grid;
    gap: 2rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--text-main);
}
.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}
.contact-item h4 {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}
.contact-item p {
    color: var(--text-secondary);
}

.btn-whatsapp {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1EBE57;
}

.contact-expectations {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}
.contact-expectations h4 {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.contact-expectations ul {
    list-style: none;
}
.contact-expectations li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}
.contact-expectations li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}
.contact-form {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--background);
    color: var(--text-main);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}
.form-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* === MOBILE NAVIGATION OPTIMIZATION === */
@media (max-width: 1080px) {
    .navbar {
        height: 70px;
        padding: 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo img {
        height: 50px;
        transition: height 0.3s ease;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }
    
    .bar {
        width: 24px;
        height: 3px;
        background: var(--text-main);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    /* Hamburger animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(24, 24, 24, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        margin: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        height: auto;
        padding: 1rem 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 106, 26, 0.1);
        color: var(--accent) !important;
    }
    
    .nav-cta {
        display: none;
    }
}

/* === MOBILE TYPOGRAPHY SCALE === */
@media (max-width: 768px) {
    /* Section headers */
    .section-header h2,
    .services .section-header h2,
    .process .process-header h2,
    .about-modern .about-modern-title,
    .faq .section-header h2,
    .contact .contact-title {
        font-size: var(--mobile-h2);
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .section-header p,
    .services .section-header p,
    .process .process-header p,
    .about-modern .about-modern-text,
    .faq .section-header p,
    .contact .contact-subtitle {
        font-size: var(--mobile-body);
        line-height: 1.5;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    /* Hero section */
    .title-line-1 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .title-line-2 {
        font-size: 1.6rem;
        min-height: 1.5em;
    }
    
    .hero-subtitle {
        font-size: var(--mobile-body);
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Buttons */
    .btn, .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: var(--mobile-body);
        font-weight: 600;
    }
    
    /* Cards and content */
    .service-card h3,
    .process-feature h3,
    .faq-question h3 {
        font-size: var(--mobile-h3);
        margin-bottom: 0.5rem;
    }
    
    .service-card p,
    .process-feature p,
    .faq-answer p {
        font-size: var(--mobile-body);
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .section-header h2,
    .services .section-header h2,
    .process .process-header h2,
    .about-modern .about-modern-title,
    .faq .section-header h2,
    .contact .contact-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .section-header p,
    .services .section-header p,
    .process .process-header p,
    .about-modern .about-modern-text,
    .faq .section-header p,
    .contact .contact-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* === MOBILE LAYOUT OPTIMIZATION === */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--mobile-padding);
    }
    
    /* Grid layouts */
    .services-grid,
    .process-features,
    .faq-grid,
    .contact-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Cards and sections */
    .service-card,
    .process-feature,
    .faq-item,
    .accordion-container {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    /* Spacing */
    .services,
    .process,
    .about,
    .faq,
    .contact {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    /* Hero section */
    .hero {
        padding-top: 80px;
        padding-bottom: 2rem;
        min-height: 80vh;
    }
    
    .hero-container {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        margin-top: 5rem;
    }
    
    /* About section */
    .about-modern-box {
        padding: 1.5rem 1rem;
        border-radius: 1rem;
        margin: 0 0.5rem 2rem 0.5rem;
        width: auto;
        max-width: none;
    }
    
    .about-modern-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
    }
    
    .about-modern-left,
    .about-modern-right {
        max-width: 100%;
        text-align: center;
    }
    
    .about-modern-graphic {
        max-width: 200px;
    }
    
    /* Contact section */
    .contact-card-grid {
        grid-template-columns: 1fr;
        border-radius: 1rem;
        margin: 0 0.5rem;
    }
    
    .contact-card-left,
    .contact-card-right {
        padding: 1.5rem 1rem;
    }
    
    .contact-info-list {
        gap: 1rem;
    }
    
    .contact-info-item {
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .contact-label {
        font-size: var(--mobile-body);
    }
    
    .contact-value {
        font-size: var(--mobile-body);
    }
    
    /* Process section */
    .process-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .process-hero-left {
        gap: 1rem;
    }
    
    .process-cta .btn {
        align-self: center;
    }
    
    .process-hero-image {
        max-width: 100%;
        border-radius: 0.8rem;
    }
    
    /* Accordion */
    .accordion-container {
        margin: 1rem auto;
        padding: 1.2rem;
        border-radius: 0.8rem;
    }
    
    .accordion-header {
        padding: 1rem 1.2rem;
        font-size: var(--mobile-h3);
    }
    
    .accordion-header.active + .accordion-content {
        padding: 0.8rem 1.2rem;
        font-size: var(--mobile-body);
    }
    
    .accordion-content li {
        font-size: var(--mobile-small);
        padding: 0.2rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-container {
        padding: 0 0.5rem;
    }
    
    .service-card,
    .process-feature,
    .faq-item,
    .accordion-container {
        padding: 1rem;
    }
    
    .about-modern-box {
        padding: 1rem 0.5rem;
        margin: 0 0.2rem 1.5rem 0.2rem;
        width: auto;
        max-width: none;
    }
    
    .contact-card-grid {
        margin: 0 0.2rem;
    }
    
    .contact-card-left,
    .contact-card-right {
        padding: 1rem 0.5rem;
    }
    
    .accordion-container {
        margin: 0.8rem auto;
        padding: 1rem;
    }
    
    .accordion-header {
        padding: 0.8rem 1rem;
        font-size: var(--mobile-h3);
    }
    
    .accordion-header.active + .accordion-content {
        padding: 0.6rem 1rem;
        font-size: var(--mobile-small);
    }
}

/* === IMPROVED MOBILE INTERACTIONS === */
@media (max-width: 768px) {
    /* Touch-friendly buttons */
    .btn, .btn-primary, .btn-secondary {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better touch targets */
    .nav-link,
    .accordion-header,
    .faq-question {
        min-height: 44px;
        display: flex;
        
    }
    
    /* Improved hover states for touch */
    .service-card:hover,
    .process-feature:hover,
    .faq-item:hover {
        transform: none;
    }
    
    .service-card:active,
    .process-feature:active,
    .faq-item:active {
        transform: scale(0.98);
    }
    
    /* Better focus states */
    .btn:focus,
    .nav-link:focus,
    .accordion-header:focus {
        outline-offset: 2px;
    }
}

/* === MOBILE PERFORMANCE OPTIMIZATIONS === */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .service-card,
    .process-feature,
    .faq-item {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    /* Optimize grid animations */
    .services-grid,
    .process-features {
        transition: none;
    }
    
    /* Reduce backdrop blur for better performance */
    .navbar {
        backdrop-filter: blur(5px);
    }
    
    .nav-menu {
        backdrop-filter: blur(8px);
    }
}

/* === ACCESSIBILITY IMPROVEMENTS === */
@media (max-width: 768px) {
    /* Better contrast for mobile */
    .text-secondary {
        color: #cccccc;
    }
    
    /* Larger touch targets */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better focus indicators */
    .nav-link:focus,
    .accordion-header:focus,
    .btn:focus {
        outline-offset: 2px;
        border-radius: 4px;
    }
}

/* === RESPONSIVE ENHANCEMENTS === */
@media (max-width: 1100px) {
  .container {
    padding: 0 10px;
  }
  .hero-container {
    gap: 2rem;
  }
}

/* === ADDITIONAL MOBILE OPTIMIZATIONS === */
@media (max-width: 768px) {
    /* Improve touch scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better image handling */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve form elements */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better button spacing */
    .hero-buttons .btn {
        margin-bottom: 0.5rem;
    }
    
    /* Improve accordion touch targets */
    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    /* Better FAQ spacing */
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    /* Improve contact form */
    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
        font-size: 16px;
    }
    
    /* Better modal handling */
    .calendar-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

@media (max-width: 480px) {
    /* Even more compact for very small screens */
    .hero {
        min-height: 70vh;
        padding-top: 90px !important;
    }
    
    .hero-container {
        margin-top: 8rem;
    }
    
    .title-line-1 {
        font-size: 1.4rem;
    }
    
    .title-line-2 {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 2.5rem;
    }
    
    /* Compact cards */
    .service-card,
    .process-feature,
    .faq-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    /* Smaller icons */
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
    
    /* Compact contact info */
    .contact-info-item {
        gap: 0.6rem;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    /* Better button sizing */
    .btn, .btn-primary, .btn-secondary {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-height: 40px;
    }
}
@media (max-width: 900px) {
  .services, .process, .blueprints, .about, .faq, .contact {
    padding: 8rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .hero-container {
    gap: 1.5rem;
  }
}
@media (max-width: 1080px) {
  .navbar {
    padding: 0.5rem 0;
  }
  .nav-container {
    flex-wrap: wrap;
    padding-left: 15px;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    background: #181818;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    margin: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }
  .nav-menu.open {
    height: 270px;
    padding: 1rem 0;
    overflow: visible;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
    margin-left: 1rem;
    z-index: 1001;
  }
  .hero {
    padding-top: 70px;
  }
  .hero-container {
    text-align: center;
    gap: 1.5rem;
  }
  .title-line-1 {
    font-size: 2.1rem;
  }
  
  .title-line-2 {
    font-size: 1.8rem;
  }
  
  .typing-text {
    min-width: 280px;
  }
  .hero-image {
    margin: 0 auto;
  }
  .services-grid, .blueprints-grid, .founders, .contact-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .title-line-1 {
    font-size: 1.5rem;
  }
  
  .title-line-2 {
    font-size: 1.3rem;
  }
  
  .typing-text {
    min-width: 200px;
  }
  .section-header h2 {
    font-size: 1.2rem;
  }
  .service-card, .contact-form, .about-story, .expertise-summary, .founder, .process-step, .blueprint-card {
    padding: 1rem;
  }
  .blueprint-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  .blueprint-content {
    padding: 1rem;
  }
  .btn, .btn-primary, .btn-secondary {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  .form-group input, .form-group textarea {
    padding: 10px 10px;
    font-size: 0.95rem;
  }
}
@media (max-width: 420px) {
  .title-line-1 {
    font-size: 1.1rem;
  }
  
  .title-line-2 {
    font-size: 1rem;
  }
  
  .typing-text {
    min-width: 150px;
  }
  .logo-art {
    font-size: 1.5rem;
  }
  .nav-logo h2 {
    font-size: 1.2rem;
  }
}

/* Overlay for mobile nav */
@media (max-width: 768px) {
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24,24,24,0.85);
    z-index: 998;
  }
  .mobile-nav-overlay.active {
    display: block;
  }
} 

/* CALLOUT SECTION (About Us replacement) */
.callout-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 0 4rem 0;
    background: transparent;
}

.callout-container {
    background: #f7b6d2;
    border-radius: 48px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 3.5rem 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.callout-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #18181b;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.callout-subtitle {
    font-size: 1.5rem;
    color: #18181b;
    text-align: center;
    margin-bottom: 2.5rem;
}

.callout-btn {
    background: #18103a;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(24,16,58,0.10);
    transition: background 0.2s, color 0.2s;
    border: none;
    display: inline-block;
}

.callout-btn:hover {
    background: #2d1e5f;
    color: #fff;
}

@media (max-width: 700px) {
    .callout-container {
        border-radius: 24px;
        padding: 2rem 0.5rem 2rem 0.5rem;
    }
    .callout-title {
        font-size: 1.5rem;
    }
    .callout-subtitle {
        font-size: 1.1rem;
    }
    .callout-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
} 

/* === PROCESS ROADMAP LINE === */
.process-roadmap {
    position: relative;
}
#process-roadmap-svg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(20px + 30px);
    overflow: visible;
}
#process-roadmap-line {
    stroke: var(--accent);
    stroke-width: 4;
    stroke-linecap: round;
    /* Dash values initialized; will be set by JS */
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.2s ease-out;
} 

/* === HOW WE WORK SCROLLYTELLING === */
:root {
    --mclaren-orange: #FF8000;
}

#process body {
    background-color: #000;
    background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
}

.step-nav-item h3 {
    transition: color 0.3s ease;
}

.step-nav-item.active h3 {
    color: var(--mclaren-orange);
    animation: slideInText 0.6s ease forwards;
}

@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.step-nav-item.active .step-number {
    background-color: var(--mclaren-orange);
    color: #fff;
    border-color: var(--mclaren-orange);
    animation: stepPulse 0.8s ease forwards;
}

@keyframes stepPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.step-nav-item.active .step-line {
    background-color: var(--mclaren-orange);
}

.step-nav-item .step-line {
    transition: background-color 0.6s ease, height 0.6s ease;
}

.step-nav-item.active .step-line {
    animation: lineGrow 0.6s ease forwards;
}

@keyframes lineGrow {
    0% { height: 0; }
    100% { height: 6rem; }
}

.step-nav-item:not(.active) h3 {
    color: #fff;
}

.step-nav-item:not(.active) .step-number {
    border: 2px solid #fff;
}

.step-nav-item:not(.active) .step-line {
    background-color: #fff;
}

.content-panel {
    min-height: 100vh;
    opacity: 0.3;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

@media (min-width: 1024px) {
    .content-panel {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: left;
        gap: 2rem;
        min-height: 80vh;
        padding-top: 6vh;
    }
    .content-panel .w-full,
    .content-panel .w-full.lg\:w-2\/3.lg\:pl-8,
    .content-panel .w-full.max-w-xl {
        max-width: 1200px;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        display: flex;
        flex-direction: column;
        margin: 7vh 0 0 -5vw;
        padding: 0;
        min-height: unset;
    }
    .content-panel .animation-container {
        margin-bottom: 0;
        margin-right: 2rem;
        max-width: 220px;
    }
}

.content-panel .animation-container {
    width: 100%;
    max-width: 144px;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.content-panel .animation-container svg {
    width: 200px;
    height: 110px;
    max-width: 100%;
    max-height: 100%;
}

.content-panel .w-full,
.content-panel .w-full.lg\:w-2\/3.lg\:pl-8 {
    width: 100%;
    max-width: 600px;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animation-container {
    height: 250px;
}

/* Animations */
.content-panel.is-visible .discovery-point { animation: typing-dots 1.5s ease-in-out infinite; }
@keyframes typing-dots {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.content-panel.is-visible .roadmap-path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2s ease-in-out forwards; }
.content-panel.is-visible .roadmap-box { opacity: 0; animation: fadeIn 0.5s ease-in-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.content-panel.is-visible .build-block { opacity: 0; transform: translateY(-30px); animation: build 0.5s ease-out forwards; }
@keyframes build { to { opacity: 1; transform: translateY(0); } }

.content-panel.is-visible .rocket { animation: launch 1.5s ease-in-out forwards; }
.content-panel.is-visible .smoke { animation: smokePuff 1.5s ease-out forwards; }
@keyframes launch { from { transform: translateY(0); } to { transform: translateY(-200px); opacity: 0; } }
@keyframes smokePuff { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(2); opacity: 0; } }

@media (max-width: 1023px) {
    .content-panel {
        opacity: 1;
        transform: translateY(0);
        min-height: auto;
        padding-bottom: 4rem;
    }
    .sticky-nav {
        position: relative;
        top: auto;
        height: auto;
    }
    .animation-container {
        height: 200px;
    }
} 

.process-header-sticky {
    position: sticky;
    top: 60px;
    z-index: 20;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
@media (max-width: 768px) {
    .process-header-sticky {
        top: 48px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
} 

/* === CONTACT CARD SECTION (NEW) === */
.contact-card-section {
    background: transparent !important;
    padding: 3rem 0 2 rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #181818 !important;
    border-radius: 28px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    max-width: 1100px;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.contact-card-section::before {
    content: none !important;
}

.contact-card-left {
    background: transparent;
    padding: 3.5rem 2.5rem 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 340px;
}

.contact-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

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

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.contact-info-item .btn-whatsapp {
    margin-left: 0.2rem;
    margin-top: 0;
    vertical-align: middle;
    display: inline-block;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #232323;
}
.contact-icon.email {
    color: var(--accent);
    background: rgba(255,106,26,0.10);
}
.contact-icon.location {
    color: var(--accent);
    background: rgba(255,106,26,0.10);
}
.contact-icon.whatsapp {
    color: var(--accent);
    background: rgba(255, 107, 53, 0.1);
}
.contact-label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
}
.contact-value {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-right: 1.2rem;
}

/* WhatsApp button already styled above */

.contact-card-right {
    background: #232323;
    padding: 3.5rem 2.5rem 3.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-cta-content {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.cta-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.cta-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.cta-highlights {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 106, 26, 0.3);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
}

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

.schedule-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(255, 106, 26, 0.3);
    margin-bottom: 1rem;
}

.schedule-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 26, 0.4);
}

.schedule-btn i {
    font-size: 1rem;
}

.cta-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    opacity: 0.8;
}

.contact-form {
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}
.contact-form label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    display: block;
}
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form input,
.contact-form textarea {
    background: #181818;
    color: var(--text-main);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}
.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    border: none;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
.contact-submit-btn:hover {
    background: var(--accent-hover);
}

@media (max-width: 900px) {
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
    .contact-card-left, .contact-card-right {
        padding: 2rem 1rem;
    }
    .cta-header p {
        font-size: 0.95rem;
    }
    .highlight-item {
        padding: 0.8rem 1.2rem;
        gap: 0.8rem;
    }
    .highlight-item i {
        font-size: 1.1rem;
    }
    .highlight-item span {
        font-size: 0.95rem;
    }
}
@media (max-width: 600px) {
    .contact-title {
        font-size: 1.5rem;
    }
    .contact-card-left, .contact-card-right {
        padding: 1.2rem 0.5rem;
    }
    .cta-header p {
        font-size: 0.9rem;
    }
    .highlight-item {
        padding: 0.7rem 1rem;
        gap: 0.7rem;
    }
    .highlight-item i {
        font-size: 1rem;
    }
    .highlight-item span {
        font-size: 0.9rem;
    }
    .schedule-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    .cta-note {
        font-size: 0.85rem;
    }
} 

.process > .max-w-7xl {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.process .text-center.mb-24 {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 3.5rem 0 0 0 !important;
    margin-bottom: 2.5rem !important;
    margin-top: 0 !important;
} 

.about-modern {
    padding: 3rem 0 2rem 0;
    background: transparent;
}
.about-modern-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.about-modern-left {
    min-width: 300px;
    max-width: 520px;
}
.about-modern-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-align: left;
}
.about-modern-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}
.about-modern-right {
    flex: 1 1 260px;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide about-modern-right on medium and small screens */
@media (max-width: 1080px) {
    .about-modern-right {
        display: none !important;
    }
}

/* Apply about us styling from 768px to all screens up to 1080px */
@media (max-width: 1080px) {
    /* About Us Section Mobile Optimization */
    .about-modern {
        padding: 3rem 0;
        background: black;
    }

    .about-modern-box {
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
        width: auto;
        max-width: none;
    }
    
    .about-modern-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about-modern-left, 
    .about-modern-right {
        text-align: center;
    }   

    .about-modern-right {
        background: transparent;
        padding: 0;
        border-radius: 0;
    }
    
    .about-modern-title,
    .about-modern-text {
        text-align: center;
    }
}
.about-modern-graphic {
    max-width: 260px;
    max-height: 200px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.about-modern-box {
  background: #111;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 3.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
  width: 100%;
  box-sizing: border-box;
}
.about-modern-right {
  background: linear-gradient(135deg, #181818 60%, #232323 100%);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-modern, .about-modern-box {
  position: relative;
  z-index: 2;
}
.about-modern-box::before {
  content: none !important;  
}



.section-header h2,
.about-modern-title,
.process-header-sticky h2,
.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-align: center;
  line-height: 1.1;
}
.process-header-sticky h2,
.process-header-sticky p {
  text-align: center !important;
}
@media (max-width: 900px) {
  .section-header h2,
  .about-modern-title,
  .process-header-sticky h2,
  .contact-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
} 

/* === SPACING UTILITIES === */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.5rem !important; }
.pt-2 { padding-top: 1rem !important; }
.pt-3 { padding-top: 1.5rem !important; }
.pt-4 { padding-top: 2rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.5rem !important; }
.pb-2 { padding-bottom: 1rem !important; }
.pb-3 { padding-bottom: 1.5rem !important; }
.pb-4 { padding-bottom: 2rem !important; }
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.5rem !important; }
.p-2 { padding: 1rem !important; }
.p-3 { padding: 1.5rem !important; }
.p-4 { padding: 2rem !important; } 

 

/* === PROCESS TIMELINE === */
.process-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  font-size: 5.5rem;
  font-weight: 900;
  color: white;
  line-height: 0.8;
  margin-right: 2rem;
  flex-shrink: 0;
  min-width: 100px;
  font-family: 'Poppins', sans-serif;
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.step-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Vertical timeline line for mobile */
@media (max-width: 1080px) {
  .process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 80px;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    opacity: 0.3;
  }
  
  .process-step {
    padding-left: 1rem;
  }
  
  .step-number {
    font-size: 4.5rem;
    margin-right: 1.5rem;
    min-width: 80px;
  }
  
  .step-content h3 {
    font-size: 1.3rem;
  }
  
  .step-content p {
    font-size: 1rem;
  }
}

/* Horizontal layout for desktop */
@media (min-width: 1081px) {
  .process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
  }
  .process-step {
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
    align-items: center;
  }
  .step-number {
    font-size: 3.5rem;
    margin-right: 0;
    margin-bottom: 1rem;
    min-width: auto;
    text-align: center;
    display: block;
  }
  .step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }
  .step-content p {
    font-size: 1rem;
  }
}

/* Small screens */
@media (max-width: 479px) {
  .process-timeline::before {
    left: 40px;
  }
  
  .process-step {
    padding-left: 0.5rem;
  }
  
  .step-number {
    font-size: 4rem;
    margin-right: 1rem;
    min-width: 70px;
  }
  
  .step-content h3 {
    font-size: 1.2rem;
  }
  
  .step-content p {
    font-size: 0.95rem;
  }
} 

/* Remove vertical timeline line for small and medium screens */
@media (max-width: 1080px) {
  .process-timeline::before {
    display: none !important;
  }
} 

/* === ACCORDION STYLES === */
.accordion-container {
    max-width: 900px;
    background: var(--surface);
    border-radius: 16px;
    margin: 20px auto;
    padding: 24px;
    box-shadow: 0 2px 48px rgba(0,0,0,0.25);
    border: 1px solid var(--border);
}

.accordion {
    margin-bottom: 20px;
    position: relative;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--background);
    overflow: visible;
}

.accordion:last-child {
    margin-bottom: 0;
}

.accordion.active {
    border: 2px solid var(--accent);
    background: #1a1a1a;
}

.accordion.active .accordion-content {
    background: #2a2a2a;
}

.accordion-header {
    width: 100%;
    background: transparent;
    color: var(--text-main);
    padding: 18px 28px;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.accordion-header:hover:not(.active) {
    background: transparent;
}

.accordion-header.active {
    background: #1a1a1a;
    color: var(--text-main);
    border-radius: 10px 10px 0 0;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent);
}

.accordion-header.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
    background: transparent;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 28px;
    border-radius: 0 0 10px 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.accordion-header.active + .accordion-content {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    padding: 20px 28px 28px 28px;
    font-size: 1rem;
    line-height: 1.5;
    background: #2a2a2a;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
}

.accordion-content strong {
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.accordion-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 8px 0 8px 0;
}

.accordion-content ul {
    padding-left: 24px;
    margin: 12px 0 0 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.accordion-content li {
    position: relative;
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.accordion-content li::before {
    content: '✓';
    position: absolute;
    left: -24px;
    color: var(--accent);
    font-weight: bold;
    font-size: 1rem;
}

.and-more {
    text-align: center;
    margin-top: 18px;
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Services CTA Button */
.services-cta {
    text-align: center;
    margin-top: 2rem;
}

.services-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.services-cta-button:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 106, 26, 0.3);
}

.services-cta-button .arrow-icon {
    transition: transform 0.3s ease;
}

.services-cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Responsive adjustments for accordion */
@media (max-width: 768px) {
    .accordion-container {
        margin: 20px auto;
        padding: 20px;
    }
    
    .accordion-header {
        padding: 16px 18px;
        font-size: 1.1rem;
    }
    
    .accordion-header::after {
        right: 18px;
        font-size: 1.3rem;
    }
    
    .accordion-content {
        padding: 0 18px;
    }
    
    .accordion-header.active + .accordion-content {
        padding: 10px 18px;
        font-size: 0.85rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .accordion-content li {
        font-size: 0.8rem;
        padding: 4px 0;
    }
    
    .accordion-content ul {
        grid-template-columns: 1fr;
        gap: 2px;
        margin: 8px 0 0 0;
    }
    
    .services-cta {
        margin-top: 1.5rem;
    }
    
    .services-cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .accordion-container {
        margin: 15px auto;
        padding: 15px;
    }
    
    .accordion-header {
        padding: 14px 30px 14px 16px;
        font-size: 1rem;
    }
    
    .accordion-header::after {
        right: 16px;
        font-size: 1.2rem;
    }
    
    .accordion-content {
        padding: 0 16px;
    }
    
    .accordion-header.active + .accordion-content {
        padding: 8px 16px;
        font-size: 0.8rem;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .accordion-content li {
        font-size: 0.75rem;
        padding: 4px 0;
    }
    
    .services-cta {
        margin-top: 1.25rem;
    }
    
    .services-cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
} 

/* Process Section Responsive */
@media (max-width: 1024px) {
    .process-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: auto;
    }
    
    .process-header h2 {
        font-size: 2.4rem;
    }
    
    .process-cta .btn {
        align-self: center;
    }
    
    .process-flow {
        gap: 1rem;
    }
    
    .flow-icon {
        width: 50px;
        height: 50px;
    }
    
    .flow-icon i {
        font-size: 1.2rem;
    }
    
    .flow-connector {
        width: 30px;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 1rem 0 2rem 0;
        min-height: auto;
        margin-top: 2rem;
    }
    
    .process-hero {
        min-height: auto;
        margin-bottom: 2rem;
    }
    
    .process-header h2 {
        font-size: 2rem;
    }
    
    .process-header p {
        font-size: 1rem;
    }
    
    .process-hero-right {
        padding: 1.5rem;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-connector {
        width: 2px;
        height: 25px;
    }
    
    .flow-connector::after {
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid var(--border);
        border-bottom: none;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
    }
    
    .process-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-feature {
        padding: 1.2rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
}

/* === GOOGLE CALENDAR MODAL === */
.calendar-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.calendar-modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 95%;
    max-width: 900px;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.calendar-modal.show .calendar-modal-content {
    transform: scale(1) translateY(0);
}

.calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 36px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: relative;
}



.calendar-modal-header h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.calendar-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    position: relative;
    overflow: hidden;
}

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

.calendar-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-color: var(--border);
    transform: scale(1.05);
}

.calendar-modal-close:hover::before {
    left: 100%;
}

.calendar-modal-body {
    padding: 0;
    height: 650px;
    overflow: hidden;
    background: var(--surface);
    position: relative;
}



.calendar-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 20px 20px;
    position: relative;
    z-index: 2;
}

/* Custom styling for Google Calendar iframe content */
.calendar-modal-body iframe {
    filter: invert(0.85) hue-rotate(180deg) brightness(0.8) contrast(1.2) saturate(0.9);
    background: var(--surface);
    transition: all 0.3s ease;
    border-radius: 0 0 20px 20px;
}

/* Force dark theme for iframe content */
.calendar-modal-body iframe {
    background-color: var(--surface) !important;
    color-scheme: dark;
}

/* Loading state for iframe */
.calendar-modal-body iframe:not([src]) {
    background: linear-gradient(135deg, var(--surface) 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Enhanced modal animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.calendar-modal.show .calendar-modal-content {
    animation: modalSlideIn 0.4s ease-out;
}

/* Improved backdrop blur effect */
.calendar-modal {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* Subtle border glow effect */
.calendar-modal-content {
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile responsive styles for modal */
@media (max-width: 768px) {
    .calendar-modal-content {
        width: 98%;
        max-height: 98vh;
        border-radius: 16px;
    }
    
    .calendar-modal-header {
        padding: 24px 28px;
    }
    
    .calendar-modal-header h3 {
        font-size: 1.5rem;
    }
    
    .calendar-modal-close {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    
    .calendar-modal-body {
        height: 550px;
    }
}

@media (max-width: 480px) {
    .calendar-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .calendar-modal-header {
        padding: 20px 24px;
    }
    
    .calendar-modal-header h3 {
        font-size: 1.375rem;
    }
    
    .calendar-modal-close {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .calendar-modal-body {
        height: 500px;
    }
}

@media (max-width: 1080px) {

    .about-modern {
        padding: 3rem 0;
        background: black;
        margin: 6rem 0;
    }

    .about-modern-box {
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
        width: auto;
        max-width: none;
    }

    .about-modern-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-modern-left, 
    .about-modern-right {
        text-align: center;
    }   

    .about-modern-right {
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .about-modern-title,
    .about-modern-text {
        text-align: center !important;
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
        border-radius: 0;
        margin: 0;
        gap: 0;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .contact-title {
        text-align: center !important;
    }

    .contact-subtitle {
        text-align: center !important;
    }
}



/* =================================================================================
   MOBILE RESPONSIVE STYLES
   ================================================================================= */

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

    .title-line-1 {
        font-size: 2.8rem;
        white-space: pre-line;
        word-break: normal;
        hyphens: none;
        line-height: 1.1;
    }

    .typing-text {
        font-size: 1.3rem;
    }

    .btn {
        min-width: 180px;
        height: 44px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

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

    .process-hero-right,
    .process-cta {
        display: none;
    }

}

@media (max-width: 480px) {
    .title-line-1 {
        font-size: 2.2rem;
    }

    .section-header h2,
    .services .section-header h2,
    .process .process-header h2,
    .about-modern .about-modern-title,
    .faq .section-header h2,
    .contact .contact-title {
        font-size: 1.8rem;
    }

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

/* FRESH MOBILE MENU - BUILT FROM SCRATCH */
@media (max-width: 1080px) {
    .nav-menu {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        padding: 8px;
        z-index: 1002;
        position: relative;
    }
    
    .bar {
        width: 24px;
        height: 3px;
        background: var(--text-main);
        margin: 2px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9998; /* Fixed: Proper z-index below navbar */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--surface);
        z-index: 9999; /* Fixed: Match navbar z-index */
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        padding: 2rem 1.5rem 1rem 1.5rem; /* Reduced bottom padding */
        box-sizing: border-box;
        overflow-y: auto; /* Allow scrolling if needed */
        /* Fixed: Ensure mobile menu doesn't interfere with layout */
        contain: layout style;
    }
    
                               @media (max-width: 480px) {
                .mobile-menu {
                    width: 280px;
                    padding: 1.5rem 1rem 1rem 1rem; /* Reduced bottom padding */
                }
                
                .mobile-menu-cta {
                    padding-bottom: 0.5rem; /* Less padding on small screens */
                }
                
                .mobile-cta-link {
                    padding: 1rem 1.2rem; /* Slightly smaller padding */
                }
                
                .mobile-menu li:last-child a.mobile-cta-link {
                    padding: 1rem 1.2rem; /* Consistent with other mobile styles */
                }
            }
    
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: var(--text-main);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 1003;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent);
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        flex: 1;
    }
    
    .mobile-menu li {
        margin: 0;
        padding: 0;
    }
    
    .mobile-menu a {
        display: block;
        padding: 1.2rem 0;
        color: var(--text-main);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-menu a:hover {
        color: var(--accent);
        padding-left: 0.5rem;
    }
    
    .mobile-menu li:last-child a {
        border-bottom: none;
        margin-top: 20px;
    }
    
    .mobile-menu-cta {
        margin-top: auto;
        padding-top: 1.5rem;
        padding-bottom: 1rem; /* Add bottom padding */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Style for CTA link when it's part of the navigation list */
    .mobile-menu li:last-child a.mobile-cta-link {
        background: var(--accent);
        color: var(--surface) !important;
        padding: 1.2rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        margin-top: 1rem;
        text-align: center;
        display: block;
        border: none;
    }
    
    .mobile-menu li:last-child a.mobile-cta-link:hover {
        background: var(--mclaren-orange);
        color: var(--surface) !important;
        padding-left: 1.5rem; /* Keep consistent padding */
    }
    
    .mobile-cta-link {
        display: inline-block;
        background: var(--accent);
        color: var(--surface);
        padding: 1.2rem 1.5rem; /* Increased padding for better touch target */
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0.5rem; /* Add bottom margin */
    }
    
    .mobile-cta-link:hover {
        background: var(--mclaren-orange);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
}

/* --- Smaller Mobile Styles (480px breakpoint) --- */
@media (max-width: 480px) {
    .title-line-1 { font-size: 2.2rem; }
    .section-header h2,
    .services .section-header h2,
    .process .process-header h2,
    .about-modern .about-modern-title,
    .faq .section-header h2,
    .contact .contact-title {
        font-size: 1.8rem;
    }
}

/* Force hide mobile menu on desktop */
@media (min-width: 1081px) {
    .mobile-menu, .mobile-menu-overlay {
        display: none !important;
    }
    .hamburger {
        display: none !important;
    }
}

/* FAQ Section Mobile Optimization */

/* Accordion mobile style override */
.accordion.active {
    border-color: transparent;
}

.accordion-header.active::after {
    transform: translateY(-50%) rotate(45deg);
}
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    background: transparent;
    overflow: hidden;
}

/* === CASE STUDIES SECTION === */
.case-studies {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    overflow: hidden; /* Fixed: Prevent layout overflow */
}

.success-stories-carousel {
    position: relative;
    overflow: hidden; /* Fixed: Contain carousel content */
    margin-top: 3rem;
    width: 100vw; /* Full viewport width for entire screen coverage */
    max-width: 100vw;
    margin-left: calc(-50vw + 50%); /* Extend to full width */
    margin-right: calc(-50vw + 50%); /* Extend to full width */
    padding: 0 2rem; /* Add some padding for better spacing */
    box-sizing: border-box;
    /* Show exactly 2 cards at once covering the entire screen */
    display: flex;
    justify-content: center;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scrollSuccessStories 30s linear infinite; /* Slower animation for better readability */
    width: fit-content; /* Fixed: More predictable width calculation */
    will-change: transform;
    /* Show exactly 3.2 cards at once with proper looping and full screen coverage */
    min-width: calc(12 * ((100vw - 8rem) / 3.2) + 22rem); /* 12 cards (3.2 original + 8.8 duplicates) + gaps for seamless loop */
    max-width: calc(12 * ((100vw - 8rem) / 3.2) + 22rem);
}

.success-story-card {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
    border: 2px solid var(--mclaren-orange);
    border-radius: 16px;
    padding: 1.25rem;
    min-width: calc((100vw - 8rem) / 3.2); /* Desktop: 3.2 cards per view (25% wider) */
    max-width: calc((100vw - 8rem) / 3.2);
    width: calc((100vw - 8rem) / 3.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 262px; /* Reduced by 25% from 350px */
    /* Fixed: Ensure text stays within card boundaries */
    overflow: visible; /* Allow text to be fully visible */
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    flex-shrink: 0;
}

.success-story-card:hover {
    /* Remove transform to prevent upward movement and border clipping */
    transform: none;
}

.success-story-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Fixed: Allow content to display naturally */
    overflow: visible;
    justify-content: flex-start;
    padding: 0.5rem 0; /* Add padding to prevent content from touching edges */
}

.success-story-content p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-style: italic;
    /* Fixed: Allow text to flow naturally without cutoff */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.success-story-company {
    flex-shrink: 0;
    margin-top: auto; /* Push company info to bottom */
    padding-top: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: left; /* Ensure uniform left alignment */
    width: 100%; /* Full width for consistent alignment */
    position: relative;
    height: 75px; /* Fixed height for consistent alignment */
}

.business-name {
    color: var(--text-main);
    font-weight: 600;
    display: block;
    position: absolute;
    top: 0;
    left: 1rem;
    right: 0;
    padding-left: 0;
    margin-bottom: 0;
}

.business-name::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--mclaren-orange);
    border-radius: 50%;
}

.business-description {
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
    display: block;
    font-size: inherit;
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    margin-top: 0;
}

@keyframes scrollSuccessStories {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-31.25%)); /* Move by 31.25% to show next set of 3.2 cards for seamless loop */
    }
}

/* Pause animation on hover */
.success-stories-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Tablet responsive styles for case studies */
@media (max-width: 1024px) and (min-width: 769px) {
    .success-stories-carousel {
        width: 100vw; /* Full viewport width for entire screen coverage */
        max-width: 100vw;
        margin-left: calc(-50vw + 50%); /* Extend to full width */
        margin-right: calc(-50vw + 50%); /* Extend to full width */
        padding: 0 1.5rem; /* Reduced padding for tablets */
    }

    .carousel-track {
        min-width: calc(12 * ((100vw - 6rem) / 4) + 18rem); /* 12 cards with tablet gap calculation - 4 cards per view */
        max-width: calc(12 * ((100vw - 6rem) / 4) + 18rem);
        animation: scrollSuccessStories 24s linear infinite; /* Slightly faster for tablets */
        gap: 1.5rem; /* Reduced gap for tablets */
    }

    .success-story-card {
        min-width: calc((100vw - 6rem) / 4) !important; /* Tablet: 4 cards per view to reduce free space */
        max-width: calc((100vw - 6rem) / 4) !important;
        width: calc((100vw - 6rem) / 4) !important;
        padding: 1.25rem;
        height: 320px; /* Increased for better spacing */
        /* Fixed: Better text containment on tablets */
        box-sizing: border-box;
        flex-shrink: 0;
        overflow: visible; /* Allow text to be fully visible */
    }
    
    .success-story-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
        /* Remove line-clamp to prevent text cutoff */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .success-story-company {
        font-size: 0.9rem;
        height: 70px;
    }

    .carousel-track {
        gap: 1.5rem;
    }
}

/* Medium mobile to small tablet responsive styles */
@media (max-width: 768px) and (min-width: 481px) {
    .success-stories-carousel {
        width: 100vw; /* Full viewport width for entire screen coverage */
        max-width: 100vw;
        margin-left: calc(-50vw + 50%); /* Extend to full width */
        margin-right: calc(-50vw + 50%); /* Extend to full width */
        padding: 0 1.25rem; /* Padding for medium mobile */
    }

    .carousel-track {
        min-width: calc(12 * ((100vw - 3rem) / 2) + 15rem); /* 12 cards with mobile gap calculation - 2 cards per view */
        max-width: calc(12 * ((100vw - 3rem) / 2) + 15rem);
        animation: scrollSuccessStories 20s linear infinite; /* Slightly faster for mobile */
        gap: 1rem; /* Mobile gap */
    }

    .success-story-card {
        min-width: calc((100vw - 3rem) / 2);
        max-width: calc((100vw - 3rem) / 2);
        width: calc((100vw - 3rem) / 2);
        padding: 1.25rem;
        height: 360px; /* Increased for better spacing */
        box-sizing: border-box;
        flex-shrink: 0;
        overflow: visible; /* Allow text to be fully visible */
    }
    
    .success-story-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
        /* Remove line-clamp to prevent text cutoff */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .success-story-company {
        font-size: 0.85rem;
        height: 65px;
    }

    .carousel-track {
        gap: 1.25rem;
    }
}

/* Mobile responsive styles for case studies */
@media (max-width: 768px) {
    .case-studies {
        padding: 4rem 0;
    }

    .success-stories-carousel {
        width: 100vw; /* Full viewport width for entire screen coverage */
        max-width: 100vw;
        margin-left: calc(-50vw + 50%); /* Extend to full width */
        margin-right: calc(-50vw + 50%); /* Extend to full width */
        padding: 0 1rem; /* Padding for mobile */
    }

    .carousel-track {
        min-width: calc(12 * ((100vw - 2.5rem) / 2) + 12rem); /* 12 cards with mobile gap calculation - 2 cards per view */
        max-width: calc(12 * ((100vw - 2.5rem) / 2) + 12rem);
        animation: scrollSuccessStories 18s linear infinite; /* Faster for mobile */
        gap: 1rem; /* Mobile gap */
    }
}

    .success-story-card {
        min-width: calc((100vw - 2.5rem) / 2);
        max-width: calc((100vw - 2.5rem) / 2);
        width: calc((100vw - 2.5rem) / 2);
        padding: 1rem;
        height: 340px; /* Increased for better spacing */
        box-sizing: border-box;
        flex-shrink: 0;
        overflow: visible; /* Allow text to be fully visible */
    }
    
    .success-story-content p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
        /* Remove line-clamp to prevent text cutoff */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .success-story-company {
        font-size: 0.8rem;
        height: 60px;
    }

    .carousel-track {
        gap: 1rem;
    }

@media (max-width: 480px) {
    .success-stories-carousel {
        width: 100vw; /* Full viewport width for entire screen coverage */
        max-width: 100vw;
        margin-left: calc(-50vw + 50%); /* Extend to full width */
        margin-right: calc(-50vw + 50%); /* Extend to full width */
        padding: 0 0.5rem; /* Minimal padding for very small screens */
    }

    .carousel-track {
        min-width: calc(12 * ((100vw - 2rem) / 2) + 9rem); /* 12 cards with small screen gap calculation - 2 cards per view */
        max-width: calc(12 * ((100vw - 2rem) / 2) + 9rem);
        animation: scrollSuccessStories 16s linear infinite; /* Even faster for small screens */
        gap: 0.5rem; /* Smaller gap for very small screens */
    }

    .success-story-card {
        min-width: calc((100vw - 2rem) / 2);
        max-width: calc((100vw - 2rem) / 2);
        width: calc((100vw - 2rem) / 2);
        padding: 0.75rem;
        height: 320px; /* Increased for better spacing */
        box-sizing: border-box;
        flex-shrink: 0;
        overflow: visible; /* Allow text to be fully visible */
    }
    
    .success-story-content p {
        font-size: 0.8rem;
        line-height: 1.25;
        margin-bottom: 1.25rem;
        /* Remove line-clamp to prevent text cutoff */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .success-story-company {
        font-size: 0.75rem;
        height: 55px;
    }
}

/* Very small mobile - fallback to single card view */
@media (max-width: 520px) {
    .carousel-track {
        min-width: calc(12 * ((100vw - 2rem) / 2) + 9rem); /* 12 cards with small screen gap calculation - 2 cards per view */
        max-width: calc(12 * ((100vw - 2rem) / 2) + 9rem);
        animation: scrollSuccessStories 14s linear infinite; /* Fast for very small screens */
        gap: 0.5rem;
    }

    .success-story-card {
        min-width: calc((100vw - 2rem) / 2);
        max-width: calc((100vw - 2rem) / 2);
        width: calc((100vw - 2rem) / 2);
        height: 300px; /* Increased for better spacing */
        flex-shrink: 0;
        overflow: visible; /* Allow text to be fully visible */
    }
}

/* Additional mobile styles for better text handling */
@media (max-width: 480px) {
    .success-story-content p {
        /* Fixed: Remove all text restrictions for small screens */
        margin-bottom: 1.25rem;
        font-size: 0.75rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .success-story-company {
        font-size: 0.7rem;
        height: 50px;
    }


    /* Consistent animation speed for mobile */
    .carousel-track {
        animation: scrollSuccessStories 15s linear infinite;
    }
}

/* Ensure proper carousel layout for larger screens */
@media (min-width: 1025px) {
    .success-stories-carousel {
        width: 100vw; /* Full viewport width on desktop */
        margin-left: calc(-50vw + 50%); /* Extend to full width */
        margin-right: calc(-50vw + 50%); /* Extend to full width */
        padding: 0 2rem; /* Consistent padding with desktop styles */
    }
}



/* Desktop carousel adjustments for better 2-card display */
@media (min-width: 1200px) {
    .success-story-card {
        min-width: calc((100vw - 7rem) / 3.2); /* 3.2 cards for very large screens (25% wider) */
        max-width: calc((100vw - 7rem) / 3.2);
        width: calc((100vw - 7rem) / 3.2);
        padding: 1.5rem; /* Slightly more padding for desktop */
        height: 350px; /* Increased for better spacing */
        flex-shrink: 0;
        overflow: visible; /* Allow text to be fully visible */
    }
    
    .success-story-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
        /* Remove line-clamp to prevent text cutoff */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .success-story-company {
        font-size: 0.95rem;
        height: 75px;
    }
}

@media (min-width: 1400px) {
    .success-story-card {
        min-width: calc((100vw - 8rem) / 3.2); /* 3.2 cards for ultra-wide screens (25% wider) */
        max-width: calc((100vw - 8rem) / 3.2);
        width: calc((100vw - 8rem) / 3.2);
        padding: 1.75rem;
        height: 380px; /* Increased for better spacing */
        flex-shrink: 0;
        overflow: visible; /* Allow text to be fully visible */
    }
    
    .success-story-content p {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
        /* Remove line-clamp to prevent text cutoff */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .success-story-company {
        font-size: 1rem;
        height: 80px;
    }
}

