/* =========================================================
   MARS PUBLICATION — Space Theme Stylesheet
   ========================================================= */

:root {
    --space-dark: #05061a;
    --space-navy: #0b0e2e;
    --space-purple: #1a1442;
    --mars-red: #ff5733;
    --mars-orange: #ff9068;
    --gold: #ffc857;
    --text-light: #e9ebf5;
    --text-muted: #9aa0c2;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--space-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
}

a { text-decoration: none !important; }

.text-accent { color: var(--mars-red); }

.text-gradient {
    background: linear-gradient(90deg, var(--mars-red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section { position: relative; padding: 100px 0; background: var(--space-navy); overflow: hidden; }
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--mars-red);
    border-radius: 30px;
    color: var(--mars-orange);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; }
.section-text { color: var(--text-muted); font-size: 15.5px; line-height: 1.8; }

/* =========== Preloader =========== */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--space-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader-planet { position: relative; width: 70px; height: 70px; }
.loader-core {
    width: 40px; height: 40px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--mars-orange), var(--mars-red) 70%);
    position: absolute; top: 15px; left: 15px;
    box-shadow: 0 0 25px var(--mars-red);
}
.loader-ring {
    position: absolute; inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--gold);
    border-right-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========== Navbar =========== */
/* Top accent strip — thin animated gradient line across the very top of the page */
.top-accent-bar {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 1100;
    background: linear-gradient(90deg, var(--mars-red), var(--gold), #8c6eff, var(--mars-red));
    background-size: 300% 100%;
    animation: shimmer-bar 6s linear infinite;
}
@keyframes shimmer-bar {
    0% { background-position: 0% 0; }
    100% { background-position: 300% 0; }
}

#mainNav {
    padding: 22px 0;
    transition: all .35s ease;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(5,6,26,.75) 0%, rgba(5,6,26,0) 100%);
}
#mainNav.scrolled {
    background: rgba(2, 2, 8, 0.85);
    padding: 14px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,87,51,.2);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff !important;
    font-size: 1.45rem;
    letter-spacing: 1.5px;
}
.brand-icon {
    color: var(--mars-red);
    margin-right: 8px;
    font-size: 1.3rem;
    text-shadow: 0 0 18px rgba(255,87,51,.8);
}
.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .3px;
    margin: 0 10px;
    position: relative;
    /* padding: 8px 0 !important; */
    white-space: nowrap;
    transition: color .3s ease, text-shadow .3s ease;
}
@media (min-width: 1200px) {
    #mainNav .container { max-width: 1320px; }
}
.navbar-nav .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 14px rgba(255,144,104,.7);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--mars-red), var(--gold));
    box-shadow: 0 0 8px rgba(255,87,51,.8);
    transition: width .3s ease;
}
.navbar-nav .nav-link:hover::after { width: 100%; }

.btn-nav-cta:hover { text-shadow: none; }
.btn-nav-cta::after { display: none; }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(255,87,51,.4); }
    50% { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 30px rgba(255,87,51,.7); }
}
.navbar-toggler { border: none; color: #fff; font-size: 1.2rem; }

/* =========== Buttons =========== */
.btn-mars {
    background: linear-gradient(90deg, var(--mars-red), var(--mars-orange));
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 8px 25px rgba(255, 87, 51, .35);
}
.btn-mars:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 12px 30px rgba(255, 87, 51, .5); }
.btn-outline-light {
    padding: 12px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    font-weight: 500;
    transition: all .3s ease;
}
.btn-outline-light:hover { background: #fff; color: var(--space-dark); border-color: #fff; }

/* =========== Hero / Space Section =========== */
.space-hero {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(ellipse at top, #0d0a26 0%, #020207 65%);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.space-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 82% 22%, rgba(255,87,51,.12) 0%, transparent 45%);
    z-index: 1;
    pointer-events: none;
}
.min-vh-100 { min-height: 100vh; }
.hero-content { position: relative; z-index: 5; }
.hero-text-col { text-align: left; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--gold);
}
.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 0 35px;
    line-height: 1.8;
}
.hero-btns { display: flex; flex-wrap: wrap; }
.hero-btns .btn { margin: 0 14px 10px 0; }

