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

/* iPhone Specific Fixes */
html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fix iPhone Safari bottom bar issues */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* iPhone X and newer safe areas */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .nav-links {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Hide HTML-specific elements and prevent inspection */
html {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

/* Disable text selection globally */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Hide scrollbars but keep functionality */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Disable drag and drop */
* {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Hide focus outlines */
*:focus {
    outline: none !important;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Disable link highlighting */
a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

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

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

/* Header */
.header {
    background: white;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.8rem;
    z-index: 1002;
    /* iPhone touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

/* Center icons on all mobile devices */
@media (max-width: 768px) {
    .service-icon,
    .approach-icon {
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
}

/* Mobile: Center everything like blocks */
@media (max-width: 768px) {
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .desktop-cta {
        display: none !important;
    }
    
    .nav {
        justify-content: center !important;
        display: flex !important;
    }
    
    .logo {
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    
    /* Center all content */
    .container {
        text-align: center;
    }
    
    .section-header,
    .section-header h2,
    .section-header p {
        text-align: center;
    }
    
    .services-grid,
    .approach-grid {
        justify-items: center;
    }
    
    .service-card,
    .approach-card {
        text-align: center;
        margin: 0 auto;
    }
    
    .service-card ul {
        text-align: center;
        list-style: none;
        padding: 0;
    }
    
    .service-card li {
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .contact-info,
    .contact-form {
        text-align: center;
    }
    
    .footer {
        text-align: center;
        background: #1e293b !important;
    }
    
    .footer::before,
    .footer::after {
        display: none !important;
    }
    
    .footer-content {
        text-align: center;
    }
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #1e293b;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

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

.nav-links a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f97316;
}

.cta-button {
    background: #1e293b;
    color: white;
    border: 2px solid #1e293b;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
    font-size: 1rem;
    /* iPhone touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    min-height: 44px;
}

.cta-button:hover {
    background: #f97316;
    border-color: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #0f172a 20%, #1e293b 60%, #0f172a 100%);
    padding: 4rem 0 6rem;
    text-align: center;
    color: white;
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
    position: relative;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.title-line-1,
.title-line-2 {
    display: block;
    margin-bottom: 1.2rem;
}

.title-line-2 {
    margin-bottom: 0;
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: wordReveal 0.6s ease-out forwards;
    margin-right: 0.15em;
}

.hero-title span:last-child {
    margin-right: 0;
}

.hero-title .word-1 { animation-delay: 0.1s; }
.hero-title .word-2 { animation-delay: 0.3s; }
.hero-title .word-3 { animation-delay: 0.5s; }
.hero-title .word-4 { animation-delay: 0.7s; }

.hero-title .highlight {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: 2px;
    opacity: 0;
    animation: underlineReveal 0.8s ease-out forwards;
    animation-delay: inherit;
}

.accent {
    color: #f97316;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 1s both;
    color: #cbd5e1;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    opacity: 0;
    color: #f97316;
    animation: fadeInUp 1s ease-out 1.3s both;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-cta {
    background: #f97316;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.hero-cta:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

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

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

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

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

.icon-square {
    width: 60px;
    height: 60px;
    background: #f97316;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #1e293b;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #64748b;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
}

/* Approach Section */
.approach {
    background: #f8fafc;
    padding: 4rem 0;
}

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

.approach-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.approach-icon {
    margin-bottom: 1.5rem;
}

.approach-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.approach-card p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background: #f97316;
    padding: 4rem 0;
    text-align: center;
    color: white;
}

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

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Special styling for CTA button in orange banner */
.cta-banner .cta-button {
    background: #1e293b;
    border-color: #1e293b;
    color: white;
}

.cta-banner .cta-button:hover {
    background: #334155;
    border-color: #334155;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.4);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 6rem 0;
    color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    /* iPhone optimizations */
    -webkit-appearance: none;
    -webkit-border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f97316;
}

.submit-button {
    background: #f97316;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    justify-self: center;
    margin-top: 1rem;
}

.submit-button:hover {
    background: #ea580c;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 5rem 0 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f97316, #ea580c, #f97316, transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    transform: rotate(15deg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: 1px;
}

.footer-left p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.copyright {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-center h4,
.footer-right h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 1rem;
}

.footer-center h4::before,
.footer-right h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #f97316, #ea580c);
    border-radius: 2px;
}

.footer-center ul,
.footer-right ul {
    list-style: none;
}

.footer-center li,
.footer-right li {
    margin-bottom: 0.75rem;
}

.footer-center a,
.footer-right a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.footer-center a::before,
.footer-right a::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #f97316;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-center a:hover,
.footer-right a:hover {
    color: #f97316;
    transform: translateX(8px);
}

.footer-center a:hover::before,
.footer-right a:hover::before {
    width: 8px;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 1.5rem 0;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #f97316;
}

.cookie-banner.show {
    transform: translateY(0);
}


/* Desktop specific */
@media (min-width: 769px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        border-radius: 0;
        padding: 1.5rem 0;
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        border-top: 3px solid #f97316;
        backdrop-filter: none;
        border: none;
    }
}

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

.cookie-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0;
}

.cookie-text a {
    color: #f97316;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #ea580c;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: #f97316;
    color: white;
}

.cookie-accept:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.cookie-essential {
    background: transparent;
    color: white;
    border: 2px solid #64748b;
}

.cookie-essential:hover {
    background: #64748b;
    transform: translateY(-2px);
}

.cookie-settings {
    background: transparent;
    color: #f97316;
    border: 2px solid #f97316;
}

.cookie-settings:hover {
    background: #f97316;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-category-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.cookie-category p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #f97316;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

input:disabled + .toggle-slider {
    background-color: #e2e8f0;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        bottom: auto !important;
        right: auto !important;
        width: 90% !important;
        max-width: 400px !important;
        padding: 1.5rem !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        background: rgba(30, 41, 59, 0.95) !important;
        border-top: none !important;
        z-index: 99999 !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .cookie-banner:not(.show) {
        transform: translate(-50%, -50%) scale(0.8) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .cookie-banner.show {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Mobile backdrop overlay */
    .cookie-banner::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    
    .cookie-banner.show::before {
        opacity: 1;
        visibility: visible;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .cookie-text {
        order: 1;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
        order: 2;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .cookie-accept {
        background: #f97316;
        color: white;
    }
    
    .cookie-accept:hover {
        background: #ea580c;
    }
    
    .cookie-essential {
        background: #6b7280;
        color: white;
    }
    
    .cookie-essential:hover {
        background: #4b5563;
    }
    
    .cookie-settings {
        background: transparent;
        color: #f97316;
        border: 1px solid #f97316;
    }
    
    .cookie-settings:hover {
        background: #f97316;
        color: white;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem;
    }
}

/* ========== RESPONSIVE DESIGN - COMPLETE REBUILD ========== */

/* Large Desktop */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .services-grid,
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet Large */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid,
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-left {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    /* ===== HEADER & NAVIGATION ===== */
    .header {
        padding: 1.3rem 0;
        position: relative;
        width: 100%;
        z-index: 1000;
    }
    
    .nav {
        display: block !important;
        text-align: center !important;
        padding: 0 !important;
        width: 100% !important;
        position: relative !important;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .desktop-cta {
        display: none !important;
    }
    
    .logo {
        display: inline-block !important;
        text-align: center !important;
        margin: 0 auto !important;
        z-index: 1002;
    }
    
    .logo a {
        display: inline-block !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .logo-image {
        height: 72px !important; /* 20% groter logo voor mobiel */
        display: block !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: auto !important;
        vertical-align: middle !important;
        border: none !important;
        outline: none !important;
    }
    
    /* Hide language selector on mobile - force hide */
    .language-selector,
    .nav .language-selector,
    nav .language-selector {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Center all content like blocks */
    .container {
        text-align: center;
    }
    
    .section-header,
    .section-header h2,
    .section-header p {
        text-align: center;
    }
    
    .services-grid,
    .approach-grid {
        justify-items: center;
    }
    
    .service-card,
    .approach-card {
        text-align: center;
        margin: 0 auto;
    }
    
    .service-card ul {
        text-align: center;
        list-style: none;
        padding: 0;
    }
    
    .service-card li {
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .contact-info,
    .contact-form {
        text-align: center;
    }
    
    .footer {
        text-align: center;
        background: #1e293b !important;
    }
    
    .footer::before,
    .footer::after {
        display: none !important;
    }
    
    .footer-content {
        text-align: center;
    }
    
    /* ===== HERO SECTION ===== */
    .hero {
        padding: 2rem 0 2rem;
        text-align: center;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        line-height: 1.5;
        color: #64748b;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* ===== SECTIONS ===== */
    .services,
    .approach {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
        max-width: 85%;
        margin: 0 auto;
    }
    
    .services-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-card,
    .approach-card {
        padding: 2.5rem 2rem;
        text-align: center;
    }
    
    .service-card h3,
    .approach-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card ul {
        text-align: left;
        max-width: 300px;
        margin: 1rem auto 0;
    }
    
    /* ===== CTA BANNER ===== */
    .cta-banner {
        padding: 5rem 0;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* ===== CONTACT ===== */
    .contact {
        padding: 5rem 0;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-logo {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* ===== LEGAL PAGES ===== */
    .legal-content {
        padding: 6rem 0 3rem;
    }
    
    .accordion-item {
        margin-bottom: 1rem;
    }
    
    .accordion-header {
        padding: 1.5rem;
    }
    
    .accordion-header h3 {
        font-size: 1.2rem;
    }
    
    .accordion-content.active {
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* ===== HEADER & NAVIGATION ===== */
    .header {
        padding: 0.8rem 0;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav {
        justify-content: center !important;
    }
    
    /* ===== HERO SECTION ===== */
    .hero {
        padding: 1.5rem 0 2rem;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* ===== SECTIONS ===== */
    .services,
    .approach {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .services-grid,
    .approach-grid {
        max-width: 100%;
        gap: 1.5rem;
    }
    
    .service-card,
    .approach-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3,
    .approach-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-card ul {
        max-width: 100%;
        margin: 1rem 0 0;
    }
    
    /* ===== CTA BANNER ===== */
    .cta-banner {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* ===== CONTACT ===== */
    .contact {
        padding: 4rem 0;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        border-radius: 8px;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        gap: 2.5rem;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-left p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .footer-center h4,
    .footer-right h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-center a,
    .footer-right a {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    .copyright {
        font-size: 0.9rem;
        margin-top: 2rem;
    }
    
    /* ===== LEGAL PAGES ===== */
    .legal-content {
        padding: 6rem 0 3rem;
    }
    
    .accordion-header {
        padding: 1.2rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin: 0;
        flex: 1;
    }
    
    .accordion-icon {
        flex-shrink: 0;
        margin-left: 1rem;
    }
    
    .accordion-header p,
    .accordion-header div:not(.accordion-header-content),
    .accordion-header span:not(.accordion-icon),
    .accordion-header .accordion-preview {
        display: none !important;
    }
    
    .accordion-header-content p,
    .accordion-header-content .accordion-preview {
        display: none !important;
    }
    
    .accordion-content.active {
        padding: 1.2rem 1rem;
    }
    
    .accordion-content p,
    .accordion-content li {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* iPhone Specific Breakpoints */

/* iPhone 14 Pro Max, 14 Plus */
@media only screen and (max-width: 430px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 1.5rem 0 2rem;
        min-height: 40vh;
        min-height: -webkit-fill-available;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 2.5rem;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .desktop-cta {
        display: none !important;
    }
    
    .nav {
        justify-content: center !important;
        display: flex !important;
    }
    
    .logo {
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .service-card,
    .approach-card {
        padding: 2.5rem 2rem;
    }
    
    .hero-cta,
    .submit-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        min-height: 48px;
        border-radius: 12px;
    }
}

/* iPhone 14, 13, 12, 11 */
@media only screen and (max-width: 390px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav {
        justify-content: center !important;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .approach-card {
        padding: 2rem 1.5rem;
    }
}

/* iPhone SE, 12 mini, 13 mini */
@media only screen and (max-width: 375px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav {
        justify-content: center !important;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .service-card,
    .approach-card {
        padding: 1.8rem 1.2rem;
    }
    
    .hero-cta,
    .submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* iPhone 5/SE (1st gen) */
@media only screen and (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav {
        justify-content: center !important;
    }
    
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    .service-card,
    .approach-card {
        padding: 1.5rem 1rem;
    }
    
    .hero-cta,
    .submit-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(10px) scale(1.02);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(249, 115, 22, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(249, 115, 22, 0.6), 0 0 30px rgba(249, 115, 22, 0.4);
    }
}

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

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

@keyframes underlineReveal {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%, 0% 0%, 100% 100%;
    }
    25% {
        background-position: 100% 50%, 50% 50%, 0% 0%;
    }
    50% {
        background-position: 50% 0%, 100% 100%, 50% 50%;
    }
    75% {
        background-position: 0% 100%, 0% 50%, 100% 0%;
    }
}

@keyframes breathingAccents {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: #f97316;
    }
}

/* Enhanced Card Animations */
.service-card,
.approach-card {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before,
.approach-card:hover::before {
    left: 100%;
}

.service-card:hover,
.approach-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Floating Icons */
.service-icon .icon-square,
.approach-icon .icon-square {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon .icon-square,
.approach-card:hover .approach-icon .icon-square {
    animation: float 2s ease-in-out infinite;
    transform: rotate(5deg);
}

/* Enhanced Button Effects */
.cta-button,
.hero-cta,
.submit-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover,
.hero-cta:hover,
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

/* Professional hero title hover effect */
.hero-title:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Parallax Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 70%),
        linear-gradient(45deg, transparent 0%, rgba(249, 115, 22, 0.1) 30%, transparent 70%),
        linear-gradient(-45deg, transparent 20%, rgba(6, 182, 212, 0.08) 50%, transparent 80%);
    background-size: 200% 200%, 300% 300%, 250% 250%;
    animation: gradientFlow 20s ease-in-out infinite;
    opacity: 0.8;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(249, 115, 22, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.1) 0%, transparent 30%);
    animation: breathingAccents 8s ease-in-out infinite;
    z-index: 1;
}

/* Staggered Animation */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.approach-card:nth-child(1) { animation-delay: 0.1s; }
.approach-card:nth-child(2) { animation-delay: 0.2s; }
.approach-card:nth-child(3) { animation-delay: 0.3s; }

/* Interactive Form Elements */
.form-group input:focus,
.form-group textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

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

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    z-index: 9999;
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

/* Magnetic Effect for Buttons */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Form Styling */
.form-group {
    position: relative;
    transition: all 0.3s ease;
}

/* Checkbox Styling */
.checkbox-group {
    margin: 1.5rem 0;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 0.75rem;
    line-height: 1.5;
    position: relative;
    /* iPhone touch optimizations */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    min-height: 44px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-custom {
    min-width: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    margin-top: 2px;
    flex-shrink: 0;
    display: block;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #f97316;
    border-color: #f97316;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    /* Allow text selection for this element */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.checkbox-text a {
    color: #f97316;
    text-decoration: underline;
    transition: color 0.3s ease;
    /* Allow text selection for links */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.checkbox-text a:hover {
    color: #ea580c;
}

/* Mobile checkbox adjustments */
@media (max-width: 768px) {
    .checkbox-custom {
        min-width: 24px;
        width: 24px;
        height: 24px;
        margin-top: 0;
    }
    
    .checkbox-custom::after {
        top: 2px;
        left: 7px;
        width: 6px;
        height: 12px;
    }
    
    .checkbox-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .checkbox-label {
        align-items: center;
        gap: 1rem;
        min-height: 48px;
    }
}

.form-group.focused input,
.form-group.focused textarea {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group.has-value label {
    transform: translateY(-20px) scale(0.8);
    color: #f97316;
}

/* Cursor Effects */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #f97316;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(249, 115, 22, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.1s ease;
}

/* Section Divider */
.section-divider {
    padding: 4rem 0;
    background: #f8fafc;
}

.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    position: relative;
}

.divider-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 1px;
    background: #f97316;
}

/* Enhanced Button States */
.cta-button:active,
.hero-cta:active,
.submit-button:active {
    transform: translateY(0) scale(0.98);
}

/* Card Hover States */
.service-card:hover .service-icon .icon-square,
.approach-card:hover .approach-icon .icon-square {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

/* Text Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #f97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: #f97316;
    transform: scale(1.2);
}

/* Legal Pages Styling */
.legal-page {
    padding: 8rem 0 4rem;
    background: #f8fafc;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.legal-content .intro {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.accordion {
    margin-top: 2rem;
}

.accordion-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #cbd5e1;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
    border: none;
    position: relative;
}

.accordion-header * {
    margin: 0;
    padding: 0;
}

.accordion-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343A40;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.accordion-icon {
    font-size: 1rem;
    color: #ADB5BD;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Hide ALL other content in accordion header */
.accordion-header > *:not(h3):not(.accordion-icon) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.accordion-header p,
.accordion-header div,
.accordion-header span:not(.accordion-icon),
.accordion-header .accordion-preview,
.accordion-header .accordion-header-content {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Prevent any content bleeding from accordion-content into header */
.accordion-item:not(.active) .accordion-content,
.accordion-item:not(.active) .accordion-content * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -1 !important;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-item.active .accordion-header {
    background: white;
    border-bottom: 1px solid #E9ECEF;
}



.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    padding: 0;
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 1.5rem 2rem 2rem;
    display: block;
    visibility: visible;
    opacity: 1;
    position: static;
    left: auto;
}

.accordion-item.active {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.accordion-content p {
    color: #6C757D;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.accordion-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.accordion-content li {
    color: #6C757D;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.accordion-content strong {
    color: #343A40;
    font-weight: 600;
}

.accordion-content a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.3s ease;
}

.accordion-content a:hover {
    color: #ea580c;
}

.last-updated {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.last-updated p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

/* Enhanced Mobile Animations */
@media (max-width: 768px) {
    .service-card:hover,
    .approach-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .magnetic {
        transform: none !important;
    }
    
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .accordion-header {
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin: 0;
        flex: 1;
    }
    
    .accordion-icon {
        flex-shrink: 0;
        margin-left: 0.8rem;
        font-size: 0.9rem;
    }
    
    .accordion-header p,
    .accordion-header div:not(.accordion-header-content),
    .accordion-header span:not(.accordion-icon),
    .accordion-header .accordion-preview {
        display: none !important;
    }
    
    .accordion-header-content p,
    .accordion-header-content .accordion-preview {
        display: none !important;
    }
    
    .accordion-content {
        padding: 0 1rem 1rem;
    }
}

/* Notification animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Button hover effects */
.cta-button,
.hero-cta,
.submit-button {
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before,
.hero-cta:hover::before,
.submit-button:hover::before {
    left: 100%;
}
