/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Strict containment for all interactive elements to prevent overflow */
.service-card,
.feature-box,
.testimonial-card,
.solution-item,
.process-step,
.accordion-item-hero {
    contain: layout style;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
}

/* Prevent media from causing horizontal scroll */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

:root {
    /* Extended 3-Color Palette */
    --primary-color: #1a4d7a;
    --primary-dark: #0d2d47;
    --primary-light: #2d6ba3;
    --secondary-color: #2d6ba3;
    --secondary-dark: #1e4a6f;
    --secondary-light: #4a8bc5;
    --accent-color: #ff6b35;
    --accent-dark: #e55a2b;
    --accent-light: #ff8c5a;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a4d7a 0%, #2d6ba3 50%, #4a8bc5 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 77, 122, 0.9) 0%, rgba(45, 107, 163, 0.85) 50%, rgba(74, 139, 197, 0.8) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Shadows */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.3);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden !important;
    background: var(--white);
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 2vw, 20px);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Prevent horizontal scroll on hero section */
.hero-section .container {
    max-width: 1200px;
    padding-left: clamp(20px, 3vw, 40px);
    padding-right: clamp(20px, 3vw, 40px);
    box-sizing: border-box;
}

/* Decorative Elements */
.decorative-line {
    height: 4px;
    width: 80px;
    background: var(--gradient-accent);
    margin: 20px auto;
    border-radius: 2px;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.decorative-line::before {
    left: clamp(-15px, -2vw, -10px);
}

.decorative-line::after {
    right: clamp(-15px, -2vw, -10px);
}

/* Ensure decorative line container doesn't cause overflow */
.section-header {
    overflow: visible;
    position: relative;
    padding: 0 clamp(15px, 2vw, 30px);
    box-sizing: border-box;
}

/* Cookie Notification with Glassmorphism */
/* Google Consent Mode v2 Cookie Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 480px;
    width: calc(100% - 40px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(calc(100% + 40px));
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    border: 1px solid rgba(26, 77, 122, 0.1);
    overflow: hidden;
}

.cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-container {
    padding: 24px;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(26, 77, 122, 0.1);
}

.cookie-consent-header h3 {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.cookie-close-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.cookie-close-btn:hover {
    background: rgba(26, 77, 122, 0.1);
    color: var(--primary-color);
}

.cookie-consent-body {
    margin-bottom: 20px;
}

.cookie-consent-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 16px;
}

.cookie-consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-consent-text a:hover {
    color: var(--accent-color);
}

.cookie-preferences {
    display: none;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 16px;
    padding-right: 8px;
}

.cookie-preferences.show {
    display: block;
}

/* Custom scrollbar for cookie preferences */
.cookie-preferences::-webkit-scrollbar {
    width: 6px;
}

.cookie-preferences::-webkit-scrollbar-track {
    background: rgba(26, 77, 122, 0.05);
    border-radius: 3px;
}

.cookie-preferences::-webkit-scrollbar-thumb {
    background: rgba(26, 77, 122, 0.3);
    border-radius: 3px;
}

.cookie-preferences::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 77, 122, 0.5);
}

.cookie-category {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(26, 77, 122, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(26, 77, 122, 0.08);
}

.cookie-category-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cookie-toggle-wrapper {
    flex-shrink: 0;
    padding-top: 2px;
}

.cookie-toggle-wrapper input[type="checkbox"] {
    display: none;
}

.cookie-toggle-label {
    display: block;
    width: 48px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-toggle-label:has(input:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle-switch {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="checkbox"]:checked + .cookie-toggle-label {
    background: var(--primary-color);
}

input[type="checkbox"]:checked + .cookie-toggle-label .cookie-toggle-switch {
    transform: translateX(22px);
}

.cookie-category-info h4 {
    font-size: 0.9375rem;
    color: var(--primary-color);
    margin: 0 0 6px 0;
    font-weight: 600;
}

.cookie-category-info p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(26, 77, 122, 0.1);
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
    flex: 1;
    min-width: fit-content;
}

.cookie-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.3);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 77, 122, 0.4);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(26, 77, 122, 0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(26, 77, 122, 0.05);
    border-color: var(--primary-color);
}

