/* Web Development Page Specific Styles */

/* Hero Banner Section - Modern Banner Layout */
.hero-banner {
    background: #000000;
    color: white;
    padding: 40px 20px 30px;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

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

.banner-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
}

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

.banner-title .development-text {
    color: #8b5cf6;
}

.banner-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 400;
    max-width: 550px;
}

.banner-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
}

.cta-button.secondary:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-2px);
}

.banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    transform: none;
}

.banner-image img:hover {
    transform: none;
}

.banner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    font-family: 'Manrope', sans-serif;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner {
        padding: 80px 20px 60px;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .banner-text {
        order: 1;
    }
    
    .banner-image {
        order: 2;
    }
    
    .banner-title {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .banner-description {
        font-size: 1.1rem;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .banner-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .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: 2.5rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Introduction Section */
.intro-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

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

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

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

.matter-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.matter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.matter-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.matter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
    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: white;
}

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

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

/* Our Expertise Section */
.expertise-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

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

.expertise-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.expertise-icon i {
    font-size: 1.8rem;
    color: white;
}

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

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

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

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

.tech-category {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

.tech-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    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: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
    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: rgba(138, 43, 226, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.tech-item:hover {
    background: rgba(138, 43, 226, 0.2);
    transform: translateY(-3px);
    border-color: rgba(138, 43, 226, 0.5);
}

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

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

/* Process Section */
.process-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    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: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.process-step:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    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: white;
    margin-bottom: 15px;
}

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

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

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

.benefit-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
    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: white;
}

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

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

/* Ready to Begin Section */
.ready-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    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(138, 43, 226, 0.2) 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: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

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

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

.ready-buttons .btn-primary,
.ready-buttons .btn-secondary {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ready-buttons .btn-primary {
    background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
    color: white;
    border: none;
}

.ready-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

.ready-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(138, 43, 226, 0.5);
}

.ready-buttons .btn-secondary:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: #8a2be2;
    transform: translateY(-3px);
}

/* 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);
    }
    
    .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;
    }
    
    .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; }
}
/* ==========================
   Legal Consultation Hover Enhancements
   ========================== */
/* Subtle, responsive hover effects scoped to the Legal section only */
#legal .expertise-card.legal-highlight {
  position: relative;
  cursor: pointer;
  /* Keep existing styles, add smooth transitions */
  transition: transform 0.28s ease, box-shadow 0.28s ease,
              background 0.28s ease, border-color 0.28s ease;
  will-change: transform, box-shadow;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#legal .expertise-card.legal-highlight:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  background: linear-gradient(180deg,
              rgba(40, 40, 52, 0.85),
              rgba(24, 24, 32, 0.85));
  border-color: rgba(147, 112, 219, 0.35); /* soft purple accent */
}

/* Glow accent on hover using pseudo-element (non-interactive) */
#legal .expertise-card.legal-highlight::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120px 60px at 20% 20%, rgba(147, 112, 219, 0.60), transparent 60%),
    radial-gradient(120px 60px at 80% 80%, rgba(147, 112, 219, 0.45), transparent 60%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

#legal .expertise-card.legal-highlight:hover::after {
  opacity: 1;
}

/* Icon lift and accent on hover */
#legal .expertise-card.legal-highlight .expertise-icon {
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

#legal .expertise-card.legal-highlight:hover .expertise-icon {
  transform: translateY(-2px) scale(1.08);
  background: linear-gradient(135deg, var(--accent, #7c3aed), var(--accent-2, #a78bfa));
  box-shadow: none; /* remove icon glow */
  text-shadow: none; /* ensure no text glow */
  filter: none;
  color: #fff;
}

/* Remove icon glow for Core Solutions and Case Studies sections */
#core-solutions .expertise-card .expertise-icon,
#case-studies .expertise-card .expertise-icon {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

#core-solutions .expertise-card:hover .expertise-icon,
#case-studies .expertise-card:hover .expertise-icon,
#legal .expertise-card:hover .expertise-icon {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* ==========================
   Accent Color Normalization (Core, Legal, Case Studies)
   ========================== */
/* Use brand purple gradient consistently across icons, borders, and hovers */
#core-solutions .expertise-card .expertise-icon,
#legal .expertise-card .expertise-icon,
#case-studies .expertise-card .expertise-icon {
  background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
}

#core-solutions .expertise-card,
#legal .expertise-card,
#case-studies .expertise-card {
  border-color: rgba(139, 92, 246, 0.25) !important;
}

#core-solutions .expertise-card:hover,
#legal .expertise-card:hover,
#case-studies .expertise-card:hover {
  border-color: rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2) !important;
}

#core-solutions .expertise-card::before,
#legal .expertise-card::before,
#case-studies .expertise-card::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, transparent 50%) !important;
}

/* Title emphasis on hover */
#legal .expertise-card.legal-highlight:hover h3 {
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  #legal .expertise-card.legal-highlight,
  #legal .expertise-card.legal-highlight .expertise-icon,
  #legal .expertise-card.legal-highlight::after {
    transition: none !important;
  }
}