/* =========================================
   DIGITAL MARKETING PAGE SPECIFIC CSS
   ========================================= */

/* VIBRANT ORANGE GRADIENT TEXT */
.text-gradient-orange {
    background: linear-gradient(to right, #ea580c, #f43f5e); /* Orange to Fiery Rose */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-orange {
    background-color: #ea580c !important;
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.2) !important;
}

.btn-orange:hover {
    background-color: #c2410c !important;
}

/* Orange Hover state for Cards */
.service-card:hover .orange-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(234, 88, 12, 0.85)) !important;
}

.service-card:hover .icon-box { 
    background: #ea580c !important; 
}

.service-card:hover .service-arrow svg {
    stroke: #ea580c !important;
}

/* 1. CTA SECTION (Fiery Orange/Red Gradient) */
.cta-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.cta-box.dm-cta {
    background: linear-gradient(135deg, #9a3412, #ea580c); /* Dark Orange to Bright Orange */
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(234, 88, 12, 0.2);
    position: relative;
    overflow: hidden;
}

/* Light abstract circles in CTA background */
.cta-box.dm-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.cta-box.dm-cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: rgba(244, 63, 94, 0.1); /* Subtle rose accent */
    border-radius: 50%;
    z-index: 1;
}

.cta-box.dm-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-box.dm-cta p {
    font-size: 18px;
    color: #ffedd5;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-box.dm-cta .btn-primary {
    position: relative;
    z-index: 2;
    padding: 15px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.cta-box.dm-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Adjustments for CTA */
@media (max-width: 768px) {
    .cta-box.dm-cta {
        padding: 40px 20px;
    }
    .cta-box.dm-cta h2 {
        font-size: 28px;
    }
    .cta-box.dm-cta p {
        font-size: 16px;
    }
}

/* =========================================
   2. NEW ZIG-ZAG LAYOUT (PREMIUM STYLE)
   ========================================= */
.zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 100px; /* Space between each row */
    margin-top: 40px;
}

.zigzag-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Reverses the order for every even row */
.zigzag-row.reverse-row {
    flex-direction: row-reverse;
}

.zigzag-image {
    flex: 1;
    position: relative;
}

/* Premium Image Border & Glow Effect */
.image-border-glow {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.image-border-glow img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 2;
}

/* The glowing gradient border behind the image */
.image-border-glow::before {
    content: '';
    position: absolute;
    inset: -3px; /* Creates a 3px border */
    background: linear-gradient(135deg, #ea580c, #f43f5e);
    border-radius: 23px;
    z-index: 1;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

/* Hover effects for the image */
.zigzag-row:hover .image-border-glow {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.2);
}

.zigzag-row:hover .image-border-glow::before {
    opacity: 0.8;
}

/* Content Styling */
.zigzag-content {
    flex: 1;
}

.icon-box.orange-box {
    background: rgba(234, 88, 12, 0.1);
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.icon-box.orange-box svg {
    stroke: #ea580c;
}

.zigzag-row:hover .icon-box.orange-box {
    background: #ea580c;
}

.zigzag-row:hover .icon-box.orange-box svg {
    stroke: #ffffff;
}

.zigzag-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.zigzag-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Features List with Custom SVG bullets (FIXED SIZE) */
.zigzag-features {
    list-style: none;
    margin-top: 25px;
    padding: 0;
}

.zigzag-features li {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* FIX: Limit the size of the SVG checkmarks so they don't blow up */
.zigzag-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0; /* Prevents the icon from squishing if text is long */
}

/* Mobile Responsive Zig-Zag */
@media (max-width: 992px) {
    .zigzag-container {
        gap: 60px;
    }
    
    /* Force column layout for ALL rows on mobile, overriding the reverse-row */
    .zigzag-row, .zigzag-row.reverse-row {
        flex-direction: column;
        text-align: left;
        gap: 30px;
    }

    /* Keep image on top always */
    .zigzag-image {
        width: 100%;
        order: 1; /* Force image first */
    }

    .zigzag-content {
        order: 2; /* Force text second */
        width: 100%;
    }

    .zigzag-content h3 {
        font-size: 26px;
    }
}