.main {
    height: 80vh;
    width: 100%;
  }

.wrapper,
.slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    overflow: hidden;
}

.slide::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.slide .image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.slide .image-data {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: calc(100% - 40px); 
    text-align: left; 
    z-index: 100;
    box-sizing: border-box; 
}

.image-data span.text {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

.image-data h2 {
    font-size: 45px;
    font-weight: 600;
    color: #fff;
    margin-top: 10px;
}

a.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    color: #333;
    background: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-top: 25px;
    transition: all 0.3s ease;
}

a.button:hover {
    color: #fff;
    background-color: #181444;
}

.nav-btn {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

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

.swiper-button-prev {
    left: 50px;
}

.nav-btn::before,
.nav-btn::after {
    font-size: 25px;
    color: #fff;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto; 
    text-align: center; 
    z-index: 100;
    display: flex;
    justify-content: center;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 7.5px !important;
    height: 7.5px !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    transition: background 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important; 
    width: 10px !important;
    height: 10px !important;
}

@media (min-width: 1200px) {
    .image-data {
        font-size: 14px;
        padding: 0 20px;
        text-align: left;
    }
    .image-data h2 {
        font-size: 45px;
    }
    .image-data span.text {
        font-size: 16px;
    }
    a.button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .image-data h2 {
        font-size: 35px;
    }
    .image-data span.text {
        font-size: 16px;
    }
    a.button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .image-data h2 {
        font-size: 25px;
    }
    .image-data span.text {
        font-size: 16px;
    }
    a.button {
        padding: 6px 12px;
        font-size: 12px;
    }
}