/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #3B82F6; /* BV light blue for highlight */
    --dark-bg: #0A192F;
    --light-text: #ffffff;
    --gray-text: #9ca3af;
    --border-color: #374151;
    --card-bg: #1f2937;
    --hover-blue: #3b82f6;
    --white-bg: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-overflow-scrolling: touch;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Premium selection styling */
::selection {
    background: rgba(59, 130, 246, 0.2);
    color: inherit;
}

::-moz-selection {
    background: rgba(59, 130, 246, 0.2);
    color: inherit;
}

/* Standardized Typography Scale - Optimized for all devices */
h1, .h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h2, .h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h3, .h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p, .p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--light-text);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1;
    font-kerning: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation - Transparent on home */
.navbar-dark {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(7px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid transparent; /* prevent white flash on scroll */
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar-dark.scrolled {
    background: rgba(10, 25, 47, 0.98);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #3B82F6 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.375rem;
    letter-spacing: -0.03em;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon::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 ease;
}

.nav-logo:hover .logo-icon::before {
    left: 100%;
}

.nav-logo:hover .logo-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.logo-text {
    color: var(--light-text);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    outline: none;
}

.nav-link:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 4px;
    border-radius: 4px;
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    background: transparent;
    border: none;
    outline: none;
}

.nav-toggle:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.bar {
    width: 26px;
    height: 3px;
    background: var(--light-text);
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Hero Section with Slideshow */
.hero-dark {
    position: relative;
    display: block;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-slideshow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    min-height: 500px;
    max-height: 675px;
    z-index: 0;
    background: none;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-slideshow {
        min-height: 600px;
        max-height: 100vh;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        min-height: 550px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,25,47,0.43);
    z-index: 1;
    pointer-events: none;
}

.hero-slide,
.hero-slide.active {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    background-size: cover;
    background-position: center;
    filter: none;
    z-index: 0;
}
.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 49%;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 2rem;
    max-width: 680px;
    text-align: left;
    margin: 0;
    padding-left: 2rem;
    transform: translateY(-46%);
}

.hero-title {
    font-size: 4.25rem; /* ~68px */
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--light-text);
    text-shadow: 0 4px 20px rgba(0,0,0,0.7), 0 2px 10px rgba(0,0,0,0.5);
}

.highlight {
    color: var(--primary-blue);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.98);
    margin-bottom: 2rem;
    text-shadow: 0 3px 15px rgba(0,0,0,0.6), 0 1px 6px rgba(0,0,0,0.4);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

/* Standardized CTA Buttons */
.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
    min-width: 120px;
    height: 58px;
    padding: 0 2.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    outline: none;
}

.cta-primary:focus,
.cta-secondary:focus {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}
.cta-primary {
    background: var(--primary-blue);
    color: var(--light-text);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(59,130,246,0.18);
}
.cta-primary:hover {
    background: #2566d6;
    color: var(--light-text);
    border-color: #2566d6;
    box-shadow: 0 14px 46px rgba(59,130,246,0.19);
    transform: translateY(-3px);
}
.cta-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-blue);
}
.cta-secondary:hover {
    background: rgba(59,130,246,0.08);
    color: var(--light-text);
    border-color: var(--primary-blue);

    backdrop-filter: blur(4px);
    transition: 0.2s ease;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
  .cta-primary, .cta-secondary {
    height: 52px;
    font-size: 1.0625rem;
    padding: 0 1.2rem;
  }
  .hero-content {
    top: 52%;
    transform: translateY(-46%);
  }
}
@media (max-width: 600px) {
  .cta-secondary {
    border-color: var(--primary-blue);
    color: var(--light-text);
  }
  .hero-content {
    top: 50%;
    transform: translateY(-50%);
    padding-top: 0;
    padding-bottom: 0.7rem;
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
  }
}
@media (max-width: 599px) {
  .cta-primary, .cta-secondary {
    height: 46px;
    font-size: 1rem;
    padding: 0 0.6rem;
  }
}

