/* ═══════════════════════════════════════════════════════════
   OPTIMIZE DESIGN  —  opti.css
   Dark blueprint aesthetic · Orange accent #ff7a00
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts fallback (loaded in HTML) ───────────────── */
:root {
  --orange:   #ff7a00;
  --orange-dk:#cc6000;
  --bg-deep:  #0a2e4f;
  --bg-card:  rgba(10, 46, 79, 0.797);
  --border:   rgba(255, 122, 0, 0.55);
  --text:     #e8f0f8;
  --text-dim: #d6d6d6;
  --white:    #ffffff;
  --radius:   2px;
}

/* ── Global Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Base ─────────────────────────────────────────────────── */
body {
  font-family: 'Exo 2', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-deep);
  background: var(--bg-deep) url("images/optimizedesignblueprintbackground.png");
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
}


h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

h3 {
  font-size: rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

/* Section title bars (orange chevrons) */

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  /* Text depth */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);

  /* Trapezoid depth */
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.55),
    inset 0 -4px 0 rgba(0, 0, 0, 0.6);

  position: relative;
  z-index: 1;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header / Navigation ──────────────────────────────────── */
.header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 18px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  text-align: center;
  background: rgba(5, 20, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--orange);
}


.logo {
  height: 125px;
  width: auto;
  margin-bottom: 12px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-links li {
  cursor: pointer;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links li:hover { color: var(--orange); }

/* ── Sections wrapper ─────────────────────────────────────── */
.content-section {
  width: min(1200px, 90%);
  margin: 60px auto;
}

/* ── Section Title (orange chevron shape) ─────────────────── */
.section-title {
  display: inline-block;
  align-items: center;
  background: var(--orange);
  color: var(--white);
  padding: 12px 40px;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  margin-bottom: 20px;
  
/* NEW: trapezoid shape */
  clip-path: polygon(0% 100%, 12px 0%, calc(100% - 12px) 0%, 100% 100%);
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-top: 26px solid transparent;
  border-bottom: 26px solid transparent;
}

.section-title::before {
  left: -26px;
  border-right: 26px solid var(--orange);
}

.section-title::after {
  right: -26px;
  border-left: 26px solid var(--orange);
}

/* ── Content Box ──────────────────────────────────────────── */
.content-box {
  background: var(--bg-card);
  padding: 25px;
  line-height: 1.7;
}
.corner-border {
  position: relative;
}

.corner-border::after {
  content: "";
  position: absolute;

  /* Position around box */
  right: -12px;
  bottom: -12px;

  /* Size of the L shape */
  width: 1175px;
  height: 100px;

  /* ONLY 2 sides */
  border-right: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);

  /* Rounded corner like your image */
  border-bottom-right-radius: 20px;

  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   WHAT WE ARE
   ════════════════════════════════════════════════════════════ */
.wwa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.wwa-card {
  background: rgba(255, 122, 0, 0.06);
  border: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s, background 0.25s;
}

.wwa-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 122, 0, 0.13);
}

.wwa-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wwa-icon img {
  opacity: 0.3;;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* ════════════════════════════════════════════════════════════
   DESIGN PROCESS TIMELINE
   ════════════════════════════════════════════════════════════ */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 54px 28px 1fr;
  align-items: stretch;
  gap: 0 16px;
  min-height: 80px;
}

.step-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  padding-top: 4px;
  text-align: right;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-connector::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 6px;
  border: 3px solid var(--bg-deep);
  outline: 2px solid var(--orange);
}

.step-connector::after {
  content: '';
  flex: 1;
  width: 2px;
  background: var(--border);
  margin-top: 4px;
}

.step-connector.last::after {
  display: none;
}

.step-content {
  padding: 4px 0 30px 4px;
}

.step-content h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.step-content p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ════════════════════════════════════════════════════════════
   ACCORDION
   ════════════════════════════════════════════════════════════ */
