/**
 * Enterprise Hero Section v1.0
 * 
 * Inspired by: Infosys, Accenture, Deloitte
 * Design Language: Corporate • Impactful • Professional
 * 
 * Features:
 * - Large impactful headline
 * - Strong contrast text
 * - Clean spacing
 * - Professional CTA buttons
 * - Balanced layout
 */

/* =============================================================================
   1. Hero Section - Enterprise Corporate Style
   ============================================================================= */

.hero-modern {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 50%, #f1f5f9 100%);
    padding: 160px 0 100px;
    overflow: hidden;
}

/* Subtle background pattern */
.hero-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230, 0, 18, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(15, 23, 42, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Geometric accent */
.hero-modern::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 60%, rgba(230, 0, 18, 0.02) 100%);
    pointer-events: none;
}

.hero-modern-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

/* =============================================================================
   2. Hero Content - Left Side
   ============================================================================= */

.hero-modern-content {
    max-width: 640px;
}

/* Enterprise Hero Title - Large, Bold, Tight Spacing */
.hero-modern-title {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(2.75rem, 5vw + 1rem, 4.25rem);  /* 44px → 68px */
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;  /* Very tight for impact */
    color: #0f172a;
    margin-bottom: 28px;
    text-wrap: balance;
}

/* Gradient text option */
.hero-modern-title--gradient {
    background: linear-gradient(135deg, #0f172a 0%, #334155 40%, #e60012 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Highlighted word in title */
.hero-modern-title .highlight {
    color: #e60012;
    position: relative;
}

.hero-modern-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: rgba(230, 0, 18, 0.2);
    border-radius: 4px;
}

/* Hero Description - Clean, Readable */
.hero-modern-description {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.125rem, 1vw + 0.75rem, 1.25rem);  /* 18px → 20px */
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.005em;
    color: #475569;
    margin-bottom: 40px;
    max-width: 520px;
}

/* =============================================================================
   3. Hero Actions - CTA Buttons
   ============================================================================= */

.hero-modern-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

/* Primary CTA - Enterprise Style */
.hero-modern-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: linear-gradient(135deg, #e60012 0%, #c5000f 100%);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 
        0 4px 14px rgba(230, 0, 18, 0.3),
        0 2px 6px rgba(230, 0, 18, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-modern-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(230, 0, 18, 0.35),
        0 3px 10px rgba(230, 0, 18, 0.25);
    background: linear-gradient(135deg, #ff1a2b 0%, #e60012 100%);
}

.hero-modern-actions .btn-primary:active {
    transform: translateY(0);
}

/* Secondary CTA - Outline Style */
.hero-modern-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 34px;
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #0f172a;
    background: transparent;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-modern-actions .btn-outline:hover {
    color: #e60012;
    border-color: #e60012;
    background: rgba(230, 0, 18, 0.04);
}

/* Button icons */
.hero-modern-actions .btn svg {
    width: 18px;
    height: 18px;
}

/* =============================================================================
   4. Trust Badges - Enterprise Proof Points
   ============================================================================= */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: #e60012;
}

/* =============================================================================
   5. Hero Image - Right Side
   ============================================================================= */

.hero-modern-image {
    position: relative;
}

.hero-modern-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 10px 25px -5px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Decorative elements */
.hero-modern-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.1) 0%, transparent 50%);
    border-radius: 16px;
    z-index: -1;
}

.hero-modern-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg, rgba(15, 23, 42, 0.05) 0%, transparent 50%);
    border-radius: 16px;
    z-index: -1;
}

/* =============================================================================
   6. Variant: Hero with Video Background
   ============================================================================= */

.hero-modern--video {
    position: relative;
}

