
body {
    background-color: #121212;
    color: #d4af37;
    font-family: 'Lato', sans-serif;
}

.navbar {
    background-color: #1e1e1e;
    border-bottom: 2px solid #d4af37;
    padding: 10px 20px;
}

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

.navbar-toggler {
    border-color: #d4af37;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d4af37' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28193, 193, 193, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

h2 {
    font-family: 'Montserrat', sans-serif;
    color: #d4af37;
}

/* Hero Section */
.hero-section {
    background-image: url('../images/hero.jpeg');
    background-size: 100% auto; /* Stretches the image horizontally while maintaining aspect ratio */
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text contrast */
    z-index: 1;
}

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

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #fff;
}

.hero-details {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
}

.hero-description {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.btn-cta {
    background-color: #d4af37;
    color: #121212;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #e5c469;
    color: #121212;
}

/* Slot Cards Section */
.slot-card {
    background-color: #1e1e1e;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #d4af37;
}

#slots-container {
    max-height: 80vh; /* Ensure the container does not exceed 80% of the viewport height */
    overflow-y: auto; /* Allow scrolling if content overflows */
}
.slot-card .card-body {
    padding: 15px;
    text-align: center;
}

.slot-card .card-title {
    font-family: 'Montserrat', sans-serif;
    color: #d4af37;
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.slot-card .card-text {
    color: #ccc;
    font-size: 0.70rem;
}

.slot-card .btn-primary {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #121212;
    font-weight: 700;
}

.slot-card .btn-primary:hover {
    background-color: #e5c469;
    border-color: #e5c469;
    color: #121212;
}
/* Service Section */
.service-card {
    background-color: #1e1e1e;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


/* Awards Section */
.award-card {
    background-color: #1e1e1e;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.award-image, .service-image, .video-wrapper, video {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Ensures the image fits within the container without being cut off */
    border-bottom: 1px solid #d4af37;
    border-radius: 10px 10px 0 0;
    background-color: #1e1e1e; /* Adds a background color to the container */
}
.video-wrapper, video {
    width: 100%;
    height: 400px;
    object-fit: contain; /* Ensures the image fits within the container without being cut off */
    border-bottom: 1px solid #d4af37;
    border-radius: 10px 10px 0 0;
    background-color: #1e1e1e; /* Adds a background color to the container */
}
.card-body {
    padding: 15px;
    text-align: center;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    color: #d4af37;
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.card-text {
    color: #ccc;
    font-size: 1rem;
}

/* Training Videos Section */
.video-card {
    background-color: #1e1e1e;
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.video-wrapper video {
    border-radius: 10px;
    border: 1px solid #d4af37;
}

/* Footer */
.footer {
    background-color: #1e1e1e;
    border-top: 2px solid #d4af37;
    padding: 15px 0;
}

.footer p {
    margin: 0;
    font-size: 14px;
    color: #d4af37;
}

/* About Section */
.about-content {
    max-width: 800px;
    padding: 15px;
    background-color: #2a2a2a;
    border-radius: 10px;
    margin: 20px auto;
}

.about-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ccc;
}

/* Text Colors */
.text-gold {
    color: #d4af37 !important;
}

.bg-dark {
    background-color: #1e1e1e;
}
.award-image {
    width: 100%;
    height: auto;
    max-height: 200px;  /* Max height with auto aspect ratio */
    object-fit: scale-down;  /* Scale down to fit within the max height */
    border-radius: 5px;
}

.min-vh-80 {
    min-height: 80vh;
}

/* Custom styles for FullCalendar */
#calendar {
    max-width: 100%; /* Make the calendar responsive */
    margin: 0 auto; /* Center the calendar */
    background-color: #1e1e1e; /* Black background */
    border: 1px solid #d4af37; /* Gold border */
    padding: 10px;
    border-radius: 8px;
    color: #d4af37; /* Gold text */
    overflow: hidden; /* Prevent any overflow causing scrollbars */
}

/* Adjust height of the calendar to fit the content */
.fc {
    height: auto; /* Let FullCalendar manage height automatically */
    min-height: 500px; /* Optional: Set a minimum height */
}

/* Optional: For larger screens, you can apply different heights */
@media (min-width: 768px) {
    #calendar {
        max-width: 900px; /* Increase the width for larger screens */
    }
}

/* Optional: Limit overflow on calendar items */
.fc-event {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #d4af37; /* Gold event background */
    color: #121212; /* Dark text for events */
}

/* Customize FullCalendar header (Mon, Tue, etc.) */
.fc-col-header-cell-cushion {
    color: #d4af37; /* Gold text for day names */
}

/* Customize FullCalendar header (Month, Year) */
.fc-toolbar-title {
    color: #d4af37; /* Gold text for the month/year title */
}

.fc-button {
    background-color: #d4af37 !important; /* Gold background */
    border: none !important;
    color: #121212 !important; /* Dark text */
}

.fc-button:hover {
    background-color: #e5c469 !important; /* Lighter gold on hover */
}

/* Style the day cells */
.fc-daygrid-day {
    background-color: #1e1e1e; /* Black background for day cells */
    color: #d4af37; /* Gold text */
}

.fc-daygrid-day-number {
    color: #d4af37; /* Gold date numbers */
}

.fc-event, .fc-daygrid-day {
    cursor: pointer;
}
.fc-day-selected {
    background-color: #d4af37 !important; /* Gold background color */
    color: #ffffff !important; /* White text color */
}
.messages {
    padding: 15px;
    list-style-type: none;
    margin: 20px 0;
    background-color: #222; /* Dark background to match the black theme */
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

.messages .error {
    color: #FFD700; /* Gold color for error messages */
    font-weight: bold;
}

.messages .info {
    color: #B8860B; /* Dark golden color for informational messages */
}

.messages .success {
    color: #DAA520; /* A more vibrant golden color for success messages */
}

.messages li {
    padding: 10px;
    border-bottom: 1px solid #333; /* Subtle border to differentiate messages */
}

.messages li:last-child {
    border-bottom: none; /* Remove border from the last message */
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
