:root {
    --primary: #5ddcf2;
    /* User Cyan */
    --primary-light: #8ce8f7;
    /* Lighter Cyan */
    --primary-dark: #0e879f;
    /* Darker Cyan */
    --accent: #ec4899;
    /* Pink 500 */
    --bg-body: #f8fafc;
    /* Slate 50 */
    --bg-surface: #ffffff;
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    /* Slate 200 */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Navbar --- */
.glass-navbar {
    font-family: 'Cairo', sans-serif;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 1rem;
    left: 1rem;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================================== */
/* FOOTER SECTION */
/* =============================================================== */

#main-footer {
    --primary-color: #5ddcf2;
    --secondary-color: #4AB8D1;
    --dark-color: #2c3e50;
    --white-color: #ffffff;
    --font-family: 'Cairo', sans-serif;
    
    font-family: var(--font-family);
    background: var(--dark-color); 
    color: var(--white-color); 
    text-align: center; 
    padding: 4rem 0 2rem; 
}

#main-footer h2 { 
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center; 
    position: relative; 
    color: var(--white-color); 
    margin-bottom: 2rem; 
}

#main-footer h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: var(--primary-color);
}

#main-footer p { 
    margin-bottom: 2rem; 
    font-size: 1.1rem; 
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#main-footer .footer-cta {
    margin-bottom: 3rem;
}

#main-footer .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin: 0 0.5rem;
}

#main-footer .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 220, 242, 0.3);
}

#main-footer .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

#main-footer .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

#main-footer .contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

#main-footer .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
}

#main-footer .contact-item i {
    color: var(--primary-color);
}

#main-footer .copyright { 
    margin-top: 3rem; 
    padding-top: 2rem; 
    border-top: 1px solid #444; 
    font-size: 0.9rem; 
    color: #aaa; 
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-surface);
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
    }
}