/* Services Section - WHITE BACKGROUND - Consistent Spacing */
.services-section {
    background: var(--white-bg);
    color: var(--dark-bg);
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white-bg);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: auto;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-blue);
    border-width: 2px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-bg);
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* Caption Section - Consistent Spacing */
.caption-section {
    background: var(--white-bg);
    padding: 4rem 0;
    position: relative;
}

.caption-box {
    max-width: 900px;
    margin: 0 auto;
    background: #e6f0ff;
    border-radius: 12px;
    padding: 2.5rem 3rem;
    text-align: center;
}

.caption-quote {
    font-size: 1.375rem;
    line-height: 1.9;
    color: #1f2937;
    font-style: italic;
    margin: 0;
    position: relative;
}

.caption-quote::before,
.caption-quote::after {
    content: '“';
    position: absolute;
    left: -8px;
    color: rgba(29,78,216,0.25);
    font-size: 2.25rem;
    line-height: 0;
}

.caption-quote::after {
    content: '”';
    position: static;
    margin-left: 4px;
}

.caption-cite {
    margin-top: 0.75rem;
    font-weight: 700;
    color: #1f3a8a;
}

@media (max-width: 768px) {
    .caption-box {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .caption-quote {
        font-size: 1.1rem;
    }
}

/* Projects Section - Consistent Spacing */
.projects-section {
    background: var(--white-bg);
    color: var(--dark-bg);
    padding: 6rem 0;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--white-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
}

.project-image {
    flex: 1;
    min-height: 200px;
    max-height: 300px;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 200px;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: 600;
}

.project-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-bg);
}

.project-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.project-link:hover {
    text-decoration: none;
    color: #1d4ed8; /* slightly darker blue on hover */
}

/* Why Us Section - White background with feature cards - Consistent Spacing */
.why-us-section {
    background: var(--white-bg);
    color: var(--dark-bg);
    padding: 6rem 0;
    position: relative;
}

