body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #ffffff; /* WHITE BACKGROUND */
    color: #0f172a;
}

/* =======================
   LOADER (PREMIUM SAAS)
======================= */
.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

/* loader box */
.loader-box {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* spinning ring */
.spinner {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid #2563eb;
    border-right: 3px solid #38bdf8;
    animation: spin 1s linear infinite;
}

/* inner ring */
.spinner::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom: 2px solid #60a5fa;
    border-left: 2px solid #38bdf8;
    animation: spinReverse 1.5s linear infinite;
}

/* LOGO (fixed + pulse glow) */
.logo {
    width: 65px;
    height: 65px;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

/* loader text */
.loader p {
    margin-top: 20px;
    font-size: 14px;
    color: #64748b;
}

/* animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

/* =======================
   HEADER
======================= */
header {
    text-align: center;
    padding: 50px 20px 10px;
}

header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

header p {
    color: #64748b;
}

/* =======================
   GRID (CLEAN SAAS LAYOUT)
======================= */
.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

/* responsive */
@media (max-width: 1000px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* =======================
   CARD (BLUE GLASS STYLE)
======================= */
.card {
    background: rgba(37, 99, 235, 0.08); /* light blue transparent */
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    background: rgba(37, 99, 235, 0.12);
}

/* =======================
   PROFILE IMAGE (CIRCLE)
======================= */
.card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2563eb;
}

/* =======================
   TEXT
======================= */
.card h2 {
    font-size: 17px;
    margin: 10px 0 5px;
    color: #0f172a;
}

.position {
    color: #2563eb;
    font-size: 13px;
}

/* bio */
.bio {
    font-size: 12.5px;
    color: #475569;
    margin-top: 8px;
    line-height: 1.4;
}

/* =======================
   SOCIAL ICONS (SMALL)
======================= */
.social {
    margin: 8px 0;
}

.social a {
    font-size: 14px;
    margin: 0 5px;
    color: #64748b;
    transition: 0.3s;
}

.social a:hover {
    color: #2563eb;
    transform: scale(1.2);
}

/* =======================
   BACK BUTTON
======================= */
.back {
    text-align: center;
    margin: 20px 0;
}

.back a {
    padding: 10px 18px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 10px;
}

/* =======================
   FOOTER (CENTERED)
======================= */
footer {
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    margin-top: 40px;
}

footer p {
    margin-bottom: 10px;
    color: #475569;
}

footer a {
    margin: 0 10px;
    font-size: 13px;
    text-decoration: none;
    color: #64748b;
}

footer a:hover {
    color: #2563eb;
}

/* --- Your existing desktop CSS is up here --- */
.sidebar { width: 250px; float: left; }
.main-content { width: 800px; float: left; }


/* ==========================================
   ADD THIS TO THE VERY BOTTOM OF YOUR FILE 
   ========================================== */
@media (max-width: 768px) {
    /* These styles only activate on mobile and will override the desktop ones above */
    .sidebar, .main-content {
        width: 100%;
        float: none;
        display: block;
    }
}