/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .performance-controls {
        top: 10px;
        right: 10px;
    }

    .project-content {
        grid-template-columns: 1fr;
    }

    .project-image {
        width: 100%;
        height: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .project-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
    }

    .floating-content {
        justify-content: center;
    }

    .glitch {
        font-size: 2rem;
    }

    /* Transformations responsive */
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-steps {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .timeline-arrow {
        transform: rotate(90deg);
    }

    .transformations-section {
        padding: 2rem 1rem;
    }

    .transformation-item {
        padding: 1.5rem;
    }

    /* Enhanced mobile fixes */
    .project-content,
    .before-after-grid {
        flex-direction: column;
    }

    .project-image,
    .project-info,
    .before-column,
    .after-column {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 0;
    }

    .about-section,
    .tech-section,
    .estimator-section,
    .transformations-section {
        padding: 2rem 1rem;
    }

    .cta-section {
        padding: 3rem 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .timeline-steps {
        gap: 0.5rem;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .step-text {
        font-size: 0.7rem;
    }

    /* Additional mobile responsiveness */
    .project-stats {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .transformation-image {
        margin-bottom: 1.5rem;
    }

    .build-timeline {
        padding: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes glitchTop {
    0% { clip-path: inset(0 0 90% 0); }
    20% { clip-path: inset(10% 0 80% 0); }
    40% { clip-path: inset(20% 0 60% 0); }
    60% { clip-path: inset(30% 0 50% 0); }
    80% { clip-path: inset(25% 0 70% 0); }
    100% { clip-path: inset(10% 0 90% 0); }
}

@keyframes glitchBottom {
    0% { clip-path: inset(90% 0 0 0); }
    20% { clip-path: inset(80% 0 10% 0); }
    40% { clip-path: inset(60% 0 20% 0); }
    60% { clip-path: inset(50% 0 30% 0); }
    80% { clip-path: inset(70% 0 25% 0); }
    100% { clip-path: inset(90% 0 10% 0); }
}

@keyframes glitch-anim {
    0% { clip-path: inset(0% 0 80% 0); }
    20% { clip-path: inset(10% 0 50% 0); }
    40% { clip-path: inset(20% 0 40% 0); }
    60% { clip-path: inset(30% 0 30% 0); }
    80% { clip-path: inset(40% 0 20% 0); }
    100% { clip-path: inset(50% 0 10% 0); }
}

@keyframes glitch-anim2 {
    0% { clip-path: inset(50% 0 10% 0); }
    20% { clip-path: inset(40% 0 20% 0); }
    40% { clip-path: inset(30% 0 30% 0); }
    60% { clip-path: inset(20% 0 40% 0); }
    80% { clip-path: inset(10% 0 50% 0); }
    100% { clip-path: inset(0% 0 80% 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    50% { transform: skew(2deg); }
    100% { transform: skew(-2deg); }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 255, 225, 0.15); }
    50% { box-shadow: 0 0 60px rgba(0, 255, 225, 0.25); }
}

@keyframes bounce {
    0% { transform: scale(1.1) translateY(-2px); }
    100% { transform: scale(1.1) translateY(-8px); }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
.keyboard-navigation *:focus {
    outline: 2px solid #00ffe1 !important;
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    #particles-js,
    .floating-cta,
    .performance-controls {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .transformations-section,
    .project,
    .testimonial {
        break-inside: avoid;
    }
}
/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, #0d0d0d, #000);
    color: #fff;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== PERFORMANCE CONTROLS ===== */
.performance-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.toggle-btn {
    background: rgba(0, 255, 225, 0.1);
    border: 1px solid rgba(0, 255, 225, 0.3);
    color: #00ffe1;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.toggle-btn:hover {
    background: rgba(0, 255, 225, 0.2);
    transform: scale(1.05);
}

.toggle-btn.active {
    background: #00ffe1;
    color: #000;
}

/* ===== LITE MODE STYLES ===== */
body.lite-mode .glitch::before,
body.lite-mode .glitch::after {
    display: none !important;
}

body.lite-mode #particles-js {
    display: none !important;
}

body.lite-mode .project:hover {
    transform: none !important;
}

body.lite-mode .feature-card:hover {
    transform: translateY(-5px) !important;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER SECTION ===== */
.header {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.glitch {
    position: relative;
    color: white;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-transform: uppercase;
    animation: glitch-skew 1.5s infinite linear alternate-reverse;
    margin-bottom: 1rem;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c8;
    animation: glitchTop 2s infinite linear alternate-reverse;
    clip-path: inset(0 0 90% 0);
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff0;
    animation: glitchBottom 2s infinite linear alternate-reverse;
    clip-path: inset(90% 0 0 0);
}

.header p {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffe1, transparent);
    margin: 4rem 0;
    opacity: 0.3;
}

.section-break {
    background: linear-gradient(135deg, #111, #1a1a1a, #111);
    padding: 3rem 0;
    margin: 4rem 0;
    border-radius: 20px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(135deg, #1a1a1a, #111);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    border: 1px solid rgba(0, 255, 225, 0.1);
    transition: all 0.3s ease;
}

.about-section:hover {
    border-color: rgba(0, 255, 225, 0.2);
    box-shadow: 0 10px 30px rgba(0, 255, 225, 0.1);
}

.about-section h2 {
    color: #00ffe1;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
}

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

.stat-item {
    background: rgba(0, 255, 225, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 255, 225, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: rgba(0, 255, 225, 0.15);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #00ffe1;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 0.5rem;
}

/* ===== WHY WORK SECTION ===== */
.why-work-section {
    margin: 4rem 0;
}

.why-work-section h2 {
    color: #00ffe1;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: linear-gradient(135deg, #1a1a1a, #111);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 225, 0.1);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 225, 0.2);
    border-color: rgba(0, 255, 225, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    color: #00ffe1;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: #ccc;
    line-height: 1.6;
}

/* ===== EDUCATIONAL SECTION ===== */
.education-section {
    background: linear-gradient(135deg, #1a1a1a, #111);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    border: 1px solid rgba(0, 255, 225, 0.1);
    position: relative;
    overflow: hidden;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 225, 0.1), transparent);
    animation: sweep 4s infinite;
}

.education-section h2.text-gradient {
    background: linear-gradient(45deg, #00ffe1, #ff00cc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.education-section h3.text-gradient {
    background: linear-gradient(45deg, #ff00cc, #00ffe1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.education-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.education-section p strong {
    color: #00ffe1;
    font-weight: 600;
}

.education-section p em {
    color: #ff00cc;
    font-style: italic;
    font-weight: 600;
}

/* ===== ENHANCED PRICING STYLES ===== */
.pricing-plans {
    margin: 2rem 0;
}

.pricing-option {
    transition: all 0.3s ease;
    position: relative;
}

.pricing-option:not(.disabled):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 225, 0.2);
}

.pricing-option.rush::before {
    content: '🔥 MOST POPULAR';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.price-button {
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    color: white;
    margin-top: 10px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-button.rush {
    background: linear-gradient(to right, #22c1c3, #fdbb2d);
    box-shadow: 0 4px 15px rgba(34, 193, 195, 0.3);
}

.price-button.emergency {
    background: linear-gradient(to right, #f857a6, #ff5858);
    box-shadow: 0 4px 15px rgba(248, 87, 166, 0.3);
}

.price-button:not(.disabled):hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.price-button.rush:hover {
    box-shadow: 0 6px 25px rgba(34, 193, 195, 0.5);
}

.price-button.emergency:hover {
    box-shadow: 0 6px 25px rgba(248, 87, 166, 0.5);
}

.price-button.disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    opacity: 0.6;
}

.price-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 0.7em;
    padding: 3px 8px;
    border-radius: 12px;
    margin-top: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

.note.urgent {
    animation: urgentPulse 2s infinite;
}

@keyframes urgentPulse {
    0%, 100% { 
        border-color: rgba(255, 85, 85, 0.3);
        background: rgba(255, 85, 85, 0.1);
    }
    50% { 
        border-color: rgba(255, 85, 85, 0.6);
        background: rgba(255, 85, 85, 0.2);
    }
}
.estimator-section {
    background: linear-gradient(135deg, #1a1a1a, #111);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    border: 1px solid rgba(255, 0, 204, 0.2);
}

.estimator-section h2 {
    color: #ff00cc;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.estimator-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: #00ffe1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 225, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.form-group select:focus {
    outline: none;
    border-color: #00ffe1;
    box-shadow: 0 0 10px rgba(0, 255, 225, 0.3);
}

.estimate-button {
    background: linear-gradient(45deg, #ff00cc, #00ffe1);
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.estimate-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 204, 0.3);
}

.estimate-result {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 225, 0.1), rgba(255, 0, 204, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 225, 0.3);
    display: none;
    box-shadow: 0 10px 30px rgba(0, 255, 225, 0.2);
    backdrop-filter: blur(10px);
}

.estimate-result.show {
    display: block;
    animation: slideDown 0.5s ease;
}

.estimate-box {
    position: relative;
}

.estimate-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffe1, #ff00cc, #00ffe1);
    border-radius: 17px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

.estimate-values {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight {
    display: inline-block;
    background: linear-gradient(45deg, #00ffe1, #ff00cc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 2s ease-in-out infinite;
}

.pricing-options {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid #00ffe1;
}

.pricing-options li {
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pricing-options li:hover {
    background: rgba(0, 255, 225, 0.1);
    transform: translateX(5px);
}

.badge.best {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 0.7em;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

.price-tag {
    font-weight: bold;
    color: #00ffae;
    text-shadow: 0 0 10px rgba(0, 255, 174, 0.5);
}

.price-tag.urgent {
    color: #ff5555;
    text-shadow: 0 0 10px rgba(255, 85, 85, 0.5);
    animation: urgentBlink 1.5s infinite;
}

.slot-count {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    animation: slotPulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.slot-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 170, 0, 0.2), transparent);
    animation: sweep 3s infinite;
}

.cta-text {
    background: rgba(0, 255, 225, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 255, 225, 0.2);
}

.cta-text a {
    position: relative;
    text-decoration: none;
    background: linear-gradient(45deg, #00ffe1, #ff00cc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.cta-text a:hover {
    text-shadow: 0 0 20px #00ffe1;
    animation: ctaBounce 0.6s ease infinite alternate;
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes urgentBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

@keyframes slotPulse {
    0%, 100% { 
        transform: scale(1);
        border-color: rgba(255, 170, 0, 0.3);
    }
    50% { 
        transform: scale(1.02);
        border-color: rgba(255, 170, 0, 0.6);
    }
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes ctaBounce {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
    background: rgba(255, 0, 204, 0.1);
    border: 1px solid rgba(255, 0, 204, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-section:hover {
    background: rgba(255, 0, 204, 0.15);
    transform: scale(1.02);
}

.progress-label {
    color: #ff00cc;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin: 1rem 0;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, #ff00cc, #00ffe1);
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 2s ease;
    animation: pulse 2s infinite;
}

.progress-text {
    color: #ccc;
    font-size: 0.9rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    margin: 4rem 0;
}

.projects-section h2 {
    color: #00ffe1;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.project {
    background: linear-gradient(135deg, #1a1a1a, #111);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 225, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 225, 0.1);
}

.project:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 225, 0.25);
    border-color: rgba(0, 255, 225, 0.3);
}

.project-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    align-items: center;
}

.project-image {
    width: 300px;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.project-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 225, 0.3);
}

.project-info {
    padding: 2rem;
}

.project-subtitle {
    color: #ff00cc;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project a {
    color: #00ffe1;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.project a:hover {
    text-shadow: 0 0 10px #00ffe1, 0 0 20px #ff00cc;
    animation: glitch 0.3s linear infinite;
}

.project p {
    color: #ccc;
    margin: 1rem 0;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.project-stats .stat {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-stats .stat:hover {
    background: rgba(0, 255, 225, 0.2);
    color: #00ffe1;
    border-color: rgba(0, 255, 225, 0.4);
    transform: translateY(-2px);
}

.project-evolution {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 0, 204, 0.1);
    border-left: 3px solid #ff00cc;
    border-radius: 5px;
    font-style: italic;
    color: #ff00cc;
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff00cc, #3333ff);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 0, 204, 0.3);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 204, 0.5);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    margin: 4rem 0;
}

.gallery-section h2 {
    color: #00ffe1;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 255, 225, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 225, 0.2);
}

.gallery-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ffe1;
    font-weight: 600;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 8px;
}

.gallery-item iframe {
    width: 100%;
    height: 300px;
    border: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item iframe.loaded {
    opacity: 1;
}

.gallery-label {
    background: linear-gradient(135deg, #1a1a1a, #111);
    color: #00ffe1;
    padding: 0.8rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 255, 225, 0.2);
}

/* ===== TRANSFORMATIONS SECTION ===== */
.transformations-section {
    margin: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a, #111);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(0, 255, 225, 0.1);
}

.transformations-section h2 {
    color: #00ffe1;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.transformations-section > p {
    text-align: center;
    color: #ccc;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.transformation-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.transformation-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 225, 0.1);
}

.transformation-item h3 {
    color: #ff00cc;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.before-column,
.after-column {
    text-align: center;
}

.before-column h4,
.after-column h4 {
    color: #00ffe1;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transformation-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid rgba(0, 255, 225, 0.2);
    transition: all 0.3s ease;
}

.transformation-image:hover {
    border-color: rgba(0, 255, 225, 0.4);
    transform: scale(1.02);
}

.transformation-image img {
    width: 100%;
    height: auto;
    display: block;
}

.transformation-caption {
    color: #aaa;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
}

.build-timeline {
    background: rgba(0, 255, 225, 0.05);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 225, 0.1);
}

.build-timeline h4 {
    color: #00ffe1;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.timeline-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    background: #00ffe1;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-text {
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.timeline-arrow {
    color: #ff00cc;
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    margin: 4rem 0;
}

.testimonials-section h2 {
    color: #00ffe1;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial {
    background: linear-gradient(135deg, #1a1a1a, #111);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #00ffe1;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 225, 0.1);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 225, 0.2);
    border-color: rgba(0, 255, 225, 0.3);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: #fff;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    color: #00ffe1;
    font-weight: 600;
}

.testimonial-role {
    color: #aaa;
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-top: 0.5rem;
    color: #ffb400;
}

/* ===== TECH STACK SECTION ===== */
.tech-section {
    background: linear-gradient(135deg, #1a1a1a, #111);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    border: 1px solid rgba(0, 255, 225, 0.1);
}

.tech-section h2 {
    color: #00ffe1;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    background: rgba(0, 255, 225, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 225, 0.2);
    cursor: pointer;
}

.tech-item:hover {
    transform: scale(1.1) rotateZ(5deg);
    background: rgba(0, 255, 225, 0.2);
    border-color: rgba(0, 255, 225, 0.4);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tech-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 255, 225, 0.15);
    animation: pulse-glow 3s infinite;
    border: 1px solid rgba(0, 255, 225, 0.2);
}

.cta-section h2 {
    color: #00ffe1;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, #00ffe1, #ff00cc);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 255, 225, 0.3);
}

.cta-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 255, 225, 0.5);
    animation: bounce 0.6s ease infinite alternate;
}

/* ===== FLOATING CTA WIDGET ===== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1a1a1a, #111);
    border: 1px solid rgba(0, 255, 225, 0.3);
    border-radius: 15px;
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.floating-cta.show {
    transform: translateX(0);
}

.floating-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floating-text {
    color: #00ffe1;
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-button {
    background: #00ffe1;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.floating-button:hover {
    background: #ff00cc;
    transform: scale(1.05);
}

.floating-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00ffe1, #ff00cc);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.page-transition.active {
    transform: translateX(0);
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 6rem;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-content a {
    color: #00ffe1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-content a:hover {
    text-shadow: 0 0 10px #00ffe1;
}

.footer-credit {
    color: #888;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .performance-controls {
        top: 10px;
        right: 10px;
    }

    .project-content {
        grid-template-columns: 1fr;
    }

    .project-image {
        width: 100%;
        height: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .project-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
    }

    .floating-content {
        justify-content: center;
    }

    .glitch {
        font-size: 2rem;
    }

    /* Transformations responsive */
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-steps {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .timeline-arrow {
        transform: rotate(90deg);
    }

    .transformations-section {
        padding: 2rem 1rem;
    }

    .transformation-item {
        padding: 1.5rem;
    }

    /* Enhanced mobile fixes */
    .project-content,
    .before-after-grid {
        flex-direction: column;
    }

    .project-image,
    .project-info,
    .before-column,
    .after-column {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 0;
    }

    .about-section,
    .tech-section,
    .estimator-section,
    .transformations-section {
        padding: 2rem 1rem;
    }

    .cta-section {
        padding: 3rem 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .timeline-steps {
        gap: 0.5rem;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .step-text {
        font-size: 0.7rem;
    }

    /* Additional mobile responsiveness */
    .project-stats {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .transformation-image {
        margin-bottom: 1.5rem;
    }

    .build-timeline {
        padding: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes glitch-anim {
    0% { clip-path: inset(0% 0 80% 0); }
    20% { clip-path: inset(10% 0 50% 0); }
    40% { clip-path: inset(20% 0 40% 0); }
    60% { clip-path: inset(30% 0 30% 0); }
    80% { clip-path: inset(40% 0 20% 0); }
    100% { clip-path: inset(50% 0 10% 0); }
}

@keyframes glitch-anim2 {
    0% { clip-path: inset(50% 0 10% 0); }
    20% { clip-path: inset(40% 0 20% 0); }
    40% { clip-path: inset(30% 0 30% 0); }
    60% { clip-path: inset(20% 0 40% 0); }
    80% { clip-path: inset(10% 0 50% 0); }
    100% { clip-path: inset(0% 0 80% 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    50% { transform: skew(2deg); }
    100% { transform: skew(-2deg); }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 255, 225, 0.15); }
    50% { box-shadow: 0 0 60px rgba(0, 255, 225, 0.25); }
}

@keyframes bounce {
    0% { transform: scale(1.1) translateY(-2px); }
    100% { transform: scale(1.1) translateY(-8px); }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
.keyboard-navigation *:focus {
    outline: 2px solid #00ffe1 !important;
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    #particles-js,
    .floating-cta,
    .performance-controls {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}