/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Questrial", sans-serif;
    --nav-font: "Noto Sans", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #0a0f14;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #0f2943;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #004A99;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #0a0f14;
    /* The default color of the main navmenu links */
    --nav-hover-color: #004A99;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #0a0f14;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #e87532;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #faf9fb;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.header-top {
    padding: 15px 0;
    background-color: #f8f9fa;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 65px;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    margin-left: 15px;
}

.logo-text .text-danger {
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-secondary {
    background: linear-gradient(135deg, #1e5799 0%, #2761c3 100%);
    color: white;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-secondary a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    position: relative;
    transition: all 0.3s;
}

.nav-secondary a:hover {
    color: #ffd700;
}

.nav-secondary a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ffd700;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-secondary a:hover:after {
    width: 100%;
}

.hero-container {
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-form {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    border-top: 4px solid #2761c3;
    transition: transform 0.3s;
}

.search-form:hover {
    transform: translateY(-5px);
}

.search-overlay {
    width: 85%;
    max-width: 1400px;
}

.section-title {
    position: relative;
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    color: black;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #2761c3;
    bottom: 0;
    left: 0;
}

.card {
    margin-bottom: 25px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 25px;
}

.card-header {
    font-weight: bold;
    border-bottom: none;
    background-color: #f8f9fa;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 10px;
}

.container {
    max-width: 1340px;
}

.container-fluid {
    padding-left: 5%;
    padding-right: 5%;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #1e5799 0%, #2761c3 100%);
    border-color: #2761c3;
    color: #fff;
}

.pagination .page-link {
    color: #2761c3;
}

.contact-section {
    margin-top: 40px;
}

.custom-filter-button {
    background: linear-gradient(135deg, #ffcacd 0%, #ffe0e1 100%);
    border: none;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 10px;
}

.custom-filter-button:hover {
    background: linear-gradient(135deg, #BD0912 0%, #d9232a 100%);
    color: white;
    transform: translateY(-2px);
}

.custom-span {
    font-size: 10px;
    font-weight: 600;
    color: #BD0912;
    background-color: #ffffff;
    padding: 3px 6px;
    border-radius: 50%;
    margin-left: 5px;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #2761c3;
    box-shadow: 0 0 0 0.2rem rgba(39, 97, 195, 0.25);
}

.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e8f1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2761c3;
}

.content-item {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.content-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.input-group-text {
    border: none;
}

footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #dee2e6;
}

.contact .section-category {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact .content h2 {
    font-weight: 700;
    line-height: 1.2;
}

.contact .content .lead {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.contact .contact-info .info-item {
    font-size: 1.1rem;
}

.contact .contact-info .info-item i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.contact .contact-info .map-link {
    color: var(--heading-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact .contact-info .map-link i {
    transition: transform 0.3s ease;
}

.contact .contact-info .map-link:hover {
    color: var(--accent-color);
}

.contact .contact-info .map-link:hover i {
    transform: translateX(5px);
}

.contact .contact-form {
    background-color: var(--surface-color);
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
    padding: 0.75rem 1.25rem;
    border-color: #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
    border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .contact-form .btn-submit {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact .contact-form .btn-submit:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-1px);
}

.contact .contact-form .btn-submit:active {
    transform: translateY(0);
}

.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding: 40px 0;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin: 0 5px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer .credits {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

.search-btn,
.reset-btn {
    margin-top: 9px;
    height: 46px;
    white-space: nowrap;
}