.accordion-box {
  padding: 0;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.accordion-trigger:hover,
.accordion-trigger[aria-expanded="true"] {
  background: rgba(255, 122, 0, 0.1);
  color: var(--orange);
}

.acc-icon {
  font-size: 0.7rem;
  color: var(--orange);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-panel p {
  padding: 0 25px 22px 52px;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.75;
}/* SPLIT LAYOUT */
.services-split {
  display: flex;
  gap: 30px;
}

/* LEFT PANEL */
.services-left {
  width: 35%;
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--border);
}

/* BUTTON STYLE */
.service-btn {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}

.service-btn:hover,
.service-btn.active {
  background: rgba(255, 122, 0, 0.12);
  color: var(--orange);
}

/* RIGHT PANEL */
.services-right {
  width: 65%;
  padding: 20px;
}

/* CONTENT PANELS */
.service-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.service-content.active {
  display: block;
}

/* SIMPLE FADE */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════ */
.gallery-box { padding: 20px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 12px;
}

.gallery-item {
  background-color: rgba(255, 122, 0, 0.12);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;

clip-path: polygon(
    6% 0%,     /* top-left slant */
    100% 0%,   /* top-right */
    94% 100%,  /* bottom-right slant */
    0% 100%    /* bottom-left */
  );

  transition: transform 0.3s ease;


}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.7);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.gallery-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
}

.gallery-note code {
  color: var(--orange);
  font-style: normal;
}
/* ════════════════════════════════════════════════════════════
   GALLERY — MOVING SLIDESHOW (TICKER)
   Similar to Companies We've Helped ticker
   ════════════════════════════════════════════════════════════ */

.gallery-ticker-wrapper {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.gallery-ticker {
  display: flex;
  gap: 1px;
  width: max-content;
  animation: galleryTicker 26s linear infinite;
}

/* pause on hover (nice UX) */
.gallery-ticker-wrapper:hover .gallery-ticker {
  animation-play-state: paused;
}

/* each slide size */
.gallery-item {
  flex: 0 0 280px;
  height: 180px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* overlay still works the same */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.7);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

/* animation: move one full set width (duplicate set = seamless) */
@keyframes galleryTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Accessibility: reduce motion users */
@media (prefers-reduced-motion: reduce) {
  .gallery-ticker { animation: none; }
  .gallery-ticker-wrapper { overflow-x: auto; }
}

/* Mobile: allow swipe scrolling instead of constant motion */
@media (max-width: 580px) {
  .content-section{
    margin: 40px auto;
    padding: 18px;
  }
  .gallery-ticker { animation: none; }
  .gallery-ticker-wrapper { overflow-x: auto; }
  .gallery-ticker { padding-bottom: 6px; }
  .gallery-item { flex: 0 0 240px; height: 160px; }

  .wwa-grid,
  .gallery-grid,
  .stats-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .section-title {
    font-size: 1.1rem;
    padding: 10px 24px;
    letter-spacing: 0.08em;
  }

  .nav-links{
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-links li {
    font-size: 0.85rem;
  }

  .haze {
    filter: none;
    transform: translateY(10px);
  }
}

/* ════════════════════════════════════════════════════════════
   COMPANIES HELPED
   ════════════════════════════════════════════════════════════ */
.companies-intro {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 28px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* Ticker */
.logo-ticker-wrapper {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 36px;
}

.logo-ticker {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: ticker 20s linear infinite;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 0 10px;
  border-left: 2px solid var(--orange);
  transition: color 0.2s;
}

.ticker-item:hover { color: var(--orange); }

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px;
}

.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section {
  width: 90%;
  max-width: 900px;
}

.cta-inner {
  background: linear-gradient(135deg, rgba(255,122,0,0.18) 0%, rgba(10,46,79,0.97) 60%);
  border: 2px solid var(--orange);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative blueprint grid lines in CTA */
.cta-blueprint-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,122,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,122,0,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-headline {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  position: relative;
}

.cta-headline span { color: var(--orange); }

.cta-sub {
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 34px;
  font-size: 1rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
}

.cta-btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 36px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.cta-btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  text-decoration: none;
}

.cta-btn-secondary {
  background: transparent;
  color: var(--orange);
  padding: 14px 36px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.cta-btn-secondary:hover {
  background: rgba(255,122,0,0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════════
   BAKER ACADEMY LOGO IN CTA
   ════════════════════════════════════════════════════════════ */

.academy-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px 0 18px;
}

.academy-logo img {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: rgba(4, 14, 28, 0.97);
  border-top: 3px solid var(--orange);
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding: 52px 8%;
}

/* Brand column */
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255,122,0,0.1);
  text-decoration: none;
}

/* Link columns */
.footer-links-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 10px;
}

.footer-links-col ul li a {
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links-col ul li a:hover {
  color: var(--orange);
  text-decoration: none;
}

/* Map column */
.footer-map-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.map-wrapper {
  width: 100%;
  height: 200px;
  border: 2px solid var(--border);
  overflow: hidden;
  margin-bottom: 14px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(0.88) hue-rotate(180deg) saturate(0.6) brightness(0.85);
}

.footer-address {
  color: var(--text-dim);
  font-size: 0.84rem;
  margin-bottom: 6px;
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  border-top: 1px solid rgba(255,122,0,0.2);
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-links a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--orange);
  text-decoration: none;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .content-section { width: 92%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.tall, .gallery-item.wide { grid-row: span 1; grid-column: span 1; }
  .cta-inner { padding: 36px 24px; }
  .cta-headline { font-size: 1.7rem; }
}

@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 20px; }
  .stat-divider { display: none; }
  .wwa-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 44px 24px 1fr; }
}

