html,
body {
    height: 100%;
    margin: 0;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    /* Navbar is fixed-top, so this container should not add extra space/colors */
    background: transparent;
    padding: 0;
}

section {
    padding: 0;
}

.content {
    flex: 1;
    /* pushes footer to bottom */
    padding: 0;
}

@media (max-width: 768px) {
    section {
        padding-top: 100px;
    }
}

/* =========================================
   PREMIUM GLOBAL COMPONENTS (.fade-up)
   ========================================= */
.fade-up {
    animation: fadeInUp 0.8s ease backwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   PREMIUM PAGE HEADER (.page-header-premium)
   ========================================= */
.page-header-premium {
    background: linear-gradient(135deg, rgba(21, 35, 54, 0.9) 0%, rgba(31, 58, 88, 0.8) 100%), url('https://images.unsplash.com/photo-1541888081696-6d601570773d?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    padding: 120px 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

/* =========================================
   PREMIUM NAVBAR
   ========================================= */
.navbar-premium {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.navbar-premium.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: invert(100%) hue-rotate(180deg) brightness(80%) contrast(120%);
}

.brand-container:hover .brand-logo {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin: 0;
}

.nav-link-premium {
    position: relative;
    font-weight: 600;
    color: #495057 !important;
    font-size: 1rem;
    padding: 8px 16px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-premium i {
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-link-premium:hover,
.nav-link-premium.active {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.05);
}

.nav-link-premium:hover i,
.nav-link-premium.active i {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #0d6efd;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-link-premium.active::after {
    width: 60%;
}

.social-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #495057;
    background: #f8f9fa;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e9ecef;
}

.social-btn:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    border-color: #0d6efd;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.05);
    color: #0d6efd;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid rgba(13, 110, 253, 0.3);
}

@media (max-width: 991px) {
    .navbar-nav {
        padding: 15px 0;
        background: #fff;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .social-icons-container {
        padding: 0 15px;
        margin-top: 10px;
    }
}


/* =========================================
   PREMIUM FOOTER
   ========================================= */
.footer-premium {
    background-color: #101a28 !important;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 2rem;
    color: #94a3b8;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(to right, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #0d6efd;
    border-radius: 2px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-link i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: #0d6efd;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-circle:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    border-color: #0d6efd;
}

.qr-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.qr-box:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qr-box img {
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
}