.scroll-down {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 22px;
    z-index: 5;
    animation: bounce 2s infinite;
    opacity: .8;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ---- Starfield (pure CSS) ---- */
.stars, .stars2, .stars3 {
    position: absolute; inset: 0; z-index: 1;
    background-repeat: repeat;
}
.stars {
    background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent),
        radial-gradient(1px 1px at 90px 80px, #fff, transparent),
        radial-gradient(1px 1px at 150px 40px, #fff, transparent),
        radial-gradient(1px 1px at 210px 120px, #fff, transparent),
        radial-gradient(1px 1px at 260px 20px, #fff, transparent);
    background-size: 300px 200px;
    animation: twinkle 4s ease-in-out infinite alternate, drift 90s linear infinite;
    opacity: .6;
}
.stars2 {
    background-image: radial-gradient(1.5px 1.5px at 40px 60px, var(--gold), transparent),
        radial-gradient(1.5px 1.5px at 120px 140px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 190px 30px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 250px 100px, var(--mars-orange), transparent);
    background-size: 350px 250px;
    animation: twinkle 6s ease-in-out infinite alternate, drift 140s linear infinite reverse;
    opacity: .5;
}
.stars3 {
    background-image: radial-gradient(2px 2px at 60px 20px, #fff, transparent),
        radial-gradient(2px 2px at 180px 160px, #fff, transparent),
        radial-gradient(2px 2px at 300px 70px, #fff, transparent);
    background-size: 400px 300px;
    animation: twinkle 5s ease-in-out infinite alternate, drift 200s linear infinite;
    opacity: .4;
}
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }
@keyframes drift { from { background-position: 0 0; } to { background-position: 1000px 500px; } }

/* ---- Planets ---- */
.planet { position: absolute; border-radius: 50%; z-index: 2; }
.planet-mars {
    width: 450px; height: 450px;
    top: 50%; right: 135px;
    transform: translateY(-50%);
    background: radial-gradient(circle at 32% 28%, #ffab84 0%, #ff5733 42%, #9c2e18 78%, #5c1a0d 100%);
    box-shadow:
        inset -60px -60px 130px rgba(0,0,0,.65),
        inset 18px 14px 65px rgba(255,180,140,.25),
        0 0 160px rgba(255,87,51,.55),
        0 0 380px rgba(255,87,51,.22);
    animation: float-mars 8s ease-in-out infinite;
}
.planet-mars::before, .planet-mars::after {
    content: ''; position: absolute; border-radius: 50%;
    background: rgba(0,0,0,.18);
}
.planet-mars::before { width: 115px; height: 115px; top: 98px; left: 130px; }
.planet-mars::after { width: 68px; height: 68px; top: 300px; left: 335px; }
@keyframes float-mars {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(calc(-50% - 22px)) rotate(6deg); }
}

.planet-saturn {
    width: 90px; height: 90px;
    bottom: 15%; left: 6%;
    background: radial-gradient(circle at 35% 30%, #ffe1b3, var(--gold) 60%, #b8862f 100%);
    box-shadow: inset -10px -10px 25px rgba(0,0,0,.4), 0 0 35px rgba(255,200,87,.3);
    animation: float 9s ease-in-out infinite 1s;
}
.saturn-ring {
    position: absolute;
    width: 160px; height: 40px;
    border: 3px solid rgba(255, 200, 87, .55);
    border-radius: 50%;
    top: 25px; left: -35px;
    transform: rotate(-20deg);
}

.orbit {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 50%;
    z-index: 1;
    animation: spin 26s linear infinite;
}
.orbit-2 {
    position: absolute;
    width: 300px; height: 300px;
    bottom: -5%; left: -5%;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 50%;
    z-index: 1;
    animation: spin 40s linear infinite reverse;
}

/* Pivots handle the STATIC centering (translateY -50%) so it never has to
   share a `transform` with a rotating child — mixing the two on one element
   makes the browser blend "translate" and "rotate" as a single matrix,
   which breaks the circular path. Each pivot is centered exactly on
   .planet-mars; the .orbit ring inside it only ever rotates. */
.orbit-pivot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.orbit-pivot-moon { width: 650px; height: 650px; right: 36px; }

/* Orbiting bodies — sit on the ring's edge; as the ring (parent) rotates,
   the body sweeps all the way around the planet's boundary. */
.orbit-body {
    position: absolute;
    border-radius: 50%;
    display: block;
}
/* Extra bodies sit inside a static-rotated .orbit-slot so each one starts at
   a different angle on the SAME ring, without touching the ring's own
   rotate animation (avoids the translate/rotate mixing bug). */
.orbit-slot { position: absolute; inset: 0; }

/* Each body is centered on the ring line via top:-(height/2) + margin-left:-(width/2) */

/* ---- Single ring: all 8 planets, alternating small / big all the way around ---- */
.orbit-mercury {
    width: 36px; height: 36px;
    top: -13px; left: 50%;
    margin-left: -13px;
    background: radial-gradient(circle at 35% 30%, #d8d2c8, #948b7e 60%, #5c554a 100%);
    box-shadow: 0 0 12px rgba(148,139,126,.45);
}
.orbit-venus {
    width: 60px; height: 60px;
    top: -21px; left: 50%;
    margin-left: -21px;
    background: radial-gradient(circle at 35% 30%, #fff1cf, #dba85f 60%, #9c7638 100%);
    box-shadow: 0 0 18px rgba(219,168,95,.5);
}
.orbit-earth {
    width: 38px; height: 38px;
    top: -14px; left: 50%;
    margin-left: -14px;
    background: radial-gradient(circle at 35% 30%, #7fd8c8, #2f7d8c 55%, #1a4e63 100%);
    box-shadow: 0 0 13px rgba(63,186,163,.55);
}
.orbit-mars-mini {
    width: 50px; height: 50px;
    top: -20px; left: 50%;
    margin-left: -20px;
    background: radial-gradient(circle at 35% 30%, #ff9068, #c9432a 60%, #7a2814 100%);
    box-shadow: 0 0 17px rgba(255,87,51,.5);
}
.orbit-jupiter {
    width: 40px; height: 40px;
    top: -15px; left: 50%;
    margin-left: -15px;
    background: radial-gradient(circle at 35% 30%, #e8c9a0, #c9924f 55%, #8a5a2b 100%);
    box-shadow: 0 0 14px rgba(201,146,79,.5);
}
.orbit-saturn-mini {
    width: 60px; height: 60px;
    top: -22.5px; left: 50%;
    margin-left: -22.5px;
    background: radial-gradient(circle at 35% 30%, #ffe1b3, var(--gold) 60%, #b8862f 100%);
    box-shadow: 0 0 19px rgba(255,200,87,.5);
}
.orbit-saturn-ring {
    position: absolute;
    width: 81px; height: 40px;
    top: 12px; left: -18px;
    border: 3px solid rgba(255,200,87,.6);
    border-radius: 50%;
    transform: rotate(-20deg);
}
.orbit-uranus {
    width: 37px; height: 37px;
    top: -13.5px; left: 50%;
    margin-left: -13.5px;
    background: radial-gradient(circle at 35% 30%, #d4f5f0, #6fc9be 60%, #3d8f86 100%);
    box-shadow: 0 0 13px rgba(111,201,190,.5);
}
.orbit-neptune {
    width: 44px; height: 44px;
    top: -22px; left: 50%;
    margin-left: -22px;
    background: radial-gradient(circle at 35% 30%, #8ea6ff, #3653c9 60%, #1c2f8c 100%);
    box-shadow: 0 0 18px rgba(54,83,201,.5);
}

.astronaut {
    position: absolute;
    top: 10%; left: 4%;
    font-size: 32px;
    color: var(--text-muted);
    opacity: .5;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(6deg); }
}

/* =========== About Section =========== */
.about-graphic { position: relative; height: 350px; display: flex; align-items: center; justify-content: center; }
.about-circle {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--space-purple), var(--space-navy));
    border: 2px solid rgba(255,87,51,.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 70px; color: var(--mars-orange);
    box-shadow: 0 0 60px rgba(255,87,51,.25);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}
.orbit-small {
    position: absolute; width: 300px; height: 300px;
    border: 1px dashed rgba(255,255,255,.15);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}
.mini-planet { position: absolute; border-radius: 50%; z-index: 3; }
.mini-planet-1 {
    width: 28px; height: 28px; top: 20px; right: 40px;
    background: radial-gradient(circle at 35% 30%, var(--mars-orange), var(--mars-red));
    box-shadow: 0 0 15px rgba(255,87,51,.5);
}
.mini-planet-2 {
    width: 18px; height: 18px; bottom: 30px; left: 30px;
    background: radial-gradient(circle at 35% 30%, var(--gold), #b8862f);
    box-shadow: 0 0 12px rgba(255,200,87,.5);
}
.mini-stat { color: var(--mars-orange); font-size: 2rem; font-weight: 700; margin-bottom: 0; }
.mini-stat-label { color: var(--text-muted); font-size: 13px; }

/* =========== Services Section =========== */
.services-section {
    background: radial-gradient(ellipse at 15% 0%, #241a5e 0%, var(--space-dark) 60%),
        var(--space-dark);
    position: relative;
    overflow: hidden;
}
.services-section .stars-light {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        radial-gradient(2px 2px at 8% 15%, #fff, transparent),
        radial-gradient(2px 2px at 22% 65%, #fff, transparent),
        radial-gradient(2.5px 2.5px at 40% 10%, var(--gold), transparent),
        radial-gradient(2px 2px at 55% 80%, #fff, transparent),
        radial-gradient(2.5px 2.5px at 68% 30%, var(--mars-orange), transparent),
        radial-gradient(2px 2px at 80% 60%, #fff, transparent),
        radial-gradient(2.5px 2.5px at 92% 20%, var(--gold), transparent),
        radial-gradient(2px 2px at 12% 90%, #fff, transparent),
        radial-gradient(2px 2px at 88% 88%, #fff, transparent),
        radial-gradient(2px 2px at 48% 45%, #fff, transparent),
        radial-gradient(2px 2px at 30% 30%, #fff, transparent),
        radial-gradient(2px 2px at 75% 8%, #fff, transparent);
    background-size: 100% 100%;
    animation: twinkle 4s ease-in-out infinite alternate;
    opacity: .85;
    z-index: 0;
}
.services-section .nebula-glow {
    position: absolute;
    width: 850px; height: 850px;
    border-radius: 50%;
    top: -320px; right: -280px;
    background: radial-gradient(circle, rgba(255,87,51,.4), rgba(255,87,51,.08) 55%, transparent 75%);
    filter: blur(15px);
    animation: drift-glow 14s ease-in-out infinite;
    z-index: 0;
}
.services-section .nebula-glow.glow-2 {
    top: auto; bottom: -350px; left: -300px; right: auto;
    width: 750px; height: 750px;
    background: radial-gradient(circle, rgba(140,110,255,.38), rgba(140,110,255,.08) 55%, transparent 75%);
    animation-delay: 3s;
}
.services-section .services-orbit {
    position: absolute;
    width: 620px; height: 620px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255,200,87,.18);
    border-radius: 50%;
    animation: spin 50s linear infinite;
    z-index: 0;
}
.services-section .shooting-star {
    position: absolute;
    top: 15%; left: -10%;
    width: 3px; height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 16px 3px rgba(255,255,255,.9);
    animation: shoot 6s linear infinite;
    z-index: 0;
}
.services-section .shooting-star.star-2 {
    top: 55%;
    animation-delay: 3s;
    animation-duration: 8s;
}
.services-section .center-glow {
    position: absolute;
    width: 900px; height: 500px;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(255,144,104,.22), transparent 70%);
    animation: pulse-center 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes pulse-center {
    0%, 100% { opacity: .55; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.services-section .frame-line {
    position: absolute; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,144,104,.35), transparent);
    z-index: 0;
}
.services-section .frame-line.top { top: 0; }
.services-section .frame-line.bottom { bottom: 0; }
.services-section .container { position: relative; z-index: 2; }

@keyframes drift-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.15); }
}
@keyframes shoot {
    0% { transform: translate(0, 0) rotate(-35deg); opacity: 0; }
    5% { opacity: 1; }
    20% { transform: translate(60vw, 40vh) rotate(-35deg); opacity: 0; }
    100% { transform: translate(60vw, 40vh) rotate(-35deg); opacity: 0; }
}
.services-section .shooting-star::before {
    content: '';
    position: absolute;
    top: 50%; right: 0;
    width: 110px; height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.8));
    transform: translateY(-50%);
}
.service-card {
    background: linear-gradient(160deg, rgba(26,20,66,.75), rgba(11,14,46,.85));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255,87,51,.55);
    box-shadow: 0 25px 50px rgba(0,0,0,.4), 0 0 40px rgba(255,87,51,.2);
}
.service-icon {
    width: 75px; height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mars-red), var(--mars-orange));
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
    box-shadow: 0 0 0 6px rgba(255,87,51,.08), 0 8px 25px rgba(255,87,51,.35);
    transition: box-shadow .35s ease, transform .35s ease;
}
.service-card:hover .service-icon {
    box-shadow: 0 0 0 8px rgba(255,87,51,.15), 0 10px 35px rgba(255,87,51,.55);
    transform: scale(1.08);
}
.service-card h4 { font-size: 1.1rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 0; }

/* =========== Books Section =========== */
.books-section { background: var(--space-navy); }
.book-card { text-align: center; }
.book-cover {
    height: 280px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 8px 8px 0 rgba(0,0,0,.25);
    transition: transform .35s ease, box-shadow .35s ease;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}
.book-cover:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 12px 20px 0 rgba(0,0,0,.3); }
.cover-1 { background: linear-gradient(160deg, #ff9068, var(--mars-red)); }
.cover-2 { background: linear-gradient(160deg, #6f6fd6, var(--space-purple)); }
.cover-3 { background: linear-gradient(160deg, var(--gold), #b8862f); }
.cover-4 { background: linear-gradient(160deg, #3fbaa3, #1a6e63); }

/* Front face: shown at rest — icon + title only */
.book-face {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding: 15px;
    transition: transform .5s ease, opacity .4s ease;
}
.book-face i {
    font-size: 42px;
    margin-bottom: 14px;
    opacity: .9;
    transition: transform .5s ease;
}
.book-cover:hover .book-face,
.book-cover.is-flipped .book-face { transform: scale(1.08); opacity: 0; }
.book-cover:hover .book-face i,
.book-cover.is-flipped .book-face i { transform: translateY(-15px); }

/* Hover panel: swipes up from the bottom, reveals title + description + CTA */
.book-hover-panel {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 24px 20px;
    background: linear-gradient(160deg, rgba(5,6,26,.85), rgba(5,6,26,.97));
    backdrop-filter: blur(2px);
    transform: translateY(100%);
    transition: transform .5s cubic-bezier(.22,.9,.3,1);
    z-index: 2;
}
.book-cover:hover .book-hover-panel,
.book-cover.is-flipped .book-hover-panel { transform: translateY(0); }
.book-hover-panel h6 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}
.book-hover-panel p {
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.book-panel-author {
    display: block;
    color: var(--mars-orange);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 16px;
}
.btn-book-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--mars-red), var(--mars-orange));
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(255,87,51,.4);
    transition: transform .3s ease, box-shadow .3s ease;
}
.btn-book-view:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255,87,51,.55);
}

/* =========== Stats Section =========== */
.stats-section {
    background: linear-gradient(90deg, var(--space-purple), var(--space-navy));
    position: relative;
}
.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--mars-orange);
    margin-bottom: 5px;
}
.stat-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 0; }

/* =========== Testimonials =========== */
.testimonial-section { background: var(--space-dark); }
.testimonial-card {
    max-width: 700px;
    text-align: center;
    background: linear-gradient(160deg, var(--space-navy), var(--space-purple));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 50px 40px;
}
.quote-icon { font-size: 30px; color: var(--mars-red); margin-bottom: 20px; }
.testimonial-card p { font-size: 16px; color: var(--text-light); line-height: 1.9; margin-bottom: 20px; }
.testimonial-card h6 { margin-bottom: 2px; }
.testimonial-card span { color: var(--text-muted); font-size: 13px; }
.carousel-control-prev, .carousel-control-next { width: 5%; opacity: 1; }
.carousel-arrow {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}

/* =========== Blog Slider (reused across inner pages) =========== */
.blog-card-link { display: block; color: inherit; }
.blog-card-link:hover { color: inherit; }
.blog-card-media {
    width: 100%; height: 160px;
    background-size: cover; background-position: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
}
.blog-card-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5,6,26,0) 55%, rgba(5,6,26,.55) 100%);
}
.blog-card-readmore {
    display: inline-flex; align-items: center;
    color: var(--gold); font-size: 13px; font-weight: 600;
    letter-spacing: .3px; margin-top: 6px;
    transition: gap .2s ease;
}
.blog-card-link:hover .blog-card-readmore { gap: 6px; }
.blog-card-link:hover .blog-card { transform: translateY(-6px); border-color: var(--mars-red); }

.blog-slider-nav {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: nowrap;
    gap: 18px; margin-top: 15px;
}
.blog-slider .carousel-indicators {
    position: static !important;
    display: flex !important;
    align-items: center;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-shrink: 0;
}
.blog-slider .carousel-indicators li {
    box-sizing: border-box !important;
    width: 8px !important; height: 8px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(255,255,255,.2);
    background-clip: initial;
    opacity: 1; margin: 0 4px !important;
    text-indent: 0;
    flex: 0 0 auto;
    transition: background .2s ease, transform .2s ease;
}
.blog-slider .carousel-indicators li.active { background: var(--mars-red); transform: scale(1.2); }
.blog-nav-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    transition: all .25s ease;
}
.blog-nav-btn:hover { background: var(--mars-red); border-color: var(--mars-red); color: #fff; }

/* =========== CTA / Newsletter =========== */
.cta-section {
    background: radial-gradient(circle at 30% 30%, var(--space-purple), var(--space-dark) 70%);
    text-align: center;
}
.cta-planet {
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    top: -80px; right: -80px;
    background: radial-gradient(circle at 35% 30%, var(--mars-orange), var(--mars-red) 70%);
    opacity: .25;
    filter: blur(2px);
    animation: float 8s ease-in-out infinite;
}
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 20px auto 0;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form .form-control {
    flex: 1 1 260px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    border-radius: 30px;
    padding: 12px 22px;
    height: auto;
}
.newsletter-form .form-control::placeholder { color: var(--text-muted); }
.newsletter-form .form-control:focus {
    background: rgba(255,255,255,.1);
    border-color: var(--mars-red);
    box-shadow: none;
    color: #fff;
}

/* =========== Footer =========== */
.site-footer {
    background: linear-gradient(180deg, #020207 0%, #000000 100%);
    padding: 70px 0 25px;
    position: relative;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(255,87,51,.5), transparent) 1;
}
.footer-text { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.footer-heading { color: #fff; font-family: var(--font-heading); font-size: 15px; margin-bottom: 20px; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; color: var(--text-muted); font-size: 14px; }
.footer-links a { color: var(--text-muted); transition: color .3s ease; }
.footer-links a:hover { color: var(--mars-orange); }
.social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    margin-right: 8px;
    transition: all .3s ease;
}
.social-icons a:hover { background: var(--mars-red); border-color: var(--mars-red); transform: translateY(-3px); }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 30px 0 20px; }
.copyright { color: var(--text-muted); font-size: 13px; }

.back-to-top {
    position: fixed;
    bottom: 25px; right: 25px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mars-red), var(--mars-orange));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translateY(15px);
    transition: all .35s ease;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(255,87,51,.4);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========== Scroll Reveal (safe, no external lib) =========== */
/* Content stays fully visible by default (JS-off / slow-load safe).
   Only hidden+animated once JS confirms it's ready to observe it. */
body.reveal-ready [data-aos] {
    opacity: 0;
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: calc(var(--aos-delay, 0) * 1ms);
    will-change: opacity, transform;
}
body.reveal-ready [data-aos="fade-up"] { transform: translateY(35px); }
body.reveal-ready [data-aos="fade-right"] { transform: translateX(-40px); }
body.reveal-ready [data-aos="fade-left"] { transform: translateX(40px); }
body.reveal-ready [data-aos="zoom-in"] { transform: scale(.85); }
body.reveal-ready [data-aos="flip-up"] { transform: perspective(800px) rotateX(35deg); }
body.reveal-ready [data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

/* =========== Responsive =========== */
@media (max-width: 1199px) {
    .navbar-collapse { background: var(--space-navy); padding: 20px; border-radius: 10px; margin-top: 10px; }
    .navbar-nav .nav-link { margin: 8px 0; white-space: normal; }
    .mega-menu { min-width: 0; width: 100%; flex-direction: column; padding: 15px 20px; }
}
@media (max-width: 991px) {
    .hero-title { font-size: 2.3rem; }
    .hero-text-col { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-btns .btn { margin: 0 7px 10px; }
    .planet-mars { width: 280px; height: 280px; top: 16%; right: -60px; }
    .planet-mars::before { width: 54px; height: 54px; top: 45px; left: 60px; }
    .planet-mars::after { width: 32px; height: 32px; top: 140px; left: 155px; }
    .orbit-pivot-moon { width: 440px; height: 440px; top: 16%; right: -140px; }
    .orbit-mercury { width: 14px; height: 14px; top: -7px; margin-left: -7px; }
    .orbit-venus { width: 23px; height: 23px; top: -11.5px; margin-left: -11.5px; }
    .orbit-earth { width: 15px; height: 15px; top: -7.5px; margin-left: -7.5px; }
    .orbit-mars-mini { width: 21px; height: 21px; top: -10.5px; margin-left: -10.5px; }
    .orbit-jupiter { width: 16px; height: 16px; top: -8px; margin-left: -8px; }
    .orbit-saturn-mini { width: 24px; height: 24px; top: -12px; margin-left: -12px; }
    .orbit-saturn-ring { width: 43px; height: 11px; top: 6px; left: -10px; }
    .orbit-uranus { width: 15px; height: 15px; top: -7.5px; margin-left: -7.5px; }
    .orbit-neptune { width: 24px; height: 24px; top: -12px; margin-left: -12px; }
    .planet-saturn { width: 60px; height: 60px; }
    .astronaut { display: none; }
}
@media (max-width: 575px) {
    .hero-title { font-size: 1.8rem; }
    .section { padding: 70px 0; }
    .stat-number { font-size: 1.9rem; }
    .planet-mars { width: 150px; height: 150px; top: 15%; right: -35px; opacity: .8; }
    .planet-mars::before { width: 30px; height: 30px; top: 25px; left: 35px; }
    .planet-mars::after { width: 16px; height: 16px; top: 75px; left: 85px; }
    .orbit-pivot-moon { width: 260px; height: 260px; top: 15%; right: -90px; }
    .orbit-mercury { width: 8px; height: 8px; top: -4px; margin-left: -4px; }
    .orbit-venus { width: 13px; height: 13px; top: -6.5px; margin-left: -6.5px; }
    .orbit-earth { width: 9px; height: 9px; top: -4.5px; margin-left: -4.5px; }
    .orbit-mars-mini { width: 13px; height: 13px; top: -6.5px; margin-left: -6.5px; }
    .orbit-jupiter { width: 10px; height: 10px; top: -5px; margin-left: -5px; }
    .orbit-saturn-mini { width: 14px; height: 14px; top: -7px; margin-left: -7px; }
    .orbit-saturn-ring { width: 25px; height: 7px; top: 4px; left: -6px; }
    .orbit-uranus { width: 9px; height: 9px; top: -4.5px; margin-left: -4.5px; }
    .orbit-neptune { width: 14px; height: 14px; top: -7px; margin-left: -7px; }
}

/* =========== Nav Dropdown =========== */
.navbar-nav .dropdown-menu {
    background: var(--space-navy);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 0;
}
.navbar-nav .nav-item.dropdown { padding-bottom: 14px; margin-bottom: -14px; }
@media (min-width: 1200px) {
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }
    .navbar-nav .dropdown-menu.mega-menu { display: flex; }
    .navbar-nav .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}
.navbar-nav .dropdown-menu .dropdown-item {
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px 22px;
}
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
    background: rgba(255,87,51,.12);
    color: var(--gold);
}
.navbar-nav .dropdown-toggle {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
}
/* Bootstrap's default caret shares the ::after pseudo-element with our hover-underline
   effect above, which absolutely-positions it — that pushed the arrow under the text.
   Kill Bootstrap's caret and use a real inline icon (.dropdown-arrow) instead. */
.navbar-nav .dropdown-toggle::after { content: none !important; }
.navbar-nav .dropdown-arrow {
    display: inline-block;
    font-size: 10px;
    margin-left: 6px;
    flex-shrink: 0;
    position: static;
}

/* =========== Mega Menu (Services) =========== */
.mega-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    padding: 25px 30px;
    min-width: 680px;
    max-width: 90vw;
}
.mega-menu-col { flex: 1 1 140px; min-width: 150px; }
.mega-menu-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    border-bottom: 1px solid var(--mars-red);
    padding-bottom: 8px;
    margin-bottom: 10px;
}
.mega-menu-heading a { color: #fff; }
.mega-menu-heading a:hover { color: var(--gold); }
.mega-menu-col .dropdown-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    font-size: 13.5px;
    color: var(--text-muted);
    background: transparent !important;
}
.mega-menu-col .dropdown-item:hover { color: var(--gold); }
.mega-menu-col .dropdown-item i { color: var(--mars-orange); font-size: 11px; }

/* =========== Inner Page Banner =========== */
.space-hero.page-hero {
    min-height: 46vh;
    padding-top: 90px;
}
.page-hero .hero-title { font-size: 2.6rem; }
.page-breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}
.page-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--text-muted); }
.page-breadcrumb a { color: var(--gold); }
.page-breadcrumb .active { color: #fff; }

/* =========== Published Papers =========== */
.paper-tabs { border-bottom: none; flex-wrap: wrap; gap: 8px; }
.paper-tabs .nav-link {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    transition: all .25s ease;
}
.paper-tabs .nav-link:hover { color: #fff; border-color: var(--mars-red); }
.paper-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, var(--mars-red), var(--mars-orange));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255,87,51,.35);
}
.paper-card {
    display: flex; gap: 18px;
    background: var(--space-purple);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 20px;
    height: 100%;
    transition: transform .3s ease, border-color .3s ease;
}
.paper-card:hover { transform: translateY(-4px); border-color: var(--mars-red); }
.paper-card-img { flex: 0 0 90px; }
.paper-card-img img {
    width: 90px; height: 118px; object-fit: cover;
    border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,.3);
}
.paper-card-body { flex: 1; min-width: 0; }
.paper-title { color: #fff; font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; }
.paper-title strong { color: var(--gold); }
.paper-divider { border-color: rgba(255,255,255,.1); margin: 10px 0; }
.paper-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 5px; }
.paper-meta strong { color: var(--text-light); }
.paper-link { display: inline-flex; align-items: center; color: var(--gold); font-size: 12.5px; font-weight: 600; margin-top: 8px; }

/* =========== Value / Package / Blog / Subject Cards =========== */
.value-card, .package-card, .blog-card, .subject-block {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 35px 25px;
    height: 100%;
    transition: all .3s ease;
}
.value-card:hover, .blog-card:hover, .subject-block:hover {
    transform: translateY(-6px);
    border-color: var(--mars-red);
}
.value-card .service-icon, .subject-block .service-icon { margin: 0 auto 20px; }
.value-card h4, .subject-block h4 { font-size: 1.1rem; margin-bottom: 12px; }
.value-card p, .subject-block p, .subject-block li { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.subject-block ul { padding-left: 18px; margin-bottom: 0; }
.subject-block li { margin-bottom: 6px; }

.package-card { text-align: center; position: relative; }
.package-card.featured { border-color: var(--mars-red); background: rgba(255,87,51,.06); }
.package-card .package-tag {
    display: inline-block; padding: 4px 14px; border-radius: 20px;
    background: rgba(255,200,87,.12); color: var(--gold); font-size: 12px;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px;
}
.package-card h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 10px; }
.package-card ul { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.package-card ul li { color: var(--text-muted); font-size: 14px; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.package-card ul li i { color: var(--gold); margin-right: 8px; }
.price-strike { color: var(--text-muted); font-size: 1rem; text-decoration: line-through; margin-right: 8px; font-weight: 400; }

/* =========== Quartile Comparison Table =========== */
.quartile-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.quartile-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.quartile-table thead th {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 16px 14px;
    background: var(--space-purple);
    border-bottom: 2px solid rgba(255,255,255,.1);
}
.quartile-table thead th.q-row-label { background: transparent; border-bottom: none; }
.quartile-table thead th i { margin-right: 6px; font-size: 14px; }
.quartile-table thead th.q-1 i { color: var(--gold); }
.quartile-table thead th.q-2 i { color: var(--gold); opacity: .8; }
.quartile-table thead th.q-3 i { color: var(--text-muted); }
.quartile-table thead th.q-4 i { color: var(--mars-red); }
.quartile-table tbody td {
    text-align: center;
    padding: 15px 14px;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.quartile-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.quartile-table td.q-row-label {
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
}
.quartile-table .q-yes { color: var(--gold); font-size: 1.1rem; }
.quartile-table .q-no { color: var(--mars-red); font-size: 1.1rem; opacity: .6; }

.blog-card { padding: 0; overflow: hidden; }
.blog-card-body { padding: 25px; }
.blog-card-icon {
    width: 100%; height: 130px; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255,87,51,.18), transparent 70%);
    font-size: 2rem; color: var(--mars-orange);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.blog-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.blog-tag { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* =========== Contact Page =========== */
.contact-info-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 20px;
}
.contact-info-card i { color: var(--mars-red); font-size: 1.3rem; margin-right: 14px; }
.contact-form .form-control {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    padding: 12px 16px;
    height: auto;
    margin-bottom: 18px;
    border-radius: 8px;
}
.contact-form .form-control:focus {
    background: rgba(255,255,255,.06);
    border-color: var(--mars-red);
    box-shadow: none;
    color: #fff;
}
.contact-form textarea.form-control { min-height: 140px; }

/* =========== FAQ Accordion =========== */
.faq-item {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 0 22px;
}
.faq-item summary {
    padding: 18px 0;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--mars-orange);
    transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { color: var(--text-muted); font-size: 14px; line-height: 1.7; padding-bottom: 18px; margin-bottom: 0; }

/* =========== Process Steps =========== */
.process-step { text-align: center; position: relative; }
.process-step .step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(90deg, var(--mars-red), var(--mars-orange));
    color: #fff; font-family: var(--font-heading); font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 18px;
    box-shadow: 0 8px 20px rgba(255,87,51,.35);
}
.process-step h5 { font-size: 15px; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 13.5px; }

/* =========== Awards / Recognition =========== */
.award-photo-placeholder {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 20px;
    background: radial-gradient(circle at 30% 20%, rgba(255,87,51,.15), transparent 70%), var(--space-purple);
}
.award-photo-placeholder .award-icon-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--mars-red), var(--mars-orange));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff;
    box-shadow: 0 10px 25px rgba(255,87,51,.45);
    margin-bottom: 16px;
}
.award-photo-placeholder h5 { font-size: 15px; margin-bottom: 4px; }
.award-photo-placeholder p { color: var(--text-muted); font-size: 13px; margin-bottom: 0; }
.award-quote {
    border-left: 3px solid var(--mars-red);
    padding-left: 18px;
    color: var(--text-muted);
    font-style: italic;
    font-size: 14.5px;
    margin: 0;
}
.award-quote footer {
    margin-top: 10px;
    color: var(--gold);
    font-style: normal;
    font-size: 13px;
}
.certificate-placeholder {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 20px;
    margin-bottom: 20px;
    background: linear-gradient(160deg, rgba(255,200,87,.08), transparent 60%), var(--space-purple);
}
.certificate-placeholder .award-icon-circle {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--mars-orange));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--space-dark);
    box-shadow: 0 8px 20px rgba(255,200,87,.4);
    margin-bottom: 14px;
}
.certificate-placeholder h5 { font-size: 14.5px; margin-bottom: 4px; }

