/* bismillāhi ar-Raḥmāni ar-Raḥīm, 
===== css varIABLES — Modified Palette ===== */
:root {
    --night: rgb(13, 15, 26);
    --horizon: #2d5a8e;
    --ocean-mid: rgb(30, 58, 95);
    --ocean: #1a2744;
    --deep-ocean: #111827;
    --dusk: #1a1a2e;

    --glow: rgb(255, 179, 71);
    --gold: gold;

    --mist: rgba(232, 228, 240, 0.55);

    --text-primary: white;
    --text-secondary: white;
    --text-dim: whitesmoke;

    --border: rgba(240, 165, 0, 0.15);
    --border-hover: rgba(240, 165, 0, 0.4);

    --font-display: 'Cormorant Garamond', serif;
    --font-mono: monospace;

    --section-pad: clamp(5rem, 10vw, 9rem);
    --container: min(1200px, 90vw);
}

/* ===== reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--night);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 1.75;
    overflow-x: hidden;
}

/* Subtle noise texTURE overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
/*     background-image: url("data:image/svg+xml,
    %3Csvg viewBox='0 0 256 256' 
    xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter 
    id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); */
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }



/* ===== TAGLINES ===== */
.taglines {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 2.8rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.taglines li {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.taglines li::before {
    content: '//';
    color: var(--gold);
    opacity: 0.7;
    font-size: 0.62rem;
}


.taglines li encrypt-anim{}






/* ===== sections shared ===== */
.about-section, .articles-section, .projects-section {
    padding: var(--section-pad) clamp(1.5rem, 6vw, 6rem);
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--star-white);
    margin-bottom: 3.5rem;
    letter-spacing: -0.01em;
}

/* ===== about section ===== */
.about-section {
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.text-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.about-text p {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-text .about-cta {
    color: var(--star-white);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    border-left: 2px solid var(--gold);
    padding-left: 1.2rem;
    margin-top: 2rem;
}

.about-figure { position: relative; }

.about-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 2px;
    filter: sepia(0.2) saturate(1.3);
    transition: filter 0.4s;
}

.about-img:hover { filter: sepia(0) saturate(1.5); }



/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem clamp(1.5rem, 6vw, 6rem);
    margin-top: 4rem;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.footer-copy {
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== RESponsive ===== */
@media (max-width: 900px) {
    .home-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        min-height: 100vh;
    }
    .text-img { grid-template-columns: 1fr; }

    .about-figure { display: none; }
}

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

    .projects-grid { grid-template-columns: 1fr; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
/* AlhamdullilahhirabbilaAlaAmeen ! 
 !!AlhamdullilahhirabbilaAlaAmeen!*/
