/* ===== WEBSITE DEVELOPMENT SERVICES STYLES ===== */
/* website-development-services.css */

/* ===== HERO SECTION - FIXED OVERLAP ISSUE ===== */
.webdev-hero-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding-top: 120px; /* Fixed: Added proper spacing for header */
    padding-bottom: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background Particles */
.hero-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Code Animation Background */
.hero-code-animation {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.05;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #667eea;
    white-space: pre;
    overflow: hidden;
    z-index: 1;
}

/* Hero Container */
.webdev-hero-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Content Area */
.hero-content-area {
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge-element {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.hero-badge-element i {
    color: #667eea;
}

.hero-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle-text {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Hero Action Buttons */
.hero-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.hero-btn-primary {
    background: #667eea;
    color: #ffffff;
}

.hero-btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: #cbd5e1;
    font-size: 0.875rem;
}

/* Fix positioning for hero mockup */
.hero-mockup-area {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
    width: 100%;
    max-width: 600px;
}

/* Ensure browser window is properly styled */
.browser-window {
    background: #1e293b;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    width: 100%;
}

/* Fix demo preview elements visibility */
.demo-header,
.demo-hero-section,
.demo-features-grid {
    opacity: 1;
    visibility: visible;
}

.demo-logo,
.demo-navigation span,
.demo-title,
.demo-description,
.demo-cta-button,
.demo-feature {
    opacity: 1;
    visibility: visible;
}

/* Ensure stats are visible */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.browser-window {
    background: #1e293b;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.browser-window:hover {
    transform: perspective(1000px) rotateY(-2deg);
}

.browser-top-bar {
    background: #334155;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dot-controls {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red-dot { background: #ef4444; }
.yellow-dot { background: #f59e0b; }
.green-dot { background: #10b981; }

.browser-url-bar {
    flex: 1;
    background: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.browser-viewport {
    background: #ffffff;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.website-demo-preview {
    padding: 2rem;
    height: 100%;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.demo-logo {
    width: 120px;
    height: 30px;
    background: #e2e8f0;
    border-radius: 5px;
}

.demo-navigation {
    display: flex;
    gap: 1rem;
}

.demo-navigation span {
    width: 60px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}

.demo-hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.demo-title {
    width: 300px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 0 auto 1rem;
}

.demo-description {
    width: 400px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 5px;
    margin: 0 auto 2rem;
}

.web-cta-button {
    width: 100px;
    height: 30px;
    background: #ffffff;
    border-radius: 50px;
}


.demo-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.demo-feature {
    height: 60px;
    background: #f8fafc;
    border-radius: 5px;
}

/* ===== COMMON SECTION STYLES ===== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== WEBSITE TYPES SECTION ===== */
.website-types {
    background: #f8fafc;
}

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

.website-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.website-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.website-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #ec4899 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.website-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.website-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.website-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

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

.website-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: #e0e7ff;
    color: #5a67d8;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

.website-visual {
    height: 150px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Visual previews for each website type */
.personal-site-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-circle {
    width: 60px;
    height: 60px;
    background: #e2e8f0;
    border-radius: 50%;
}

.content-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-lines span {
    width: 100px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}

.static-site-preview .page-elements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.static-element {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 8px;
}

.element-bar {
    width: 60px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.element-text {
    width: 120px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.element-lines {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.element-lines span {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

.image-element {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 2rem;
}

.dynamic-site-preview .data-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.data-node {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.data-connection {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #ec4899 100%);
    position: relative;
    overflow: hidden;
}

.data-connection::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    animation: dataFlow 1.5s linear infinite;
}

@keyframes dataFlow {
    0% { left: -20px; }
    100% { left: 100%; }
}

.seo-site-preview .ranking-graph {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100%;
    padding: 1rem;
}

.graph-bar {
    flex: 1;
    background: linear-gradient(to top, #667eea 0%, #ec4899 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.branding-site-preview .brand-elements {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.brand-shape {
    width: 40px;
    height: 40px;
    background: #667eea;
    transition: transform 0.3s ease;
}

.brand-shape.circle {
    border-radius: 50%;
    background: #ec4899;
}

.brand-shape.square {
    background: #10b981;
}

.brand-shape.triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid #f59e0b;
    background: transparent;
}

.promo-site-preview .cta-banner {
    background: #667eea;
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-text {
    width: 150px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.web-cta-button {
    width: 100px;
    height: 30px;
    background: #ffffff;
    border-radius: 50px;
}

.explore-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.explore-btn:hover {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
}

/* ===== SERVICES OFFERED SECTION ===== */
.services-offered {
    background: #ffffff;
}

.services-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.service-item {
    display: none;
    text-align: center;
    padding: 2rem;
}

.service-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: #ffffff;
}

.service-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-item p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.service-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
}

.service-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #667eea;
    color: #ffffff;
}

.service-dots {
    display: flex;
    gap: 0.5rem;
}

.service-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-dots .dot.active {
    background: #667eea;
    width: 30px;
    border-radius: 5px;
}

/* ===== LET'S BUILD SOMETHING AMAZING SECTION - COMPLETE FIX ===== */
.nexilra-build-amazing {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1e2e 0%, #2d1b69 50%, #1e1e2e 100%);
    min-height: 600px;
}

/* Ensure background wrapper is properly positioned */
.amazing-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Make gradient orbs visible */
.amazing-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.amazing-gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #667eea 0%, transparent 70%);
    top: -300px;
    right: -300px;
    animation: floatOrb 20s ease-in-out infinite;
}

.amazing-gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: floatOrb 15s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Ensure particles are visible */
.amazing-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.amazing-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle 10s linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Ensure content is above background */
.amazing-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Fix heading visibility */
.amazing-main-heading {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: #ffffff;
}

.heading-part-1 {
    color: #e0e7ff;
}

.heading-part-2 {
    color: #ffffff;
}

.heading-part-3 {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Fix button styles to ensure they're clickable and visible */
.amazing-actions-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    position: relative;
    z-index: 20;
}

.amazing-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1rem 2rem !important;
    min-width: 220px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    position: relative !important;
    z-index: 10 !important;
}

.amazing-btn i {
    font-size: 1.125rem !important;
    display: inline-block !important;
}

.amazing-btn span {
    display: inline-block !important;
}

.amazing-btn-white {
    background: #ffffff !important;
    color: #1e1e2e !important;
    border-color: #ffffff !important;
}

.amazing-btn-white:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3) !important;
    background: #f0f0f0 !important;
}

.amazing-btn-gradient {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
    color: #ffffff !important;
    border-color: #ec4899 !important;
}

.amazing-btn-gradient:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.5) !important;
    background: linear-gradient(135deg, #e91e63 0%, #f43f5e 100%) !important;
}

.amazing-btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.amazing-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Fix benefit cards visibility */
.amazing-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.amazing-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.amazing-benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
}

.benefit-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.benefit-icon-wrapper i {
    color: #ffffff;
}

.benefit-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e0e7ff;
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===== PORTFOLIO PREVIEW SECTION ===== */
.portfolio-preview {
    background: #f8fafc;
}

.portfolio-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.control-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn.active,
.control-btn:hover {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
}

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

.portfolio-cta {
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Additional CSS for code rain effect */
.code-line {
    position: absolute;
    color: #667eea;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    opacity: 0.1;
    animation: codeRainFall 10s linear infinite;
    white-space: nowrap;
}

@keyframes codeRainFall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Floating particles for hero section */
.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.4);
    border-radius: 50%;
    animation: floatUpDown 15s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(10px) translateX(-10px);
    }
    75% {
        transform: translateY(-10px) translateX(5px);
    }
}

/* Fix for visual elements in website cards */
.personal-site-preview,
.static-site-preview .page-elements,
.dynamic-site-preview .data-flow,
.seo-site-preview .ranking-graph,
.branding-site-preview .brand-elements,
.promo-site-preview .cta-banner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure browser mockup is visible */
.browser-viewport .website-demo-preview {
    background: #ffffff;
    width: 100%;
    height: 100%;
}

html, body {
    overflow-x: hidden !important;
    width: 100vw;
    max-width: 100vw;
}

@media (max-width: 1024px) {
    .webdev-hero-container, .hero-mockup-area {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .webdev-hero-wrapper {
        padding-top: 100px;
    }
    
    .webdev-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content-area {
        order: 1;
    }
    
    .hero-mockup-area {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .browser-window {
        transform: none;
    }
    
    .hero-action-buttons {
        justify-content: center;
    }
    
    .hero-stats-grid {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .webdev-hero-wrapper {
        padding-top: 80px;
        min-height: auto;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle-text {
        font-size: 1rem;
    }
    
    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .websites-grid {
        grid-template-columns: 1fr;
    }
    
    .amazing-actions-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .amazing-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .amazing-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .service-benefits {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .amazing-main-heading {
        font-size: 2.5rem;
    }
    
    .browser-viewport {
        height: 300px;
    }
    
    .demo-description {
        width: 90%;
    }
    
    .demo-title {
        width: 80%;
    }
}