/* --- Hero Section --- */
.service-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay for better text readability */
.service-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeUp 1s ease-out;
}

.service-hero-content h1 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-hero-description strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: #fff;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent, #1c52ad);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading, 'Figtree', sans-serif);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Zigzag Details Section --- */
.details-section {
    padding: var(--section-padding, 4rem) 0;
    background-color: var(--color-background);
}

.details-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .zigzag-row {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    /* Alternate order for even rows */
    .zigzag-row:nth-child(even) .zigzag-content {
        order: 2;
    }

    .zigzag-row:nth-child(even) .zigzag-media {
        order: 1;
    }
}

.zigzag-content h2 {
    font-family: var(--font-heading, 'Figtree', sans-serif);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.zigzag-content p {
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.zigzag-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zigzag-content ul li {
    margin-bottom: 0.8rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.zigzag-content ul li i {
    color: var(--color-accent, #1c52ad);
    margin-top: 5px;
    /* font-size: 0.5em; */
    vertical-align: middle;
}

.zigzag-media img,
.zigzag-media video {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-card, 16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-position: center 65%;
}

/* --- YouTube Section --- */
.youtube-section {
    padding: var(--section-padding, 4rem) 0;
    background-color: var(--color-surface-alt, #111);
    text-align: center;
}

.youtube-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {

    .zigzag-media img,
    .zigzag-media video {
        height: 220px;
    }
}