.about-section {
    background: white;
    padding: 50px 20px;
    text-align: center;
}

.about-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2rem;
    color: black;
    margin-bottom: 15px;
}

.about-section p {
    font-size: 1.2rem;
    color: black;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .about-section h2 {
        font-size: 1.8rem;
    }
    .about-section p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .about-section {
        padding: 30px 15px;
    }
    .about-section h2 {
        font-size: 1.5rem;
    }
    .about-section p {
        font-size: 0.9rem;
    }
}


/* Full-Screen Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full height */
    overflow: hidden; /* Hide overflow */
}

/* Common Slide Styles */
.slide {
    display: none; /* Hide all slides initially */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-slide img, .video-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the images and videos cover the entire screen */
}

/* Overlay Box for Heading and Description */
.overlay {
    position: absolute;
    top: 30%;
    left: 10%;
    background-color: rgba(27, 27, 27, 0.7); /* White transparent background */
    padding: 20px;
    border-radius: 10px;
    width: 450px;
    text-align: left;
}

.overlay h3 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #ffc107;
}

.overlay p {
    font-size: 18px;
    color: white;
    text-align: justify;
}

/* Show the active slide */
.slide.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .overlay {
        left: 5%;
        width: 80%;
    }
    
    .overlay h3 {
        font-size: 16px;
    }

    .overlay p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .overlay {
        left: 5%;
        width: 90%;
    }

    .overlay h3 {
        font-size: 14px;
    }

    .overlay p {
        font-size: 10px;
    }
}