.cookie-btn-text {
    background: transparent;
    color: var(--primary-color);
    text-decoration: underline;
    padding: 10px 12px;
    flex: 0 0 auto;
}

.cookie-btn-text:hover {
    color: var(--accent-color);
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }
    
    .cookie-consent-banner.show {
        transform: translateY(0);
    }
    
    .cookie-consent-container {
        padding: 20px;
    }
    
    .cookie-consent-footer {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        flex: 1 1 100%;
    }
    
    .cookie-preferences {
        max-height: 200px;
    }
}

.cookie-accept-btn:active {
    transform: translateY(0);
}

/* Header Styles with Gradient Background */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.navbar {
    width: 100%;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition);
    border-radius: 2px;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--accent-color);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--accent-color);
}

/* Hero Section - Modern Fullscreen Design */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.hero-section + section {
    position: relative;
    z-index: 2;
}

/* Fullscreen Background Slider */
.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.1);
    transition: transform 10s ease-out;
    will-change: transform;
    min-width: 100%;
    min-height: 100%;
}

.hero-bg-slide.active .bg-img {
    transform: scale(1);
}

/* Ensure images don't leave container during parallax */
.hero-bg-image {
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
    width: 100%;
    height: 100%;
    position: relative;
}

/* Prevent image overflow on all devices */
.hero-bg-slide {
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.85) 0%, rgba(45, 107, 163, 0.75) 50%, rgba(255, 107, 53, 0.35) 100%);
    z-index: 2;
}

/* Animated Pattern Layer */
.hero-pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
    z-index: 3;
    opacity: 0.6;
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(0, 0) scale(1.02); }
}

/* Main Content Wrapper */
.hero-main-wrapper {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 5vw, 60px);
    align-items: center;
    padding: clamp(60px, 8vw, 100px) 0;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Content Block */
.hero-content-block {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 32px);
    padding-right: clamp(0px, 2vw, 20px);
    box-sizing: border-box;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: clamp(6px, 0.75vw, 8px) clamp(12px, 1.5vw, 16px);
    background: rgba(255, 107, 53, 0.1);
    border-radius: clamp(16px, 2vw, 24px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    display: block;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.badge-text {
    font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Heading */
.hero-heading {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 0.6vw, 8px);
    line-height: 1.1;
}

.heading-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -2px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease both;
}

.heading-line-1 {
    animation-delay: 0.2s;
}

.heading-line-2 {
    animation-delay: 0.4s;
}

.heading-line-3 {
    animation-delay: 0.6s;
}

