/* Custom styles based on inspiration.pdf */
:root {
    --primary-blue: #0099ff;
    --secondary-blue: #003366;
    --accent-blue: #00d2ff;
    --text-dark: #2c3e50;
    --white: #ffffff;
    --light-gray: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    flex: 1;
    min-width: 0;
    margin-right: 15px;
    overflow: hidden;
    order: 1;
}

.navbar-toggler {
    flex-shrink: 0;
    order: 2;
}

.navbar-collapse {
    flex-basis: 100%;
    order: 3;
}

.navbar-brand img {
    height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

/* Only apply shrinking effect on desktop */
@media (min-width: 992px) {
    .navbar.scrolled {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 50px;
    }
}

.hero-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 500px;
    color: var(--white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../assets/images/test_hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-section h1 {
    letter-spacing: -0.5px;
}

.hero-section h1 sup {
    font-size: 0.5em;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-header-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.date-item {
    border-bottom: 1px dotted #dee2e6;
    padding: 10px 0;
}

.date-item:last-child {
    border-bottom: none;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.footer {
    background-color: var(--light-gray);
    padding: 50px 0;
    border-top: 4px solid var(--primary-blue);
}

.logo-container img {
    max-height: 50px;
    margin-left: 20px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.logo-container img:hover {
    filter: grayscale(0%);
}

.btn-warning {
    background-color: #ffcc00;
    border-color: #ffcc00;
    color: #003366;
    font-weight: 700;
}

.btn-warning:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

/* Center intro buttons on mobile */
@media (max-width: 991px) {
    .intro-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left; /* Keep text left-aligned */
    }
    .intro-section .btn {
        margin-top: 1.5rem !important;
    }
}

/* Fix button stacking on mobile */
@media (max-width: 576px) {
    .hero-content .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0 !important;
    }
}
