html {
    font-size: 1rem;
}

#header {
    padding: 20px 0px;
}

section:not(#header) {
    margin-block-start: 0px;
    margin-block-end: 100px;

}

section {
    margin-block-start: 100px;
    margin-block-end: 100px;
}

@media (max-width: 768px) {
    section:not(#header) {
        margin-block-start: 0px;
        margin-block-end: 60px;

    }

    section {
        margin-block-start: 60px;
        margin-block-end: 60px;
    }

}

.container-wide {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 80px;
}

.container {
    max-width: 1080px !important;
    margin-inline: auto;
    padding-inline: 120px;
}

h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 2rem !important;
    font-weight: bold !important;
    text-align: center;
    /* Adjust spacing between text and line */
}

h2::after {
    content: '';
    display: block;
    margin: 15px auto 0;
    /* Add top margin and center horizontally */
    width: 200px;
    /* Or specific width like 200px if preferred */
    height: 10px;
    /* Adjust based on image height */
    background-image: url('./images/line.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}

.bg-image {
    background-image: url('./images/background.webp');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    min-height: 400px;
    /* Adjust as needed */
    width: 100%;
}

/* Custom Swiper Navigation */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: '' !important;
}

.custom-swiper-button {
    width: 50px !important;
    height: 50px !important;
    background-color: white;
    background-image: none !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-swiper-button:hover {
    background-color: #f8fafc;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

/* Draw Arrow with CSS */
.custom-swiper-button::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #df0037;
    border-right: 3px solid #df0037;
}

.swiper-button-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.swiper-button-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.swiper-button-prev {
    transform: none;
    left: 10px !important;
    /* Default: Inside for mobile */
}

.swiper-button-next {
    right: 10px !important;
    /* Default: Inside for mobile */
}

@media (min-width: 960px) {
    .swiper-button-prev {
        left: -60px !important;
        /* Move outside for larger screens */
    }

    .swiper-button-next {
        right: -60px !important;
        /* Move outside for larger screens */
    }
}

.swiper-pagination {
    bottom: 0px !important;
}

/* Hide navigation buttons when disabled (mySwiper only) */
.mySwiper .custom-swiper-button.swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none;
    cursor: auto;
}

@media (max-width: 768px) {
    html {
        font-size: 0.8rem;
    }

    .container-wide {
        max-width: 1280px;
        margin-inline: auto;
        padding-inline: 10px;
    }

    .container {
        max-width: 1080px;
        margin-inline: auto;
        padding-inline: 20px;
    }
}

/* Hide arrow on the last slide */
.swiper-slide:last-child .step-arrow {
    display: none;
}

/* Step Swiper Button Positioning */
@media (min-width: 1024px) {
    .step-swiper-button-prev {
        left: -50px !important;
    }

    .step-swiper-button-next {
        right: -50px !important;
    }
}

/* Step Swiper Edge Fade Effect */
.step-swiper-mask {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Custom List Bullets */
.custom-list-dot {
    list-style: none !important;
    padding-left: 0.5rem;
}

.custom-list-dot li {
    position: relative;
    padding-left: 1.5em;
}

.custom-list-dot li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0.6em;
    font-size: 0.8em;
    line-height: 1;
}

/* Scroll Animation Base Styles */
.scroll-trigger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-trigger.is-visible {
    opacity: 1;
    transform: translateY(0);
}