/* ====================== BASE ====================== */
*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
html, body {
    height: 100%;
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(-45deg, #f5f7fa 0%, #e4e7ec 25%, #f0f2f5 50%, #e8eaed 75%, #f5f7fa 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #1a202c;
    line-height: 1.6;
    overflow-x: hidden;
    /* FIX: Prevent flicker on mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Gradient animation keyframes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ====================== FLOATING BACKGROUND ELEMENTS ====================== */
/* Main background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(167, 139, 250, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(116, 185, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 60% 60%, rgba(118, 75, 162, 0.15) 0%, transparent 40%);
    animation: floatBackground 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatBackground {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translate(-20px, -20px) scale(1.05);
        opacity: 1;
    }
    50% { 
        transform: translate(20px, 10px) scale(0.95);
        opacity: 0.9;
    }
    75% { 
        transform: translate(-10px, 20px) scale(1.02);
        opacity: 1;
    }
}

/* Floating Circles */
.floating-circles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: floatCircle 20s infinite linear;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 20s;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.08), rgba(102, 126, 234, 0.08));
}

.circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 30s;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.circle:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 22s;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.07), rgba(240, 147, 251, 0.07));
}

@keyframes floatCircle {
    0% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    }
    25% {
        transform: translate(100px, -50px) rotate(90deg);
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
    }
    50% {
        transform: translate(0, -100px) rotate(180deg);
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    }
    75% {
        transform: translate(-100px, -50px) rotate(270deg);
        border-radius: 40% 60% 70% 30%/40% 70% 30% 60%;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    }
}

/* Blob effects */
.blob {
    position: absolute;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 50%;
    filter: blur(40px);
    animation: blobFloat 25s infinite ease-in-out;
}

.blob:nth-child(5) {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob:nth-child(6) {
    width: 350px;
    height: 350px;
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1), rgba(102, 126, 234, 0.1));
}

.blob:nth-child(7) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 80%;
    animation-delay: -5s;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.1), rgba(240, 147, 251, 0.1));
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Subtle particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    width: 3px;
    height: 3px;
    top: 60%;
    left: 85%;
    animation-delay: -3s;
    animation-duration: 25s;
    background: rgba(118, 75, 162, 0.3);
}