.hero-modern--video .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-modern--video::before {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-modern--video .hero-modern-title {
    color: #ffffff;
}

.hero-modern--video .hero-modern-description {
    color: rgba(255, 255, 255, 0.85);
}

/* =============================================================================
   7. Variant: Centered Hero
   ============================================================================= */

.hero-modern--centered .hero-modern-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-modern--centered .hero-modern-content {
    max-width: 800px;
}

.hero-modern--centered .hero-modern-title {
    font-size: clamp(2.5rem, 6vw + 1rem, 5rem);
}

.hero-modern--centered .hero-modern-description {
    margin-left: auto;
    margin-right: auto;
}

.hero-modern--centered .hero-modern-actions {
    justify-content: center;
}

.hero-modern--centered .trust-badges {
    justify-content: center;
}

.hero-modern--centered .hero-modern-image {
    margin-top: 60px;
    max-width: 900px;
}

/* =============================================================================
   8. Section Styling - Clean Corporate
   ============================================================================= */

.section {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-modern {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(2rem, 3vw + 0.5rem, 2.625rem);  /* 32px → 42px */
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 20px;
}

.section-subtitle-modern {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);  /* 16px → 18px */
    font-weight: 400;
    line-height: 1.65;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================================================
   9. CTA Banner - Modern Corporate
   ============================================================================= */

.section-cta-modern {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0;
}

.cta-modern-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.cta-modern-title {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-modern-text {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
}

.cta-modern-actions {
    display: flex;
    gap: 16px;
}

.cta-modern-actions .btn-primary {
    background: #e60012;
    color: #fff;
}

.cta-modern-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-modern-actions .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* =============================================================================
   10. Services Section - Modern Grid
   ============================================================================= */

.section-services-modern {
    background: #ffffff;
}

.services-modern-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.services-modern-header {
    position: sticky;
    top: 140px;
}

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* =============================================================================
   10b. Services Section - Full-Width Infosys Style (Edge-to-Edge)
   ============================================================================= */

.section-services-fullwidth {
    width: 100%;
    overflow: hidden;
}

.services-fullwidth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

/* Left panel - header with branded background */
.services-fullwidth-header {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .services-fullwidth-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
        z-index: 1;
    }
.services-fullwidth-header>* {
    position: relative;
    z-index: 2;
}

.services-fullwidth-title {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(2rem, 3vw + 0.5rem, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.services-fullwidth-subtitle {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px 0;
    max-width: 440px;
}

.services-fullwidth-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #e60012;
    color: #ffffff;
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: fit-content;
}

.services-fullwidth-cta:hover {
    background: #b8000e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 0, 18, 0.3);
}

.services-fullwidth-cta svg {
    transition: transform 0.3s ease;
}

.services-fullwidth-cta:hover svg {
    transform: translateX(4px);
}

/* Right panel - 2x2 card grid, no gaps, fills space */
.services-fullwidth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.services-fullwidth-card {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-size: cover;
    background-position: center;
        background-repeat: no-repeat;
    }
    
.services-fullwidth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%);
        z-index: 1;
        transition: all 0.3s ease;
    }
.services-fullwidth-card>* {
    position: relative;
    z-index: 2;
}

.services-fullwidth-card:nth-child(1) { border-right: none; border-bottom: none; }
.services-fullwidth-card:nth-child(2) { border-bottom: none; }
.services-fullwidth-card:nth-child(3) { border-right: none; }

.services-fullwidth-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transform: scale(1.02);
}

.services-fullwidth-card:hover::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.35) 100%);
}
.services-fullwidth-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e60012 0%, #ff3344 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.services-fullwidth-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.services-fullwidth-name {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.services-fullwidth-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive: fullwidth services */
@media (max-width: 1024px) {
    .services-fullwidth-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .services-fullwidth-header {
        padding: 48px 32px;
        text-align: center;
        align-items: center;
    }

    .services-fullwidth-subtitle {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .services-fullwidth-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .services-fullwidth-card {
        border-right: 1px solid #e2e8f0 !important;
        border-bottom: none !important;
    }

    .services-fullwidth-card:last-child {
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .services-fullwidth-header {
        padding: 40px 24px;
    }
}

.service-modern-card {
    padding: 36px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-modern-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.service-modern-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e60012 0%, #ff3344 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-modern-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.service-modern-name {
    font-family: 'Inter', 'Myriad Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.service-modern-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

/* =============================================================================
   11. Why Choose Section - Split Layout
   ============================================================================= */

.section-why-modern {
    background: #f8fafc;
}

.why-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-modern-image {
    position: relative;
}

.why-modern-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.why-modern-content {
    max-width: 500px;
}

.why-modern-text {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 32px;
}

.why-modern-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
}

.why-modern-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.why-modern-list li:last-child {
    border-bottom: none;
}

.why-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

/* =============================================================================
   12. Responsive Design
   ============================================================================= */

@media (max-width: 1200px) {
    .hero-modern-container {
        gap: 60px;
        padding: 0 32px;
    }
    
    .hero-modern-title {
        font-size: clamp(2.5rem, 4vw + 1rem, 3.5rem);
    }
}

@media (max-width: 1024px) {
    .hero-modern {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .hero-modern-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-modern-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-modern-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-modern-actions {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .hero-modern-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-modern-layout {
        grid-template-columns: 1fr;
    }
    
    .services-modern-header {
        position: static;
        text-align: center;
    }
    
    .why-modern-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-modern-image {
        order: -1;
    }
    
    .cta-modern-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-modern-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 120px 0 60px;
    }
    
    .hero-modern-container {
        padding: 0 20px;
    }
    
    .hero-modern-title {
        font-size: clamp(2rem, 5vw + 0.5rem, 2.75rem);
        letter-spacing: -0.03em;
    }
    
    .hero-modern-description {
        font-size: 16px;
    }
    
    .hero-modern-actions {
        flex-direction: column;
    }
    
    .hero-modern-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .services-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-modern-banner {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-modern-title {
        font-size: 2rem;
    }
    
    .hero-modern-actions .btn {
        padding: 16px 28px;
        font-size: 15px;
    }
}
