/* Zig Zag Section Styles */
.zigzag-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.zigzag-item {
    margin-bottom: 120px;
}

.zigzag-item:last-child {
    margin-bottom: 0;
}

.zigzag-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.zigzag-img {
    width: 100%;
    height: 1000px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zigzag-img-container:hover .zigzag-img {
    transform: scale(1.05);
}

.zigzag-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: white;
}

.zigzag-img-overlay h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.zigzag-content {
    padding: 30px;
}

.zigzag-content h3 {
    color: #168bd6;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 2rem;
}

.zigzag-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 1399.98px) {
    .zigzag-img {
        height: 900px;
    }
}

@media (max-width: 1199.98px) {
    .zigzag-img {
        height: 800px;
    }
    
    .zigzag-item {
        margin-bottom: 100px;
    }
}

@media (max-width: 991.98px) {
    .zigzag-section {
        padding: 60px 0;
    }
    
    .zigzag-item {
        margin-bottom: 80px;
    }
    
    .zigzag-img {
        height: 700px;
    }
    
    .zigzag-img-overlay {
        padding: 20px;
    }
    
    .zigzag-img-overlay h3 {
        font-size: 1.7rem;
    }
    
    .zigzag-content {
        padding: 20px 15px;
    }
    
    .zigzag-content h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .zigzag-section {
        padding: 50px 0;
    }
    
    .zigzag-item {
        margin-bottom: 60px;
    }
    
    .zigzag-img {
        height: 600px;
    }
    
    .zigzag-img-overlay h3 {
        font-size: 1.5rem;
    }
    
    .zigzag-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .zigzag-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .zigzag-section {
        padding: 40px 0;
    }
    
    .zigzag-item {
        margin-bottom: 50px;
    }
    
    .zigzag-img {
        height: 500px;
    }
    
    .zigzag-img-overlay {
        padding: 15px;
    }
    
    .zigzag-img-overlay h3 {
        font-size: 1.3rem;
    }
    
    .zigzag-content h3 {
        font-size: 1.3rem;
    }
    
    .zigzag-content p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .zigzag-img {
        height: 450px;
    }
    
    .zigzag-item {
        margin-bottom: 40px;
    }
}