/**
 * IT-Optimalisatie Page - Proper Fix Based on Working Pages
 * Following the exact pattern from website-hosting.css and webhosting.css
 */

/* ============================================
   RESET PREVIOUS ATTEMPTS
   ============================================ */
.page-id-435 * {
    box-sizing: border-box;
}

/* ============================================
   HERO SECTION - LIKE WORKING PAGES
   ============================================ */
.page-id-435 .it-opt-hero-section {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 60px 20px 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* NO margin auto, NO max-width here - full width section */
    width: 100%;
    margin: 0;
    border-radius: 0; /* Remove the rounded corners */
}

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

.page-id-435 .it-opt-hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.page-id-435 .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-id-435 .hero-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-id-435 .hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

/* ============================================
   STATS SECTION - LIKE WORKING PAGES
   ============================================ */
.page-id-435 .it-opt-stats {
    padding: 60px 20px;
    background: #F8F9FA;
    position: relative;
    z-index: 1;
    /* Full width section, no special tricks */
    width: 100%;
    margin: 0;
}

.page-id-435 .stats-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.page-id-435 .stat-item {
    text-align: center;
    padding: 35px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.page-id-435 .stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ============================================
   CORE FEATURES - LIKE WORKING PAGES
   ============================================ */
.page-id-435 .core-it-features {
    padding: 80px 20px;
    background: white;
    /* Normal section, content will be centered with max-width */
    width: 100%;
    margin: 0;
}

.page-id-435 .features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-id-435 .feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid #ECF0F1;
}

.page-id-435 .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ============================================
   PROCESS SECTION - LIKE WORKING PAGES
   ============================================ */
.page-id-435 .process-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    /* Full width with gradient, content centered inside */
    width: 100%;
    margin: 0;
}

.page-id-435 .process-section h2,
.page-id-435 .process-section h3,
.page-id-435 .process-section p {
    color: white;
}

.page-id-435 .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CTA SECTION - LIKE WORKING PAGES
   ============================================ */
.page-id-435 .cta-section {
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 50%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Full width section */
    width: 100%;
    margin: 0;
}

.page-id-435 .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-id-435 .cta-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    color: white;
}

.page-id-435 .cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    color: white;
}

/* ============================================
   CONTAINER FIXES - CRITICAL
   ============================================ */

/* Remove all the forced centering from previous attempts */
.page-id-435 #content.site-content {
    width: 100%;
    display: block; /* NOT flex */
    padding: 0;
    margin: 0;
}

.page-id-435 .site-content .ast-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.page-id-435 #main,
.page-id-435 article,
.page-id-435 .entry-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Content blocks should NOT be force-centered */
.page-id-435 .entry-content > * {
    margin-left: 0;
    margin-right: 0;
}

/* WordPress blocks with backgrounds get full width naturally */
.page-id-435 .wp-block-group.has-background {
    width: 100%;
    padding: 80px 20px;
    margin: 0;
    /* NO calc tricks needed */
}

/* WordPress blocks without backgrounds - normal width with centered content */
.page-id-435 .wp-block-group:not(.has-background) {
    width: 100%;
    padding: 60px 20px;
    margin: 0;
}

/* All inner content gets max-width for centering */
.page-id-435 .wp-block-columns,
.page-id-435 .wp-block-group > h2,
.page-id-435 .wp-block-group > h3,
.page-id-435 .wp-block-group > p,
.page-id-435 .wp-block-html:not(.it-opt-hero-section) {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .page-id-435 .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-id-435 .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-id-435 .it-opt-hero-section {
        padding: 50px 20px 40px;
        min-height: auto;
    }

    .page-id-435 .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-id-435 .process-steps {
        grid-template-columns: 1fr;
    }

    .page-id-435 .wp-block-group.has-background {
        padding: 60px 20px;
    }

    .page-id-435 .wp-block-group:not(.has-background) {
        padding: 40px 20px;
    }
}

/* ============================================
   TYPOGRAPHY CONSISTENCY
   ============================================ */
.page-id-435 h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
    text-align: center;
}

.page-id-435 h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 15px;
}

.page-id-435 p {
    font-size: 18px;
    line-height: 1.6;
    color: #5A6C7D;
}

/* ============================================
   BUTTONS CONSISTENCY
   ============================================ */
.page-id-435 .hero-btn,
.page-id-435 .wp-block-button__link {
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.page-id-435 .hero-btn-primary {
    background: linear-gradient(135deg, #F39C12, #E67E22);
    color: white;
}

.page-id-435 .hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(243,156,18,0.4);
}

/* Fix CTA buttons specifically */
.page-id-435 .cta-section .wp-block-button__link {
    color: #FFFFFF !important; /* Force white text */
}

.page-id-435 .cta-section .wp-block-button__link:first-child {
    background: #FFFFFF !important;
    color: #2C3E50 !important; /* Dark text on white button */
}

.page-id-435 .cta-section .wp-block-button__link[href^="tel"] {
    background: transparent !important;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important; /* White text for phone button */
}

.page-id-435 .cta-section .wp-block-button__link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}