/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* New Color Palette - Ocean Blue & Teal with Orange Accents */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #0066ff 100%);
    --gradient-secondary: linear-gradient(135deg, #00f5ff 0%, #00b8cc 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-dark: linear-gradient(135deg, #0a1929 0%, #0d1b2a 50%, #1b263b 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Colors */
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-orange: #ff6b35;
    --teal-color: #00b8cc;
    --text-dark: #0a1929;
    --text-light: #8b9dc3;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glass-dark: rgba(0, 0, 0, 0.2);
    
    /* Neomorphism shadows */
    --shadow-neo-inset: inset 8px 8px 16px rgba(0, 0, 0, 0.2), inset -8px -8px 16px rgba(255, 255, 255, 0.1);
    --shadow-neo-outset: 8px 8px 16px rgba(0, 0, 0, 0.2), -8px -8px 16px rgba(255, 255, 255, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 212, 255, 0.25);
    --shadow-premium: 0 20px 60px rgba(0, 212, 255, 0.35);
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-dark);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Mixed Typography - Serif for headings */
h1, h2, h3, .hero-title, .section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 900;
}

h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Animated background shapes */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    max-width: 200vw;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 153, 204, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
}

/* Cookie Notification - Glassmorphism */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    color: white;
    padding: 25px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.cookie-notification.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 15px;
}

.cookie-content a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glass);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

/* Header - Glassmorphism Sticky */
.header {
    background: rgba(10, 25, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -1px;
    transition: all 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s;
}

.burger-menu:hover {
    background: rgba(255, 255, 255, 0.15);
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section - Premium with Parallax */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
    filter: brightness(0.3) saturate(1.2);
    max-width: 100vw;
}

@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        max-width: 100vw;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 153, 204, 0.35) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10, 25, 41, 0.85) 0%, rgba(13, 27, 42, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    margin-bottom: 80px;
}

.hero-title {
    font-size: clamp(42px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite, fadeInUp 1s ease;
    letter-spacing: -2px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glass);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-premium);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Feature Accordion - Glassmorphism + Neomorphism */
.feature-accordion {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-top: 60px;
    width: 100%;
    box-sizing: border-box;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glass);
}

.accordion-item:nth-child(1) {
    border-radius: 25px;
    border-left: 4px solid var(--primary-color);
    margin-left: 0;
}

.accordion-item:nth-child(2) {
    border-radius: 15px;
    border-top: 3px solid var(--teal-color);
    margin-left: 30px;
}

.accordion-item:nth-child(3) {
    border-radius: 20px;
    border-right: 4px solid var(--accent-orange);
    margin-left: 0;
}

@media (max-width: 768px) {
    .accordion-item:nth-child(n) {
        margin-left: 0 !important;
    }
}

.accordion-item:hover {
    box-shadow: var(--shadow-premium);
}

.accordion-item:nth-child(odd):hover {
    transform: translateX(15px) rotate(-0.5deg);
}

.accordion-item:nth-child(even):hover {
    transform: translateX(10px) rotate(0.5deg);
}

.accordion-item.active {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-premium);
}

.accordion-item:nth-child(odd).active {
    transform: translateX(15px) rotate(-0.5deg);
}

.accordion-item:nth-child(even).active {
    transform: translateX(10px) rotate(0.5deg);
}

@media (max-width: 768px) {
    .accordion-item:nth-child(n):hover,
    .accordion-item:nth-child(n).active {
        transform: translateX(0) rotate(0deg) !important;
    }
}

