/* Web Development Page Specific Styles */

/* Hero Banner Section - Modern Banner Layout */
.hero-banner {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F7FF 58%, #FFFFFF 100%);
    color: #111827;
    padding: 100px 0 46px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(109, 40, 217, 0.13) 0%, transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(124, 58, 237, 0.10) 0%, transparent 30%);
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(1120px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
}

.banner-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.banner-content {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 0;
}

.banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.banner-text::before {
    content: 'IFICODE SERVICE';
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 13px;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-color);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.banner-title {
    font-size: clamp(2.45rem, 4.15vw, 3.75rem);
    font-weight: 900 !important;
    margin-bottom: 16px;
    line-height: 1.04;
    color: #111827;
    font-family: var(--font-heading-primary);
    letter-spacing: 0;
}

.banner-title span {
    font-weight: 900 !important;
}

.banner-cta a {
    padding: 13px 24px !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
}

.banner-title .web-text {
    color: #111827;
}

.banner-title .development-text {
    color: var(--primary-color);
}

.banner-description {
    font-size: 1.02rem;
    line-height: 1.68;
    margin-bottom: 24px;
    color: #4B5563;
    font-weight: 400;
    max-width: 650px;
}

.banner-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    letter-spacing: 0;
    font-family: var(--font-ui);
}

.cta-button.primary {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.cta-button.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.cta-button.secondary {
    background: #FFFFFF;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    font-weight: 600;
}

.cta-button.secondary:hover {
    background-color: #F5F3FF;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.banner-cta a:first-child {
    background: var(--primary-color);
    color: #FFFFFF;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(109, 40, 217, 0.14);
}

.banner-cta > a {
    box-sizing: border-box;
}

.banner-cta a:first-child:hover {
    background: var(--primary-hover);
    box-shadow: 0 12px 24px rgba(109, 40, 217, 0.18);
}

.banner-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.banner-image::before {
    display: none;
}

.banner-image img {
    max-width: 100%;
    max-height: 340px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    transform: none;
    filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.11));
    transition: transform 0.35s ease;
}

.banner-image img:hover {
    transform: translateY(-4px) scale(1.01);
}

.banner-meta {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 650px;
}

.banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #DDD6FE;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #4B5563;
    font-family: var(--font-ui);
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.banner-meta i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.banner-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid #E5E7EB;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.stat-label {
    font-size: 1.1rem;
    color: #4B5563;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner {
        padding: 72px 0 24px;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
        margin-bottom: 0;
    }

    .banner-text::before {
        margin-bottom: 10px;
        padding: 6px 11px;
        font-size: 0.68rem;
    }
    
    .banner-text {
        order: 1;
    }
    
    .banner-image {
        order: 2;
        min-height: 160px;
        padding: 0;
        border-radius: 0;
    }

    .banner-image img {
        max-height: 165px;
    }
    
    .banner-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        margin-bottom: 14px;
    }
    
    .banner-description {
        font-size: 0.98rem;
        line-height: 1.62;
        max-width: 100%;
        margin-bottom: 16px;
    }
    
    .banner-cta {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 0;
        width: 100%;
    }
    
    .cta-button,
    .banner-cta .btn-primary,
    .banner-cta .btn-secondary,
    .banner-cta > a {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        min-width: 100% !important;
        flex: 1 1 100% !important;
        justify-content: center;
    }

    .banner-meta {
        gap: 8px;
    }

    .banner-meta span {
        font-size: 0.8rem;
        padding: 8px 11px;
    }
    
    .banner-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.82rem;
    }
    
    .banner-description {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .banner-image {
        min-height: 145px;
        padding: 0;
    }

    .banner-image img {
        max-height: 145px;
    }
}

/* Introduction Section */
.intro-section {
    padding: 120px 0;
    background: #F9FAFB;
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.intro-section .container {
    position: relative;
    z-index: 2;
}

.intro-section .section-description {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4B5563;
    text-align: center;
}

.why-matters-section .section-description,
.expertise-section .section-description,
.technology-section .section-description,
.process-section .section-description,
.benefits-section .section-description {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    color: #4B5563;
    text-align: center;
}

/* Why Web Development Matters Section */
.why-matters-section {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
}

.matters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.matter-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #E5E7EB;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.matter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.matter-card:hover::before {
    opacity: 1;
}

.matter-card:hover {
    transform: translateY(-4px);
    border-color: #C4B5FD;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.matter-icon {
    width: 80px;
    height: 80px;
    background: #F5F3FF;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.matter-icon i {
    font-size: 2rem;
    color: #6D28D9;
}

