/* ===========================
   GLOBAL THEME — BLACK & WHITE
   =========================== */
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: "Courier New", monospace;

    /* Smooth fade-in on page load */
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Smooth fade-out class (added by JS) */
.fade-out {
    opacity: 0 !important;
}

/* ===========================
   HEADERS
   =========================== */
h1, h2, h3 {
    color: #ffffff;
    letter-spacing: 1px;
    margin-top: 0;
}

/* ===========================
   NAVIGATION
   =========================== */
header {
    background: #000;
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #333;
}

nav a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #00aaff;
}

/* ===========================
   SECTIONS
   =========================== */
section {
    padding: 40px;
    max-width: 900px;
    margin: 40px auto;
    background: #0a0a0a;
    border-radius: 10px;
    border: 1px solid #222;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
}


.floating-whatsapp:hover {
    background: #00cc66;
    transform: scale(1.07);
}

/* ===========================
   VS CODE INDENTATION GUIDES
   =========================== */
.indent-guides {
    position: relative;
    padding-left: 60px;
}

.indent-guides::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 1px;
    background-color: #0078d4;
    opacity: 0.4;
}

.indent-guides::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 1px;
    background-color: #0078d4;
    opacity: 0.4;
}

/* ===========================
   LOADING-STYLE RESEARCH TIMELINE
   =========================== */
.timeline-item {
    font-size: 18px;
    margin: 20px 0 10px 0;
}

.timeline-loading {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #00ff88 40%, transparent 40%);
    background-size: 200% 100%;
    animation: loading 2s infinite linear;
    margin-bottom: 20px;
}

@keyframes loading {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

/* ===========================
   SCIENTIFIC BOXES
   =========================== */
.science-box {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    width: 85%;
}

/* ===========================
   PAGE TRANSITION LOADING OVERLAY
   =========================== */
#loading-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: #000;
    display: none; /* Hidden until link click */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading-text {
    color: #00ff88;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 0 0 12px #00ff88;
}
