/* 
 * Manara Redesign - Audacy Inspired Theme
 * Colors & Typography
 */

/* Self-hosted Outfit font */
@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Fonts */
    --font-heading: 'Georgia', serif;
    --font-body: 'Outfit', 'Gilroy', Arial, Helvetica, sans-serif;

    /* Text Colors */
    --color-text-primary: #1B2E4B;
    /* Deep Navy â€” 60% dominant tone */
    --color-text-secondary: #1B2E4B;
    --color-white: #FFFFFF;

    /* Button / Action Colors â€” Accessible Sienna #B05520 (Burnt Sienna darkened for WCAG 2.1 AA on light backgrounds) */
    --color-primary-btn: #B05520; /* Accessible Sienna â€” official Manara palette colour */
    --color-primary-btn-hover: #1B2E4B;

    /* Borders */
    --color-border-highlight: #D4743A;
    --color-border-subtle: #C5B9A8; /* Warm Gray â€” replaces off-palette #C5B9A8 /* Warm Gray */ */
    --color-border-neon: #1B2E4B;

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-navy: #1B2E4B;
    /* 60% â€” nav, hero, footer */
    --bg-parchment: #E5DDD0;
    /* 30% â€” section backgrounds */
    --bg-ivory: #F5F0E8;
    /* 30% â€” cards, surfaces */
    --bg-section: #E5DDD0; /* Parchment â€” renamed from --bg-pink-light */
    --bg-section-alt: #E5DDD0; /* Parchment â€” renamed from --bg-pink-dark */
    --bg-surface: #F5F0E8; /* Warm Ivory â€” renamed from --bg-blue-light */
    --bg-warm: #E5DDD0; /* Parchment â€” renamed from --bg-yellow-pink */
    --bg-navy-deep: #1B2E4B; /* Deep Navy â€” renamed from --bg-blue-dark */

    /* Accents */
    --accent-sienna: #D4743A; /* Burnt Sienna â€” renamed from --accent-yellow */
    --accent-parchment: #E5DDD0; /* Parchment â€” renamed from --accent-blue */
    --accent-orange: #D4743A;

    /* Theme-dependent derived values */
    --shadow-accent: #E5DDD0;
    --focus-ring: rgba(176, 85, 32, 0.4); /* Accessible Sienna at 40% opacity */
}

/* ========================================
   THEME PALETTES
   All themes keep navy (#090335) for text & footer.
   Only accent / action / background tones change.
   ======================================== */

/* Coral â€” playful, warm, energetic */
[data-theme="coral"] {
    --color-primary-btn: #B05520;
    --color-primary-btn-hover: #1B2E4B;
    --bg-section: #E5DDD0;
    --accent-sienna: #D4743A; /* Burnt Sienna â€” renamed from --accent-yellow */
    --shadow-accent: #E5DDD0;
    --focus-ring: rgba(176, 85, 32, 0.4); /* Accessible Sienna at 40% opacity */
}

/* Evergreen â€” scholarly, natural, wise */
[data-theme="evergreen"] {
    --color-primary-btn: #B05520;
    --color-primary-btn-hover: #1B2E4B;
    --bg-section: #E5DDD0;
    --accent-sienna: #D4743A; /* Burnt Sienna â€” renamed from --accent-yellow */
    --shadow-accent: #E5DDD0;
    --focus-ring: rgba(176, 85, 32, 0.4); /* Accessible Sienna at 40% opacity */
}

/* Claret â€” refined, classic academia */
[data-theme="claret"] {
    --color-primary-btn: #B05520;
    --color-primary-btn-hover: #1B2E4B;
    --bg-section: #E5DDD0;
    --accent-sienna: #D4743A; /* Burnt Sienna â€” renamed from --accent-yellow */
    --shadow-accent: #E5DDD0;
    --focus-ring: rgba(176, 85, 32, 0.4); /* Accessible Sienna at 40% opacity */
}