.particle:nth-child(3) {
    width: 2px;
    height: 2px;
    top: 80%;
    left: 20%;
    animation-delay: -7s;
    animation-duration: 18s;
    background: rgba(240, 147, 251, 0.3);
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 30%;
    left: 70%;
    animation-delay: -12s;
    animation-duration: 22s;
    background: rgba(102, 126, 234, 0.2);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ====================== LAYOUT ====================== */
.page {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    z-index: 10;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand img {
    height: 56px;
    width: 56px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.brand .name {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand .sub {
    font-size: 13px;
    color: #718096;
    letter-spacing: 2px;
    font-weight: 600;
}
nav {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-link {
    color: #718096;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
    cursor: pointer;
}
.nav-link:hover { color: #4a5568; }
.nav-link.active {
    color: #667eea;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2d3748;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 100px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav.show {
    display: flex;
}

.mobile-nav-link {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 16px;
}

.mobile-nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Sections container */
.sections-container {
    position: relative;
    flex: 1;
}
.section {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    padding: 40px 0;
}
.section.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 800;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-content .lead {
    font-size: 18px;
    color: #718096;
    margin-bottom: 36px;
}

/* ====================== EYE-CATCHING CTAs ====================== */
.cta-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(102, 126, 234, 0.1),
        rgba(118, 75, 162, 0.1),
        transparent
    );
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-main-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.cta-secondary {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.cta-secondary:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    transform: translateY(-3px);
}

.cta-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
}

.cta-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.cta-text span {
    font-size: 14px;
    opacity: 0.9;
}

.cta-arrow {
    font-size: 18px;
}

.cta-divider {
    text-align: center;
    position: relative;
    margin: 8px 0;
}

.cta-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.cta-divider span {
    background: white;
    padding: 0 16px;
    color: #718096;
    font-size: 14px;
    position: relative;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #718096;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ====================== IMAGE SLIDESHOW ====================== */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-image: url('image1.jpg');
}

.slide:nth-child(2) {
    background-image: url('image2.jpg');
}

.slide:nth-child(3) {
    background-image: url('image3.jpg');
}

.slide:nth-child(4) {
    background-image: url('image4.jpg');
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s;
}

.slide-indicator.active {
    background: #667eea;
    transform: scale(1.2);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.slide-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

.slide-caption {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    backdrop-filter: blur(5px);
}

/* Update illustration section for slideshow */
.illustration {
    position: relative;
}

/* Other sections */
section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 50px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}
.card .icon {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
.card h3 {
    font-size: 24px;
    color: #2d3748;
    margin: 16px 0;
}
.card p {
    color: #718096;
    font-size: 16px;
}

/* Services CTA */
.services-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.services-cta p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 20px;
}

.cta-consultation {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.cta-consultation:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

/* About CTA */
.about-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.about-cta p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 20px;
}

.cta-about {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.cta-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

/* About & Contact */
#about p, #contact p {
    font-size: 19px;
    color: #4a5568;
    max-width: 700px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.8;
}

/* Enhanced Contact Section */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.contact-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 15px;
}

.contact-card p {
    color: #718096;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

.contact-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-btn.secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.contact-btn.outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.contact-btn:hover {
    transform: translateY(-3px);
}

.contact-btn.primary:hover {
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.contact-btn.secondary:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.contact-btn.outline:hover {
    background: rgba(102, 126, 234, 0.1);
}

.contact-info {
    margin-bottom: 25px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 16px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #667eea;
}

/* ====================== SERVICE MODALS ====================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s ease;
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #718096;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f7fafc;
    color: #4a5568;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.modal h3 {
    font-size: 32px;
    color: #2d3748;
    text-align: center;
    margin-bottom: 20px;
}

.modal-content p {
    color: #4a5568;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.modal-content li {
    color: #4a5568;
    font-size: 16px;
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.modal-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.service-card-clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.service-card-clickable:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Modal contact link */
.modal-contact-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.modal-contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* ====================== FLOATING CTA ====================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    max-width: 500px;
    width: 90%;
}

.floating-cta.hidden {
    display: none;
}

@keyframes slideInUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.floating-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    color: white;
    position: relative;
}

.floating-cta-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.floating-cta-text i {
    font-size: 20px;
    color: #ffd700;
}

.floating-cta-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.floating-cta-text span {
    font-size: 13px;
    opacity: 0.9;
}

.floating-cta-btn {
    background: white;
    color: #667eea;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.floating-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.floating-cta-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: white;
    border: none;
    border-radius: 50%;
    color: #667eea;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 1001;
}

.floating-cta-close:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

/* ====================== MOBILE OPTIMIZATIONS ====================== */
/* Mobile */
@media (max-width: 900px) {
    .hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 40px;
    }
    .illustration { 
        order: -1; 
    }
    header { 
        flex-direction: column; 
        gap: 30px; 
        text-align: center; 
    }
    nav { 
        display: none; 
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 40px;
        right: 24px;
    }
    
    /* CRITICAL FIX: Reduce background animations on mobile */
    html, body {
        animation-duration: 30s !important;
        background-size: 300% 300% !important;
    }
    
    body::before {
        animation-duration: 40s !important;
        opacity: 0.6;
    }
    
    /* CRITICAL FIX: Simplify floating elements */
    .circle, .blob {
        animation-duration: 60s !important;
        opacity: 0.3;
    }
    
    .particle {
        display: none !important; /* Remove particles completely */
    }
    
    /* FIX: Prevent section transition flicker */
    .section {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
    
    /* Slideshow adjustments for mobile */
    .slideshow-container {
        height: 300px;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slide-caption {
        font-size: 16px;
        bottom: 50px;
    }
    
    /* Contact cards */
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    /* Floating CTA */
    .floating-cta {
        bottom: 20px;
        width: calc(100% - 40px);
    }
    
    .floating-cta-content {
        padding: 12px 20px;
    }
    
    .floating-cta-text strong {
        font-size: 14px;
    }
    
    .floating-cta-text span {
        font-size: 12px;
    }
    
    .floating-cta-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    /* CRITICAL FIX: Simplify background even more on small screens */
    .floating-circles {
        display: none !important; /* Remove all floating elements */
    }
    
    body::before {
        opacity: 0.3;
        animation: none !important; /* Remove animation completely */
    }
    
    /* Static fallback background for best performance */
    body {
        background: #f5f7fa !important;
        background-size: 100% 100% !important;
        animation: none !important;
    }
    
    /* FIX: Improve section transitions */
    .section {
        transition: opacity 0.4s ease !important;
    }
    
    /* Mobile modal adjustments */
    .modal {
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal h3 {
        font-size: 28px;
    }
    
    .modal-content p {
        font-size: 16px;
    }
    
    .slideshow-container {
        height: 250px;
    }
    
    .slide-caption {
        font-size: 14px;
        padding: 8px;
    }
    
    /* CTA adjustments */
    .cta-container {
        padding: 20px;
    }
    
    .cta-primary, .cta-secondary {
        padding: 16px 20px;
    }
    
    .cta-text strong {
        font-size: 16px;
    }
    
    .cta-text span {
        font-size: 13px;
    }
}

/* Performance optimization for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html, body {
        animation: none;
    }
    body::before {
        animation: none;
    }
    .circle, .blob, .particle {
        animation: none;
    }
    .card, .nav-cta, .service-card-clickable, .modal-contact-link {
        transition: none;
    }
    .modal-overlay,
    .modal-overlay .modal {
        transition: none;
    }
    .slide {
        transition: none;
    }
    .slide-indicator {
        transition: none;
    }
    .slide-nav {
        transition: none;
    }
    .floating-cta {
        animation: none;
    }
    .cta-badge {
        animation: none;
    }
    .cta-container::before {
        animation: none;
    }
}

/* FIX: Add GPU acceleration for smoother animations on supported devices */
@media (min-width: 901px) {
    .floating-circles {
        transform: translateZ(0);
    }
}