.accordion-header {
    padding: 28px 35px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-item:nth-child(1) .accordion-header {
    padding: 30px 40px;
}

.accordion-item:nth-child(2) .accordion-header {
    padding: 25px 30px;
}

.accordion-item:nth-child(3) .accordion-header {
    padding: 28px 35px;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header h3 {
    color: white;
    font-size: 22px;
    margin: 0;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #f6d365 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accordion-icon {
    font-size: 28px;
    color: white;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: var(--gradient-primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    padding: 0 35px;
}

.accordion-item:nth-child(1) .accordion-content {
    padding: 0 40px;
}

.accordion-item:nth-child(2) .accordion-content {
    padding: 0 30px;
}

.accordion-item:nth-child(3) .accordion-content {
    padding: 0 35px;
}

.accordion-item.active .accordion-content {
    max-height: 600px;
}

.accordion-item:nth-child(1).active .accordion-content {
    padding: 0 40px 30px;
}

.accordion-item:nth-child(2).active .accordion-content {
    padding: 0 30px 25px;
}

.accordion-item:nth-child(3).active .accordion-content {
    padding: 0 35px 28px;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.accordion-content ul {
    list-style: none;
    padding-left: 0;
}

.accordion-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.accordion-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 18px;
}

/* Section Styles - Varied Padding */
section {
    position: relative;
}

section:nth-child(odd) {
    padding: 120px 0;
}

section:nth-child(even) {
    padding: 80px 0;
}

section:first-child {
    padding: 100px 0 120px;
}

section:last-child {
    padding: 100px 0 80px;
}

.section-header {
    text-align: center;
    position: relative;
}

section:nth-child(odd) .section-header {
    margin-bottom: 100px;
}

section:nth-child(even) .section-header {
    margin-bottom: 60px;
}

section:nth-child(3) .section-header {
    margin-bottom: 90px;
}

section:nth-child(5) .section-header {
    margin-bottom: 70px;
}

.section-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Services Section - Asymmetric Grid + Varied Cards */
.services-section {
    background: transparent;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Asymmetric layout with varied sizes */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 30px;
    }
    
    .services-grid .service-card:nth-child(1) {
        grid-row: span 2;
        border-radius: 30px;
    }
    
    .services-grid .service-card:nth-child(2),
    .services-grid .service-card:nth-child(3) {
        border-radius: 20px;
    }
    
    .services-grid .service-card:nth-child(4) {
        grid-column: span 2;
        border-radius: 25px;
    }
    
    .services-grid .service-card:nth-child(5),
    .services-grid .service-card:nth-child(6) {
        border-radius: 15px;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 35px;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

/* Varied borders and styles */
.service-card:nth-child(1) {
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    padding: 50px;
}

.service-card:nth-child(2) {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 35px;
}

.service-card:nth-child(3) {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--teal-color);
    border-radius: 15px;
    padding: 38px;
}

.service-card:nth-child(4) {
    border: 2px dashed rgba(0, 212, 255, 0.4);
    border-radius: 25px;
    padding: 45px;
}

.service-card:nth-child(5) {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid var(--accent-orange);
    border-radius: 18px;
    padding: 32px;
}

.service-card:nth-child(6) {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 4px solid var(--primary-color);
    border-radius: 22px;
    padding: 36px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-premium);
}

.service-card:nth-child(1):hover {
    transform: translateY(-15px) scale(1.03) rotate(-1deg);
    border-color: rgba(0, 212, 255, 0.6);
}

.service-card:nth-child(2):hover {
    transform: translateY(-8px) scale(1.01) rotate(1deg);
    border-top-color: var(--primary-color);
}

.service-card:nth-child(3):hover {
    transform: translateY(-12px) scale(1.02);
    border-left-width: 6px;
}

.service-card:nth-child(4):hover {
    transform: translateY(-10px) scale(1.02);
    border-style: solid;
    border-color: rgba(0, 212, 255, 0.6);
}

.service-card:nth-child(5):hover {
    transform: translateY(-9px) scale(1.01) rotate(-0.5deg);
    border-bottom-color: var(--accent-orange);
}

.service-card:nth-child(6):hover {
    transform: translateY(-11px) scale(1.02);
    border-right-width: 6px;
}

@media (max-width: 768px) {
    .service-card:nth-child(n):hover {
        transform: translateY(-5px) scale(1.01) rotate(0deg) !important;
    }
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glass);
    transition: all 0.4s;
    position: relative;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.4);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
}