/* Slate & Amber â€” modern professional scholarship */
[data-theme="slate"] {
    --color-primary-btn: #B05520;
    --color-primary-btn-hover: #1B2E4B;
    --bg-section: #E5DDD0;
    --accent-sienna: #D4743A; /* Burnt Sienna â€” renamed from --accent-yellow */
    --shadow-accent: #E5DDD0;
    --focus-ring: rgba(176, 85, 32, 0.4); /* Accessible Sienna at 40% opacity */
}

/* Teal & Copper â€” innovative education */
[data-theme="teal"] {
    --color-primary-btn: #B05520;
    --color-primary-btn-hover: #1B2E4B;
    --bg-section: #E5DDD0;
    --accent-sienna: #D4743A; /* Burnt Sienna â€” renamed from --accent-yellow */
    --shadow-accent: #E5DDD0;
    --focus-ring: rgba(176, 85, 32, 0.4); /* Accessible Sienna at 40% opacity */
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scrollbar-gutter: stable; /* Prevents layout shift when scrollbar appears/disappears between pages */
    background-color: var(--bg-white);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Skip navigation link â€” hidden until focused by keyboard */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-navy);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.15s ease;
}
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-primary-btn);
    outline-offset: 2px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    position: relative;
    scroll-margin-top: 100px; /* Offset for sticky header */
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 0px;
    /* Audacy style square corners */
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary-btn);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-text-primary);
    /* Navy #090335 */
    transform: translateY(-2px);
}

/* Specific Hero CTA Button (Dark Blue -> Salmon) */
.btn-hero-cta {
    background-color: var(--color-text-primary);
    /* Dark Blue */
    color: var(--color-white);
}

.btn-hero-cta:hover {
    background-color: var(--color-primary-btn);
    /* Salmon */
    transform: translateY(-2px);
}

/* Navbar "Contact Us" Button (Salmon -> Dark Blue) */
.nav-links .btn-primary {
    background-color: var(--color-primary-btn);
    /* Salmon */
    color: var(--color-white);
    border: 2px solid transparent;
    /* Reset border */
    border-radius: 0px;
    font-weight: 700;
}

.nav-links .btn-primary:hover {
    background-color: var(--color-text-primary);
    /* Dark Blue */
    color: var(--color-white);
    /* FORCE text to stay white, overriding .nav-links a:hover */
    border-color: transparent;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
    border-radius: 0px;
    /* Square */
}

.btn-secondary:hover {
    background-color: var(--color-text-primary);
    color: var(--color-white);
}

