@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

:root {
  --bg: #05223a;
  --text: #ffffff;
  --accent: #ffcc33;
  --gap: 3rem;
  --max-width: 1400px;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f3f3f3;
  color: #333;
}

/* MASTHEAD CONTAINER */
.masthead__nav {
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

.masthead__logo {
  display: block;
  max-height: 50px;
  width: auto;
  height: auto;
}

/* --- ENHANCED LOGO STYLING --- */
.masthead__mark {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.masthead__logo {
  max-height: 105px;
  width: auto;
  height: auto;
  transform: translateY(-2%);
  transition: all 0.3s ease;
  position: relative;
  z-index: 5;
}


/* Give the logo a subtle pop-out effect */
.masthead__mark img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  /* soft shadow */
  border-radius: 8px;
  /* optional, makes edges smoother */
}

/* Optional: keep nav bar height fixed */
.masthead__wrap {
  align-items: center;
  height: 80px;
  /* lock height so logo enlargement doesn’t stretch it */
  overflow: visible !important;
  /* let logo “pop out” visually */
}

.masthead__logo {
  transform: none !important;
}

/* Optional hover effect for extra polish */
.masthead__logo:hover {
  transform: scale(1.35);
}

/* Optional: keep the navbar height consistent */
.masthead__nav {
  height: 80px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1000;
  overflow: visible;
  /* allows logo to overlap visually */
}


.masthead__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-wrap: nowrap;
  gap: 2rem;
}

/* LOGO */
.masthead__mark {
  flex-shrink: 0;
  margin-right: 4rem;
}

.svg--mark {
  display: block;
}

/* Hide hamburger on desktop */
.nav__toggle {
  display: none;
}

/* NAV MENU */
.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--gap);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}

.nav__menu-item {
  position: relative;
}

.nav__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav__link:hover {
  color: var(--accent);
}

/* DROPDOWN MENUS */
.nav__menu--level-1 {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  /* transparent background */
  backdrop-filter: blur(6px);
  /* subtle glass effect */
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
  /* keep existing vertical spacing */
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  box-sizing: border-box;
  width: max-content;
  /* make width consistent */
}

.nav__menu-item.has-children {
  position: relative;
}

.nav__menu-item.has-children:hover>.nav__menu--level-1 {
  display: flex;
}

