/* General Styles */
/* Background setup */
/*body {
    margin: 0;
    background: linear-gradient(135deg, white, #7e581e);
    transition: background 0.1s ease-in-out;
    background-repeat:no-repeat;
}*/


.content {
    padding: 20px;
    color: black;
    font-family: Arial, sans-serif;
}

/* Container box with rounded corners and shadow */
.container-box {
    background-color: rgba(0, 0, 0, 0.9); /* White background with some transparency */
    padding: 20px;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    max-width: 800px;
    margin: 20px auto;
}

.container-2box {
    background-color: transparent; /* White background with some transparency */
    max-width: 1000px;
    margin: 20px auto;
}

.container-box h1{
    color: #ccc;
}

.container-box h2{
    color: #ccc;
}

.container-box p{
    color: #ccc;
}


/* Container box with gradient background */
.gradient-box {
    background: linear-gradient(to bottom, #820000, #063e05); /* Dark purple to black gradient */
    padding: 20px;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    max-width: 800px;
    margin: 20px auto;
    color: white; /* Text color for readability */
}


/* Multiple box layout using Flexbox */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.flex-container .container-box {
    flex: 1 1 calc(50% - 40px); /* Two boxes per row with space between */
    margin: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flex-container .container-box {
        flex: 1 1 100%; /* Full width on small screens */
    }
}

.custom-box-link {
    text-decoration: none; /* Remove underline from the link */
    color: inherit; /* Inherit color to avoid default link color */
}


.container-sbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(129, 110, 110, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adding some shadow */
    max-width:800px;
    color: white; /* Text color */
    transition: transform 0.2s ease-in-out;
}

.container-sbox:hover {
    transform: scale(1.02); /* Slightly enlarge the box on hover */
}

.container-sbox2 {
    display: flex;
    flex-direction: column;  /* Stack elements vertically */

    align-items: center;
    background-color: rgba(129, 110, 110, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adding some shadow */
    max-width:800px;
    color: white; /* Text color */
    transition: transform 0.2s ease-in-out;
}

.container-sbox2:hover {
    transform: scale(1.02); /* Slightly enlarge the box on hover */
}

.box-content {
    flex: 1;
    margin-right: 20px;
}

.box-content h2 {
    margin-top: 0;
    font-size: 24px;
}

.box-content p {
    font-size: 16px;
    line-height: 1.5;
}

.box-image img {
    max-width: 200px; /* Adjust the size of the image */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adding some shadow to the image */
}

@media (max-width: 768px) {
    .custom-box {
        flex-direction: column;
        text-align: center;
    }

    .box-content {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .box-image img {
        max-width: 100%; /* Make image responsive */
    }
}




/*
.navbar {
    display: inline-block;
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1em;
    text-align: center;
    border: none; 
    margin-bottom: 60px;
}

.navbar a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
    display: inline-block;

}

.navbar a:hover {
    background-color: #111010;
    color: whitesmoke;
}*/

.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-brand img {
    height: 50px; /* Adjust the height of the logo */
    margin-right: 120px; /* Space between logo and text */
}
.error {
    color: red;
    font-size: 0.875em;
}

.nav-item {
    display: flex;
    align-items: center; /* Ensure vertical alignment */
}

/* Consistent button appearance */

/* Navbar container */
.navbar {
    display: inline-block;
    position: relative;
    padding: 1em;
    text-align: center;
    border: none;
    margin-bottom: 60px;
    opacity: 60%;
}

/* Navbar on scroll */
.navbar-scrolled {
    opacity: 95% !important; /* White with slight transparency */
    color: black !important; /* Text color when scrolled */
}

.navbar-default {
    opacity: 80% !important; /* Default background color when at the top */
    color: white !important; /* Default text color when at the top */
}

/* Apply Bootstrap button styles to all navbar links */
.navbar a, 
.navbar button {
    color: black;
    text-decoration: none;
    padding: 10px 15px; /* This padding is provided by Bootstrap's .btn class */
    display: inline-block;
    text-align: center;
    border-radius: .25rem; /* Ensure button corners are rounded */
    border: 1px solid transparent; /* Button border */
    transition: background-color 0.15s ease-in-out; /* Smooth hover transition */
}

/* Hover effect similar to Bootstrap */
.navbar a:hover, 
.navbar button:hover {
    background-color: #e2e6ea;
    color: #212529;
    text-decoration: none;
}

/* Ensure hover effect for dropdown items */
.dropdown-menu a {
    background-color: white;
    color: black;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}



/* Align nav items horizontally */
.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin: 0 10px;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    background-color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
    background-color: white;
    color: black;
}

/* Consistent button appearance */





/* Container Styles */
.container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    overflow: visible;
}

/* Heading Styles */
h1, h2 {
    color: #fff;
    text-align: center;
}

/* Flex container for name fields */
.name-container {
    display: flex;
    justify-content: space-between; /* Distribute space between items */
    margin-bottom: 20px; /* Space below the name fields */
}


.hero-section {
    height: 70vh; /* Takes about 2/3 of the viewport height */
    background-size: cover; /* Ensures the image covers the full section */
    background-position: center;
    background-attachment: fixed; /* This keeps the image in place while scrolling */
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Adds a dark transparent overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-buttons a {
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
}
/* Each name field takes half of the container width */
.name-field {
    flex: 1; /* Grow to fill available space */
    margin-right: 10px; /* Space between the fields */
    color: #ccc;
}

/* Remove margin-right from the last field to avoid extra space */
.name-field:last-child {
    margin-right: 0;
}

/* Ensure labels and inputs take full width of their containers */
.name-field label,
.name-field input {
    width: 100%;
}

.custom-select-container {
    margin-top: 2rem; /* Adjust this value as needed */
}

/* General form input styles (reused from previous CSS) */
/* General input styling */
input[type="text"], input[type="password"], input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 4px;
}

/* Optional: If you want a specific background color for all inputs */
input[type="text"], input[type="password"], input[type="email"], textarea {
    background-color: #f9f9f9; /* Light yellowish color */
}


/* Submit Button Styles */
.submit1 {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
}

.submit1:hover {
    background-color: #45a049;
}

.submit2 {
    background-color: #af4c4c;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
}

.submit2:hover{
    background-color: #af4c4c;
}


/* Message Styles */
.message {
    display: none;
    color: red;
    background-color: #fdd; /* Light red background for better readability */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid red;
    border-radius: 5px;
    font-size: 1em;
}

.message.show {
    display: block;
}

.mb-3 {
    color: #ccc;
}

@media (min-width: 1025px) {
    .h-custom {
    height: 100vh !important;
    }
    }
    
.card-registration .select-input.form-control[readonly]:not([disabled]) {
font-size: 1rem;
line-height: 2.15;
padding-left: .75em;
padding-right: .75em;
}

.card-registration .select-arrow {
top: 13px;
}
