/* =========================================
   WEB DEVELOPMENT PAGE SPECIFIC CSS
   ========================================= */

/* 1. CTA SECTION (Reused logic, different gradient for Web Dev page) */
.cta-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.cta-box.web-dev-cta {
    background: linear-gradient(135deg, #0f172a, #06b6d4); /* Tech Dark to Cyan Gradient */
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
}

/* Light abstract circles in CTA background */
.cta-box.web-dev-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.web-dev-cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.cta-box.web-dev-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-box.web-dev-cta p {
    font-size: 18px;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-box.web-dev-cta .btn-primary {
    position: relative;
    z-index: 2;
    padding: 15px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.cta-box.web-dev-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.web-dev-cta {
        padding: 40px 20px;
    }
    .cta-box.web-dev-cta h2 {
        font-size: 28px;
    }
    .cta-box.web-dev-cta p {
        font-size: 16px;
    }
}

/* =========================================
   2. NEW ZIG-ZAG LAYOUT (CYAN THEME)
   ========================================= */
.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 (Cyan) */
.image-border-glow {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 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.cyan-glow::before {
    content: '';
    position: absolute;
    inset: -3px; /* Creates a 3px border */
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    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(6, 182, 212, 0.2);
}

.zigzag-row:hover .image-border-glow::before {
    opacity: 0.8;
}

/* Content Styling */
.zigzag-content {
    flex: 1;
}

.icon-box.cyan-box {
    background: rgba(6, 182, 212, 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.cyan-box svg {
    stroke: #06b6d4;
}

.zigzag-row:hover .icon-box.cyan-box {
    background: #06b6d4;
}

.zigzag-row:hover .icon-box.cyan-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;
    }
}