.matter-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.matter-card p {
    color: #4B5563;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Our Expertise Section */
.expertise-section {
    padding: 120px 0;
    background: #F9FAFB;
    position: relative;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.expertise-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(109, 40, 217, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card:hover {
    transform: translateY(-4px);
    border-color: #C4B5FD;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: #F5F3FF;
    border: 1px solid #E5E7EB;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.expertise-icon i {
    font-size: 1.8rem;
    color: #6D28D9;
}

.expertise-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.expertise-card p {
    color: #4B5563;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.expertise-card .learn-more,
.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #6D28D9;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
}

.expertise-card .learn-more:hover,
.service-card .learn-more:hover {
    color: #4C1D95;
    transform: translateX(3px);
}

/* Technology Stack Section */
.technology-section {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.tech-category {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-4px);
    border-color: #C4B5FD;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.tech-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6D28D9;
    border-radius: 2px;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #F5F3FF;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.tech-item:hover {
    background: #EEF2FF;
    transform: translateY(-2px);
    border-color: #C4B5FD;
}

.tech-item i {
    font-size: 2rem;
    color: #6D28D9;
    margin-bottom: 10px;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    text-align: center;
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background: #F9FAFB;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    padding: 40px 30px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(109, 40, 217, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover::before {
    opacity: 1;
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: #C4B5FD;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #6D28D9;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}

.step-content p {
    color: #4B5563;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #E5E7EB;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(109, 40, 217, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: #C4B5FD;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #F5F3FF;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.benefit-icon i {
    font-size: 2rem;
    color: #6D28D9;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: #4B5563;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* SEO Support Content */
.service-seo-section {
    background: #FFFFFF;
}

.service-seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.service-seo-copy {
    max-width: none;
    margin: 0 0 18px;
    text-align: left;
}

.service-keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.service-keyword-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    color: #4C1D95;
    font-size: 0.92rem;
    font-weight: 700;
    background: #F5F3FF;
    border: 1px solid #DDD6FE;
    border-radius: 999px;
}

/* Ready to Begin Section */
.ready-section {
    padding: 120px 0;
    background: #F9FAFB;
    position: relative;
    text-align: center;
}

.ready-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(109, 40, 217, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ready-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ready-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 30px;
    line-height: 1.2;
}

.ready-content p {
    font-size: 1.2rem;
    color: #4B5563;
    margin-bottom: 50px;
    line-height: 1.6;
}

.ready-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .matters-grid,
    .expertise-grid,
    .tech-categories,
    .process-steps,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-seo-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-keyword-list {
        padding: 22px;
    }
    
    .ready-content h2 {
        font-size: 2.2rem;
    }
    
    .ready-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ready-buttons .btn-primary,
    .ready-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .intro-section,
    .why-matters-section,
    .expertise-section,
    .technology-section,
    .process-section,
    .benefits-section,
    .ready-section {
        padding: 80px 0;
    }
    
    .matter-card,
    .expertise-card,
    .tech-category,
    .process-step,
    .benefit-card {
        padding: 30px 20px;
    }

    .service-keyword-list span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .tech-items {
        grid-template-columns: 1fr;
    }
    
    .ready-content h2 {
        font-size: 1.8rem;
    }
}

/* Pricing CTA spacing tweak */
.pricing-cta {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .pricing-cta { margin-top: 30px; }
}

/* Shared service-page compatibility styles
   Based on the web development page aesthetic, used by service pages
   where their markup differs slightly. */

.why-matters-content,
.services-grid,
.benefits-showcase,
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-column {
    min-width: 0;
}

.why-card,
.service-card,
.process-item {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before,
.service-card::before,
.process-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card:hover::before,
.service-card:hover::before,
.process-item:hover::before {
    opacity: 1;
}

.why-card:hover,
.service-card:hover,
.process-item:hover {
    transform: translateY(-4px);
    border-color: #C4B5FD;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.why-icon-wrapper,
.service-icon,
.process-hexagon {
    width: 64px;
    height: 64px;
    background: #F5F3FF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-icon,
.service-icon i,
.process-hexagon i {
    font-size: 28px;
    color: var(--primary-color);
}

.why-card h3,
.service-card h3,
.process-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    font-family: var(--font-heading-primary);
}

.why-card p,
.service-card p,
.process-details p,
.why-text {
    color: #4B5563;
    line-height: 1.6;
    font-size: 1rem;
}

.process-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    color: #4B5563;
    line-height: 1.7;
}

.process-hexagon-container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn-process,
.ready-buttons a,
.pricing-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 30px;
    background: var(--primary-color);
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    font-family: var(--font-ui);
}

.btn-process:hover,
.ready-buttons a:hover,
.pricing-action a:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.process-cta,
.ready-buttons {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .why-matters-content,
    .services-grid,
    .benefits-showcase,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-card,
    .service-card,
    .process-item {
        padding: 30px 20px;
    }
}
