body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden; 
    background: #222;
}

.slideshow-container {
    width: 100%;
    height: 100vh; 
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.top-four-container {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 45%;
    display: flex;
    justify-content: space-between;
    gap: 15px; 
    z-index: 5;
}

.img-box {
    flex: 1; 
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden; 
    transition: all 0.3s ease;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(90%);
    transition: transform 0.5s ease;
}

.img-box:hover {
    border-color: #fff;
    transform: translateY(-5px);
}
.img-box:hover img {
    transform: scale(1.1);
}


.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    max-width: 80%;
    text-align: center;
    z-index: 6;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}

.main-text-down {
    top: 75%;
    width: 70%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.slide-content h1 { 
    font-size: 3.5em; 
    margin-bottom: 5px; 
    text-transform: uppercase; 
    font-weight: 800; 
    letter-spacing: 2px;
}
.slide-content h2 { 
    font-size: 1.5em; 
    margin-top: 0; 
    font-weight: 400; 
    color: #eee;
}
.slide-content p { 
    font-size: 1.2em; 
    margin: 20px 0; 
    font-weight: 600;
}

.category-tag {
    background-color: #e91e63;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 15px;
}
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 35px;
    background-color: #4CAF50;
    color: white;
    font-weight: 700;
    border-radius: 30px;
    margin-top: 15px;
    transition: background-color 0.3s, transform 0.2s;
}
.btn:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.fade { animation-name: fade; animation-duration: 1.5s;}
@keyframes fade { from {opacity: .4} to {opacity: 1}}
.dot {
    cursor: pointer; height: 12px; width: 12px; margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%; display: inline-block;
    transition: all 0.4s;
}
.active, .dot:hover { background-color: white; transform: scale(1.3);}

@media (max-width: 768px) {
    .top-four-container {
        height: 35%;
        gap: 5px;
        width: 95%;
    }
    
    .main-text-down {
        top: 70%;
        width: 90%;
        padding: 20px;
    }
    .slide-content h1 { font-size: 2.2em; }
    .slide-content h2 { font-size: 1.1em; }
}