/* Process Section - Timeline with Varied Layouts */
.process-timeline {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.timeline-item {
    display: flex;
    gap: 40px;
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Varied margins and animations */
.timeline-item:nth-child(1) {
    margin-bottom: 70px;
    margin-left: 0;
    transform: translateX(-80px) scale(0.95);
}

.timeline-item:nth-child(2) {
    margin-bottom: 65px;
    margin-left: 40px;
    transform: translateX(80px) scale(0.95);
}

.timeline-item:nth-child(3) {
    margin-bottom: 75px;
    margin-left: 0;
    transform: translateX(-80px) scale(0.95);
}

.timeline-item:nth-child(4) {
    margin-bottom: 0;
    margin-left: 40px;
    transform: translateX(80px) scale(0.95);
}

@media (max-width: 768px) {
    .timeline-item:nth-child(n) {
        margin-left: 0 !important;
        transform: translateY(30px) scale(0.95) !important;
    }
    
    .timeline-item.visible {
        transform: translateY(0) scale(1) !important;
    }
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.timeline-item:nth-child(1).visible {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:nth-child(2).visible {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.timeline-item:nth-child(3).visible {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.timeline-item:nth-child(4).visible {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 100px;
    bottom: -60px;
    width: 3px;
    background: var(--gradient-primary);
    opacity: 0.4;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-number {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-premium);
    transition: all 0.4s;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.5);
}

.timeline-content {
    flex: 1;
    padding-top: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    transition: all 0.4s;
}

/* Varied border styles for timeline items */
.timeline-item:nth-child(1) .timeline-content {
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-left: 4px solid var(--primary-color);
}

.timeline-item:nth-child(2) .timeline-content {
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--teal-color);
}

.timeline-item:nth-child(3) .timeline-content {
    border-radius: 15px;
    border: 2px dashed rgba(0, 212, 255, 0.3);
}

.timeline-item:nth-child(4) .timeline-content {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 4px solid var(--accent-orange);
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.05);
}

.timeline-item:nth-child(odd):hover .timeline-content {
    transform: translateX(15px);
}

.timeline-item:nth-child(even):hover .timeline-content {
    transform: translateX(-15px);
}

@media (max-width: 768px) {
    .timeline-item:nth-child(n):hover .timeline-content {
        transform: translateX(0) !important;
    }
}

.timeline-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 16px;
}

/* Portfolio Section - Varied Grid Layout */
.portfolio-section {
    background: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 30px;
    }
    
    .portfolio-item:nth-child(1) {
        grid-row: span 2;
    }
    
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3) {
        height: auto;
    }
    
    .portfolio-item:nth-child(4) {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 35px;
    }
    
    .portfolio-item:nth-child(1) {
        grid-row: span 2;
    }
    
    .portfolio-item:nth-child(4) {
        grid-column: span 1;
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Varied aspect ratios and borders */
.portfolio-item:nth-child(1) {
    border-radius: 30px;
    aspect-ratio: 4/5;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.portfolio-item:nth-child(2) {
    border-radius: 15px;
    aspect-ratio: 3/4;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-color);
}

.portfolio-item:nth-child(3) {
    border-radius: 25px;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--teal-color);
}

.portfolio-item:nth-child(4) {
    border-radius: 20px;
    aspect-ratio: 16/6;
    border: 2px dashed rgba(0, 212, 255, 0.4);
}

.portfolio-item:hover {
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.35);
}

.portfolio-item:nth-child(1):hover {
    transform: translateY(-15px) scale(1.03) rotate(-1deg);
}

.portfolio-item:nth-child(2):hover {
    transform: translateY(-8px) scale(1.01) rotate(1deg);
}

.portfolio-item:nth-child(3):hover {
    transform: translateY(-12px) scale(1.02);
}

.portfolio-item:nth-child(4):hover {
    transform: translateY(-10px) scale(1.02);
}

