/* ============================================================
   NILOWV Official Website Styles
   Brand Colors: #393B9D (Blue) | #16834A (Green) | White | Black
   ============================================================ */
:root {
  --blue: #393B9D;
  --blue-dark: #2d2f80;
  --green: #16834A;
  --green-light: #1a9a58;
  --dark: #0f172a;
  --slate: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: #1e293b;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 1.25rem; */
  padding: 0.6rem 1rem;
}

/* Ensure header container padding doesn't add to max-width */
.site-header, .header-inner, .container {
  box-sizing: border-box;
  /* max-width: 90%; */
  padding: 0.6rem 1rem;
}

/* ---------- Top Bar ---------- */
/* .top-bar {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.top-bar span { display: inline-flex; align-items: center; gap: 0.5rem; } */
.top-bar {
  position: relative;
  width: 100vw;           /* Force full viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;     /* Break out of any constrained parent containers */
  margin-right: -50vw;
  overflow: hidden;
  white-space: nowrap;
  background-color: #0b6623; 
  color: #ffffff;
  padding: 8px 0;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  /* Use 'vw' instead of '%' so it starts completely off the right edge of the screen */
  animation: scroll-left 15s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100vw); /* Start fully outside the right edge of the viewport */
  }
  100% {
    transform: translateX(-100%); /* Slide completely past the left edge */
  }
}

/* ---------- Header ---------- */
/* ============================================================
   HEADER + NAV + MOBILE MENU (Phone Friendly)
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem !important;
}

/* Logo */
.logo img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* ============================================================
   DESKTOP NAV
   ============================================================ */
.main-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
  }

  .header-top {
    display: contents; /* so logo sits normally in the flex row */
  }
}

.main-nav > a,
.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-item > .nav-link:hover,
.nav-item > .nav-link.active {
  color: var(--blue);
  background: rgba(57, 59, 157, 0.06);
}

/* ============================================================
   DROPDOWNS (Desktop)
   ============================================================ */
.nav-item { position: relative; }

.nav-chevron {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 270px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.18);
  border: 1px solid #e2e8f0;
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-with-image {
  min-width: 520px;
  padding: 0;
  overflow: hidden;
}
.dropdown-with-image.wide {
  min-width: 900px;
}

.dropdown-inner {
  display: flex;
  min-height: 280px;
}

.dropdown-left {
  flex: 1;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dropdown-left.multi-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 1.4rem 0.5rem 1.4rem 1.2rem;
}
.dropdown-left.multi-col .dropdown-col {
  padding: 0 0.9rem;
}
.dropdown-left.multi-col .dropdown-col:not(:last-child) {
  border-right: 1px solid #f1f5f9;
}

.dropdown-left h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.dropdown-item:hover {
  background: #f8fafc;
}

.item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(57, 59, 157, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.item-content strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}
.item-content span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.12rem;
}

.dropdown-right {
  width: 210px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.dropdown-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dropdown-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
}
.dropdown-right-overlay span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ============================================================
   MOBILE MENU – Final Fixed Version
   ============================================================ */

/* Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 100 !important;               /* lower than menu */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 42px;
  height: 42px;
  z-index: 1002;
  position: relative;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #334155;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Phone & Tablet ===== */
@media (max-width: 1023px) {

  /* .mobile-overlay { 
    display: block; 
  } */

  .mobile-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 100 !important;               /* lower than menu */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
  .header-inner {
    height: auto;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 0.75rem;
  }

  /* Top row only: Logo + Hamburger */
  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Buttons go under the logo */
  .header-actions {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
  }

  .header-actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  /* ---------- MENU DRAWER ---------- */
  .main-nav {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;          /* stick to the right edge */
    left: auto !important;
    width: min(320px, 85vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 5.5rem 0 2.5rem !important;
    background: #ffffff !important;
    z-index: 1001 !important;
    overflow-y: auto !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);

    /* Fully hidden off-screen */
    transform: translateX(100%) !important;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.35s;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  /* OPEN STATE – no gap */
  .main-nav.open {
    transform: translateX(0) !important;
    visibility: visible;
  }

  /* OPEN STATE */
  /* .main-nav.open {
    transform: translateX(calc(92vw - 100%)) !important;
    visibility: visible;

  } */

  /* .main-nav.open {
    transform: translateX(calc(100vw - 100%)) !important;
    transform: translate3d(0, 0, 0) !important;
  } */

  /* Links */
  .main-nav > a,
  .nav-item > .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.05rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    background: transparent;
  }

  .nav-chevron {
    font-size: 0.7rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
  }

  .nav-item.open > .nav-link .nav-chevron {
    transform: rotate(180deg);
    color: var(--blue);
  }

  /* Accordion dropdowns */
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none !important;
    width: 100% !important;
    min-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
  }

  .nav-item.open > .dropdown-menu {
    display: block !important;
  }

  .dropdown-inner {
    flex-direction: column !important;
    min-height: auto !important;
  }

  .dropdown-left {
    padding: 0.6rem 1.2rem 0.9rem !important;
  }

  .dropdown-left.multi-col {
    display: block !important;
  }

  .dropdown-left.multi-col .dropdown-col {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0 !important;
    margin-bottom: 0.4rem;
  }

  .dropdown-left.multi-col .dropdown-col:last-child {
    border-bottom: none;
  }

  /* Images inside mobile dropdowns */
  .dropdown-right {
    display: block !important;
    width: 100% !important;
    height: 130px;
    order: -1;
  }

  .dropdown-right img {
    width: 100%;
    height: 130px;
    object-fit: cover;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .mobile-toggle {
    display: none !important;
  }
  .header-top {
    display: contents;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(57,59,157,0.3);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.875rem; }
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover { background: #f0fdf4; }


/* ============================================================
   OUR WORK HERO 
   ============================================================ */
.work-hero {
  position: relative;
  min-height: 420px;
  height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 5rem 0 4rem;
}

.work-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.work-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark gradient overlay for readability */
.work-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(57, 59, 157, 0.75) 55%,
    rgba(22, 131, 74, 0.55) 100%
  );
}

