/* =========================================
   WEB DEVELOPMENT BANNER STYLES
   ========================================= */

/* Local Variables for this section */
.web-development-banner {
    --banner-bg: #0f172a;
    --banner-gradient: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --accent-color: #818cf8; /* Soft Indigo */
    --glass-dark: rgba(15, 23, 42, 0.6);
    --border-light: rgba(255, 255, 255, 0.1);
}

.web-development-banner {
    background: var(--banner-gradient);
    color: var(--text-light);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Background decorative glow */
.web-development-banner::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- LEFT SIDE: CONTENT --- */
.banner-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out forwards;
}

.banner-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(to right, #fff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 500px;
}

/* Tech Stack Pills */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.tech-stack li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-stack li i { font-size: 1.1rem; }
.tech-stack li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Specific Brand Colors on Hover */
.tech-stack li:hover .fa-html5 { color: #e34f26; }
.tech-stack li:hover .fa-css3-alt { color: #264de4; }
.tech-stack li:hover .fa-js { color: #f7df1e; }
.tech-stack li:hover .fa-react { color: #61dafb; }
.tech-stack li:hover .fa-node-js { color: #3c873a; }
.tech-stack li:hover .fa-git-alt { color: #f05032; }

/* Benefits List */
.banner-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-light);
}

.banner-benefits i {
    color: #10b981; /* Green Check */
    font-size: 1.1rem;
}

/* CTAs */
.banner-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.banner-cta .btn-cta {
    background: var(--accent-color);
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(129, 140, 248, 0.4);
}
.banner-cta .btn-cta:hover {
    transform: translateY(-2px);
    background: #6366f1;
    box-shadow: 0 6px 20px rgba(129, 140, 248, 0.6);
}

.banner-cta .link-secondary {
    padding: 12px 24px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: 0.3s;
}
.banner-cta .link-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* --- RIGHT SIDE: VISUAL --- */
.banner-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatVisual 6s ease-in-out infinite;
}

/* Code Window Mockup */
.device-mockup {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 10px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Fake Window Dots */
.device-mockup::before {
    content: '';
    display: block;
    width: 12px; height: 12px;
    background: #ef4444;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 20px 0 0 #f59e0b, 40px 0 0 #10b981;
    margin-left: 8px;
}

.screen {
    background: #0f172a;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Fira Code', monospace;
    color: #e2e8f0;
    font-size: 0.9rem;
    overflow: hidden;
}

.screen code {
    display: block;
    line-height: 1.6;
}

/* Floating Stats Cards */
.banner-stats {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; /* Let clicks pass through to code if needed */
    z-index: 3;
}

.stat {
    position: absolute;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInZoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.stat strong {
    font-size: 1.5rem;
    color: var(--accent-color);
    line-height: 1;
}
.stat span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Positioning Stats */
.stat:nth-child(1) {
    top: -20px; right: -20px;
    animation-delay: 0.6s;
}
.stat:nth-child(2) {
    bottom: -30px; left: -10px;
    animation-delay: 0.8s;
}

/* --- BOTTOM: FEATURES BAR --- */
.banner-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-weight: 600;
    transition: 0.3s;
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: 0.3s;
}

.feature:hover { color: #fff; }
.feature:hover i { transform: scale(1.2); text-shadow: 0 0 10px var(--accent-color); }

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInZoom {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes floatVisual {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
    .banner-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .banner-content { align-items: center; }
    
    .tech-stack { justify-content: center; }
    
    .banner-cta { justify-content: center; width: 100%; }
    
    .banner-visual {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .stat:nth-child(1) { right: 0; top: -30px; }
    .stat:nth-child(2) { left: 0; bottom: -30px; }
    
    .banner-features {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .web-development-banner {
        padding: 4rem 1.5rem;
    }

    .banner-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .banner-content {
        align-items: center;
    }

    .banner-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .banner-content p {
        font-size: 1rem;
        padding: 0 10px;
        margin: 0 auto;
    }

    .tech-stack {
        justify-content: center;
    }

    /* Center the benefits list but keep items left-aligned */
    .banner-benefits {
        align-items: flex-start;
        display: inline-flex;
        flex-direction: column;
        width: auto;
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .banner-benefits li {
        text-align: left;
        width: 100%;
        justify-content: flex-start;
    }

    .banner-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 0;
    }

    .banner-cta .btn-cta, 
    .banner-cta .link-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        box-sizing: border-box;
    }

    /* Enhanced Mobile Visuals */
    .banner-visual {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .device-mockup {
        width: 100%;
        transform: scale(1);
        margin-bottom: 1rem;
    }

    /* Adjust stats for mobile */
    .banner-stats {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 0;
        height: auto;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .stat {
        position: relative;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        animation: none;
        opacity: 1;
        width: auto;
        flex: 1;
        max-width: none;
        text-align: center;
        margin: 0;
        background: rgba(30, 41, 59, 0.8);
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .stat:nth-child(1), .stat:nth-child(2) {
        animation: none;
    }
}

/* =========================================
   PROFESSIONAL SERVICES SECTION STYLES
   ========================================= */

:root {
    --fe-primary: #4f46e5;      /* Indigo */
    --fe-primary-dark: #4338ca;
    --fe-secondary: #ec4899;    /* Pink */
    --fe-bg: #f8fafc;           /* Light Gray Background */
    --fe-card-bg: #ffffff;      /* White Cards */
    --fe-text-main: #0f172a;    /* Dark Slate */
    --fe-text-muted: #64748b;   /* Muted Gray */
    --fe-border: #e2e8f0;
    --fe-radius: 16px;
    --fe-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --fe-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- GENERAL LAYOUT --- */
.front-end-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    font-family: 'Inter', sans-serif;
    color: var(--fe-text-main);
    background-color: var(--fe-bg);
}

.heading-frontend, .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fe-text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--fe-text-muted);
}

.muted { font-size: 1rem; }

/* --- 1. FRONTEND CARDS --- */
.frontend-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.frontend-card {
    background: var(--fe-card-bg);
    padding: 2.5rem;
    border-radius: var(--fe-radius);
    box-shadow: var(--fe-shadow);
    border: 1px solid var(--fe-border);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.frontend-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fe-shadow-hover);
    border-color: var(--fe-primary);
}

/* Top color bar on hover */
.frontend-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--fe-primary), var(--fe-secondary));
    opacity: 0; transition: 0.3s;
}
.frontend-card:hover::before { opacity: 1; }

.frontend-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.frontend-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }

/* --- 2. TECH LIST & METERS --- */
.tech-use-frontend {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--fe-shadow);
    margin-bottom: 6rem;
    border: 1px solid var(--fe-border);
}

.tech-list-frontend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    border: 1px solid var(--fe-border);
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #fff;
    border-color: var(--fe-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateX(5px);
}

/* --- COLORFUL BRAND ICONS --- */
.tech-item i { font-size: 2.2rem; width: 40px; text-align: center; transition: transform 0.3s; }
.tech-item:hover i { transform: scale(1.1); }

/* Brand Colors */
.fa-html5 { color: #e34f26; }
.fa-css3-alt { color: #264de4; }
.fa-js { color: #f7df1e; }
.fa-react { color: #61dafb; }
.fa-vuejs { color: #42b883; }
.fa-angular { color: #dd1b16; }
.fa-file-code { color: #3178c6; } /* TypeScript Blue */
.fa-cubes { color: #ff6b6b; } /* Webpack/Tooling Red */
.fa-node-js { color: #3c873a; }
.fa-database { color: #00758f; }
.fa-lock { color: #fbbf24; }
.fa-cloud { color: #3b82f6; }

.tech-meta { flex: 1; display: flex; flex-direction: column; }
.tech-name { font-weight: 700; color: var(--fe-text-main); font-size: 1.05rem; }
.tech-desc { font-size: 0.85rem; color: var(--fe-text-muted); margin-top: 2px; }

/* Progress Meter */
.tech-proficiency {
    width: 80px; height: 8px; border-radius: 10px;
    background: #e2e8f0; position: relative; overflow: hidden;
}
.tech-proficiency::-webkit-meter-bar { background: #e2e8f0; border: none; }
.tech-proficiency::-webkit-meter-optimum-value {
    background: linear-gradient(90deg, var(--fe-primary), var(--fe-secondary));
    border-radius: 10px;
}

/* Tech Details Dropdown */
.tech-details { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--fe-border); }
.tech-details summary {
    font-weight: 600; color: var(--fe-primary); cursor: pointer; outline: none;
}
.tech-details summary:hover { text-decoration: underline; }

/* --- 3. MODERN PRACTICES --- */
.modern-fromwords { margin-bottom: 6rem; }
.practices-list {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem; margin-top: 3rem;
}
.practices-list li {
    position: relative; padding-left: 1.5rem;
    border-left: 4px solid var(--fe-border);
    transition: 0.3s;
}
.practices-list li:hover { border-left-color: var(--fe-primary); }
.practices-list h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--fe-text-main); }

/* --- 4. BACKEND SECTION --- */
.back-end-section { margin-bottom: 6rem; text-align: center; }
.backend-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.backend-card {
    background: #fff; padding: 2rem; border-radius: var(--fe-radius);
    border: 1px solid var(--fe-border); text-align: left;
    transition: 0.3s; box-shadow: var(--fe-shadow);
}
.backend-card:hover {
    border-color: var(--fe-primary); transform: translateY(-4px);
    box-shadow: var(--fe-shadow-hover);
}
.backend-card i { font-size: 2rem; margin-bottom: 1rem; display: block; }
.backend-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }

/* --- 5. CASE STUDIES --- */
.case-studies { margin-bottom: 6rem; }
.case-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; margin-top: 3rem;
}
.case-card { display: flex; flex-direction: column; gap: 1rem; }
.case-media {
    width: 100%; aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 16px; overflow: hidden; position: relative;
    transition: 0.4s; cursor: pointer;
}
.case-media::after {
    content: 'View Project';
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9); color: #000;
    padding: 8px 20px; border-radius: 50px; font-weight: 600;
    opacity: 0; transition: 0.3s;
}
.case-card:hover .case-media { transform: scale(1.02); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.case-card:hover .case-media::after { opacity: 1; }
.case-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--fe-text-main); }

/* --- 6. TESTIMONIALS (Enhanced) --- */
.testimonials {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white; padding: 5rem 2rem; border-radius: 32px;
    margin-bottom: 6rem; text-align: center; position: relative; overflow: hidden;
}
/* Decorative blob */
.testimonials::before {
    content: ''; position: absolute; top: -50%; left: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%); pointer-events: none;
}
.testimonial-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem; margin-top: 3rem; text-align: left; position: relative; z-index: 1;
}
.testimonial p { font-size: 1.2rem; font-style: italic; color: rgba(255,255,255,0.9); line-height: 1.6; }
.testimonial cite { font-weight: 700; color: #818cf8; display: block; margin-top: 1.5rem; font-style: normal; }

/* --- 7. FAQ SECTION --- */
.faq-section { max-width: 800px; margin: 0 auto 6rem; }
.faq-item { border-bottom: 1px solid var(--fe-border); margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
.faq-item summary {
    font-weight: 700; font-size: 1.15rem; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    color: var(--fe-text-main); transition: color 0.2s;
}
.faq-item summary:hover { color: var(--fe-primary); }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--fe-primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] p { animation: fadeIn 0.5s ease; }

/* --- 8. CONTACT FORM (Glassmorphism) --- */
.contact-cta {
    background: #fff;
    border: 1px solid var(--fe-border);
    border-radius: 24px; padding: 4rem;
    max-width: 750px; margin: 0 auto 4rem;
    box-shadow: var(--fe-shadow-hover);
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; display: block; }
.form-row input, .form-row textarea {
    width: 100%; padding: 14px; border-radius: 10px;
    border: 1px solid #cbd5e1; font-family: inherit; font-size: 1rem;
    transition: 0.3s; background: #f8fafc;
}
.form-row input:focus, .form-row textarea:focus {
    border-color: var(--fe-primary); background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); outline: none;
}

/* --- BUTTONS --- */
.btn-cta {
    display: inline-block; background: var(--fe-primary); color: white;
    padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-cta:hover {
    background: var(--fe-primary-dark); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}
.link-secondary { color: var(--fe-primary); font-weight: 600; text-decoration: none; }
.link-secondary:hover { text-decoration: underline; }

/* Footer CTA */
.mini-footer-cta { text-align: center; padding: 3rem 0; border-top: 1px solid var(--fe-border); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 768px) {
    .front-end-section { padding: 3rem 1.5rem; }
    .tech-list-frontend { grid-template-columns: 1fr; }
    .contact-cta { padding: 2rem; }
    .form-actions { flex-direction: column; }
    .btn-cta { width: 100%; text-align: center; }
}

/* =========================================
   WEB ARCHITECTURE (CYBERPUNK THEME)
   ========================================= */

:root {
    --cyber-bg: #050b14;
    --cyber-panel: rgba(30, 41, 59, 0.6);
    --cyber-cyan: #06b6d4;
    --cyber-blue: #3b82f6;
    --cyber-text: #e2e8f0;
    --cyber-border: rgba(6, 182, 212, 0.3);
}

.web-arch-section {
    padding: 8rem 0;
    background-color: var(--cyber-bg);
    color: var(--cyber-text);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* --- ANIMATED BACKGROUND --- */
.cyber-grid-bg {
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute; top: 20%; right: 10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.web-container {
    max-width: 1280px; margin: 0 auto; padding: 0 2rem;
    position: relative; z-index: 2;
}

.arch-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center;
}

/* --- LEFT: CONTENT --- */
.arch-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(6, 182, 212, 0.1); color: var(--cyber-cyan);
    border: 1px solid var(--cyber-border);
    padding: 6px 16px; border-radius: 50px; 
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.blink-dot {
    width: 8px; height: 8px; background: var(--cyber-cyan); border-radius: 50%;
    box-shadow: 0 0 10px var(--cyber-cyan);
    animation: blink 2s infinite;
}

.arch-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem;
}

.text-glitch {
    color: var(--cyber-cyan);
    text-shadow: 2px 2px 0px rgba(59, 130, 246, 0.5);
}

.arch-lead {
    font-size: 1.15rem; color: #94a3b8; line-height: 1.7; margin-bottom: 3rem;
}

/* Feature Cards */
.arch-features { display: flex; flex-direction: column; gap: 1.5rem; }

.feature-box {
    display: flex; gap: 1.5rem;
    background: var(--cyber-panel);
    padding: 1.5rem; border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.feature-box:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--cyber-cyan);
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

.f-icon-box {
    width: 50px; height: 50px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-cyan));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #000;
}

.f-text h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: white; }
.f-text p { font-size: 0.95rem; color: #cbd5e1; margin: 0; line-height: 1.5; }
.f-text strong { color: var(--cyber-cyan); }


/* --- RIGHT: 3D HOLOGRAPHIC STACK --- */
.arch-visual {
    height: 600px;
    display: flex; justify-content: center; align-items: center;
    perspective: 1000px; /* Makes it 3D */
}

.stack-container {
    position: relative;
    width: 300px; height: 400px;
    transform-style: preserve-3d;
    animation: floatStack 6s ease-in-out infinite;
}

/* Common Layer Styles */
.stack-layer {
    position: absolute; left: 0; top: 0;
    width: 280px; height: 160px;
    transform-style: preserve-3d;
    transition: 0.5s;
}

.layer-face {
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid var(--cyber-cyan);
    border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2), inset 0 0 20px rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(5px);
    transform: rotateX(50deg) rotateZ(-45deg); /* Isometric Angle */
}

.layer-face i { font-size: 3rem; color: white; margin-bottom: 10px; filter: drop-shadow(0 0 10px var(--cyber-cyan)); }
.layer-label { font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; color: var(--cyber-cyan); }

/* Positioning Layers */
.layer-ui { top: 0; z-index: 3; animation: expandTop 4s infinite alternate; }
.layer-api { top: 120px; z-index: 2; }
.layer-db { top: 240px; z-index: 1; animation: expandBottom 4s infinite alternate; }

/* Connecting Laser Beams */
.connection-beam {
    position: absolute; top: 50%; left: 50%;
    width: 4px; height: 80px;
    background: linear-gradient(to bottom, var(--cyber-cyan), transparent);
    transform: translate(-50%, 20%) rotateX(50deg) rotateZ(-45deg);
    opacity: 0.6;
    box-shadow: 0 0 10px var(--cyber-cyan);
}

/* Orbiting Ring */
.orbit-ring {
    position: absolute; top: 50%; left: 50%;
    width: 400px; height: 400px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
}

.particle {
    position: absolute; top: 0; left: 50%;
    width: 8px; height: 8px; background: var(--cyber-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyber-blue);
    offset-path: path("M200,0 A200,200 0 1,1 200,400 A200,200 0 1,1 200,0");
    animation: orbit 6s linear infinite;
}
.p2 { animation-delay: 3s; background: var(--cyber-cyan); }


/* --- ANIMATIONS --- */
@keyframes gridMove { 0% { transform: perspective(500px) rotateX(60deg) translateY(0); } 100% { transform: perspective(500px) rotateX(60deg) translateY(50px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes floatStack { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes expandTop { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }
@keyframes expandBottom { 0% { transform: translateY(0); } 100% { transform: translateY(20px); } }
@keyframes orbit { 100% { offset-distance: 100%; } }

/* RESPONSIVE */
@media (max-width: 960px) {
    .arch-grid { grid-template-columns: 1fr; text-align: center; }
    .arch-content { align-items: center; order: 1; }
    .arch-features { text-align: left; }
    .arch-visual { order: 2; height: 450px; }
    .stack-layer { width: 220px; height: 140px; left: 15%; }

    .frontend-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .tech-use-frontend {
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .web-development-banner {
        padding: 3rem 1rem;
    }

    .banner-content h1 {
        font-size: 2.2rem; /* Smaller font for mobile */
    }

    .banner-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .banner-cta .btn-cta, 
    .banner-cta .link-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Adjust stats for mobile to prevent overflow */
    .banner-stats {
        position: static; /* Remove absolute positioning */
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
        height: auto;
        width: 100%;
    }

    .stat {
        position: relative; /* Reset absolute positioning */
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        animation: none; /* Disable complex entrance */
        opacity: 1;
        width: auto;
        flex: 1;
        max-width: 160px;
        text-align: center;
    }
    
    .stat:nth-child(1), .stat:nth-child(2) {
        animation: none;
    }
}
/* =========================================
   WEB PERFORMANCE SECTION (DARK/NEON)
   ========================================= */

:root {
    --perf-bg: #020617;         /* Very Dark Blue */
    --perf-card: #0f172a;       /* Slate */
    --perf-green: #10b981;      /* Neon Green */
    --perf-green-glow: rgba(16, 185, 129, 0.4);
    --perf-text: #e2e8f0;
    --perf-muted: #94a3b8;
}

.web-perf-section {
    padding: 8rem 0;
    background-color: var(--perf-bg);
    color: var(--perf-text);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.web-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* --- LEFT: VISUALS --- */
.perf-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

/* Glow Behind */
.glow-behind {
    position: absolute;
    width: 300px; height: 300px;
    background: var(--perf-green-glow);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulseGlow 4s infinite alternate;
}

/* The Lighthouse Card */
.lighthouse-card {
    width: 320px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    text-align: center;
    transform: rotateY(10deg); /* Slight 3D turn */
    transition: transform 0.5s;
}
.perf-visual:hover .lighthouse-card { transform: rotateY(0deg); }

.card-header {
    font-size: 0.9rem; font-weight: 600; color: var(--perf-muted);
    margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Gauge Animation */
.gauge-wrapper {
    position: relative; width: 160px; height: 160px; margin: 0 auto 2rem;
}

.gauge-svg {
    width: 100%; height: 100%; transform: rotate(-90deg);
}

.bg-ring {
    fill: none; stroke: #334155; stroke-width: 8;
}

.progress-ring {
    fill: none; stroke: var(--perf-green); stroke-width: 8; stroke-linecap: round;
    stroke-dasharray: 326; /* Circumference of r=52 */
    stroke-dashoffset: 326; /* Start empty */
    animation: fillGauge 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.5s;
    filter: drop-shadow(0 0 10px var(--perf-green-glow));
}

.gauge-score {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; line-height: 1;
}
.counter { font-size: 3rem; font-weight: 800; color: var(--perf-text); }
.label { font-size: 0.7rem; text-transform: uppercase; color: var(--perf-green); font-weight: 700; margin-top: 5px; }

/* Metrics List */
.metrics-list { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }
.metric { display: flex; flex-direction: column; font-size: 0.8rem; }
.m-label { color: var(--perf-muted); margin-bottom: 4px; }
.m-val { font-weight: 700; color: var(--perf-green); }

/* Floating Code Card */
.code-float {
    position: absolute; bottom: 40px; right: -20px;
    background: #1e293b; border: 1px solid #334155;
    border-radius: 12px; padding: 1rem;
    width: 180px; z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: floatCode 6s ease-in-out infinite;
}

.code-header { display: flex; gap: 5px; margin-bottom: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.r { background: #ef4444; } .y { background: #f59e0b; } .g { background: #10b981; }

.code-lines { font-family: monospace; font-size: 0.7rem; color: #a5b4fc; }
.line { margin-bottom: 4px; opacity: 0; animation: typeCode 3s steps(20) infinite; }
.l1 { animation-delay: 0s; }
.l2 { animation-delay: 1s; }
.l3 { animation-delay: 2s; }

.scan-beam {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--perf-green);
    box-shadow: 0 0 15px var(--perf-green);
    animation: scanDown 3s linear infinite;
    opacity: 0.5;
}


/* --- RIGHT: CONTENT --- */
.perf-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(16, 185, 129, 0.1); color: var(--perf-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 16px; border-radius: 50px; 
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.perf-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem;
}

.text-neon-green {
    color: var(--perf-green);
    text-shadow: 0 0 20px var(--perf-green-glow);
}

.perf-lead {
    font-size: 1.1rem; color: var(--perf-muted); line-height: 1.7; margin-bottom: 3rem;
}

/* Stats Grid */
.perf-stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem;
}

.stat-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 1rem; border-radius: 16px;
    transition: 0.3s; text-align: center;
}

.stat-box:hover { background: rgba(255,255,255,0.06); transform: translateY(-5px); border-color: var(--perf-green); }

.stat-box i { font-size: 1.5rem; color: var(--perf-green); margin-bottom: 1rem; }
.stat-box h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.stat-box p { font-size: 0.8rem; color: var(--perf-muted); line-height: 1.4; }

/* CTA Button */
.btn-perf {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--perf-bg);
    padding: 14px 32px; border-radius: 50px;
    font-weight: 700; text-decoration: none;
    transition: 0.3s;
}
.btn-perf:hover {
    background: var(--perf-green); color: white;
    box-shadow: 0 0 20px var(--perf-green-glow);
    transform: translateY(-3px);
}

/* --- ANIMATIONS --- */
@keyframes pulseGlow { 0% { opacity: 0.2; transform: scale(0.9); } 100% { opacity: 0.4; transform: scale(1.1); } }
@keyframes fillGauge { to { stroke-dashoffset: 0; } }
@keyframes floatCode { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes typeCode { 0%, 100% { opacity: 0; } 10%, 90% { opacity: 1; } }
@keyframes scanDown { 0% { top: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* RESPONSIVE */
@media (max-width: 960px) {
    .perf-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .perf-visual { order: 2; height: 400px; }
    .perf-content { order: 1; }
    .perf-stats-grid { grid-template-columns: 1fr; }
    .code-float { right: 0; bottom: -20px; }
}