:root {
    --primary: #1e4151;
    --secondary: #999999;
    --light: #FFF;
    --dark: #111111;
    --dark-blue: #0A2463;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

h4, h5, h6,
.h4, .h5, .h6 {
    font-weight: 500 !important;
}

/* Privacy Modal Styles */
.privacy-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
}

.privacy-container {
    max-height: 60vh;
    overflow-y: auto;
}

a {
    color: #1E4151;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.btn {
    font-weight: 500;
    transition: all 0.3s ease;
    will-change: transform;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-warning,
.btn.btn-warning,
button.btn-warning,
a.btn-warning,
.bg-dark-blue .btn-warning,
.bg-dark-blue .btn.btn-warning {
    background-color: #FF6B00 !important;
    border-color: #FF6B00 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-warning:hover,
button.btn-warning:hover,
a.btn-warning:hover {
    background-color: #e55a00 !important;
    border-color: #e55a00 !important;
    color: white !important;
    transform: scale(1.05);
}

.navbar {
    background-color: #1E4151 !important;
    backdrop-filter: blur(10px);
    will-change: transform;
}

.navbar.sticky-top {
    top: 0;
    transition: 0.5s;
}

.navbar .navbar-brand {
    height: 75px;
    color: #fbf7e9;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: white;
    font-weight: 500;
    outline: none;
    display: block;
    visibility: visible;
    opacity: 1;
    text-decoration: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.navbar a.nav-link,
.navbar .nav-item a {
    color: white;
    text-decoration: none;
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item {
    color: #333 !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: #000 !important;
    background-color: #f8f9fa !important;
}

.wrapper {
    margin: 10vh;
}

.card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 20px;
    min-height: 325px;
    height: 600px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.card-meta {
    color: #1e4151;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

.bg-dark-blue h2,
.bg-dark-blue p,
.bg-dark-blue h5 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: inherit;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        color: white;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #fbf7e9;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
        color: #fbf7e9;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
        color: #fbf7e9;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}