.nav-brand a {
    text-decoration: none;
    color: inherit;
}

/* Web Development Page Styles */
.webdev-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.webdev-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--gray);
    animation: fadeInUp 0.8s ease;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.webdev-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.webdev-hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s both;
}

.webdev-hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Code Animation */
.webdev-hero-visual {
    position: relative;
    animation: fadeInUp 1s ease 0.8s both;
}
.code-animation {
    background: var(--dark);
    padding: 2rem;
    border-radius: 15px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.code-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #2d3748;
    border-radius: 15px 15px 0 0;
}
.code-animation::after {
    content: '● ● ●';
    position: absolute;
    top: 8px;
    left: 15px;
    color: #fff;
    font-size: 0.8rem;
}
.code-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: codeAppear 0.5s ease forwards;
}
.code-line:nth-child(1) { animation-delay: 1.2s; }
.code-line:nth-child(2) { animation-delay: 1.4s; }
.code-line:nth-child(3) { animation-delay: 1.6s; }
.code-line:nth-child(4) { animation-delay: 1.8s; }
.code-line:nth-child(5) { animation-delay: 2.0s; }
.code-line:nth-child(6) { animation-delay: 2.2s; }
.code-line:nth-child(7) { animation-delay: 2.4s; }
.code-tag {
    color: #f56565;
}
.code-indent {
    color: #68d391;
}
.code-content {
    color: #90cdf4;
}
.code-string {
    color: #fbd38d;
}
.typing-animation {
    position: relative;
}
.typing-animation::after {
    content: '|';
    animation: blink 1s infinite;
    color: #68d391;
}
/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}
.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: floatTech 6s ease-in-out infinite;
}
.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    right: 20%;
    right: 15%;
    animation-delay: 1s;
}
.element-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.element-4 {
    bottom: 20%;
    bottom: 10%;
    animation-delay: 3s;
}
.element-5 {
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

/* Web Development Services */
.webdev-services {
    padding: 5rem 0;
    background: var(--light-gray);
}
.webdev-services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.webdev-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    max-width: 350px;
}
.webdev-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.service-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.webdev-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    margin-top: 1rem;
}

/* CTA Section */
.webdev-cta {
    padding: 5rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}
.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
}
.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}
.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Technologies Section */
.technologies {
    padding: 5rem 0;
    background: white;
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}
.tech-category h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
    position: relative;
}
.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
}
.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}
.tech-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.tech-item span {
    font-weight: 600;
    color: var(--dark);
}

@keyframes codeAppear {
    to {
        opacity: 1;
    }
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
@keyframes floatTech {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .webdev-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .webdev-hero-title {
        font-size: 2.5rem;
    }
    
    .webdev-hero-stats {
        justify-content: center;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Page-specific styles */

/* App Process Section */
.app-process {
    padding: 5rem 0;
    background: var(--light-gray);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-right: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 106, 78, 0.3);
    animation: pulse 2s infinite;
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    flex: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: 'Website Screenshot';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 500;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.portfolio-tag {
    background: var(--light-gray);
    color: var(--gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: var(--gradient);
    color: white;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li i {
    color: var(--success);
    font-size: 0.9rem;
}

.pricing-card.featured .pricing-features li i {
    color: white;
}

.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 20px;
}

.cta-section .btn-secondary {
    background: white;
    color: var(--primary);
    border: none;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.7;
}

.faq-answer.hidden {
    display: none;
}

@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        padding-left: 1rem;
    }

    .process-step::before {
        left: -1.5rem;
    }
}