/* ===================================================
   FEGHAS INNOVATION ACADEMY — CONTACT US
   Vanilla CSS — colors sampled from source design
=================================================== */

:root {
  --orange: var(--primary);
  --orange-dark: var(--primary-dark);
  --orange-light: #FFE3D9;
  --black: #0a0a0a;
  --ink: #14141a;
  --grey-text: #5c5c66;
  --bg-soft: #F9FAFB;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(20, 20, 26, 0.06);
  --shadow-hover: 0 16px 40px rgba(255, 51, 0, 0.18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Righteous', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--fw-heading);
  line-height: 1.25;
  letter-spacing: normal;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: var(--fw-semibold);
  font-size: var(--font-size-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 51, 0, 0.25);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 14px 30px rgba(255, 51, 0, 0.35); }

.btn-white {
  background: var(--white);
  color: var(--orange);
}
.btn-white:hover { box-shadow: 0 14px 30px rgba(0,0,0,0.18); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
  padding: 10px 22px;
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,20,26,0.25);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  border-radius: 0 999px 999px 0;
}
.btn-outline-light:hover { background: var(--orange); border-color: var(--orange); }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(20,20,26,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-bold);
  font-size: var(--font-size-md);
  flex-shrink: 0;
}

.logo-mark {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 6px 6px 6px 0;
  transform: rotate(45deg);
  display: inline-block;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 260px;
  padding: 8px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 30px;
  background: var(--bg-soft);
  transition: border-color 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.35s cubic-bezier(.25,.8,.25,1);
}
.search-box:hover, .search-box:focus-within {
  border-color: #ff3300;
  box-shadow: 0 0 0 3px rgba(255,51,0,0.08);
}
.search-box svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #9a9ca5;
}
.nav-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: var(--font-size-sm);
  width: 100%;
  font-family: var(--font-body);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  font-size: var(--font-size-sm);
  font-weight: var(--fw-medium);
  color: var(--ink);
  padding: 6px 0;
  transition: color .25s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--orange);
  transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--orange); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--orange); font-weight: var(--fw-semibold); }

.nav-cta { flex-shrink: 0; }
.nav-cta.active { background: var(--orange); color: var(--white); }
.nav-cta.active:hover { background: var(--orange-dark); }

.has-dropdown { position: relative; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.has-dropdown svg { transition: transform .3s var(--ease); }
.has-dropdown:hover svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 50;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: var(--font-size-sm);
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--orange); }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1100;
}
.header-cta { flex-shrink: 0; }
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s ease;
}
.header-cta { flex-shrink: 0; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-cta { flex-shrink: 0; }
.burger.open span:nth-child(2) { opacity: 0; }
.header-cta { flex-shrink: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta-mobile { display: none; }

@media (max-width: 860px) {
.header-cta { flex-shrink: 0; }
  .burger { display: flex; }
  .nav-cta-mobile { display: block; }
  .nav-cta { display: none; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    gap: 0;
    margin-left: 0;
    transition: max-height .3s var(--ease);
    border-bottom: 1px solid rgba(20,20,26,0.06);
  }
  .main-nav.open {
    max-height: 400px;
  }
  .main-nav a {
    padding: 14px 24px;
    border-top: 1px solid rgba(20,20,26,0.05);
  }
}
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--orange) 0%, #FF5722 100%);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero-copy p {
  color: rgba(255,255,255,0.9);
  font-size: var(--font-size-base);
  max-width: 460px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.hero-media:hover img { transform: scale(1.05); }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ SECTION GENERIC ============ */
.section { padding: 90px 0; }
.eyebrow {
  color: var(--orange);
  font-weight: var(--fw-bold);
  font-size: var(--font-size-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--grey-text);
  max-width: 560px;
  margin: 0 auto 10px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ CONTACT INFO + FORM ============ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.section-sub-left { color: var(--grey-text); margin-bottom: 30px; max-width: 420px; }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(20,20,26,0.07);
  border-radius: var(--radius-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease;
}
.info-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255,51,0,0.2);
}
.info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, transform .35s var(--ease);
}
.info-item:hover .info-icon { background: var(--orange); transform: rotate(-6deg) scale(1.06); }
.info-item:hover .info-icon svg { stroke: var(--white); }
.info-icon svg { width: 20px; height: 20px; transition: stroke .3s ease; }
.info-text h4 { font-size: var(--font-size-base); font-weight: var(--fw-bold); margin-bottom: 4px; }
.info-text p { color: var(--grey-text); font-size: var(--font-size-base); }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ---- Contact form ---- */
.contact-form-wrap {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(20,20,26,0.06);
}
.contact-form-wrap h3 { font-size: var(--font-size-xl); font-weight: var(--fw-bold); margin-bottom: 8px; }
.form-intro { color: var(--grey-text); font-size: var(--font-size-sm); margin-bottom: 26px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label { font-size: var(--font-size-sm); font-weight: var(--fw-semibold); color: var(--ink); }
.req { color: var(--orange); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  padding: 12px 14px;
  border: 1px solid rgba(20,20,26,0.14);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
  width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #a3a3ad; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,51,0,0.1);
}
.form-field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c66' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}
.form-field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }

