/*  GLOBAL  */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/*  NAVBAR (Frosted Glass)  */
.navbar-public {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.6) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3px;
}

.navbar-brand {
    padding: 5px;
}

/* Logo image */
.navbar-brand img {
    height: 55px;
    width: auto;
}

/* Buttons */
.colby-btn-primary {
    background-color: #003A7D;
    color: white;
    border-radius: 20px;
    padding: 8px 20px;
    border: none;
}

.colby-btn-primary:hover {
    background-color: #002A5C;
}

.colby-btn-outline {
    border-radius: 20px;
    padding: 8px 20px;
    color: #003A7D;
    border: 2px solid #003A7D;
}

.colby-btn-outline:hover {
    background-color: #003A7D;
    color: white;
}

/*  HERO SECTION  */
.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        linear-gradient(rgba(0, 32, 85, 0.55), rgba(0, 32, 85, 0.55)),
        url('../images/landing_page_hero.webp') center/cover no-repeat;
    animation: heroZoom 15s ease-in-out infinite;
}

/* Ken Burns Slow Zoom */
@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Hero card */
.hero-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 48px 55px;
    max-width: 650px;
    text-align: center;
    color: white;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Hero buttons - improved contrast */
.hero-card .colby-btn-outline {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}

.hero-card .colby-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.hero-card .colby-btn-primary {
    transition: all 0.3s ease;
}

.hero-card .colby-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/*  WHY SECTION  */
.why-section {
    padding: 80px 0;
    background: #ffffff;
}

.why-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 40px;
}

.why-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease;
}

.why-card:hover {
    transform: translateY(-6px);
}

.why-icon {
    font-size: 34px;
    color: #003A7D;
    margin-bottom: 15px;
}

/*  FOOTER  */
.footer {
    background: #002A5C;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/*  FLASH MESSAGES OVERLAY  */
.flash-overlay {
    position: absolute;
    width: 100%;
    max-width: 600px;
    top: 100%;
    z-index: 1050;
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;
}

.flash-overlay .alert {
    pointer-events: auto;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}