body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F8E1DB;
}

header {
    background-color: #333333;
    color: white;
    padding: 10px 20px;
    text-align: center;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: right;
    gap: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}


/* Header*/
header {
    display: flex;
    flex-direction: column;
    background-color: #D19C97;
    color: black;
    padding: 10px 20px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.logo img {
    height: 70px; /* Increased height */
    width: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between logo and text */
    vertical-align: middle; /* Align with text */
}

.logo h1 {
    display: inline-block; /* Make it inline with the image */
    font-size: 1.5rem;
    margin: 0;
    vertical-align: middle;
    color: black;
}

/* Login Button */
.login-btn {
    margin-left: auto; /* Push it to the right */
}

/* Login Button */
.login-btn a {
    background-color: #ba6a62; /* Initial background color */
    color: white; /* Text color */
    padding: 7px 15px; /* Increased padding for better visibility */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 1rem; /* Adjusted font size */
    font-weight: bold; /* Make the text bold */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.login-btn a:hover {
    background-color: #c2645b; /* Darker background on hover */
    color: white; /* Ensure text remains white on hover */
    transform: scale(1.1); /* Slightly enlarge the button on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for a lifted effect */
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}


/* Navigation Menu */
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

header nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 550;
}


/* Navigation Menu */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 15px;
    border-radius: 5px;
    transition: all 0.3s ease; /* Smooth transition */
}

nav ul li a:hover {
    background-color: white;
    color: #c2645b; /* Change color on hover */
    border: 1px solid #1c1c1c; /* Add border on hover */
}

