/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin-top: 56px; 
}

a {
    color: #ffcc00; 
}

a:hover, a:focus {
    color: #e6b800; 
}

/* Utility Classes */
small {
    font-size: 0.7em;
}

/* Header Styles */
header {
    position: relative;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(10px); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    padding: 50px;
}

/* Navbar Styles */
.navbar {
    background-color: #214300;
}

.navbar-brand, .nav-link {
    color: #ffffff !important;
}

.navbar-brand .logo {
    height: 40px;
    margin-right: 10px;
}

.nav-link.active {
    color: #ffcc00 !important;
}

/* Section Styles */
section {
    background-color: #f4f4f4;
    color: #214300; 
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

section.bg-dark {
    background-color: #212529 !important; 
    color: #ffffff;
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0; 
    background-size: cover; 
    background-position: center;
}

/* Footer Styles */
footer {    
    color: #ffffff;
}

/* Button Styles */
.btn-primary {
    background-color: #ffcc00;
    border-color: #ffcc00;
}

.btn-primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

/* Heading Styles */
h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #214300;
    text-transform: uppercase;
    margin-bottom: 5rem;
    border-bottom: 2px solid #ffcc00;
    display: inline-block; 
    padding-bottom: 0.5rem;
}

.bg-dark h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 5rem;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* Animation Styles */
.animate-section,
.animate-hero-text,
.animate-element {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-hero-text {
    transition: opacity 1.2s ease-out, transform 1.2s ease-out, scale 1.2s ease-out; 
}

.animate-section.visible,
.animate-hero-text.visible,
.animate-element.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Back to Top Button Styles */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    background-color: #ffcc00;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 24px;
    color: #214300;
    cursor: pointer;
}

#backToTop:hover {
    background-color: #e6b800;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
    .carousel-item .col-lg-4 {
        max-width: 100%;
    }
}

/* Carousel Styles */
.carousel-item {
    display: flex;
    justify-content: center;
}
.carousel-item .col-lg-4 {
    flex: 1;
    max-width: 33.3333%;
}

/* Modal Styles */
.modal-content {
    /*background-color: #212529;*/ /* Dark background for modal */
    color: #000000; /* White text for modal */
}

.modal-header, .modal-footer {
    border-color: #ffcc00; /* Border color for header and footer */
}

.modal-title {
    color: #ffcc00; /* Title color */
}

.btn-close {
    filter: invert(1); /* Invert close button color */
}

/* Center modal on screen */
.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}