.heading-line-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.heading-highlight {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Description */
.hero-description {
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 580px;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 1s both;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: clamp(12px, 1.5vw, 16px);
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(14px, 1.75vw, 16px) clamp(24px, 3vw, 32px);
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
    border: none;
    cursor: pointer;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-hero-primary svg {
    transition: var(--transition);
    width: clamp(14px, 1.75vw, 16px);
    height: clamp(14px, 1.75vw, 16px);
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: clamp(14px, 1.75vw, 16px) clamp(24px, 3vw, 32px);
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 28px);
    padding-top: clamp(32px, 4vw, 40px);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1.2s both;
    position: relative;
    z-index: 12;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 90px;
}

.stat-value {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-name {
    font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

/* Services Accordion */
.hero-services-accordion {
    position: relative;
    z-index: 11;
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item-hero {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: pointer;
}

.accordion-item-hero:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.accordion-item-hero.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
}

.accordion-header-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    cursor: pointer;
    position: relative;
}

.accordion-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.accordion-item-hero.active .accordion-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.accordion-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

/* Ensure accordion icon container clips properly */
.accordion-icon-wrapper {
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
}

.accordion-content-wrapper {
    flex: 1;
}

.accordion-title {
    font-size: clamp(1.125rem, 1.4vw, 1.25rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 6px 0;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
}

.accordion-description {
    font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.accordion-arrow {
    flex-shrink: 0;
    color: var(--white);
    transition: var(--transition);
    width: 24px;
    height: 24px;
}

.accordion-item-hero.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.accordion-body-hero {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.accordion-item-hero.active .accordion-body-hero {
    max-height: 200px;
    padding: 0 24px 24px;
}

.accordion-body-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
    line-height: 1.7;
    margin: 0;
}



/* Buttons with Gradients and Animations */
.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 17px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::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;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary::before {
    background: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Section Styles with Decorative Elements */
section {
    padding: 100px 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    border: 3px solid transparent;
    border-image: var(--gradient-primary) 1;
    opacity: 0;
    transition: var(--transition);
}

.section-header:hover h2::before {
    opacity: 0.3;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Services Section with Animated Cards */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(26, 77, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    text-align: center;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.service-icon {
    width: 100%;
    height: 220px;
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-icon::after {
    opacity: 0.3;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition-slow);
    will-change: transform;
    min-width: 100%;
    min-height: 100%;
    display: block;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

/* Ensure service icon container clips properly */
.service-icon {
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
}

.service-card h3 {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 25px 25px 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
    transition: var(--transition);
}

.service-card:hover h3 {
    border-bottom-color: var(--accent-color);
}

.service-card > p {
    color: var(--text-light);
    line-height: 1.8;
    padding: 0 25px 30px;
    margin: 0;
}

/* About Section */
.about-section {
    position: relative;
    background: var(--white);
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 70px);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.about-text h2 {
    font-size: 2.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 35px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--light-color);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition-slow);
}

.stat-item:hover::before {
    left: 0;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.about-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-slow);
    transform-style: preserve-3d;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.03); /* Reduced from 1.05 to prevent overflow */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
    object-fit: cover;
    object-position: center center;
    will-change: transform;
}

.about-image:hover img {
    transform: scale(1.08); /* Reduced from 1.1 to prevent overflow */
}

/* Ensure about-image container clips properly */
.about-image {
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Solutions Section */
.solutions-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: clamp(50px, 6vw, 80px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 4vw, 50px);
    align-items: center;
    position: relative;
    padding: clamp(30px, 4vw, 40px);
    border-radius: 25px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    border: 2px solid transparent;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.solution-item:hover::before {
    opacity: 1;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.solution-item.reverse {
    direction: rtl;
}

.solution-item.reverse > * {
    direction: ltr;
}

.solution-content h3 {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.solution-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.solution-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 1.05rem;
}

.solution-content ul {
    list-style: none;
    padding: 0;
}

.solution-content ul li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 1.05rem;
}

.solution-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    background: var(--gradient-accent);
    color: var(--white);
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.solution-content ul li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.solution-content ul li:hover::before {
    transform: scale(1.15);
}

.solution-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition-slow);
}

.solution-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.solution-item:hover .solution-image::after {
    opacity: 0.2;
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
    object-fit: cover;
    object-position: center center;
    will-change: transform;
}

.solution-item:hover .solution-image img {
    transform: scale(1.08); /* Reduced from 1.1 to prevent overflow */
}

/* Ensure solution-image container clips properly */
.solution-image {
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Process Section */
.process-section {
    background: var(--white);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 0;
    opacity: 0.2;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.process-step::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 25px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover::before {
    opacity: 1;
}

.process-step:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(26, 77, 122, 0.3);
    position: relative;
    transition: var(--transition-slow);
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--gradient-accent);
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.4);
}

.process-step:hover .step-number::after {
    opacity: 1;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.process-step h3 {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Why Us Section */
.why-us-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 77, 122, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.feature-box {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
    transition: var(--transition-slow);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    opacity: 0;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.feature-box:hover .feature-icon::after {
    opacity: 1;
    animation: pulse-ring 1.5s ease-out infinite;
}

.feature-box h3 {
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    padding: 40px 35px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    position: relative;
    border-left: 5px solid transparent;
    border-image: var(--gradient-accent) 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 120px;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    transition: var(--transition);
}

.testimonial-card:hover::before {
    opacity: 0.2;
    transform: scale(1.2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-left-width: 8px;
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.9;
    font-size: 1.1rem;
    position: relative;
}

.testimonial-author strong {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section with Glassmorphism Form */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 70px);
    width: 100%;
    box-sizing: border-box;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    border-left: 5px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.contact-item:hover::before {
    opacity: 0.05;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-left-width: 8px;
}

.contact-item h3 {
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.9;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.contact-item a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.contact-item a:hover {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 50px 45px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 25px 25px 0 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    background: var(--white);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer with Gradient */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-bottom: 18px;
}

.business-id {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

/* Policy Pages Styles */
.policy-page {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.policy-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 70px 60px;
    border-radius: 25px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.policy-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 25px 25px 0 0;
}

.policy-container h1 {
    font-size: 2.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 35px;
    font-weight: 800;
}

.policy-container h2 {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-color);
}

.policy-container h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.policy-container p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.policy-container ul,
.policy-container ol {
    margin-left: 35px;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.9;
}

.policy-container li {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.policy-container a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.policy-container a:hover {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 40px;
    padding: 15px 20px;
    background: rgba(26, 77, 122, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px;
    position: relative;
}

.thanks-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite;
}

.thanks-container {
    max-width: 650px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 70px 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.thanks-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 25px 25px 0 0;
}

.thanks-container h1 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-weight: 800;
}

.thanks-container p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 35px;
    line-height: 1.9;
}

/* Responsive Design - Large Screens */
@media (min-width: 1921px) {
    .hero-grid {
        gap: 80px;
    }
    
    .hero-image-wrapper {
        height: clamp(500px, 55vh, 650px);
    }
    
    .heading-line {
        font-size: clamp(3.5rem, 5vw, 4.5rem);
    }
}

@media (min-width: 1441px) and (max-width: 1920px) {
    .hero-section {
        padding: clamp(60px, 4vw, 80px) 0;
    }
    
    .hero-grid {
        gap: clamp(48px, 4vw, 64px);
    }
    
    .hero-image-wrapper {
        height: clamp(450px, 50vh, 550px);
    }
}

@media (max-width: 1440px) and (min-width: 1201px) {
    .hero-section {
        padding: clamp(60px, 5vw, 80px) 0;
    }
    
    .hero-image-wrapper {
        height: clamp(400px, 45vh, 500px);
    }
    
    .heading-line {
        font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    }
}

@media (max-width: 1200px) and (min-width: 969px) {
    .hero-grid {
        gap: 48px;
    }
    
    .hero-image-wrapper {
        height: clamp(380px, 42vh, 480px);
    }
    
    .heading-line {
        font-size: clamp(2.25rem, 3vw, 3rem);
    }
    
    .hero-description {
        font-size: clamp(1rem, 1.15vw, 1.125rem);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        gap: 0;
        border-bottom: 3px solid var(--accent-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 18px 0;
    }

    .burger-menu {
        display: flex;
    }

    /* Hero Section Tablet */
    .hero-section {
        min-height: 90vh;
        height: auto;
        padding: 0;
    }

    .hero-main-wrapper {
        grid-template-columns: 1fr;
        gap: clamp(40px, 5vw, 56px);
        padding: clamp(60px, 8vw, 80px) 0;
        max-width: 100%;
    }
    
    .hero-content-block {
        padding-right: 0;
    }

    .hero-services-accordion {
        order: -1;
    }

    .heading-line {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }

    .hero-description {
        font-size: clamp(1rem, 1.2vw, 1.125rem);
        max-width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: clamp(20px, 2.5vw, 28px);
        justify-content: flex-start;
    }

    .hero-stat-item {
        flex: 1;
        min-width: 100px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .solution-item,
    .solution-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        padding: 30px 25px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .policy-container {
        padding: 50px 35px;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    /* Disable parallax transforms on mobile */
    .bg-img {
        transform: scale(1) !important;
        will-change: auto !important;
    }
    
    .hero-pattern-layer {
        transform: none !important;
        will-change: auto !important;
    }
    
    .hero-section {
        min-height: 85vh;
        height: auto;
    }

    .hero-main-wrapper {
        gap: clamp(32px, 4vw, 48px);
        padding: clamp(50px, 6vw, 70px) 0;
    }

    .hero-content-block {
        gap: clamp(20px, 2.5vw, 28px);
    }

    .heading-line {
        font-size: clamp(2rem, 3.5vw, 2.75rem);
    }

    .hero-description {
        font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: clamp(16px, 2vw, 24px);
        padding-top: clamp(24px, 3vw, 32px);
    }

    .hero-stat-item {
        text-align: center;
        flex: 1;
        min-width: 80px;
    }

    .stat-value {
        font-size: clamp(1.75rem, 2.5vw, 2rem);
    }

    .stat-name {
        font-size: clamp(0.8125rem, 1vw, 0.875rem);
    }

    .stat-divider {
        display: none;
    }

    .accordion-header-hero {
        padding: clamp(18px, 2.25vw, 24px);
        gap: clamp(16px, 2vw, 20px);
    }

    .accordion-icon-wrapper {
        width: clamp(60px, 7.5vw, 80px);
        height: clamp(60px, 7.5vw, 80px);
    }

    .accordion-title {
        font-size: clamp(1rem, 1.25vw, 1.125rem);
    }

    .accordion-description {
        font-size: clamp(0.8125rem, 1vw, 0.875rem);
    }

    .hero-slider-nav {
        bottom: clamp(15px, 2vw, 30px);
        padding: clamp(12px, 1.5vw, 16px) clamp(18px, 2.25vw, 24px);
        gap: clamp(14px, 1.75vw, 20px);
    }

    .nav-btn {
        width: clamp(40px, 5vw, 44px);
        height: clamp(40px, 5vw, 44px);
    }

    .nav-progress {
        width: 60px;
        display: none;
    }


    section {
        padding: 70px 0;
        overflow-x: hidden;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-accept-btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}


@media (max-width: 480px) {
    /* Ensure images stay in bounds on small screens */
    .bg-img {
        transform: scale(1) !important;
        object-position: center center;
    }
    
    .hero-pattern-layer {
        transform: none !important;
    }
    
    .hero-section {
        min-height: 80vh;
        height: auto;
    }

    .hero-main-wrapper {
        gap: clamp(28px, 3.5vw, 40px);
        padding: clamp(40px, 5vw, 60px) 0;
    }

    .hero-content-block {
        gap: clamp(18px, 2.25vw, 24px);
    }

    .hero-badge {
        padding: clamp(8px, 1vw, 10px) clamp(14px, 1.75vw, 18px);
    }

    .badge-text {
        font-size: clamp(0.75rem, 0.95vw, 0.8125rem);
        letter-spacing: 1px;
    }

    .heading-line {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: clamp(0.875rem, 1.05vw, 0.9375rem);
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: clamp(14px, 1.75vw, 16px) clamp(20px, 2.5vw, 24px);
        font-size: clamp(0.875rem, 1.05vw, 0.9375rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: clamp(16px, 2vw, 20px);
        align-items: center;
    }

    .hero-stat-item {
        text-align: center;
        width: 100%;
    }

    .stat-value {
        font-size: clamp(1.5rem, 2vw, 1.75rem);
    }

    .stat-name {
        font-size: clamp(0.75rem, 0.95vw, 0.8125rem);
    }

    .accordion-header-hero {
        padding: clamp(16px, 2vw, 20px);
        gap: clamp(12px, 1.5vw, 16px);
        flex-wrap: wrap;
    }

    .accordion-icon-wrapper {
        width: clamp(50px, 6.25vw, 70px);
        height: clamp(50px, 6.25vw, 70px);
    }

    .accordion-arrow {
        width: 20px;
        height: 20px;
    }

    .accordion-title {
        font-size: clamp(0.9375rem, 1.15vw, 1rem);
    }

    .accordion-description {
        font-size: clamp(0.75rem, 0.95vw, 0.8125rem);
    }


    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .nav-dot.active {
        transform: scale(1.2);
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .policy-container {
        padding: 40px 25px;
    }

    .policy-container h1 {
        font-size: 2.2rem;
    }

    .thanks-container {
        padding: 50px 30px;
    }

    .thanks-container h1 {
        font-size: 2.2rem;
    }
}
