/* =====================================================
   BASE RESET & GLOBAL STYLES
===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* =====================================================
   BLUE ONYX INVESTMENT GROUP — DESIGN TOKENS
===================================================== */

:root {
  /* Dark Hero Colors */
  --bg-main: #02040a;
  --bg-layer: #060b16;

  /* Light Site Colors */
  --bg-light: #ffffff;
  --bg-section: #f8fafc;
  --border-light: #e5e7eb;

  --text-dark: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --text-invert: #ffffff;
  --text-invert-muted: #b7c0dd;

  --brand-primary: #1f3cff;
  --brand-secondary: #162fcf;

  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* =====================================================
   BODY & TYPOGRAPHY
===================================================== */

body {
  font-family: var(--font-primary);
  background-color: var(--bg-light);   /* ✅ LIGHT SITE */
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}


/* Headings */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}


h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

/* Paragraphs */
p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}


/* Links */
a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  color: var(--brand-secondary);
}

/* =====================================================
   BOOTSTRAP OVERRIDES (CONTROLLED)
===================================================== */

.container {
  max-width: 1200px;
}

.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.form-control {
  border-radius: 6px;
  border-color: var(--border-light);
}

.form-control:focus {
  border-color: var(--brand-accent);
  box-shadow: none;
}

/* =====================================================
   TOP ANNOUNCEMENT BAR (FIXED)
===================================================== */

.top-announcement {
  background: var(--brand-primary);
}

.top-announcement p {
  margin: 0;
  padding: 0.45rem 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff; /* FORCE CONTRAST */
  letter-spacing: 0.02em;
}

/* =====================================================
   NAVIGATION BAR (ENHANCED & STABLE)
===================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

/* Brand */
.brand img {
  height: 75px;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a,
.nav-dropdown span {
  margin-left: 2.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-links a:hover,
.nav-dropdown span:hover {
  color: var(--brand-primary);
}

/* Contact button */
.nav-links .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.95rem;
}

/* =====================================================
   NAV BUTTON FIX (CRITICAL)
===================================================== */

.nav-links .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 1.25rem;

  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;

  border-radius: 6px;
  border: none;

  background-color: var(--brand-primary);
  color: #ffffff;
}

.nav-links .btn:hover {
  background-color: var(--brand-secondary);
  color: #ffffff;
}


/* =====================================================
   CUSTOM DROPDOWN (CRITICAL FIX)
===================================================== */

.nav-dropdown {
  position: relative;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.5rem 0;

  /* ISOLATION FIX */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: all 0.2s ease;
}

.dropdown-menu-custom a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.dropdown-menu-custom a:hover {
  background: var(--bg-section);
  color: var(--brand-primary);
}

.nav-dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}



/* =====================================================
   HERO SECTION (CENTERED)
===================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0 6%;
  background: linear-gradient(
    135deg,
    #0b1f33 0%,   /* lifted navy */
    #02040a 65%   /* deep base */
  );

  color: var(--text-invert);
  overflow: hidden;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);

  background-size: 48px 48px;
  opacity: 0.35;
  animation: gridMove 40s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 400px 400px, 400px 400px;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 20% 30%, rgba(40,90,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(20,40,120,0.2), transparent 50%);

  animation: glowPulse 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  color: var(--text-invert);
}

.hero-description {
  font-size: 1.8rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 2.4rem;
}


.hero-btn {
  height: 50px;
  padding: 0 2rem;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover {
  background: var(--brand-secondary);
  color: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(31, 60, 255, 0.45);
}


@media (max-width: 991px) {
  .hero-title { font-size: 2.7rem; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 2.3rem; }
  .hero-description { font-size: 1rem; }
}


/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;

  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =====================================================
   EYEBROW TEXT
===================================================== */

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;

  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--text-muted);
}


/* =====================================================
   HERO TITLE
===================================================== */

.hero-title {
  font-size: 3.75rem;
  font-weight: 600;
  line-height: 1.12;

  margin-bottom: 1.2rem;
}


/* =====================================================
   HERO DESCRIPTION
===================================================== */

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;

  color: var(--text-secondary);
  margin-bottom: 2.4rem;
}


/* =====================================================
   HERO BUTTON
===================================================== */

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 50px;
  padding: 0 2rem;

  font-size: 1rem;
  font-weight: 500;

  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 6px;
  border: none;
  text-decoration: none;

  transition: background 0.25s ease,
              transform 0.25s ease,
              box-shadow 0.25s ease;
}

.hero-btn:hover {
  background: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(31, 60, 255, 0.45);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.7rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}


/* =====================================================
   FLOATING CURRENCY SYMBOLS — FIXED VISIBILITY
===================================================== */