/* =========== Article / long-form content (migrated pages & blog posts) =========== */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-meta {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    margin-bottom: 30px; padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: var(--text-muted); font-size: 13.5px;
}
.article-meta .section-tag { margin-bottom: 0; }
.article-content { color: var(--text-muted); font-size: 16px; line-height: 1.9; }
.article-content h2, .article-content h3, .article-content h4 {
    color: #fff; margin-top: 42px; margin-bottom: 16px; font-family: var(--font-heading);
}
.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.3rem; }
.article-content h4 { font-size: 1.1rem; }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin-bottom: 18px; padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--gold); text-decoration: underline !important; }
.article-content strong { color: var(--text-light); }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; }
.article-content blockquote {
    border-left: 3px solid var(--mars-red);
    padding: 10px 20px; margin: 24px 0; font-style: italic; color: var(--text-light);
    background: var(--space-purple); border-radius: 0 8px 8px 0;
}
.article-featured-img { width: 100%; border-radius: 16px; margin-bottom: 35px; }
.pagination-mars { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination-mars a, .pagination-mars span {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    color: var(--text-light); font-size: 14px;
    border: 1px solid rgba(255,255,255,.12);
}
.pagination-mars a:hover { border-color: var(--mars-red); color: var(--gold); }
.pagination-mars .active { background: linear-gradient(135deg, var(--mars-red), var(--gold)); color: var(--space-dark); border: none; font-weight: 700; }

/* =========== Rich service-page sections (accordions, expertise cards) =========== */
.expertise-card {
    background: var(--space-purple);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform .3s ease, border-color .3s ease;
}
.expertise-card:hover { transform: translateY(-6px); border-color: var(--mars-red); }
.expertise-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.expertise-card-body { padding: 20px 22px; }
.expertise-card-body h4 { font-size: 1.05rem; margin-bottom: 8px; }
.expertise-card-body p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0; }