@media (max-width: 768px) {
    .portfolio-item:nth-child(n):hover {
        transform: translateY(-5px) scale(1.01) rotate(0deg) !important;
    }
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s;
    filter: brightness(0.7) saturate(1.1);
}

.portfolio-item:hover img {
    transform: scale(1.15);
    filter: brightness(0.9) saturate(1.3);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    padding: 30px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
}

.portfolio-overlay p {
    opacity: 0.9;
    font-size: 15px;
    line-height: 1.6;
}

/* Technology Section - Varied Layout */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .tech-item:nth-child(1),
    .tech-item:nth-child(4) {
        grid-column: span 1;
    }
    
    .tech-item:nth-child(2),
    .tech-item:nth-child(5) {
        grid-column: span 1;
    }
    
    .tech-item:nth-child(3),
    .tech-item:nth-child(6) {
        grid-column: span 1;
    }
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-glass);
}

/* Varied borders and styles */
.tech-item:nth-child(1) {
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-top: 4px solid var(--primary-color);
}

.tech-item:nth-child(2) {
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--teal-color);
}

.tech-item:nth-child(3) {
    border-radius: 25px;
    border: 2px dashed rgba(0, 212, 255, 0.4);
}

.tech-item:nth-child(4) {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid var(--accent-orange);
}

.tech-item:nth-child(5) {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 4px solid var(--primary-color);
}

.tech-item:nth-child(6) {
    border-radius: 12px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-top: 3px solid var(--teal-color);
    border-bottom: 3px solid var(--accent-orange);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    background: rgba(255, 255, 255, 0.08);
}

.tech-item:nth-child(odd):hover {
    transform: translateY(-8px) rotate(2deg);
}

.tech-item:nth-child(even):hover {
    transform: translateY(-8px) rotate(-2deg);
}

@media (max-width: 768px) {
    .tech-item:nth-child(n):hover {
        transform: translateY(-5px) rotate(0deg) !important;
    }
}

.tech-item h4 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.tech-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* About Section - Asymmetric Layout with Varied Spacing */
.about-section {
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 90px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .about-content {
        gap: 120px;
    }
}

.about-text h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 25px;
    color: white;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 17px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.about-stats .stat-item:nth-child(1) {
    flex: 1 1 200px;
}

.about-stats .stat-item:nth-child(2) {
    flex: 1 1 180px;
}

.about-stats .stat-item:nth-child(3) {
    flex: 1 1 200px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s;
}

.stat-item:nth-child(1) {
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-top: 4px solid var(--primary-color);
}

.stat-item:nth-child(2) {
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-orange);
}

.stat-item:nth-child(3) {
    border-radius: 25px;
    border: 2px dashed rgba(0, 212, 255, 0.4);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-glass);
}

.stat-item:nth-child(1):hover {
    transform: translateY(-8px) rotate(-1deg);
}

.stat-item:nth-child(2):hover {
    transform: translateY(-8px) rotate(1deg);
}

.stat-item:nth-child(3):hover {
    transform: translateY(-8px) scale(1.05);
}

@media (max-width: 768px) {
    .stat-item:nth-child(n):hover {
        transform: translateY(-5px) rotate(0deg) scale(1) !important;
    }
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    position: relative;
    transition: all 0.5s;
}

.about-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.4);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section - Glassmorphism */
.testimonials-section {
    background: transparent;
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto 40px;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-item {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-glass);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s;
}

