body {
    padding: 0;
    overflow-x: hidden;
    font-family: "Merriweather", serif;
}

h5 {
    font-size: 1.5em;
}

a {
    color: #d9edeb !important;
}
.navbar {
    border-bottom: #ffffff 1px solid;
}
.nav-link {
    color: #d9edeb !important;
}

.nav-link:hover {
    color: #ef4047 !important;
    transition: color 0.3s ease;
}

.navbar-dark .bg-dark {
    background-color: #003300 !important;
}

.page-footer {
    max-height: fit-content;
    padding-left: 10vw;
    padding-right: 10vw;
}
.pt-50 {
    padding-top: 50px;
}

.select-search {
    border: 2px solid black;
}

.xsmall {
    font-size: 0.6em;
}

.carousel-caption {
    bottom: 5% !important;
}

.footer-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-content-brand {
    padding: 1vw;
    font-family: "Merriweather", serif;
    width: 30%;
}

.nav-social {
    margin-top: -10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.socials {
    display: flex;
    flex-direction: row;
    font-size: 1.5em;
    gap: 1em;
    padding-top: 0.75em;
}

.socials .fa {
    color: #e9ede9 !important;
    text-decoration: none;
}

.socials .fa:hover {
    color: #ef4047 !important;
    transition: color 0.3s ease;
}

.footer-content {
    padding: 1vw;
    color: #e9ede9 !important;
    flex: 1;
}

.footer-content .logo {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.footer-content svg {
    width: 1.2em;
    height: 1.2em;
    fill: lightgray;
}

.footer-content-row a {
    color: #e9ede9 !important;
    text-decoration: none;
}

.footer-content p {
    color: #e9ede9 !important;
    text-decoration: none;
}

.footer-p {
    color: #e9ede9 !important;
    text-decoration: none;
    font-size: 1.2em;
}

.footer-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* optional, ensures it stays above other elements */
}

.footer-content-row a:hover {
    color: #ef4047 !important;
    transition: color 0.3s ease;
}

/* Universal box model reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Header and Footer Styling */
header,
footer {
    padding: 0.8rem;
    max-height: 20vh;
    position: relative;
    z-index: 2;
}

.first-container {
    display: block;
    clear: both;
    margin-top: 10px;
}

.icon-25 {
    width: 25px;
    height: 25px;
}

.icon-50 {
    width: 50px;
    height: 50px;
}

.icon-75 {
    width: 75px;
    height: 75px;
}
.mb-0 {
    margin-bottom: 0;
}
.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-30 {
    margin-top: 30px;
}

.carousel,
.carousel-inner {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
}

/* Carousel Container Styling */
.carousel-container {
    position: relative;
    z-index: 1;
    height: 500px;
    overflow: hidden;
    margin-top: 80px;
    /* Push content down on larger screens */
}

.carousel-item img {
    width: 100vw;
    height: 500px; /* Set your desired height */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    position: relative;
}

.navbar {
    vertical-align: middle !important;
}

/* Custom Navbar Link Styling */
.navbar-nav .nav-link {
    font-size: 1.2rem;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    header,
    footer {
        padding: 0.3rem;
    }

    .carousel-container {
        height: 25vh;
        /* 25% height on mobile */
        margin-top: 105px;
        /* Push content down further on mobile */
        overflow: scroll;
    }
}

.hero-section {
    padding: 60px 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-section .btn {
    margin-bottom: 30px;
}

.badge-section {
    position: relative;
    display: inline-block;
}

.badge-section img {
    max-width: 300px;
    margin: 10px;
}

.btn-primary {
    background-color: #5098d2 !important;
    border-color: #357ab8;
    color: #fff !important;
}

.btn-secondary {
    background-color: #666 !important;
    border-color: #7d8290;
    color: #fff !important;
}

.btn-secondary:hover,
.btn-primary:focus {
    background-color: #666 !important;
    border-color: #333;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #004f9f;
    border-color: #5098d2;
    color: #fff;
}

.text-white {
    color: #fff !important;
}

.card-img-top.equal-img {
    height: 120px;
    object-fit: contain;
    padding-top: 16px;
    padding-bottom: 16px;
    background: #f8f9fa;
}