.work-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.work-hero .section-label {
  color: #86efac;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.work-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  color: #fff;
  margin: 0.75rem 0 1rem;
}

.work-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 auto 2rem;
  max-width: 36rem;
}

/* Filters on dark background */
/* .work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.work-filter {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.work-filter:hover,
.work-filter.active {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
} */

/* Mobile */
@media (max-width: 640px) {
  .work-hero {
    min-height: 380px;
    padding: 4rem 0 3rem;
  }
}

/* Filters */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 3.95rem 1.2rem;
}

.work-filter {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.work-filter:hover,
.work-filter.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Issue Block */
.issue-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.issue-block:hover {
  box-shadow: 0 12px 40px -12px rgba(57, 59, 157, 0.12);
}

.issue-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.issue-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(57, 59, 157, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.issue-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.issue-header h2 {
  font-size: 1.35rem;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.issue-tagline {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.issue-body {
  padding: 1.75rem 2rem 2rem;
}

/* Data Strip */
.data-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.data-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.data-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.data-item span {
  font-size: 0.78rem;
  color: #64748b;
}

.data-item.highlight {
  background: rgba(22, 131, 74, 0.08);
  border-color: rgba(22, 131, 74, 0.2);
}

.data-item.highlight strong {
  color: var(--green);
}

/* Three columns */
.issue-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.issue-col h3 {
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.issue-col h3 i {
  color: var(--blue);
  font-size: 0.9rem;
}

.issue-col p,
.issue-col ul {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.issue-col ul {
  padding-left: 1.1rem;
}

.issue-col li {
  margin-bottom: 0.4rem;
}

/* Mobile */
@media (max-width: 900px) {
  .issue-columns {
    grid-template-columns: 1fr;
  }

  .issue-header {
    padding: 1.35rem 1.35rem;
  }

  .issue-body {
    padding: 1.35rem;
  }
}

/* ============================================================
   FOOTER – Aligned with Optimized Header
   ============================================================ */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4.5rem 0 0;
  font-size: 0.9rem;
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

/* Brand */
/* Ensure the parent wrapper stacks elements vertically on mobile */
.footer-brand { /* Adjust this selector to match your parent container around the tagline and socials */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Aligns tagline and icons to the left */
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.1rem;
}
.footer-logo img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
  padding: 0px;
}
.footer-logo-text strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.footer-logo-text span {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
}
.footer-tagline {
  line-height: 1.65;
  margin-bottom: 1.4rem;
  max-width: 280px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.65rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-size: 0.95rem;
}
.footer-social a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Columns */
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 0.55rem;
}
.footer-col ul a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.9rem;
}
.footer-col ul a:hover {
  color: #fff;
}

/* Contact items */
.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.footer-contact-item i {
  color: var(--blue);
  font-size: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.footer-contact-item p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.9rem;
}
.footer-contact-item a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item a:hover {
  color: #fff;
}

/* Newsletter */
.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}
.newsletter-text h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.newsletter-text p {
  font-size: 0.875rem;
  margin: 0;
  color: #94a3b8;
}
.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter-input-group input[type="email"] {
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #fff;
  font-size: 0.9rem;
  min-width: 240px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input-group input:focus {
  border-color: var(--blue);
}
.newsletter-input-group .btn {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}
.footer-bottom-left p {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  color: #64748b;
}
.footer-motto {
  color: var(--green) !important;
  font-weight: 600;
  font-size: 0.9rem !important;
}
.footer-bottom-right {
  text-align: right;
}
.footer-legal {
  margin-bottom: 0.4rem;
}
.footer-legal a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: #fff;
}
.footer-legal span {
  margin: 0 0.4rem;
  color: #475569;
}
.footer-credit {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}
.footer-credit a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-credit a:hover {
  color: var(--blue);
}

/* Responsive */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .newsletter-input-group input {
    min-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-right {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
}