/* Hero buttons container */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.hero-btns .btn {
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

/* On very narrow screens, allow buttons to compress slightly */
@media (max-width: 450px) {
    .hero-btns {
        gap: 0.4rem;
    }

    .hero-btns .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .manara-signature {
        height: 24px;
    }
}

/* Handwritten signature in hero */
.manara-signature {
    height: 32px;
    width: auto;
    flex-shrink: 0;
}

/* Override inline SVG colors so the signature follows the active theme */
.manara-signature path:first-child,
.manara-signature path:last-child {
    stroke: var(--color-primary-btn) !important;
}

.manara-signature path:nth-child(2) {
    fill: var(--color-primary-btn) !important;
}

/* Flip the decorative curls beside the "m" on button hover */
.manara-signature path:first-child,
.manara-signature path:last-child {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.hero-btns:has(.btn:hover) .manara-signature path:first-child,
.hero-btns:has(.btn:hover) .manara-signature path:last-child {
    transform: scaleY(-1);
}

/* Decoration Shapes */
.shape {
    position: absolute;
    z-index: -1;
}

/* Header / Nav */
header {
    background-color: #E5DDD0;
    padding: 1.5rem 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 110, 60, 0.25); /* Warm Umber tint */
    transition: border-bottom 0.3s ease;
}

header.scrolled {
    border-bottom: 1px solid rgba(139, 110, 60, 0.35); /* Warm Umber tint â€” scrolled */
}

/* Logo navy on parchment header */
header .logo,
header .logo a {
    color: #1B2E4B;
}

/* Nav links navy on parchment header */
header .nav-links a {
    color: #1B2E4B;
    font-weight: 500;
}

header .nav-links a:hover {
    color: #D4743A;
}

/* Contact Us button in nav â€” darkened Sienna for WCAG AA contrast */
header .nav-links .btn-primary {
    background-color: #B05520; /* Accessible Sienna */
    color: #FFFFFF;
}

header .nav-links .btn-primary:hover {
    background-color: #1B2E4B;
    color: #FFFFFF;
}

/* Hamburger bars navy on parchment */
header .hamburger span {
    background-color: #1B2E4B;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-text-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--color-primary-btn);
    /* Salmon hover matching Audacy */
}

/* Hero Section */
.hero {
    background-color: var(--bg-ivory);
    padding: 6rem 0;
    overflow-x: clip;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: visible;
}

.hero-text h1 {
    font-size: 2.2rem;
    /* ~35px */
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}



.hero-light {
    font-weight: 400;
    /* Regular weight for the description part */
    font-family: var(--font-heading);
}

/* Removed obsolete .hero-desc rules */

/* Removed .hero-desc strong rule as requested */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 315px;
    aspect-ratio: 1 / 1;
    background-color: var(--shadow-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    box-shadow: none;
    border: none;
    overflow: hidden;
    justify-self: center;
}

.hero-shape-bg {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animated bulb SVG */
.bulb-svg {
    width: 92%;
    height: 92%;
}

.bulb-leader {
    animation: bulb-flow 7.6s linear infinite;
}

.bulb-follower {
    animation: bulb-flow 7.6s linear 0.47s infinite;
}

@keyframes bulb-flow {
    0%    { stroke-dashoffset: 2.8; }    /* bolt just before path start */
    49.2% { stroke-dashoffset: -64.7; } /* head enters coil â€” slow down */
    65.9% { stroke-dashoffset: -74.1; } /* tail exits coil â€” resume speed */
    86.8% { stroke-dashoffset: -102.8; }/* tail cleared path */
    100%  { stroke-dashoffset: -102.8; }/* pause before loop */
}


/* Solid peach offset block */


/* Services Section */
.services {
    background-color: var(--bg-ivory);
}

.services .text-center {
    margin-bottom: 3.5rem;
}

.services-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    max-width: 560px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* Wave Divider */
.wave-divider {
    padding: 2rem 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--bg-ivory);
}

.wave-divider svg {
    width: 100%;
    height: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 4rem;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-top: 2px solid var(--color-border-subtle);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-top-color: var(--color-primary-btn);
}

/* No pseudo-element dividers needed */
.service-card::after {
    display: none;
}

/* Icon wrapper â€” clean square with no border */
.service-icon-wrap {
    width: 72px;
    height: 72px;
    min-width: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-wrap .service-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-text {
    flex: 1;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    opacity: 0.75;
}

/* Services Responsive / Mobile */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-card {
        padding: 1.5rem 0;
    }
}

/* Commitment Section */
.commitment {
    background-color: var(--bg-section);
}

.commitment-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.commitment-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.commitment-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

/* Portfolio Section Refactor */
.portfolio {
    background-color: var(--bg-parchment);
    padding-bottom: 8rem;
}

/* Portfolio Cards Layout */
.portfolio .section-title {
    margin-bottom: 2.5rem;
    /* More space before cards */
}

.portfolio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Project Card Styles */
.project-col {
    background: var(--bg-ivory);
    border: 1px solid var(--color-border-subtle);
    border-radius: 0px;
    /* Square corners to match theme */
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle hover effect */
.project-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Remove old wrapper alignment rules */
.project-content-wrapper {
    width: 100%;
    max-width: none;
}


.project-col:hover {
    transform: none;
}

.project-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    min-height: 3.6rem;
    /* Reserve space for 2 lines of text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-visual {
    width: 100%;
    height: 200px;
    background-color: transparent;
    margin-bottom: 2rem;
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: none;
    order: 0;
    /* Middle */
}

.project-col:hover .project-visual {
    box-shadow: none;
}

/* Pseudo-placeholder illustration helper */
.placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.5;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image.top-crop {
    object-position: top;
}

.pharma-image {
    width: 85%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    padding-top: 1rem;
}


.project-desc {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    line-height: 1.7;
    order: 1;
    /* Bottom */
}

/* Portfolio Tablet/Mobile Responsiveness */
@media (max-width: 992px) {
    .portfolio-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-content-wrapper {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .project-visual {
        height: auto;
        aspect-ratio: 4 / 3;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .project-visual {
        max-width: 100%;
    }
}

/* Contact Section */
.contact {
    background-color: var(--bg-ivory); /* Warm Ivory */
}

/* Two-column layout for contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    align-items: center;
    /* Vertically center with form */
}

.contact-info {
    text-align: center;
}

.contact-info .section-title {
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.15rem;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

/* Contact visual */
.contact-visual {
    width: 75%;
    max-width: 75%;
    margin: 0 auto;
}

.contact-image {
    width: 100%;
    height: auto;
    display: block;
}

.contact-container {
    max-width: 100%;
    /* Full width within its column */
    margin: 0;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 0px;
    /* Square corners to match theme */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border-subtle);
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-container {
        padding: 1.5rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border-subtle);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: 2px solid var(--color-primary-btn);
    outline-offset: 2px;
    border-color: var(--color-primary-btn);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--color-text-primary);
    color: var(--color-white);
    padding: 2rem 0 1rem;
    /* Reduced padding */
}

footer .logo {
    color: var(--color-white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 4rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-col:first-child {
    text-align: left;
}

.footer-col:nth-child(2),
.footer-col:nth-child(3) {
    text-align: right;
    padding-top: 0.5rem;
}

.footer-col:nth-child(2) ul,
.footer-col:nth-child(3) ul {
    text-align: right;
}

.footer-col h4 {
    font-size: 1.1rem;
    /* Slightly smaller */
    margin-bottom: 1rem;
    /* Reduced margin */
    color: var(--color-white);
    /* Changed from yellow to white */
}

.footer-col ul li {
    margin-bottom: 0.5rem;
    /* Reduced spacing */
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
    color: var(--color-white);
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    /* Reduced padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer responsive */
@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;   /* Logo row spans full width */
    }

    .footer-col:nth-child(2) {
        text-align: left;
        padding-top: 0;
    }

    .footer-col:nth-child(3) {
        text-align: right;
        padding-top: 0;
    }

    .footer-col:nth-child(2) ul {
        text-align: left;
    }

    .footer-col:nth-child(3) ul {
        text-align: right;
    }
}

/* Responsive â€” Hero stacks before buttons would need to wrap */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        margin: 0 auto;
        max-width: min(315px, calc(100% - 40px));
    }
}

