/*
 Theme Name:   Bridge Child
 Template:     bridge
 Version:      1.0.0
*/

:root {
  --red: #c0392b;
  --red-light: #e8534a;
  --red-muted: #f7e9e8;
  --red-deep: #96281b;
  --cream: #faf8f5;
  --warm-white: #ffffff;
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --ink-faint: #888;
  --border: #e8e2da;
  --gold: #c9a84c;
  --teal: #2a7a7b;
}

body {
margin: 0;
}

/* ── HEADER BANNER ───────────────────────────────────────────────── */
.header-banner {
  background-color: #d62828;
}

.header-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  width: 97%;
  margin: 0 auto;
  font-family: "Open Sans", sans-serif;
}

.banner-left-content-container {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons a {
  display: block;
  line-height: 0;
  transition: all 0.25s ease-in-out;
}

.social-icons a:hover,
.social-icons a:focus {
  transform: translateY(-3px) scale(1.05);
}

.social-icons svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* Badges */
.badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.badge:hover,
.badge:focus {
  transform: scale(1.01);
}

.badge-green {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
}

.badge-blue {
  background: #e3f2fd;
  color: #1565c0;
  border-color: #90caf9;
}

/* Contact Section */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-left: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links a,
.contact-item a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.contact-item a {
  text-decoration: underline;
}

.contact-item a:hover,
.contact-item a:focus {
  text-decoration: none;
}

.contact-divider {
  color: #ffffff;
}

@media (max-width: 1260px) {
  .header-banner-inner {
    flex-direction: column;
    justify-content: center;
  }

  .contact-info {
    margin: 0;
  }
}

/* ── NAV ─────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 3%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fira Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #c0392b;
  text-decoration: none;
}

.nav-logo img {
  max-width: 13rem;
  width: 100%;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-text {
  line-height: 1.2;
}

.nav-logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 300;
  color: #aaa;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 10px 0;
  font-family: "Open Sans", sans-serif;
}

.nav-links a.active {
  color: #c0392b;
}

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

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 1.2em;
  transition: transform 0.3s;
  line-height: 0;
  margin-left: 5px;
}

.dropdown-toggle.active::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 238px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  display: none;
  z-index: 1000;
  border: 1px solid var(--border);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: #c0392b;
}

/* Nav Right */
.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-right a {
  text-decoration: none;
}

.nav-cta {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "Fira Sans", sans-serif;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--red-light);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 51;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 2px 0;
  transition: 0.4s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
}

.nav-overlay.active {
  display: block;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }
}

@media screen and (max-width: 1023px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 51;
  }

  .nav-links.active {
    left: 0;
  }

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

  .nav-links a {
    padding: 15px 25px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.active {
    background: rgba(255, 68, 68, 0.05);
  }

  .nav-item-dropdown {
    position: static;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border: none;
    background: #f9f9f9;
    padding: 0;
    display: none;
    width: 100%;
  }

  .dropdown-menu.show {
    display: block;
  }

  .dropdown-menu a {
    padding: 15px 35px;
    border-bottom: 1px solid #eaeaea;
    background: #f9f9f9;
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
  }
}

@media screen and (max-width: 480px) {
  .nav-logo img {
    width: 10rem;
  }

  .nav-cta {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer {
  background: #c0392b;
  padding: 44px clamp(16px, 4vw, 100px) 24px;
  font-family: "Open Sans", sans-serif;
}

.ft {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}

.ft-brand p {
  font-size: 0.83rem;
  color: #f9f9f9;
  line-height: 1.7;
  max-width: 335px;
  margin-top: 12px;
  font-family: "Open Sans", sans-serif;
}

.ft-col h5 {
  font-family: "Fira Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f9f9f9;
  margin-bottom: 14px;
}

.ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
}

footer ul li:last-child a svg {
  transition: all 0.2s ease-in-out;
}

footer ul li:last-child a:hover svg,
footer ul li:last-child a:focus svg {
  transform: translateY(-3px) scale(1.05);
  fill: #fff;
}

.ft-col a {
  font-size: 0.83rem;
  color: #f9f9f9;
  text-decoration: none;
  transition: color 0.2s;
  font-family: "Open Sans", sans-serif;
}

.ft-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.ft-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-contact-item a {
  color: #f9f9f9;
  text-decoration: none;
}

.ft-contact-item a:hover {
  text-decoration: underline;
}

.ft-social-icons {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-top: 0.5em;
}

.ft-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 800px) {
  .ft-bot {
    justify-content: center;
  }
}

.ft-bot p {
  font-size: 0.75rem;
  color: #f9f9f9;
  margin: 0;
}

.ft-lic {
  font-size: 0.73rem;
  color: #f9f9f9;
}