@media (max-width: 1024px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .logo img {
        height: 60px; /* Adjust logo size */
    }
    .login-btn {
        margin-left: 0;
        margin-top: 10px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show menu button */
    }

    .nav-menu {
        display: none; /* Hide menu initially */
        flex-direction: column;
        background: #D19C97;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust as needed */
        left: 0;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 10px;
    }

    .nav-menu ul li {
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li a {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .nav-menu.active {
        display: flex; /* Show menu when active */
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
    .logo h1 {
        font-size: 1rem;
    }
    .login-btn a {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    nav ul {
        gap: 5px;
    }
    nav ul li a {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* Rolling News Box */
.news-box {
    margin-bottom: 5px;
    margin-top: 5px;
    background-color: #f7e2e1; 
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #333; /* Text color */
    font-size: 1rem;
    border-top: 1px solid #ccc; /* Optional: subtle border */
    border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 1024px) {
    .main-container {
        flex-direction: column; /* Stack sidebar and hero section vertically */
        align-items: center; /* Center align content */
    }

    .categories {
        width: 90%; /* Increase width for better fit */
        min-height: auto; /* Adjust height dynamically */
        max-height: none; /* Remove max-height restriction */
        margin: 10px 0; /* Adjust margin */
    }

    .hero {
        width: 90%; /* Adjust width for smaller screens */
    }

    .slider-container {
        display: flex;
        overflow: hidden;
        width: 100%;
        height: auto;
    }

    .slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media screen and (max-width: 768px) {
    .categories {
        width: 100%; /* Full width on smaller screens */
        padding: 15px;
    }

    .categories h2 {
        font-size: 1.5rem; /* Reduce font size */
    }

    .categories ul li a {
        font-size: 1rem;
        padding: 8px 12px;
    }

    .hero {
        width: 100%; /* Ensure hero section takes full width */
    }

    .prev, .next {
        font-size: 1.5rem; /* Adjust button size */
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .categories {
        padding: 10px;
    }

    .categories h2 {
        font-size: 1.3rem;
    }

    .categories ul li {
        margin: 10px 0;
    }

    .categories ul li a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .hero {
        width: 100%;
    }

    .slider-container {
        height: auto;
    }

    .slide img {
        width: 100%;
        height: auto;
    }

    .prev, .next {
        font-size: 1.2rem; /* Reduce button size */
        padding: 5px;
    }
}

/* Layout */
.main-container {
    display: flex;
}

/* Categories Box */
.categories {
    background-color: #f1eae9; /* Softer light background */
    width: 250px; /* Width remains consistent */
    padding: 20px; /* Add spacing inside */
    border-radius: 15px; /* Slightly more rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
    margin: 20px;
    margin-top: 10px; /* Add spacing around the section */
    min-height: 70vh; /* Consistent height */
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

.categories h2 {
    margin-top: 0;
    font-size: 1.8rem; /* Slightly larger font */
    color: #c2645b; /* Match the hover color */
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #130908; /* Add a bottom border */
    padding-bottom: 10px; /* Space below text */
    margin-bottom: 20px;
}

.categories ul {
    list-style: none; /* Remove default list styling */
    padding: 0;
    width: 100%; /* Ensure links fill the box */
}

.categories ul li {
    margin: 15px 0; /* Space between list items */
}

.categories ul li a {
    display: block; /* Makes the link fill the clickable area */
    text-decoration: none; /* Remove underline */
    color: black; /* Neutral text color */
    font-weight: 600; /* Slightly bolder font */
    font-size: 1.1rem;
    background-color: white; /* Light blue background */
    padding: 10px 15px; /* Padding inside the links */
    border-radius: 8px; /* Rounded corners for links */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.categories ul li a:hover {
    background-color: #d1837c; /* Darker blue on hover */
    color: white; /* White text on hover */
    transform: scale(1.05); /* Slightly enlarge */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    font-weight: bold; /* Slightly bolder on hover */
}

/*sliding-images*/
.hero {
    flex: 1;
    position: relative;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    max-height: 100vh/* Reduce height to fit better on page */
}

.slider-container {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    max-height: 700vh; /* Restrict height for better visibility */
    object-fit: contain; /* Ensures the whole image is visible */
}

.caption {
    position: absolute;
    top: 20%; /* Adjusted to prevent overlap (was 10%) */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: black;
    font-weight: bold;
    z-index: 10;
}

.caption h2 {
    font-size: 2rem;
    margin: 0;
}

.caption p {
    margin: 10px 0;
    font-size: 1.2rem;
}

/*For Tablets & Small Screens (Max width: 1024px) */
@media screen and (max-width: 1024px) {
    .hero {
        /* Reduce height for better fit */
        max-height: 90vh;
        object-fit:cover ;
    }
    .slider-container{
        height: 90vh;
     }
    .slide img {
        max-height: 60vh; /* Reduce image height */
        object-fit: cover; /* Ensures proper scaling */
    }
}

/*For Mobile Screens (Max width: 768px) */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 50vh;
        max-height: 80vh;
        object-fit: cover;
    }
     .slider-container{
        max-height: 80vh;
     }
    .slide img {
        max-height: 50vh; /* Reduce height for mobile */
        object-fit: cover;
    }
}

/*For Extra Small Screens (Max width: 480px) */
@media screen and (max-width: 480px) {
    .hero {
        min-height: 40vh;
        max-height: 70vh;
        object-fit: cover;
    }
    .slider-container{
        max-height: 70vh;
     }
    .caption {
        top: 10%; /* Further adjust for small screens */
    }

    .caption h2 {
        font-size: 1.2rem;
    }

    .caption p {
        font-size: 0.8rem;
    }

    .slide img {
        max-height: 40vh;
        object-fit: cover;
    }
}

/* Default Button Styles */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

button.prev:hover, button.next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

button.prev {
    left: 15px;
}

button.next {
    right: 15px;
}

/* For Tablets & Small Screens (Max width: 1024px) */
@media screen and (max-width: 1024px) {
    button.prev, button.next {
        padding: 8px 12px;
        font-size: 1rem;
        margin-top: 0px;
    }

    button.prev {
        left: 10px;
    }

    button.next {
        right: 10px;
    }
}

/* 📌 For Mobile Screens (Max width: 768px) */
@media screen and (max-width: 768px) {
    button.prev, button.next {
        padding: 6px 10px;
        font-size: 0.9rem;
        background: rgba(0, 0, 0, 0.7); /* Make buttons more visible on mobile */
    }

    button.prev {
        left: 5px;
    }

    button.next {
        right: 5px;
    }
}

/* 📌 For Extra Small Screens (Max width: 480px) */
@media screen and (max-width: 480px) {
    button.prev, button.next {
        padding: 5px 8px;
        font-size: 0.8rem;
        background: rgba(0, 0, 0, 0.9); /* Even darker for better visibility */
    }

    button.prev {
        left: 3px;
    }

    button.next {
        right: 3px;
    }
}

/* About MBTB */
.cont-intro{
    background-color: #f5d0cb;
    height:430px;
    padding: 20px;
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: justify;
}

.cont-intro h2{
    font-size: 35px;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
    text-align: center;
    color:#704214;
}
.cont-intro h3{
    text-align: center;
    font-size: 25px;
    padding: 10px;
}
.cont-intro p{
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
    font-size: 20px;
    margin-top: 50px;
}
.cont-intro h3:last-child{
    margin-bottom: 0;
    margin-top: 10px;
}

/*From Predident Desk */
.precident-intro {
    max-width: 90%;
    margin: 40px auto;
    background-color: #f5d0cb; /* Light background */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center; /* Centers the heading */
}

/* Style the heading */
.precident-intro h2 {
    font-size: 35px;
    font-weight: bold;
    color: #704214;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Flex container for image and text */
.intro1-content {
    display: flex;
    align-items: center;
    text-align: left;
    flex-direction: column;
}

/* Left-side image */
.intro1-image {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}

.intro1-image img {
    max-width: 1000%;
    width: 220px;
    height: auto;
    border-radius: 8px;
}

/* Right-side text */
.intro1-text {
    flex: 2;
    padding-left: 20px;
    text-align: center;
}

.intro1-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: black;
}

@media (max-width: 1024px) {
    .cont-intro {
        height: auto;
       
        padding: 20px;
    }

    .cont-intro p {
        padding-left: 50px;
        padding-right: 50px;
        font-size: 18px;
        margin-top: 30px;
    }

    .precident-intro {
        padding: 20px;
    }

    .intro1-content {
        display: flex;
        flex-direction: row; /* Keep image and text in row */
        align-items: center;
        text-align: left;
    }

    .intro1-image {
        flex: 1;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .intro1-image img {
        width: 220px; /* Keep the original size */
        height: auto;
        border-radius: 8px;
    }

    .intro1-text {
        flex: 2;
        padding-left: 20px;
        text-align: left; /* Keep text left-aligned */
    }
}

@media (max-width: 768px) {
    .cont-intro {
        margin: 20px;
        padding: 15px;
        height: auto;
    }

    .cont-intro h2 {
        font-size: 30px;
    }

    .cont-intro p {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 16px;
        margin-top: 20px;
    }

    .precident-intro h2 {
        font-size: 30px;
    }

    .intro1-content {
        flex-direction: column; /* Stack image and text on smaller screens */
        text-align: center;
    }

    .intro1-image img {
        width: 220px; /* Keep the original size */
        height: auto;
    }

    .intro1-text {
        padding: 10px;
        text-align: center;
    }

    .intro1-text p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .cont-intro {
        margin: 15px;
        padding: 10px;
    }

    .cont-intro h2 {
        font-size: 25px;
    }

    .cont-intro p {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
        margin-top: 15px;
    }

    .precident-intro {
        padding: 15px;
    }

    .precident-intro h2 {
        font-size: 25px;
    }

    .intro1-content {
        flex-direction: column;
        text-align: center;
    }

    .intro1-image img {
        width: 220px; /* Keep the original size */
        height: auto;
    }

    .intro1-text {
        padding: 5px;
    }

    .intro1-text p {
        font-size: 0.9em;
    }
}



/* Video Section Styling */
 .video {
    background-color: #fbc7c0;
    height:450px;
    padding: 20px;
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: justify;
    
}

.video h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color:#704214;
    text-align: center;
}

/* Swiper Container */
.swiper {
    width: 90%;
    max-width: 1500px;
    padding-bottom: 40px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box {
    width: 350px;
    height: 300px;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box iframe {
    width: 100%;
    height: 100%;
}

/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    position: absolute; /* Position buttons absolutely */
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px; 
    border-radius: 50%;
    font-size: 14px; 
    transition: 0.3s;
    width: 35px;
    height: 35px;
}

.swiper-button-prev {
    left: -40px; /* Adjust left position to move outside */
}

.swiper-button-next {
    right: -40px; /* Adjust right position to move outside */
}
.video-section {
    margin-top: 50px;
    text-align: center;
}

.video-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.video-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.video-item {
    width: 48%;
    margin-bottom: 30px;
    padding: 10px; 
    border: 1px solid #ccc;
    border-radius: 5px;
}

@media screen and (max-width: 768px) { 
    .video-item {
        width: 100%;
    }
}

.video-box {
    width: 100%; 
    height: 300px; 
    position: relative; 
}

.video-box iframe {
    width: 100%;
    height: 100%;
}

/* Certification Section */
.certification-intro {
    display: flex;
    align-items: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 40px auto;
    background-color: #f5d0cb;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    gap: 20px;
}

.certification-intro h2 {
    font-size: 32px;
    font-weight: bold;
    color: #704214;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.intro-image {
    flex: 1;
    text-align: center;
}

.intro-image img {
    max-width: 100%;
    width: 300px;
    border-radius: 8px;
}

.intro-content {
    flex: 2;
    padding: 0 20px;
}

.intro-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: black;
}

/* ✅ Media Query for Tablets (≤768px) */
@media screen and (max-width: 768px) {
    .certification-intro {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .intro-content {
        padding: 20px 10px;
    }

    .intro-image img {
        width: 250px;
    }
}

/* ✅ Media Query for Mobile Phones (≤480px) */
@media screen and (max-width: 480px) {
    .certification-intro {
        padding: 20px;
    }

    .intro-content p {
        font-size: 1em;
        line-height: 1.4;
    }

    .intro-image img {
        width: 200px;
    }
}


/* Center the whole container of cards on the page */
.main-card {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
}

.cards {
    width: 250px; /* Fixed width */
    height: 400px; /* Fixed height for uniformity */
    background-color: #f5d0cb;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.cards:hover {
    box-shadow: 2px 2px 5px black;
}

/* Image container with fixed height */
.c-image {
    width: 100%;
    height: 150px; /* Fixed height for uniformity */
    overflow: hidden; /* Ensures image does not stretch */
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the container without distortion */
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

/* Title styling */
.c-title h1 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px; /* Reduce gap */
}

/* Adjust description to ensure uniform spacing */
.c-des {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ensures uniform spacing */
    justify-content: space-between; /* Distributes content evenly */
    padding: 10px 0;
    width: 90%;
}

/* Button styling */
.c-button {
    width: 80%;
    background-color: #c2645b;
    border: 1px solid black;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    text-align: center;
    align-self: center; /* Ensures button stays centered */
    font-size: 15px;
}

.c-button:hover {
    background-color: #d35549;
    transition: 0.3s;
}

.course-box {
    width: fit-content;
    max-width: 100%;
    font-size: 18px;
    color: #704214;
    background-color: #f5d0cb;
    height: 70px;
    padding: 20px 40px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 10px;
}

/* Events Section */
.events {
    margin: 50px auto; /* Center the section */
    text-align: center;
    max-width: 1600px; /* Adjust max width for better centering */
}

.event-box {
    width: fit-content; /* Adjust width according to content */
    max-width: 100%; /* Prevent it from being too wide */
    font-size: 18px;
    color: #704214;
    background-color: #f5d0cb;
    height: 70px;
    padding: 20px 40px;
    margin: 20px auto; /* Center horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: 10px; /* Optional for rounded corners */
}

/* Event Container */
.event-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ensure 3 events per row */
.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
    margin-bottom: 30px; /* Add space between rows */
}

.row:last-child {
    margin-bottom: 0;
}

/* Event Card */
.event {
    width: 100%;
    max-width: 380px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 10px rgba(24, 24, 24, 0.2);
}

/* Image Styling */
.event img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Event Details */
.event-details {
    padding: 15px;
}

.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.event-details p {
    font-size: 0.9rem;
    color: black;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .row {
        grid-template-columns: repeat(2, 1fr); /* 2 events per row for tablets */
    }
}

@media (max-width: 768px) {
    .row {
        grid-template-columns: repeat(1, 1fr); /* 1 event per row for mobile */
    }
}


.documents {
    background-color: #fbc7c0;
    height: 450px;
    padding: 20px;
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: justify;
}

.documents h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #704214;
    text-align: center;
}

.swiper {
    width: 90%;
    max-width: 1500px;
    padding-bottom: 40px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.document-box {
    width: 350px;
    height: 300px;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.document-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: white !important;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}


/* Media Query for Responsiveness */
@media screen and (max-width: 768px) {
    .document-box {
        width: 250px;
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .document-box {
        width: 200px;
        height: 150px;
    }
}

/* Footer */
.footer {
    margin-top: 30px;
    background-color: #f1eae9; /* Match the overall theme */
    padding: 40px 20px; /* Adjust padding for spacing */
    color: black;
    text-align: center;
    height: auto; /* Remove fixed height for flexibility */
}

.footer .container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between; /* Space out columns */
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto; /* Center align footer content */
}

/* Footer Column */
.footer-col {
    flex: 1 1 250px; /* Flexible layout */
    padding: 0 15px; /* Space between columns */
    min-width: 250px;
    text-align: left;
    margin-bottom: 20px; /* Add space below each column */
}

.footer-col h4 {
    font-size: 20px;
    color: #1c1c1c;
    text-transform: capitalize;
    margin-bottom: 15px; /* Reduced spacing */
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background-color: #1c1c1c;
    height: 2px;
    width: 50px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 15px;
    color: #1c1c1c;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #353333;
    transform: translateX(5px);
}

/* Social Links */
.footer-col .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-col .social-links a {
    display: inline-block;
    height: 45px;
    width: 45px;
    background-color: #d78982;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    color: #1c1c1c;
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    background-color: #c2645b;
    color: black;
}

/* ✅ Media Query for Tablets (≤1024px) */
@media (max-width: 1024px) {
    .footer .container {
        justify-content: center;
        text-align: center;
    }

    .footer-col {
        flex: 1 1 45%;
        min-width: 300px;
        text-align: center;
    }
}

/* ✅ Media Query for Mobile (≤768px) */
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        flex: 1 1 100%;
        padding: 0;
    }
}

/* ✅ Media Query for Small Mobile (≤480px) */
@media (max-width: 480px) {
    .footer {
        padding: 30px 10px;
    }

    .footer-col h4 {
        font-size: 18px;
    }

    .footer-col ul li a {
        font-size: 14px;
    }

    .footer-col .social-links a {
        height: 40px;
        width: 40px;
        line-height: 40px;
        font-size: 14px;
    }
}