.send-btn { margin-top: 6px; width: 100%; }
.send-btn.sending { opacity: 0.75; pointer-events: none; }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ FAQ ============ */
.faq-section { background: var(--bg-soft); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.faq-card {
  background: var(--white);
  border: 1px solid rgba(20,20,26,0.07);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.faq-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,51,0,0.2);
}
.faq-card h4 { font-size: var(--font-size-base); font-weight: var(--fw-bold); margin-bottom: 10px; }
.faq-card p { color: var(--grey-text); font-size: var(--font-size-sm); }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--orange) 0%, #d62b00 100%);
  padding: 60px 0;
}
.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-copy h2 { color: var(--white); font-size: var(--font-size-2xl); font-weight: var(--fw-bold); margin-bottom: 6px; }
.cta-copy p { color: rgba(255,255,255,0.88); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(180deg, #c92a00 0%, var(--black) 55%);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { margin-bottom: 14px; }
.footer-brand p { font-size: var(--font-size-sm); color: rgba(255,255,255,0.65); max-width: 260px; }
.footer-col h5, .footer-newsletter h5 {
  color: var(--white);
  font-size: var(--font-size-sm);
  margin-bottom: 16px;
  font-weight: var(--fw-bold);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--font-size-sm); color: rgba(255,255,255,0.65); transition: color .25s ease, padding-left .25s ease; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }

.newsletter-form { display: flex; max-width: 320px; }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px 0 0 999px;
  padding: 11px 16px;
  color: var(--white);
  font-size: var(--font-size-sm);
  outline: none;
  font-family: var(--font-body);
  transition: border-color .3s ease;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--orange); }