.currency-layer {
  position: absolute;
  inset: 0;
  z-index: 2;               /* ABOVE background */
  pointer-events: none;
  overflow: hidden;
}

.currency-symbol {
  position: absolute;

  font-size: 5.6rem;       /* Bigger */
  font-weight: 600;

  color: white; /* Visible but subtle */

  animation: floatCurrency 18s ease-in-out infinite;
}

/* Positioning */
.currency-symbol:nth-child(1) {
  top: 22%;
  left: 18%;
  animation-duration: 22s;
}

.currency-symbol:nth-child(2) {
  top: 68%;
  left: 26%;
  animation-duration: 26s;
}

.currency-symbol:nth-child(3) {
  top: 32%;
  left: 74%;
  animation-duration: 24s;
}

.currency-symbol:nth-child(4) {
  top: 74%;
  left: 64%;
  animation-duration: 28s;
}

.currency-symbol:nth-child(5) {
  top: 48%;
  left: 50%;
  animation-duration: 30s;
}

/* Motion */
@keyframes floatCurrency {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-36px) scale(1.08);
    opacity: 0.55;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
}

#typed-text::after {
  content: "▍";
  margin-left: 4px;
  color: rgba(255,255,255,0.8);
  animation: caretBlink 1.2s infinite;
}

@keyframes caretBlink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}


/* =====================================================
   PROCESS CARDS — PROFESSIONAL REFINEMENT
===================================================== */

.process-card {
  padding: 2.5rem 2.25rem;
  height: 100%;

  background: transparent;
  border-left: 1px solid var(--border-light);

  transition: border-color 0.3s ease;
}

/* Step number */
.step-number {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Title */
.process-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

/* Description */
.process-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Hover — subtle, professional */
.process-card:hover {
  border-left-color: var(--brand-primary);
}

/* Title emphasis on hover */
.process-card:hover h4 {
  color: var(--brand-primary);
}




/* =====================================================
   RESPONSIVE CLEANUP
===================================================== */

@media (max-width: 991px) {
  .process-card {
    padding: 2rem 1.5rem;
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
}


/* =====================================================
   SCROLL ANIMATION (FADE UP)
===================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   INVESTMENT PROJECT PANELS (PROFESSIONAL)
===================================================== */

.projects-section {
  padding: 5.5rem 0;
  background: var(--bg-section);
}

.project-panel {
  height: 100%;
  padding: 2.25rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-light);

  transition: border-color 0.25s ease;
}

/* Meta row */
.project-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Sector */
.project-sector {
  color: var(--brand-primary);
}

/* Stage */
.project-stage {
  color: var(--text-muted);
}

/* Title */
.project-panel h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

/* Description */
.project-panel p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Hover — very restrained */
.project-panel:hover {
  border-color: var(--brand-primary);
}


/* =====================================================
   FAQ SECTION
===================================================== */

.faq-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

/* Left content */
.faq-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.faq-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.faq-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 320px;
}

/* Accordion wrapper */
.faq-accordion {
  border-top: 1px solid var(--border-light);
}

/* Item */
.faq-item {
  border-bottom: 1px solid var(--border-light);
}

/* Question */
.faq-question {
  width: 100%;
  padding: 1.5rem 1rem 1.5rem 0;
  background: none;
  border: none;
  text-align: left;

  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);

  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;
}

/* Custom indicator */
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-primary);
  transition: transform 0.25s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 0 1.5rem 0;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Active state */
.faq-item.active .faq-question {
  color: var(--brand-primary);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Responsive */
@media (max-width: 991px) {
  .faq-section {
    padding: 4rem 0;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-description {
    margin-bottom: 2.5rem;
    max-width: none;
  }
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: #0b1f33; /* deep professional navy */
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Social links */
.footer-social a {
  margin-right: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
}

.footer-social a:hover {
  color: #ffffff;
}

/* Legal links */
.footer-links a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-social a,
  .footer-links a {
    margin: 0 0.75rem;
  }
}



/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
  padding: 5.5rem 0;
  background: var(--bg-section);
}

/* Left side */
.contact-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.contact-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 380px;
  margin-bottom: 2rem;
}

.contact-email a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-primary);
}

/* Form */
.contact-form {
  background: #ffffff;
  padding: 2.5rem 2.25rem;
  border: 1px solid var(--border-light);
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.contact-form .form-control {
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
}

/* Error text */
.error-text {
  display: none;
  font-size: 0.75rem;
  color: #b91c1c;
  margin-top: 0.25rem;
}

/* Button */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 46px;
  padding: 0 1.75rem;

  font-size: 0.95rem;
  font-weight: 500;

  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
}

.contact-btn:hover {
  background-color: var(--brand-secondary);
}