.why-us-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-card {
    background: var(--white-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

/* Removed hover effect on why-us-card as requested */

.why-us-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.why-us-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.why-us-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/*CTA personal edit*/
.ready-to-start-card {
    background: var(--white-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;

    justify-content: space-between;
  
 

    padding: 0 2rem;
    gap: 2rem;
}

/* CTA Banner */
.cta-banner {
    background: var(--white-bg);
    padding: 1.25rem 0; /* tighter vertical gap on all, keep desktop card margins */
}

.cta-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-banner-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    margin: 0 auto; /* keep card away from edges */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.cta-banner-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.cta-banner-description {
    font-size: 1.05rem;
    color: var(--gray-text);
    line-height: 1.6;
}

.cta-banner-btn {
    background: var(--primary-blue);
    color: var(--light-text);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    outline: none;
}

.cta-banner-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.cta-banner-btn:hover {
    background: #2d6fe4;
    transform: translateY(-3px);
    transition: 0.2s ease;
}

/* desktop alignment for CTA action */
.cta-banner-actions { display: flex; align-items: center; }
.cta-banner-actions .cta-banner-btn { margin-left: auto; }

/* Testimonials Section - WHITE BACKGROUND - Consistent Spacing */
.testimonials-section {
    background: var(--white-bg);
    color: var(--dark-bg);
    padding: 6rem 0;
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: visible;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slides-container {
    position: relative;
    display: block;
    min-height: 320px;
    height: 100%;
    width: 100%;
}

.testimonial-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
    z-index: 1;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 2;
}

.testimonial-card {
    background: var(--primary-blue);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    min-width: 280px;
    max-width: 470px;
    width: 100%;
    min-height: 260px;
    box-shadow: 0 2px 32px 0 rgba(10,25,47,0.07);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 600px) {
  .testimonial-card {
    border-radius: 16px;
    padding: 2rem 0.8rem;
    min-width: 0;
    width: 96vw;
    max-width: 98vw;
  }
  .testimonial-slider {
    min-height: 260px;
  }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Premium Homepage Animations - Slide from left on load */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-left {
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-left-delay-1 {
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.animate-slide-left-delay-2 {
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* Premium Scroll Animations - Fade up from bottom - Light & Fast */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Transitions - Smooth Flow Between Sections */
section {
    scroll-margin-top: 80px;
    position: relative;
}

.services-section,
.projects-section,
.why-us-section,
.testimonials-section,
.contact-section-dark,
.caption-section {
    transition: opacity 0.4s ease-out;
    will-change: opacity;
}

/* Performance Optimization - GPU acceleration */
.service-card,
.project-card,
.why-us-card,
.testimonial-card {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Image optimization - Only lazy load below-the-fold images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Above-the-fold images load immediately (no lazy loading) */
.hero-slide,
.service-slideshow-slide {
    /* These load immediately - no lazy loading */
}

/* Below-the-fold images can use lazy loading */
img[loading="lazy"] {
    /* Native browser lazy loading - no custom opacity handling */
    /* Browser handles loading automatically */
}

.scroll-fade-up {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-up.visible {
    opacity: 1;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-fade-up-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-up-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-up-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-up-delay-2.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-client {
    margin-bottom: 2rem;
}

.client-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.client-info p {
    color: rgba(255, 255, 255, 0.9);
}

.client-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--light-text);
    font-style: italic;
}

/* Contact Section - BLACK BACKGROUND */
.contact-section-dark {
    background: var(--dark-bg);
    padding: 6rem 0;
    text-align: center;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.contact-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-buttons-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    outline: none;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    height: auto;
    min-height: 58px;
}

.contact-btn:focus {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

.contact-btn.phone {
    background: var(--primary-blue);
    color: var(--light-text);
}

.contact-btn.phone:hover {
    background: #0099cc;
    transform: translateY(-3px);
}

/* Normalize contact button icons - Ensure they never disappear */
.contact-btn svg,
.contact-btn .icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    fill: currentColor;
}

.contact-btn.email {
    background: var(--light-text);
    color: var(--dark-bg);
}

.contact-btn.email:hover {
    background: var(--gray-text);
    transform: translateY(-3px);
}

.contact-btn.email svg,
.contact-btn.email .icon {
    fill: var(--dark-bg);
    flex-shrink: 0;
}

.contact-btn.email:hover svg,
.contact-btn.email:hover .icon {
    fill: var(--light-text);
}

/* Footer - BLACK BACKGROUND - Consistent Padding */
.footer-dark {
    background: var(--dark-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-brand .logo-icon {
    width: 42px;
    height: 42px;
    font-size: 1.125rem;
    border-radius: 12px;
}

.footer-brand-text {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--light-text);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.4;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    outline: none;
}

.footer-links a:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
    border-radius: 2px;
    color: var(--primary-blue);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-icon.facebook:hover {
    color: #1877F2;
    background: rgba(24, 119, 242, 0.1);
}

.social-icon.instagram:hover {
    color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
}

.social-icon.linkedin:hover {
    color: #0077B5;
    background: rgba(0, 119, 181, 0.1);
}

.social-icon.tiktok:hover {
    color: #000000;
    background: #ffffff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
    cursor: pointer;
    outline: none;
    border: none;
}

.whatsapp-float:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        gap: 0.75rem;
        font-size: 1.375rem;
    }
    
    .logo-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        border-radius: 12px;
        animation: none;
        background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 50%;
        width: min(90vw, 360px);
        max-height: 70vh;
        overflow-y: auto;
        background: rgba(10, 25, 47, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem 1.75rem;
        border-radius: 24px;
        border: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 25px 60px rgba(6, 12, 24, 0.45);
        transform: translate(-50%, -10px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
    }
    
    .nav-menu.active {
        transform: translate(-50%, 0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-menu .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 1.05rem;
        font-weight: 600;
        width: 100%;
        text-align: left;
        letter-spacing: 0.01em;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding-left: 1.25rem;
        margin: 0; /* keep left aligned */
        text-align: left;
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: flex-start;
        flex-direction: column;
        gap: 0.875rem;
    }

    /* Mobile CTA buttons - full width pill like BV */
    .cta-primary, .cta-secondary {
        width: 100%;
        border-radius: 9999px;
        padding: 1.15rem 1.5rem;
        font-weight: 700;
        font-size: 1.125rem;
    }
    .cta-secondary {
        border-color: var(--primary-blue);
        color: var(--light-text);
    }
    
    .hero-title {
        font-size: clamp(1.875rem, 5vw, 2.5rem);
        line-height: 1.15;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.125rem);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-us-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-banner-card {
        grid-template-columns: 1fr;
        padding: 1.1rem 1rem;
        border-radius: 16px;
    }
    .cta-banner-text { text-align: left; }
    .cta-banner-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .cta-banner-description { font-size: 0.95rem; }
    .cta-banner-actions { width: 100%; }
    .cta-banner-btn {
        width: auto;
        padding: 0.85rem 1.5rem;
        border-radius: 9999px;
        font-size: 1rem;
        margin: 0.75rem auto 0;
        display: inline-flex;
        box-shadow: 0 6px 18px rgba(45, 111, 228, 0.25);
    }

    /* Contact section spacing on mobile */
    .contact-section-dark {
        padding: 4.5rem 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        flex-direction: column;
    }
    
    .project-image {
        min-height: 200px;
        max-height: 250px;
        width: 100%;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }
    .contact-buttons-row .contact-btn {
        min-width: 46%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.625rem, 6vw, 2rem);
        line-height: 1.2;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9375rem, 3.5vw, 1.0625rem);
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hero-cta {
        gap: 0.875rem;
        flex-direction: column;
    }
    
    .cta-primary, .cta-secondary {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-label {
        font-size: 0.8125rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 1.875rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.875rem, 4vw, 1rem);
    }
    
    .hero-content {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
    
    .cta-primary, .cta-secondary {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
}

/* Legal Modal Styles */
.legal-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.legal-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.legal-modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow-y: auto;
    max-height: 90vh;
    color: #1f2937;
    z-index: 10002;
}

.legal-modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.legal-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-modal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

.legal-modal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.8;
}

.legal-modal-content li {
    margin-bottom: 0.5rem;
}

.legal-modal-navigation {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.legal-nav-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-nav-btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2563EB 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.legal-nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563EB 0%, var(--primary-blue) 100%);
}

.legal-nav-btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.legal-nav-btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.legal-nav-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.legal-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.legal-modal-close:hover {
    background: #f3f4f6;
    color: var(--dark-bg);
}

.legal-modal-overlay.active .legal-modal-content {
    transform: scale(1);
    opacity: 1;
}

.footer-links a.legal-link {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

/* Contact Buttons Row: Side by Side and Match */
@media (max-width: 620px) {
  .contact-buttons-row {
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: stretch;
  }
  .contact-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    height: 54px;
    padding: 0 0.625rem;
    font-size: 0.8125rem;
    border-radius: 40px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .contact-btn.phone {
    flex: 0 1 auto;
    width: auto;
    min-width: 140px;
    padding: 0 0.875rem;
    gap: 0.5rem;
  }
  
  .contact-btn.email {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 0.625rem;
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  
  .contact-btn svg,
  .contact-btn .icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-buttons-row {
    gap: 0.625rem;
  }
  
  .contact-btn {
    font-size: 0.75rem;
    padding: 0 0.5rem;
    min-height: 50px;
    height: 50px;
  }
  
  .contact-btn.phone {
    min-width: 120px;
    padding: 0 0.75rem;
  }
  
  .contact-btn.email {
    font-size: 0.6875rem;
    padding: 0 0.5rem;
  }
  
  .contact-btn svg,
  .contact-btn .icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
  }
}

@media (max-width: 375px) {
  .contact-buttons-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .contact-btn.phone,
  .contact-btn.email {
    width: 100%;
    min-width: 100%;
    font-size: 0.875rem;
    padding: 0 1rem;
  }
  
  .contact-btn svg,
  .contact-btn .icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
  }
}

@media (max-width: 768px) {
  .legal-modal-content {
    padding: 2rem 1.5rem;
    max-width: 95%;
  }
  
  .legal-modal-content h2 {
    font-size: 1.75rem;
  }
  
  .legal-modal-content h3 {
    font-size: 1.25rem;
  }
}

/* Cookie Consent / Terms & Privacy Pop-up */
:root {
    --neon-green: #00ff88;
    --neon-green-dark: #00cc6a;
    --neon-green-light: #33ffaa;
}

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-popup {
    background: var(--dark-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    max-width: 420px;
    width: 100%;
    min-width: 280px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 255, 136, 0.1),
        0 0 40px rgba(0, 255, 136, 0.1);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.cookie-consent-overlay.active .cookie-consent-popup {
    transform: translateY(0);
}

.cookie-consent-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.cookie-consent-content {
    position: relative;
    z-index: 1;
}

.cookie-consent-text {
    color: var(--light-text);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.cookie-link {
    color: var(--neon-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    border-bottom: 1px solid transparent;
}

.cookie-link:hover {
    color: var(--neon-green-light);
    border-bottom-color: var(--neon-green);
}

.cookie-consent-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cookie-consent-buttons {
        flex-direction: column;
    }
}

.cookie-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    overflow: hidden;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-dark) 100%);
    color: var(--dark-bg);
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3);
    flex: 1;
    min-width: 140px;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, var(--neon-green-light) 0%, var(--neon-green) 100%);
}

.cookie-btn-accept:active {
    transform: translateY(0);
}

.cookie-btn-accept:focus {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 1px solid rgba(0, 255, 136, 0.3);
    flex: 1;
    min-width: 140px;
}

.cookie-btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green-light);
}

.cookie-btn-secondary:focus {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}

/* Mobile Responsive for Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent-overlay {
        align-items: flex-end;
        justify-content: center;
        padding: 1rem;
    }
    
    .cookie-consent-popup {
        max-width: 100%;
        width: calc(100% - 2rem);
        padding: 1.5rem;
        border-radius: 12px;
        margin: 0;
    }
    
    .cookie-consent-text {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    .cookie-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
    }
    
    .cookie-consent-buttons {
        gap: 0.75rem;
    }
}

/* Small phones (iPhone SE, etc.) */
@media (max-width: 480px) {
    .cookie-consent-overlay {
        padding: 0.75rem;
    }
    
    .cookie-consent-popup {
        padding: 1.25rem;
        border-radius: 12px;
        width: calc(100% - 1.5rem);
        max-width: 100%;
    }
    
    .cookie-consent-text {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .cookie-consent-buttons {
        gap: 0.625rem;
    }
    
    .cookie-btn {
        padding: 0.6875rem 1rem;
        font-size: 0.8125rem;
    }
}

/* Extra small phones */
@media (max-width: 374px) {
    .cookie-consent-overlay {
        padding: 0.5rem;
    }
    
    .cookie-consent-popup {
        padding: 1rem;
        border-radius: 10px;
        width: calc(100% - 1rem);
    }
    
    .cookie-consent-text {
        font-size: 0.75rem;
        margin-bottom: 0.875rem;
    }
    
    .cookie-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .cookie-consent-buttons {
        gap: 0.5rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .cookie-consent-overlay {
        align-items: center;
        padding: 1rem;
    }
    
    .cookie-consent-popup {
        max-width: 500px;
        width: auto;
    }
    
    .cookie-consent-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .cookie-btn-accept {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-btn-secondary {
        flex: 1;
        min-width: 120px;
    }
}