.testimonial-item.active {
    display: block;
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-text {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 35px;
    line-height: 1.8;
    font-weight: 300;
}

.testimonial-author strong {
    display: block;
    font-size: 20px;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.testimonial-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.testimonial-btn.active {
    background: var(--gradient-primary);
    width: 40px;
    border-radius: 7px;
    box-shadow: var(--shadow-glass);
}

/* Contact Section - Varied Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 90px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .contact-content {
        gap: 110px;
    }
}

.contact-item {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s;
}

.contact-item:nth-child(1) {
    border-left: 4px solid var(--primary-color);
    border-radius: 15px;
}

.contact-item:nth-child(2) {
    border-top: 3px solid var(--teal-color);
    border-radius: 25px;
}

.contact-item:nth-child(3) {
    border-right: 4px solid var(--accent-orange);
    border-radius: 18px;
}

.contact-item:nth-child(4) {
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 22px;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    box-shadow: var(--shadow-glass);
}

.contact-item h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    font-size: 16px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--shadow-glass);
    transition: all 0.4s;
}

.contact-form:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--shadow-premium);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: white;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Policy Pages */
.policy-page {
    padding: 140px 0 100px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 60px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.policy-page h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 25px;
    color: white;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-page h2 {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
}

.policy-page h3 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.policy-page p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}

.policy-page ul {
    margin-left: 30px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.policy-page li {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 16px;
}

.policy-page a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
}

.policy-page a:hover {
    text-decoration: underline;
}

/* Thanks Page */
.thanks-page {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.thanks-content {
    max-width: 700px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-premium);
}

.thanks-content h1 {
    font-size: clamp(36px, 6vw, 64px);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: 900;
}

.thanks-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.08;
    animation: floatElement 15s ease-in-out infinite;
    pointer-events: none;
    max-width: 100px;
    max-height: 100px;
}

@media (max-width: 768px) {
    .floating-element {
        display: none;
    }
}

@keyframes floatElement {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
    
    section {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .hero-section,
    .services-section,
    .process-section,
    .portfolio-section,
    .technology-section,
    .about-section,
    .testimonials-section,
    .contact-section {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        background: rgba(10, 25, 41, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow-premium);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 16px;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        color: var(--primary-color);
        padding-left: 10px;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Prevent any element from causing horizontal scroll */
    .hero-content,
    .section-header,
    .section-title,
    .section-subtitle,
    .hero-title,
    .hero-subtitle,
    .hero-cta {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ensure all text elements don't overflow */
    h1, h2, h3, h4, h5, h6, p, span, a, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .nav.active {
        transform: translateX(0);
    }

    .burger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-item::before {
        display: none;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }

    .policy-page {
        padding: 40px 20px;
        margin: 20px 10px;
        max-width: calc(100% - 20px);
        box-sizing: border-box;
    }

    .policy-page h1 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(n) {
        margin-left: 0 !important;
        border-radius: 20px !important;
    }
    
    .accordion-item:nth-child(n) {
        margin-left: 0 !important;
    }
    
    .timeline-item:nth-child(n) {
        margin-left: 0 !important;
        transform: translateY(30px) scale(0.95) !important;
    }
    
    .timeline-item.visible {
        transform: translateY(0) scale(1) !important;
    }
    
    .portfolio-item:nth-child(n) {
        aspect-ratio: 4/3 !important;
    }
    
    .contact-item:nth-child(n) {
        transform: none !important;
        padding: 20px !important;
    }
    
    .contact-item:hover {
        transform: translateX(0) !important;
    }
    
    .accordion-item:nth-child(n) {
        margin-left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .accordion-item:nth-child(n):hover,
    .accordion-item:nth-child(n).active {
        transform: translateX(0) rotate(0deg) !important;
    }
    
    .service-card:nth-child(n) {
        padding: 30px 20px !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .tech-item:nth-child(n) {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .stat-item:nth-child(n) {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content,
    .section-header,
    .feature-accordion {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form {
        padding: 30px 20px !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    html {
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .testimonial-item {
        padding: 30px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-form {
        padding: 25px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .thanks-content {
        padding: 30px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .nav {
        padding: 20px 15px;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Additional fixes for mobile */
    .btn {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    table {
        max-width: 100%;
        display: block;
        overflow-x: auto;
    }
    
    .service-card,
    .tech-item,
    .stat-item,
    .contact-item {
        padding: 20px 15px !important;
    }
    
    .accordion-header {
        padding: 20px 15px !important;
    }
    
    .accordion-content {
        padding: 0 15px !important;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 15px 20px !important;
    }
}
