:root {
    --primary-bg: #1e293b;
    --accent: #0ea5e9;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --card-bg: #ffffff;
    --transition-speed: 0.4s;
    font-size: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}



.common-container {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

span {
    color: var(--accent);
}

/* --- Sticky Menu Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 1.5rem 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #0A0732, #2B2B8F);
    padding: 1.1rem 0;
    box-shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.2);
}

.navbar .common-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.25rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: #ffffff;
}

.btn-outline-light {
    border: 0.125rem solid #ffffff;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-speed);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #1e40af;
}

.btn-accent {
    background: linear-gradient(135deg, #2563eb, #a855f7);
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    transition: opacity var(--transition-speed);
}

.btn-accent:hover {
    opacity: 0.9;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}


/* --- Footer Section --- */
footer {
    background: linear-gradient(135deg, #0f1c4a 0%, #310d54 100%);
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.95rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.08);
}

footer strong {
    color: #ffffff;
    font-weight: 600;
}

#backToTop {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0.25rem 0.875rem rgba(14, 165, 233, 0.4);
    font-size: 1rem;
    transition: background 0.4s ease, transform 0.2s;
    z-index: 1000;
}

#backToTop:hover {
    background: linear-gradient(135deg, #0284c7, #1d4ed8);
    transform: scale(1.05);
}


/* --- Media Queries --- */
@media (max-width: 64rem) {
    .common-container { padding: 0 1.5rem; }
    .btn-outline-light {display: none;}
}

@media (max-width: 62rem) {
    .menu-toggle { display: block; }
    .nav-menu {
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; 
        width: 100%; background: linear-gradient(135deg, #1e40af, #6b21a8); 
        padding: 1.5rem; gap: 1.25rem; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.15); text-align: center;
        overflow-y: auto; max-height: 80vh;
    }
    .nav-menu.show { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-link { display: block; padding: 0.5rem 0; font-size: 1.05rem; }
    .btn-outline-light, .btn-accent { display: none; width: 100%; max-width: 20rem; margin: 0.25rem auto; }
    .page-header h2 {font-size: 1.8rem;}
}

@media (max-width: 48rem) {
    .btn-outline-light {display: none;}
}

@media (max-width: 30rem) {
    .navbar-brand { font-size: 1.3rem; }
    .btn-outline-light {display: none;}
    #backToTop { bottom: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; }
}