/* ════════════════════════════════════════════════════════════
   INDUSTRIES GRID – 3 / 3 / 1 LAYOUT
   ════════════════════════════════════════════════════════════ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* Default: each card spans 2 columns (3 per row) */
.industries-grid .wwa-card {
  grid-column: span 2;
}

/* Last card (row 3): centered */
.industries-grid .wwa-card:last-child {
  grid-column: 3 / span 2;
}
/* ════════════════════════════════════════════════════════════
   CONTACT FORM – OPTIMIZE DESIGN STYLE
   ════════════════════════════════════════════════════════════ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
  background: rgba(10, 46, 79, 0.85);
  border: 1px solid rgba(255, 122, 0, 0.4);
  color: #e8f0f8;
  padding: 12px 14px;

  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;

  border-radius: 2px;
  outline: none;

  box-shadow:
    inset 0 0 0 rgba(0,0,0,0),
    0 2px 6px rgba(0, 0, 0, 0.45);

  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

/* Placeholder text */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(143, 174, 200, 0.8);
}

/* Focus state */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff7a00;
  background: rgba(10, 46, 79, 0.95);

  box-shadow:
    0 0 0 2px rgba(255, 122, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Textarea tweaks */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button spacing */
.contact-form button {
  margin-top: 10px;
  align-self: flex-start;
}

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE – DUAL AD CTA
   ════════════════════════════════════════════════════════════ */

.cta-ads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* Individual ad box */
.cta-ad-box {
  background: linear-gradient(
    135deg,
    rgba(255,122,0,0.15),
    rgba(10,46,79,0.95)
  );

  border: 2px solid rgba(255, 122, 0, 0.6);
  padding: 36px 32px;
  text-align: center;
  position: relative;

  box-shadow:
    0 10px 24px rgba(0,0,0,0.65),
    inset 0 0 0 rgba(0,0,0,0);

  transition: transform 0.25s, box-shadow 0.25s;
}

.cta-ad-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.75);
}

/* Ad title */
.cta-ad-header {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* Logo */
.cta-ad-logo {
  margin: 18px 0 22px;
}

.cta-ad-logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}

/* Text */
.cta-ad-text {
  color: #8faec8;
  font-size: 0.95rem;
  margin-bottom: 26px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 800px) {
  .cta-ads-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   SCROLL HAZE / FADE-IN ANIMATION
   ═══════════════════════════════════════════════ */

/* Initial hidden state */
.haze {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    filter 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, filter, transform;
}

/* Visible state */
.haze-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Optional: stagger helper */
.haze-delay-1 { transition-delay: 0.1s; }
.haze-delay-2 { transition-delay: 0.2s; }
.haze-delay-3 { transition-delay: 0.3s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .haze {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.heading-word {
  display: inline-block;
  margin-right: 0.25em;
}

.heading-word span:first-child {
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
}

/* ─────────────────────────────────────────────
   ATTACHED TRAPEZOID HEADER
   ───────────────────────────────────────────── */

.section-block {
  position: relative;
}

/* Remove the floating gap */
.section-title {
  margin-bottom: 0;
  z-index: 2;
}

/* Pull content up so it touches the trapezoid */
.section-block .content-box {
  margin-top: -6px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.8rem); }

p {
  font-size: clamp(0.95rem, 2.8vw, 1rem);
}

.faq-button-wrapper {
  text-align: center;
  padding: 20px 0 10px;
}