/* ===== CSS VARIABLES ===== */
:root {
    --section-bg: #000;
    --text-primary: white;
    --border-color: rgba(255, 255, 255, 0.2);
    --gradient-glow: radial-gradient(circle at 20% 30%, rgba(222, 116, 21, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 104, 166, 0.03) 0%, transparent 50%);
    --border-radius: 16px;
    --transition: all 0.4s ease;
    --container-width: min(1140px, 95%);
    --content-height: clamp(400px, 50vw, 530px);
}

/* ===== STRATEGY & PLANNING SECTION ===== */
.strategy-planning {
    width: 100%;
    background: var(--section-bg);
    position: relative;
    padding: clamp(40px, 6vw, 80px) 0;
}

.strategy-planning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.strategy-container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== CONTENT DIV BASE STYLES ===== */
.content-div-a,
.content-div-b {
    width: 100%;
    height: var(--content-height);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    margin-bottom: clamp(30px, 5vw, 60px);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.content-div-a:hover,
.content-div-b:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* ===== CONTENT DIV A (Text Left, Image Right) ===== */
.content-div-a {
    flex-direction: row;
}

.content-div-a .content-left {
    padding: 0 clamp(20px, 4vw, 50px);
    order: 1;
}

.content-div-a .content-right {
    padding: 16px;
    order: 2;
}

/* ===== CONTENT DIV B (Image Left, Text Right) ===== */
.content-div-b {
    flex-direction: row-reverse;
}

.content-div-b .content-left {
    padding: 16px;
    order: 2;
}

.content-div-b .content-right {
    padding: 0 clamp(20px, 4vw, 50px);
    order: 1;
}

/* ===== CONTENT SECTIONS ===== */
.content-left,
.content-right {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text Content Styles */
.content-left h3,
.content-right h3 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: clamp(15px, 2vw, 20px);
    line-height: 1.2;
}

.content-left p,
.content-right p {
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--text-primary);
    margin-bottom: clamp(20px, 3vw, 30px);
    line-height: 1.6;
    opacity: 0.9;
}

/* ===== FEATURE LIST ===== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 2vw, 20px);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 15px);
    transition: var(--transition);
    padding: 8px 0;
}

.feature-item:hover {
    transform: translateX(8px);
}

.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    /* background: #875151; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #ffffff15;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(222, 116, 21, 0.4);
}

.feature-item p {
    font-size: clamp(15px, 1.5vw, 16px);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

/* ===== IMAGE STYLES ===== */
.content-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    transition: var(--transition);
}

.content-div-a:hover .content-image,
.content-div-b:hover .content-image {
    transform: scale(1.02);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {

    .steps-grid {
        display: flex;
        flex-direction: column;
    }

    .content-div-a,
    .content-div-b {
        height: auto;
        min-height: 400px;
    }

    .content-left,
    .content-right {
        width: 100%;
        height: auto;
        padding: clamp(30px, 5vw, 40px) !important;
    }
}

@media (max-width: 768px) {

    .steps-grid {
        display: flex;
        flex-direction: column;
    }

    /* Mobile: Stack all sections vertically with image on top */
    .content-div-a,
    .content-div-b {
        flex-direction: column;
        height: auto;
    }

    .content-div-a .content-left,
    .content-div-a .content-right,
    .content-div-b .content-left,
    .content-div-b .content-right {
        width: 100%;
        order: unset !important;
        padding: 8px 8px !important;
    }

    /* Ensure image comes first on mobile */
    .content-div-a .content-right,
    .content-div-b .content-left {
        order: -1 !important;
    }

    .content-image {
        height: clamp(200px, 40vw, 300px);
        object-position: center;
        border-radius: 8px;
    }

    .feature-list {
        gap: 12px;
    }

    .feature-item {
        gap: 12px;
    }
}

@media (max-width: 480px) {

    .steps-grid {
        display: flex;
        flex-direction: column;
    }
    
    .strategy-planning {
        padding: 30px 0;
    }

    .content-div-a,
    .content-div-b {
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .content-left h3,
    .content-right h3 {
        font-size: 24px;
    }

    .content-left p,
    .content-right p {
        font-size: 15px;
    }

    .feature-item p {
        font-size: 14px;
    }

    .content-image {
        height: 200px;
        border-radius: 8px;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {

    .content-div-a,
    .content-div-b,
    .feature-item,
    .feature-icon,
    .content-image {
        transition: none;
        animation: none;
    }

    .content-div-a:hover,
    .content-div-b:hover,
    .feature-item:hover {
        transform: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .strategy-planning::before {
        display: none;
    }

    .content-div-a,
    .content-div-b {
        border: 1px solid #ccc;
        backdrop-filter: none;
    }

    .content-image {
        filter: grayscale(100%);
    }
}