/* Hamburger button â€” hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate into X when open */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    /* Prevent horizontal scroll on mobile */
    html {
        scrollbar-gutter: auto;
        overflow-x: hidden;    /* needed on html too for iOS Safari */
    }

    body {
        overflow-x: hidden;
    }

    .hamburger {
        display: flex;
        order: 10;          /* push to the far right of the flex row */
        margin-left: auto;
    }

    .nav-container {
        position: relative;
    }

    /* nav element shouldn't take flex space â€” its dropdown is absolute */
    .nav-container nav {
        position: static;
        width: 0;
        overflow: visible;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: var(--bg-navy);
        padding: 1rem 2rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    header .nav-links a {
        color: #FFFFFF;
    }

    header .nav-links a:hover {
        color: #D4743A;
    }

    .nav-links li:last-child a {
        border-bottom: none;
        margin-top: 0.5rem;
        display: inline-block;
        width: auto;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .nav-links li:last-child {
        border-top: none;
        text-align: center;
    }

    .nav-links li:nth-last-child(2) a {
        border-bottom: none;
    }
}

/* Animation pause/play button */
.anim-pause-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--shadow-accent);
    border: none;
    border-radius: 50%;
    color: #1B2E4B;
    cursor: pointer;
    z-index: 10;
    box-shadow: none;
}
.anim-pause-btn:focus-visible {
    outline: 2px solid var(--color-primary-btn);
    outline-offset: 2px;
}
.anim-pause-btn:hover {
    background: #C5B9A8; /* Warm Gray */
}
.anim-btn-label {
    display: none;
}
.hero-visual {
    position: relative;
}

/* Reduced motion â€” disable looping animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .bulb-leader,
    .bulb-follower {
        animation: none;
    }
}
