@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaVF.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Dana', sans-serif;
}

body {
    margin: 0 auto;
    overflow-x: hidden;
    padding-top: 80px;
    padding-bottom: 65px;
}

/* Mobile only */
@media (max-width: 767.98px) {
    body {
        max-width: 500px;
    }
}

:root {
    --primary: #415678;
    --accent-blue: #60a5fa;
}

.top-bar {
    background-color: var(--accent-blue);
}

.main-navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Mobile only */
@media (max-width: 767.98px) {
    .main-navbar {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.navbar-logo .logo {
    width: 40px;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-logo:hover {
    color: var(--primary);
    text-decoration: none;
}

.navbar-nav {
    flex-direction: row;
    align-items: center;
    width: auto;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-toggler {
    display: none !important;
}

.navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.main-navbar .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer {
    background-color: var(--primary);
    color: white;
}

.footer h5 {
    font-weight: 600;
    font-size: 1.1rem;
}

.footer p {
    font-size: 0.85rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
}

.social-icon {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.social-icon:hover {
    color: white;
}

.container {
    padding: 0 22px;
}

.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

/* Mobile only */
@media (max-width: 767.98px) {
    .bottom-navbar {
        max-width: 500px;
    }
}

/* Tablet and up - hide bottom navbar */
@media (min-width: 768px) {
    .bottom-navbar {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}

.bottom-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
    flex: 1;
    padding: 0.25rem;
    border-radius: 8px;
}

.bottom-nav-item:hover {
    color: var(--primary);
    text-decoration: none;
    background-color: #f8f9fa;
}

.bottom-nav-item.active {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
}

.bottom-nav-item.active i,
.bottom-nav-item.active span {
    color: white;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
}

.bottom-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.bottom-nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin: 0 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.bottom-nav-center:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

.bottom-nav-center.active {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.bottom-nav-center i {
    font-size: 1.5rem;
    margin: 0;
}

.bottom-nav-left,
.bottom-nav-right {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

/* ============================================
   TABLET STYLES (768px - 991px)
   ============================================ */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 24px;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .navbar-logo .logo {
        width: 50px;
    }
    
    .footer h5 {
        font-size: 1.2rem;
    }
    
    .footer p,
    .footer a {
        font-size: 0.9rem;
    }
}

/* ============================================
   DESKTOP STYLES (992px+)
   ============================================ */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.05rem;
        padding: 0.5rem 1.25rem;
    }
    
    .navbar-logo .logo {
        width: 55px;
    }
    
    .footer h5 {
        font-size: 1.3rem;
    }
    
    .footer p,
    .footer a {
        font-size: 0.95rem;
    }
}

/* ============================================
   LARGE DESKTOP STYLES (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1.5rem;
    }
    
    .navbar-logo .logo {
        width: 60px;
    }
}

/* ============================================
   EXTRA LARGE DESKTOP STYLES (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