/* Responsive */
@media (max-width: 991px) {
  .contact-section {
    padding: 4rem 0;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-description {
    margin-bottom: 2.5rem;
  }
}




/* =====================================================
   GLOBAL PILL BUTTONS + SOFT GLOW (OVERRIDE ONLY)
   (SAFE ADDITION – DOES NOT BREAK EXISTING STYLES)
===================================================== */

/* Normalize all primary buttons */
.btn,
.btn-primary,
.hero-btn,
.contact-btn,
.nav-links .btn {
  border-radius: 999px !important; /* pill shape */
  position: relative;
  overflow: visible;
}

/* Keep navbar button height intact */
.nav-links .btn {
  height: 40px;
  padding: 0 1.6rem;
  font-size: 0.9rem;
}

/* =====================================================
   SOFT INFINITE GLOW (SUBTLE & PROFESSIONAL)
===================================================== */

.btn::after,
.btn-primary::after,
.hero-btn::after,
.contact-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;

  box-shadow: 0 0 0 rgba(63, 169, 245, 0);
  opacity: 0.8;

  animation: softGlow 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

/* Keyframes — calm breathing glow */
@keyframes softGlow {
  0% {
    box-shadow: 0 0 0 rgba(63, 169, 245, 0);
  }
  50% {
    box-shadow: 0 0 16px rgba(63, 169, 245, 0.32);
  }
  100% {
    box-shadow: 0 0 0 rgba(63, 169, 245, 0);
  }
}


/* ================= ABOUT INTRO ================= */

.about-intro {
  padding: 6rem 0 5rem;
  background: #ffffff;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.about-heading {
  font-size: 3.2rem;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.15rem;
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.about-body {
  max-width: 720px;
}


/* ================= PHILOSOPHY ================= */

.about-block {
  padding: 5rem 0;
}

.bg-soft {
  background: var(--bg-section);
}

.block-title {
  font-size: 1.9rem;
  position: relative;
  padding-left: 1.25rem;
}

.block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  height: 28px;
  width: 3px;
  background: var(--brand-primary);
}

.block-panel {
  padding: 2rem 2.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  transition: border-color 0.3s ease;
}

.block-panel:hover {
  border-color: var(--brand-primary);
}


/* ================= WHAT WE LOOK FOR ================= */

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.criteria-item {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.criteria-item:hover {
  border-color: var(--brand-primary);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= VALUE ================= */

.value-panel {
  padding: 2.25rem;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #f8fbff 100%
  );
  border-left: 3px solid var(--brand-primary);
}


/* ================= PROJECT HERO ================= */

.project-hero {
  padding: 6.5rem 0 6rem; /* stronger top anchoring */
  background: #ffffff;
}

.project-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 3rem;
  margin: 0 0 1.25rem 0;
}

.project-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 1.25rem;
}

.project-summary {
  max-width: 540px;
  margin-bottom: 0;
}

.project-hero-image {
  border-radius: 12px;
  overflow: hidden;
  max-width: 520px;
  margin-left: auto; /* visual balance */
}

.project-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* ================= FOCUS GRID ================= */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;              /* improved breathing */
  margin-top: 0.75rem;
}

.focus-item {
  padding: 1.5rem 1.75rem; /* more editorial padding */
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.focus-item:hover {
  border-color: var(--brand-primary);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= PROJECT TABS ================= */

.project-tabs {
  padding: 6.5rem 0 7rem; /* strong section separation */
}

.tabs-header {
  display: flex;
  gap: 2rem;              /* cleaner tab spacing */
  margin-bottom: 2.75rem;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tab-btn.active {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.tab-content {
  display: none;
  max-width: 720px;
  margin-left: 0.25rem;   /* aligns with tab underline */
}

.tab-content.active {
  display: block;
}

.tab-content p {
  margin-bottom: 1rem;
}


/* ================= MOBILE REFINEMENTS ================= */

@media (max-width: 991px) {
  .project-hero {
    padding: 4.5rem 0;
  }

  .project-hero-image {
    margin-top: 2.5rem;
    margin-left: 0;
    max-width: 100%;
  }

  .project-tabs {
    padding: 4.5rem 0;
  }
}



/* =====================================================
   MOBILE NAVIGATION SYSTEM
===================================================== */

/* Hamburger */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Nav Container */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
}

/* Mobile Nav Links */
.mobile-nav a,
.mobile-dropdown-toggle {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  text-align: left;
}

/* Mobile Dropdown */
.mobile-dropdown-menu {
  display: none;
  padding-left: 1rem;
}

.mobile-dropdown-menu a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Active states */
.mobile-nav.active {
  display: block;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: block;
}
