body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Header styles - Responsive */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
}

.logo img {
    height: 40px;
    padding-left: 80px;
}

/* Tooltip text */
.logo .tooltip-text {
    visibility: hidden;
    width: 350px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: -35%; /* Position above the logo */
    left: 10%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show tooltip on hover */
.logo:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


.nav-menu {
    display: flex;
    flex-wrap: wrap; /* Allow links to wrap */
    gap: 20px; /* Reduced gap for smaller screens */
    justify-content: center; /* Center links on smaller screens */
    padding-right: 80px;
    text-transform: uppercase;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-menu a:hover {
    text-decoration-line: underline;
}

/* Background container */
.background-container {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 50px);
    width: 100%;
    /*background-size: cover;
    background-position: center;
    transform: translate3d(0, 0, 0);
    transition: none;
    transition: background-image 1s ease-in-out;*/

    /* Make sure there are no other transitions */
}

.background-image { /* Style for both background images */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease; /* For smooth fading if needed */
}

.background-image.current {
    opacity: 1; /* Initially visible */
}

.background-image.next {
    opacity: 0; /* Initially hidden */
}


/* Keyframes for sliding animation */
@keyframes slide-out-left {
    to {
        transform: translateX(-100%);
        opacity: 0.3;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Overlay - Responsive */
.overlay {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px; /* Reduced padding */
    border-radius: 10px;
    color: white;
    text-align: left;
    max-width: 30%; /* Occupy most of the screen width */
    width: auto;
    transform: none;
    box-sizing: border-box; /* Include padding and border in width calculation */
}

.overlay h1 {
    font-size: 20px; /* Smaller heading */
    text-transform: uppercase;
    margin: 0 0 5px;
    color: #f0f64e;
}

.overlay p {
    font-size: 14px; /* Smaller paragraph text */
    margin: 0 0 10px;
}

.overlay button {
    font-size: 14px; /* Smaller button text */
    padding: 8px 16px; /* Smaller button padding */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Indicate clickable */
    background-color: rgba(246, 243, 85, 0.45);
    transition: background-color 0.3s ease; /* Smooth hover effect */
    font-family: sans-serif; /* Use a clean font */
    text-transform: uppercase; /* Optional: All caps */
    letter-spacing: 1px; /* Optional: Add letter spacing */
    box-shadow: 2px 2px 5px rgba(2, 2, 29, 0.78);
}
.overlay button:hover {
    background-color: #f4ec47; /* Darker blue on hover */
}
.overlay button:active {
     background-color: #c52003; /* Even darker blue on click */
     box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Slightly smaller shadow on click */
     transform: translateY(1px); /* Optional: Slight move on click */
 }

/* Arrows - Responsive */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px; /* Smaller arrows */
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px; /* Smaller padding */
    border-radius: 50%;
    user-select: none;
    transition: background 0.3s ease;
    z-index: 10; /* Ensure arrows are above the overlay */
}

.arrow.left {
    left: 10px; /* Closer to the edge */
}

.arrow.right {
    right: 10px; /* Closer to the edge */
}

/* Main content - Responsive */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh; /* Full viewport height */
    background: #f9f9f9;
    color: #333;
    padding: 1px 10px;
    text-align: left;
}

.main-content .content-wrapper {
    max-width: 800px;
    width: 100%;
}

.main-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.main-content p, .main-content ul {
    font-size: 14px;
    line-height: 1.5;
}

.main-content ul {
    padding-left: 20px;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    .overlay {
        font-size: 2.5vw; /* Use viewport width for responsive font size */
        padding: 10px;
    }

    .overlay h1 { font-size: 4vw; } /* Responsive font size for h1 */
    .overlay p { font-size: 2.5vw; } /* Responsive font size for paragraphs */
    .overlay button { font-size: 2.5vw; padding: 6px 12px; } /* Responsive font size for buttons */

    .arrow { font-size: 5vw; padding: 6px; } /* Responsive font size for arrows */

    .main-content h2 { font-size: 4.5vw; } /* Responsive font size for h2 */
    .main-content p, .main-content ul { font-size: 2.5vw; } /* Responsive font size for text */

    .banner {
        flex-direction: column; /* Stack sections vertically on smaller screens */
        height: auto; /* Adjust height as needed */
    }
    .banner-section {
        flex-basis: 100%; /* Each section takes full width */
        margin: 5px 0; /* Add some vertical margin */
        font-size: clamp(6px, 3vw, 10px); /* Adjust values as needed */
    }
    .banner-section a {
        font-size: 3vw; /* Adjust based on viewport width */
    }
    .banner-section p {
        font-size: 3vw; /* Adjust based on viewport width */
    }
    .banner-section img {
        max-width: 24px;
        height: auto;
    }

    .banner-section +.banner-section {
        margin-left: 0; /* Remove horizontal margin */
    }
    .span6 {
        flex: 0 0 100%; /* Each column takes full width on small screens */
    }
}

.banner {
    display: flex;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 5px;
    position: fixed;
    bottom: 0;
    max-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

.banner-section {
    flex-basis: calc(100% / 3);
    text-align: center;
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center;
}
.banner-section img {
    max-width: 100%;
    max-height: 24px; /* Adjust this to control the image height */
    height: auto;
    margin-bottom: 10px;
}

.banner-section a {
    color: white;
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    margin-left: 10px;
    color: white; /* Example icon color */
    font-size: 20px; /* Example icon size */
}

#imgcontain{
    max-height: 40px;
    padding-top: 18px;
    overflow: hidden;
}

/*--------------------------- use span for columns -------------------*/

.container {
    position: relative;
    z-index: 1;
    width: 1170px;
}

.row {
    margin-left: -30px;
}
.row:before,
.row:after {
    display: table;
    content: "";
    line-height: 0;
}
.row:after {
    clear: both;
}

.row h2 {
    font-size: 28px;
    text-align: center;
}

[class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
}
.span12 {
    width: 1170px;
}
.span11 {
    width: 1070px;
}
.span10 {
    width: 970px;
}
.span9 {
    width: 870px;
}
.span8 {
    width: 770px;
}
.span7 {
    width: 670px;
}
.span6 {
    width: 570px;
}
.span5 {
    width: 470px;
}
.span4 {
    width: 370px;
}
.span3 {
    width: 270px;
}
.span2 {
    width: 170px;
}
.span1 {
    width: 70px;
}

.imgcontainer {
    overflow: hidden;
    width: auto;
    height: auto;
}
.imgcontainer img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.cont_info {
    position: relative;
    display: block;
    padding: 0 20px 10px;
}

.pad_3 {
    padding-top: 36px!important;
    padding-bottom: 44px!important;
}