/* Each dropdown item */
.nav__menu--level-1 li {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

/* Dropdown links */
.nav__menu--level-1 a {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  /* slight increase to balance right spacing */
  text-transform: none;
  color: var(--text);
  box-sizing: border-box;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: left;
  /* ensure consistent alignment */
}

/* Hover fills full width evenly */
.nav__menu--level-1 a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

/* ACTION BUTTONS */
.btn a {
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

.btn--outline a {
  color: var(--text);
  border: 2px solid var(--text);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn--outline a:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--solid a {
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn--solid a:hover {
  background: #7a003c;
  color: #ffffff;
}


/* ============================
   MOBILE NAVIGATION (NEW FIX)
============================ */
@media (max-width: 900px) {

  /* Show the hamburger */
  .nav__toggle {
    display: block;
    font-size: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    margin-left: auto;
    /* push to far right */
    position: relative;
    z-index: 5000;
  }

  /* Hide primary links by default */
  .nav__menu--level-0 {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 50%;
    /* CENTER */
    transform: translateX(-50%);
    width: 85%;
    background: rgba(0, 0, 0, 0.85);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    text-align: center;
    /* center text */
    z-index: 2000;
  }

  /* When menu is active */
  .nav__menu--level-0.active {
    display: flex;
  }

  /* Top-level items stack vertically */
  .nav__menu-item {
    width: 100%;
  }

  .nav__link {
    width: 100%;
    padding: 1rem 0;
    display: block;
  }

  /* DROPDOWN (LEVEL 1) CENTERED & COLLAPSIBLE */
  .nav__menu--level-1 {
    position: relative;
    display: none !important;
    /* hidden by default */
    background: rgba(255, 255, 255, 0.07);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    border-radius: 8px;
    width: 100%;
    /* fill container */
  }

  /* Show dropdown when activated */
  .nav__menu--level-1.active {
    display: flex !important;
  }

  /* Remove desktop hover effect on mobile */
  .nav__menu-item.has-children:hover>.nav__menu--level-1 {
    display: none;
  }

  /* Fix actions area stacking */
  .masthead__actions {
    display: none;
  }

  .masthead__logo:hover {
    transform: scale(1.35) !important;
  }

  .masthead__logo {
    transform: none !important;
    max-height: 90px;
    /* adjust for perfect mobile size */
  }

  .masthead__wrap {
    gap: 2.2rem;
    padding-right: 1.5rem;
    /* adds breathing room on right edge */
  }
}

/* ===== HERO VIDEO SECTION ===== */
.page-header__media {
  position: relative;
  width: 100%;
  height: 70vh;
  /* reduced hero height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header__figure {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay for text contrast */
.page-header__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ===== HERO CONTENT OVERLAY ===== */
.page-header__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 4rem 5%;
  box-sizing: border-box;
}

/* HERO TITLE */
.page-header__title {
  font-size: 4.2rem;
  font-family: "EB Garamond", serif;
  /* larger heading */
  font-weight: 500;
  letter-spacing: 0.3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 900px;
  /* text-transform: uppercase; */
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

/* HERO EXCERPT / DESCRIPTION */
.page-header__excerpt {
  font-size: 1.5rem;
  font-family: "EB Garamond", serif;
  font-weight: 700px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  max-width: 850px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Invisible element retained for layout compatibility */
.force-bg-full.alignfull {
  width: 100%;
  height: 0;
  visibility: hidden;
}


/* ===============================
   HERO RESPONSIVE STYLING
=============================== */
@media (max-width: 1200px) {
  .page-header__title {
    font-size: 3.5rem;
    letter-spacing: 0.2rem;
  }

  .page-header__excerpt {
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 700px;
  }
}

@media (max-width: 900px) {
  .page-header__media {
    height: 60vh;
    /* slightly smaller on mobile */
  }

  .page-header__title {
    font-size: 2.4rem;
    letter-spacing: 0.1rem;
    padding: 0 1rem;
  }

  .page-header__excerpt {
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 0 1rem;
    max-width: 95%;
  }

  .page-header__content {
    padding: 2rem 1rem;
  }
}

@media (max-width: 600px) {
  .page-header__media {
    height: 50vh;
    /* smallest height for small phones */
  }

  .page-header__title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .page-header__excerpt {
    font-size: 1rem;
    line-height: 1.4;
  }
}


/* IMAGE AND OVERLAPING CONTENT CARD */

/* === MEDIA TEXT DYNAMIC: image left, content partly overlapping === */
.media-text-dynamic {
  background-color: #f8f6f1;
  display: flex;
  justify-content: center;
  padding: 3rem 0;
  width: 100%;
  box-sizing: border-box;
}

.media-text-dynamic__wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 620px;
  margin: 0 auto;
}

/* IMAGE SECTION */
.media-text-dynamic__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 68%;
  /* image covers most of section */
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
}

.media-text-dynamic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.media-text-dynamic__media:hover img {
  transform: scale(1.03);
}

/* CONTENT CARD (partly on image, partly outside it) */
.media-text-dynamic__content {
  position: absolute;
  top: 50%;
  left: 62%;
  /* this moves the card right so only ~30% overlaps the image */
  transform: translateY(-50%);
  width: 40%;
  /* card extends beyond the image edge */
  background: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 5;
  box-sizing: border-box;
}

.media-text-dynamic__content--inner {
  width: 100%;
}

/* Typography */
.media-text-dynamic__content p.has-kicker-variant {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  margin: 0 0 0.6rem 0;
  font-weight: 500;
  font-size: 1rem;
}

.media-text-dynamic__content h3 {
  font-size: 2.178rem;
  font-family: "GB Garamond", serif;
  font-weight: 300;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  color: #2a0a55;
}

.media-text-dynamic__content p.has-medium-variant {
  color: #333;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-size: 1.089rem;
}

/* CTA */
.wp-block-button__link {
  display: inline-block;
  background: #2a0a55;
  color: #fff;
  font-size: 0.847rem;
  padding: 1.188rem 1.875rem;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
}

.wp-block-button__link:hover {
  background: #43207f;
}

/* ===============================
   MEDIA TEXT DYNAMIC RESPONSIVE
=============================== */
@media (max-width: 1200px) {
  .media-text-dynamic__wrap {
    height: 520px;
    /* reduce height slightly on smaller screens */
  }

  .media-text-dynamic__content h3 {
    font-size: 1.8rem;
  }

  .media-text-dynamic__content p.has-medium-variant {
    font-size: 1rem;
  }

  .wp-block-button__link {
    font-size: 0.8rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 900px) {
  .media-text-dynamic {
    padding: 2rem 0;
  }

  .media-text-dynamic__wrap {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .media-text-dynamic__media {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1.5rem;
  }

  .media-text-dynamic__media img {
    height: auto;
  }

  .media-text-dynamic__content {
    position: relative;
    width: 90%;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
  }

  .media-text-dynamic__content h3 {
    font-size: 1.6rem;
  }

  .media-text-dynamic__content p.has-medium-variant {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .media-text-dynamic__content h3 {
    font-size: 1.4rem;
  }

  .media-text-dynamic__content p.has-medium-variant {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .wp-block-button__link {
    font-size: 0.75rem;
    padding: 0.875rem 1.25rem;
  }
}



/* What We Do Section */
.what-we-do {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
  background: #fafafa;
}

.what-we-do h2 {
  font-size: 2.5rem;
  font-family: "GB Garamond", serif;
  font-weight: 500;
  color: #2a0a55;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.what-we-do__intro {
  font-size: 1.188rem;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

/* Tabs Section */
.what-we-do-tabs {
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 4rem 2rem;
  margin-bottom: 60px;
}

.tabs {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
  align-items: flex-start;
}

/* Left: vertical tabs */
.tabs__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  max-width: 250px;
}

.tab-link {
  padding: 1rem;
  background: #f3f3f3;
  font-size: 1.089rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  color: #333;
  text-align: left;
  transition: all 0.3s ease;
}

.tab-link:hover {
  background: rgba(122, 0, 60, 0.15);
  color: #7a003c;
}

.tab-link.active {
  background: #4b2b80;
  color: #fff;
}

/* Right: Image + Card */
.tabs__content {
  position: relative;
  flex: 3;
}

.tab-content {
  display: none;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;

}

.tab-content.active {
  display: block;
  opacity: 1;
}

.tab-content.fade-in {
  opacity: 1;
}

.tab-media img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.tab-text {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translate(-50%);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  border-radius: 12px;
  width: 80%;
  text-align: left;
}


.tab-text h3 {
  font-size: 2.178rem;
  color: #2a0a55;
  margin-bottom: 1rem;
  font-weight: 500;
  font-family: "EB Garamond", serif;
}

.tab-text p {
  font-size: 1.188rem;
  color: #444;
  line-height: 1.7;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   MOBILE ACCORDION FOR TABS
   (≤ 900px, DOES NOT TOUCH DESKTOP)
=========================== */
@media (max-width: 900px) {

  /* Stack everything */
  .what-we-do-tabs {
    padding: 2rem 1rem;
  }

  .tabs {
    flex-direction: column;
    gap: 1rem;
  }

  /* Hide desktop 2-column layout */
  .tabs__nav {
    width: 100%;
    max-width: none;
  }

  .tabs__content {
    width: 100%;
  }

  /* Accordion header */
  .tab-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 1.15rem;
    position: relative;
  }

  /* Add PLUS icon */
  .tab-link::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.25s ease;
  }

  /* Change to MINUS when open */
  .tab-link.active::after {
    content: "–";
    transform: rotate(180deg);
  }

  /* Accordion panels */
  .tab-content {
    display: none !important;
    /* override desktop */
    margin-top: 0.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    padding: 1rem;
  }

  .tab-content.open {
    display: block !important;
  }

  /* Images adjust */
  .tab-media img {
    width: 100%;
    height: auto !important;
    border-radius: 10px;
  }

  /* Text card moves inside accordion */
  .tab-text {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 1rem;
    box-shadow: none !important;
    padding: 0;
  }
}


/* Testimonial/Stories Section */
/* Full Section */
.story-section {
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
  background: #f7f8fa;
  /* LIGHT GRAY used heavily on Catholic Charities site */
  color: #1d1d1f;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* The card */
.story-card {
  max-width: 1000px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  /* Clean white card on gray section */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Big image */
.story-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 7;
  display: block;
}

/* Content container */
.story-content {
  padding: 2rem;
}

/* Title */
.story-headline {
  margin: 0 0 0.75rem 0;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #4B2E83;
  font-family: "EB Garamond", serif;
  /* Your purple brand color */
  font-weight: 400;
}

/* Description text */
.story-text {
  margin: 0 0 1.25rem 0;
  color: #4a4a4a;
  font-size: 1.188rem;
  line-height: 1.55;
}

/* Link */
.story-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #4B2E83;
  text-decoration: none;
  transition: all .15s ease;
}

/* Arrow icon */
.story-arrow {
  width: 20px;
  height: 20px;
  transition: transform .15s ease;
}

/* Hover */
.story-link:hover {
  color: #351f60;
  /* darker purple */
}

.story-link:hover .story-arrow {
  transform: translateX(4px);
}

/* ------------------------- */
/*  TESTIMONIAL MOBILE RESPONSIVE FIX   */
/* ------------------------- */

@media (max-width: 768px) {

  .story-section {
    padding: 2rem 1rem;
  }

  .story-card {
    border-radius: 10px;
  }

  /* Image becomes shorter */
  .story-image {
    aspect-ratio: 16 / 10;
  }

  .story-content {
    padding: 1.5rem 1.25rem;
  }

  /* Headline smaller */
  .story-headline {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  /* Text smaller */
  .story-text {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Link and arrow scale down slightly */
  .story-link {
    font-size: 0.95rem;
    gap: 0.4rem;
  }

  .story-arrow {
    width: 18px;
    height: 18px;
  }
}



/* Main CTA Section */
.cta-section {
  background-color: #3a0044;
  /* darker purple */
  color: #fff;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
}

/* Container for text + button */
.cta-container {
  display: flex;
  align-items: center;
  /* centers vertically */
  justify-content: space-between;
  /* text on left, button on right */
  width: 100%;
  max-width: 1100px;
  gap: 2rem;
}

/* Heading text */
.cta-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
  text-align: left;
}

/* Button */
.cta-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-btn:hover {
  background: #fff;
  color: #3a0044;
}


/* ===== FOOTER BASE ===== */
footer.footer {
  background-color: #f8f8fb;
  color: #180038;
  font-family: "Inter", sans-serif;
  padding: 60px 8%;
}

/* Layout */
.footer__wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  /* extra space between contact & nav */
}

/* ===== Contact Section ===== */
.footer__contact {
  flex: 1;
  min-width: 260px;
}

.footer__contact h2 {
  font-size: 1.7rem;
  font-weight: 400;
  font-family: "EB Garamond", serif;
  letter-spacing: 3px;
  color: #2a0a55;
  margin-bottom: 30px;
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  color: #4a3a73;
  margin-bottom: 15px;
}

.footer__address {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer__phone,
.footer__email {
  font-size: 1.1rem;
  font-weight: 400;
}

.footer__email a {
  color: #6b4c9a;
  text-decoration: none;
  font-weight: 600;
}

.footer__email a:hover {
  text-decoration: underline;
}

/* ===== Footer Navigation (Sections) ===== */
.footer__nav {
  flex: 0.5;
  min-width: 200px;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: 12px;
}

.footer__nav a {
  color: #180038;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer__nav a:hover {
  color: #6b4c9a;
  transform: translateX(3px);
}

/* ===== Footer Logos Section ===== */
.footer__secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 25px;
}

.footer__icon-menu--logos ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__icon-menu--logos img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.footer__icon-menu--logos img:hover {
  transform: scale(1.05);
}

/* ===== Copyright ===== */
.footer__copyright {
  font-size: 1.1rem;
  color: #555;
  margin-top: 20px;
}

/* ================================
   MOBILE FOOTER RESPONSIVE FIXES
   ================================ */
@media (max-width: 768px) {

  footer.footer {
    padding: 40px 6%;
  }

  .footer__wrap {
    flex-direction: column;
    /* Stack Contact + Navigation */
    gap: 35px;
  }

  .footer__contact h2 {
    font-size: 1.45rem;
  }

  .footer__address,
  .footer__phone,
  .footer__email {
    font-size: 1rem;
  }

  .footer__nav {
    width: 100%;
  }

  .footer__nav a {
    font-size: 1rem;
  }

  .footer__secondary {
    margin-top: 30px;
    padding-top: 20px;
  }

  /* Footer Logos */
  .footer__icon-menu--logos ul {
    gap: 25px;
    flex-wrap: wrap;
  }

  .footer__icon-menu--logos img {
    height: 45px;
    /* Slightly smaller on mobile */
  }

  .footer__copyright {
    font-size: 0.95rem;
    margin-top: 15px;
  }
}

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}