.rich-accordion {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 22px;
    align-items: start;
}
@media (max-width: 767px) {
    .rich-accordion { grid-template-columns: 1fr; }
}
.rich-accordion.rich-accordion-single { grid-template-columns: 1fr; }
.rich-accordion-item {
    background: var(--space-purple);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    margin-bottom: 0;
    overflow: hidden;
}
.rich-accordion-item summary {
    cursor: pointer;
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .2s ease;
}
.rich-accordion-item summary::-webkit-details-marker { display: none; }
.rich-accordion-item summary::after {
    content: '\002B';
    font-size: 1.3rem;
    color: var(--gold);
    margin-left: 16px;
    flex-shrink: 0;
}
.rich-accordion-item[open] summary::after { content: '\2212'; }
.rich-accordion-item[open] summary { color: var(--gold); border-bottom: 1px solid rgba(255,255,255,.08); }
.rich-accordion-body {
    padding: 18px 24px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.8;
}
.certificate-placeholder p { color: var(--text-muted); font-size: 12.5px; margin-bottom: 0; }

a.navbar-brand img {
    height: 58px;
}
.btn-nav-cta {
    background: linear-gradient(90deg, var(--mars-red), var(--mars-orange));
    padding: 10px 26px !important;
    border-radius: 30px;
    color: #fff !important;
    margin-left: 14px !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(255,87,51,.4);
    animation: pulse-glow 2.8s ease-in-out infinite;
}
.nav-item1 .btn-nav-cta1{
    padding: 10px 26px !important;
}