.newsletter-form .btn { padding: 11px 20px; font-size: var(--font-size-sm); }
.form-msg { font-size: var(--font-size-xs); margin-top: 10px; color: #ffd9c8; min-height: 1em; }

.footer-bottom {
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.55);
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, transform .3s var(--ease);
}
.footer-socials a svg { width: 14px; height: 14px; fill: var(--white); }
.footer-socials a:hover { background: var(--orange); transform: translateY(-3px); }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ BACK TO TOP ============ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255,51,0,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s var(--ease), background .3s ease;
  z-index: 999;
}
#backToTop svg { width: 20px; height: 20px; }
#backToTop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#backToTop:hover { background: var(--orange-dark); transform: translateY(-4px); }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ SCROLL REVEAL ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .8s var(--ease) forwards;
}
.fade-up.delay-1 { animation-delay: .15s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1.in-view { transition-delay: .1s; }
.reveal.delay-2.in-view { transition-delay: .2s; }
.reveal.delay-3.in-view { transition-delay: .3s; }
.reveal.delay-4.in-view { transition-delay: .4s; }
.reveal.delay-5.in-view { transition-delay: .5s; }
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .nav-search, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-wrap { height: 68px; }
  .hero { padding: 44px 0 60px; }
  .hero-copy h1 { font-size: var(--font-size-3xl); }
  .section { padding: 60px 0; }
  .section-title { font-size: var(--font-size-2xl); }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-form-wrap { padding: 26px 20px; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-grid { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: var(--font-size-2xl); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
.header-cta { flex-shrink: 0; }

.header-cta { flex-shrink: 0; }
/* ============ FOCUS VISIBILITY ============ */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}.header-cta { flex-shrink: 0; }

/* STANDARDIZED HEADER LAYOUT FROM INDEX */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0.75rem 1.5rem;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-box:hover,
.search-box:focus-within {
  border-color: #ff3300;
  box-shadow: 0 0 0 3px rgba(255,51,0,0.08);
}
.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: var(--font-size-sm);
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--font-size-sm);
  font-weight: var(--fw-medium);
  flex: 1;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #ff3300;
  transition: width var(--transition);
}
.main-nav a:hover {
  color: #ff3300;
}
.main-nav a:hover::after {
  width: 100%;
}
.nav-cta {
  flex-shrink: 0;
}
.nav-cta-mobile {
  display: none;
}
.burger,
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.burger span,
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #1a1a1a;
  transition: all var(--transition);
}
.burger.open span:nth-child(1),
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2),
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3),
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== STANDARDIZED HEADER LAYOUT ===== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  transition: box-shadow 0.35s cubic-bezier(.25,.8,.25,1);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0.75rem 1.5rem;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-box:hover,
.search-box:focus-within {
  border-color: #ff3300;
  box-shadow: 0 0 0 3px rgba(255,51,0,0.08);
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--font-size-sm);
  font-weight: var(--fw-medium);
  flex: 1;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.35s cubic-bezier(.25,.8,.25,1);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ff3300;
  transition: width 0.35s cubic-bezier(.25,.8,.25,1);
}
.main-nav a:hover {
  color: #ff3300;
}
.main-nav a:hover::after {
  width: 100%;
}
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.has-dropdown svg {
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1);
}
.has-dropdown:hover svg {
  transform: rotate(180deg);
}
.nav-cta {
  flex-shrink: 0;
}
.nav-cta-mobile {
  display: none;
}
.burger,
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span,
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.35s cubic-bezier(.25,.8,.25,1);
}
.burger.open span:nth-child(1),
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2),
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3),
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   DARK MODE STYLES - COMMON
============================================ */
body.dark-mode {
  background: #0f0f0f !important;
  color: #e0e0e0 !important;
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 {
  color: #ffffff !important;
}

body.dark-mode h1 .highlight-orange {
  color: #ff3300 !important;
}

body.dark-mode p, body.dark-mode span, body.dark-mode li, body.dark-mode td {
  color: #e0e0e0 !important;
}

body.dark-mode .site-header {
  background: rgba(15,15,15,0.96) !important;
  border-bottom: 1px solid #404040 !important;
}

body.dark-mode .search-box {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #ffffff !important;
}

body.dark-mode .search-box input {
  color: #ffffff !important;
  background: #1a1a1a !important;
}

body.dark-mode .search-box input::placeholder {
  color: #888888 !important;
}

body.dark-mode .main-nav a {
  color: #ffffff !important;
}

body.dark-mode .main-nav a:hover {
  color: #ff3300 !important;
}

body.dark-mode .logo {
  color: #ffffff !important;
}

body.dark-mode .burger span {
  background: #ffffff !important;
}

body.dark-mode .btn-primary {
  background: #ff3300 !important;
  color: #ffffff !important;
}

body.dark-mode .btn-primary:hover {
  background: #ff3300 !important;
}

body.dark-mode .btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

body.dark-mode .btn-outline:hover {
  background: #ffffff !important;
  color: #0f0f0f !important;
}

body.dark-mode .site-footer {
  background: #0f0f0f !important;
  border-top: 1px solid #404040 !important;
  color: #e0e0e0 !important;
}

body.dark-mode .footer-col h4 {
  color: #ffffff !important;
}

body.dark-mode .footer-col ul li a {
  color: #e0e0e0 !important;
}

body.dark-mode .footer-col ul li a:hover {
  color: #ff3300 !important;
}

body.dark-mode section {
  background: #0f0f0f !important;
  color: #e0e0e0 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #ffffff !important;
}

body.dark-mode .form-group label {
  color: #ffffff !important;
}

body.dark-mode .field input,
body.dark-mode .field textarea,
body.dark-mode .field select {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #ffffff !important;
}

body.dark-mode .field label {
  color: #ffffff !important;
}

body.dark-mode .card, body.dark-mode [class*="card"] {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #e0e0e0 !important;
}

body.dark-mode a {
  color: #ff3300 !important;
}

body.dark-mode a:hover {
  color: #ff8855 !important;
}

body.dark-mode ul, body.dark-mode ol {
  color: #e0e0e0 !important;
}

body.dark-mode strong, body.dark-mode b {
  color: #ffffff !important;
}

body.dark-mode table {
  border-color: #404040 !important;
  color: #e0e0e0 !important;
}

body.dark-mode th, body.dark-mode td {
  border-color: #404040 !important;
}

body.dark-mode th {
  background: #1a1a1a !important;
  color: #ffffff !important;
}

body.dark-mode .modal {
  background: #1a1a1a !important;
}

body.dark-mode .modal-header {
  background: linear-gradient(135deg, #ff3300, #d92b00) !important;
}

body.dark-mode .modal-footer {
  background: #0f0f0f !important;
  border-top-color: #404040 !important;
}

body.dark-mode .overlay {
  background: rgba(0,0,0,0.8) !important;
}


body.dark-mode .info-item {
  color: #121212 !important;
}

body.dark-mode .info-item h3,
body.dark-mode .info-item p {
  color: #000 !important;
}
