html,
body {
    height: 100vh;
    margin: 0;
    width: 100vw;
    /* overflow-x: hidden; */
    font-family: Plus Jakarta Sans, sans-serif;
}

/* Basic Styles */
body {
    font-family: Plus Jakarta Sans, sans-serif;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

/* Header Styling */
header {
    background-color: white;
    color: black;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Active link style */
.nav-links a.active {
    color: #344b9d; /* Blue color for active page */
}

/* Style for non-active links */
.nav-links a.inactive {
    color: #91949f; /* Grey color for non-active links */
}

/* Style for links on hover */
.nav-links a:hover {
    color: #344b9d; /* White color on hover */
}

/* Segment wrapper */
.segment {
    position: relative;
    width: 100%;
}

/* Background image */
.segment img.segment-image {
    width: 100%;
    height: auto; /* Maintains the image's aspect ratio */
    display: block;
    pointer-events: none;
}

/* Content overlay */
.segment .content {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    border-radius: 10px;
    text-align: center;
}

/* Banner Image Styling */
.segment .content img {
    max-width: 100%; /* Makes sure the image doesn't overflow */
    height: auto; /* Maintains aspect ratio */
    pointer-events: none;
}

/* Text Sections */
.segment .content .text-left {
    width: 50%; /* Occupy half of the segment width */
    padding-right: 10px; /* Add spacing between title and description */
    text-align: justify;
}

.segment .content .text-right {
    width: 50%; /* Occupy half of the segment width */
    padding-left: 1rem; /* Add spacing between title and description */
    text-align: justify;
    position: relative;
    right: 0;
}

.segment .container-image {
    background: #0093cd;
    opacity: 0.8;
}

/* Container for the buttons */
.button-container {
    display: flex;
    flex-wrap: wrap; /* Allows buttons to wrap to the next line when necessary */
    gap: 1rem; /* Add some space between buttons */
}

/* Remove underline from button links */
.button-container a {
    text-decoration: none; /* Removes underline */
}

/* Custom button */
.custom-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: white;
    color: black;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    margin: 1rem;
    gap: 1rem;
    min-height: 490px;
}

/* Hover effect */
.custom-button:hover {
    transform: translateY(-5px); /* Float effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

/* Background Image */
.button-background {
    position: absolute; /* Make sure the foreground image is above */
    z-index: 1; /* Put it above the background */
    width: 50%; /* Set image size */
    height: auto;
    margin-right: 1vw; /* Space between the image and text */
}

/* Foreground Image */
.button-icon {
    position: relative; /* Make sure the foreground image is above */
    z-index: 2; /* Put it above the background */
    height: 250px;
    max-width: 100%;
}

/* Text Container */
.button-text {
    display: flex;
    flex-direction: column; /* Align text vertically */
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    color: #4d4d4d;
    text-align: center;
    gap: 0.5rem;
}

/* Title Styling */
.button-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

/* Subtitle Styling */
.button-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 5px 0 0 0;
}

/* Description Styling */
.button-description {
    font-size: 1rem;
    font-weight: 1000;
    margin: 5px 0 0 0;
    color: #3859bd; /* Light gray for description */
}

.header-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.language-toggle a {
    color: #91949f;
    text-decoration: none;
    font-size: 1rem;
}

.language-toggle a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #20294b;
    color: white;
    text-align: center;
    padding: 10px;
    gap: 0px;
    border: 1px 0px 0px 0px;
    opacity: 0px;
    bottom: 0;
}

/* Navigation Links Container */
.nav-links-footer {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Centers the content vertically */
    margin: 20px 0;
}

.footer-social {
    display: flex;
    justify-content: center; /* Centers the icons horizontally */
    align-items: center; /* Centers the icons vertically */
    gap: 40px; /* Adds a 40px gap between icons */
    margin: 40px 0; /* Optional: Adds spacing around the social media section */
}

.footer-social a img {
    width: 24px; /* Adjust icon size */
    transition: transform 0.2s ease; /* Adds a hover effect transition */
}

.logo img {
    width: 87px;
    height: 56px;
    margin-left: 50%;
}

.nav-links ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
    margin-bottom: 0;
}

.nav-links-footer ul {
    list-style: none; /* Removes bullets */
    display: flex; /* Aligns items in a single row */
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 3rem; /* Adds spacing between items */
}

.nav-links ul li {
    text-align: center;
}

/* Footer Navigation Link Items */
.nav-links-footer ul li {
    position: relative;
    text-align: center;
}

.nav-links ul a {
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 25px;
}

.nav-links ul a.inactive {
    font-weight: 500;
}

.nav-links-footer ul li a {
    text-decoration: none; /* Removes underline */
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 0.875rem;
    font-weight: 500; /* Bold text */
    color: white; /* Default text color */
    text-align: center;
}

/* Add Separator Line */
.nav-links-footer ul li:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -20px; /* Adjust spacing for the separator */
    width: 1px;
    height: 18px;
    background-color: #91949f; /* Grey color for the line */
    transform: translateY(-50%);
}

.footer-separator {
    width: 95%; /* Exact width as specified */
    height: 0; /* No height since it's a border */
    margin: 20px auto; /* Center the line and add spacing above and below */
    border-top: 1px solid #91949f; /* 1px solid border for the line */
    opacity: 1; /* Fully visible */
}

.footer-copyright {
    font-family: Plus Jakarta Sans, sans-serif; /* Font family */
    font-size: 1rem; /* Font size */
    font-weight: 400; /* Font weight */
    line-height: 19px; /* Line height */
    letter-spacing: 0.004em; /* Letter spacing */
    text-align: center; /* Center-align text */
    margin: 10px 0; /* Optional: Adds spacing above and below the text */
    color: #ffffff; /* Optional: Adds a subtle gray color to the text */
}

.container-fluid {
    padding: 0;
}

.about-us-card {
    background: #059568;
    width: 50%;
    outline: 2rem solid #f0faff;
    line-height: 32px;
    font-weight: 400px;
}
.about-us-card.left-side {
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
}

.about-us-card.right-side {
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
}
.home-segment {
    height: 440px;
}
.home-subsegment {
    position: absolute;
    bottom: 0;
}
@media (max-width: 480px) {
    .about-us-card {
        background: #059568;
        width: 100%;
        line-height: 32px;
        font-weight: 400px;
        outline: none;
        margin-bottom: 1rem;
    }
    .about-us-card.left-side {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .about-us-card.right-side {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .home-segment {
        height: auto;
    }
    .home-subsegment {
        position: unset;
        bottom: none;
    }
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.banner-card {
    transform: translateX(-100%); /* Start off-screen to the left */
    animation: slideIn 1s ease-out forwards; /* Apply the animation */
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%); /* Start off-screen */
    }
    100% {
        transform: translateX(0); /* End at the final position */
    }
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #344b9d;
    font-weight: 800;
}
.nav-link {
    color: #91949f;
}

.lang {
    color: #91949f;
    font-weight: 200;
}

.lang.active {
    color: #344b9d;
    font-weight: 1000;
}

.plus-jakarta-sans-extrabold {
    font-family: "Plus Jakarta Sans", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.form-control {
    color: #4d4d4d;
}
.form-control::placeholder {
    color: #888888;
}
.offcanvas.offcanvas-end {
    width: 50vw;
}
.section-padding {
    padding: 3rem;
}
.font-title-size{
    font-size: 3rem;
}
@media (max-width: 480px) {
    main {
        margin-top: 82px;
    }
    .section-padding {
        padding: 24px;
    }
    .font-title-size{
        font-size: 24px;
    }
}
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
