/* ===== Dynamic Section Wrapper ===== */
.dynamic-sections-wrapper {
    background-color: var(--grey-shade);
    width: 100%;
}

.dynamic-section-wrapper {
    width: 100%;
    padding-top: clamp(4rem, 6vw, 8rem);
    padding-bottom: clamp(4rem, 6vw, 8rem);
}

/* Header Section (Badge, Title, Desc) */
.dynamic-section-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dynamic-section-container {
	gap : 4rem
}

.dynamic-section-child {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.dynamic-title {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.description {
		font-family: Lexend, sans-serif;
    line-height: 1.6;
    max-width: 100%;
		font-weight: 300;
		opacity: 0.8;
}

/* Slider Container (Horizontal Scroll) */
.dynamic-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.dynamic-slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 30px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dynamic-slider-container::-webkit-scrollbar {
    display: none;
}

.dynamic-slider-container > * {
    flex-shrink: 0;
    scroll-snap-align: start;
}


/* ===== CTA Section (Full Screen Adjustment) ===== */
.cta-fullscreen-wrapper {
    padding: 0;
    width: 100%;
    background-color: var(--black);
    overflow: hidden;
}

.cta-fullscreen-background {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;

    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.cta-content-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;

    justify-content: flex-start;

    padding-top: clamp(8rem, 18vh, 12rem);
}

.cta-fullscreen-background .hero-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-dynamic {
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);

    background-color: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    width: 100%;
}

.hero-title {
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

@media (min-width: 769px) {
    .dynamic-section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;

    }

	.dynamic-section-container {
		gap: 3rem;
	}

    .dynamic-section-child {
        width: 60%;
        align-items: flex-start;
    }

    .description {
        max-width: 600px;
    }

    .dynamic-slider-wrapper {
        margin-inline: 0;
        padding-inline: 0;
        overflow: visible;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hero-dynamic {
        min-height: 350px;
        text-align: center;
        align-items: center;
    }

    .hero-overlay {
        background: rgba(0,0,0,0.6);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
				gap: 4rem;
    }

    .cta-content-container {
        padding-top: 140px;
        align-items: center;
    }

    .cta-fullscreen-background .hero-content {
        align-items: center;
        text-align: center;
    }

    .cta-fullscreen-background .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}
