/* ============================
   BASE
   ============================ */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #121212;
  color: #f0f0f0;
}

.white-subheadline {
  color: #fff !important;
}

.btn-primary, .btn-secondary {
  color: #fff !important;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding: 0;
  max-width: none;
  margin: 0;
}

/* ============================
   TOP INFO BAR
   ============================ */
.top-info-bar {
  background-color: rgba(18, 18, 18, 0.9);
  color: #bbb;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 8px 0;
  border-bottom: 1px solid #b22222;
  user-select: none;
  z-index: 1001;
  position: sticky;
  top: 0;
  width: 100%;
}
.top-info-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: #cc3333;
  font-weight: 600;
}
.top-info-container span {
  display: flex;
  align-items: center;
}
.top-info-container span:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #cc3333;
  opacity: 0.8;
}
.top-info-container a {
  color: #cc3333;
  text-decoration: none;
  transition: color 0.3s ease;
}
.top-info-container a:hover {
  text-decoration: underline;
  color: #ff4b4b;
}

/* ============================
   PREMIUM HEADER / NAVIGATION BAR
   ============================ */
.premium-header {
  position: sticky;
  top: 30px; /* below top info bar */
  width: 100%;
  backdrop-filter: blur(12px);
  background-color: rgba(30, 30, 30, 0.75);
  border-top: 2px solid #b22222;
  box-shadow: 0 0 8px rgba(178, 34, 34, 0.4);
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 12px 0;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.premium-header.shrink {
  padding: 8px 0;
  background-color: rgba(30, 30, 30, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.header-container {
  max-width: 1140px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  flex-shrink: 0;
  margin-right: 40px;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}

.premium-header.shrink .logo-img {
  height: 40px;
}

.nav-bar {
  display: flex;
  gap: 36px;
  margin: 0 auto;
  flex-grow: 1;
  justify-content: center;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
}

.nav-link {
  color: #bbb;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #ff4b4b;
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #b22222;
  width: 100%;
  bottom: 0;
  left: 0;
  border-radius: 1px;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  0% {
    width: 0;
    left: 50%;
  }
  100% {
    width: 100%;
    left: 0;
  }
}

.nav-link.active::after {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #b22222;
  width: 100%;
  bottom: 0;
  left: 0;
  border-radius: 1px;
}

.btn-primary.header-cta {
  background-color: #b22222;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(178, 34, 34, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-primary.header-cta:hover,
.btn-primary.header-cta:focus {
  background-color: #ff4b4b;
  box-shadow: 0 0 14px rgba(255, 75, 75, 0.9);
  transform: translateY(-2px);
  outline: none;
}

/* ============================
   MOBILE MENU
   ============================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: 20px;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
  width: 30px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #b22222;
  outline-offset: 2px;
}
.mobile-menu-toggle .hamburger {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #b22222;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}
.mobile-menu-toggle:hover .hamburger {
  background-color: #ff4b4b;
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: rgba(30, 30, 30, 0.95);
  display: none;
  flex-direction: column;
  animation: slideDown 0.3s ease forwards;
  z-index: 9999;
  padding-top: 40px;
}

.mobile-menu.open {
  display: flex;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.mobile-nav-link {
  color: #bbb;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: #ff4b4b;
  outline: none;
}

.mobile-nav-link.active {
  color: #b22222;
}

.mobile-nav-button {
  display: inline-block;
  background-color: #b22222;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.mobile-nav-button:hover,
.mobile-nav-button:focus {
  background-color: #ff4b4b;
  box-shadow: 0 0 14px rgba(255, 75, 75, 0.9);
  transform: translateY(-2px);
  outline: none;
}

/* ============================
   HEADER SCROLL SCRIPT (For sticky shrink)
   ============================ */

header {
  background-color: #b22222;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 55px;
}

header img {
  height: 45px;
  flex-shrink: 0;
  margin-right: 30px;
  position: absolute;
  left: 20px;
}

nav {
  margin-left: auto;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  box-shadow: 0 0 4px transparent;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

nav a:hover, nav a:focus {
  background-color: #800000;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 10px #b22222;
}

/* ============================
   HEADINGS (baseline / fallback)
   ============================ */
h1 {
  color: #b22222;
  font-size: 3em;
  margin: 0 0 20px;
  text-align: center;
}

h2 {
  color: #ff4b4b;
  border-bottom: 2px solid #b22222;
  padding-bottom: 8px;
  margin: 0 0 20px;
  font-weight: 600;
  font-size: 1.9rem;
  display: inline-block;
}

ul {
  line-height: 1.6;
}

/* ============================
   SECTION RHYTHM (unified spacing)
   ============================ */
.content-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 40vh;
}

.content-section h2 {
  margin-bottom: 24px;
}

/* ============================
   HERO (#home)
   ============================ */
#home {
  padding-top: 40px;
  padding-bottom: 56px;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
  margin-bottom: 32px;
  box-shadow: 0 0 15px rgba(178, 34, 34, 0.4);
}

.hero-text h1 {
  font-size: 2.6rem;
  color: #b22222;
  text-align: center;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.hero-text .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.3em;
  line-height: 1.4;
  max-width: 700px;
  color: #f0f0f0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================
   TWO-COLUMN SECTIONS (Built for NYC)
   ============================ */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.two-col-text {
  flex: 1 1 450px;
}

.two-col-text h2 {
  margin-bottom: 18px;
}

.two-col-text p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-image-container {
  flex: 1 1 400px;
  max-width: 100%;
  max-height: 420px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(178, 34, 34, 0.6);
  border: 2px solid rgba(178, 34, 34, 0.3);
  overflow: hidden;
}

.hero-image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
   BACKGROUND WATERMARK
   ============================ */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('Ref/Pictures/Watermarkbackground.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

/* ============================
   BUTTONS
   ============================ */
.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #b22222;
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 6px transparent;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  transition: all 0.35s ease;
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(178, 34, 34, 0.6);
  transform: translateY(-3px);
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-secondary {
  background-color: transparent;
  color: #b22222;
  border: 2px solid #b22222;
}

.btn-secondary:hover {
  background-color: rgba(178, 34, 34, 0.08);
  color: #ff4b4b;
  border-color: #ff4b4b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
}

/* ============================
   PARTNER / TRUST STRIP
   ============================ */
#partner-strip {
  background-color: #1a1a1a;
  border-top: 1px solid rgba(178, 34, 34, 0.3);
  border-bottom: 1px solid rgba(178, 34, 34, 0.3);
  padding: 22px 0;
}

.partner-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.partner-strip-label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
  white-space: nowrap;
}

.partner-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-badge {
  border: 1px solid rgba(178, 34, 34, 0.5);
  color: #ff4b4b;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ============================
   CARDS (Industries / Services)
   ============================ */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(178, 34, 34, 0.5);
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.45;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.8);
  transform: translateY(-2px);
}

.card h3 {
  color: #ff4b4b;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: #d8d8d8;
}

/* Service cards (with icon) */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 42px;
  height: 42px;
  color: #ff4b4b;
  margin-bottom: 12px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

/* ============================
   HOW WE WORK / PROCESS STEPS
   ============================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(178, 34, 34, 0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.process-step:hover {
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.7);
  transform: translateY(-2px);
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #b22222;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.process-step h3 {
  color: #ff4b4b;
  font-size: 1rem;
  margin: 0 0 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: #d8d8d8;
  margin: 0;
  line-height: 1.4;
}

/* ============================
   WHY CHOOSE
   ============================ */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.why-choose-item {
  background-color: #1a1a1a;
  border-left: 3px solid #b22222;
  padding: 16px 18px;
  border-radius: 6px;
  font-size: 0.97rem;
  line-height: 1.4;
}

/* ============================
   FINAL CTA
   ============================ */
.final-cta {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 40px 20px;
  background-color: #330000;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(178, 34, 34, 0.7);
}

.final-cta h2 {
  font-size: 2.25rem;
  color: #ff4b4b;
  margin-bottom: 16px;
  border-bottom: none;
}

.final-cta p {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 24px;
}

.final-cta .btn-primary {
  font-size: 1.1rem;
  padding: 12px 22px;
}

/* ============================
   FOOTER
   ============================ */
footer {
  background-color: #1a1a1a;
  color: #999;
  box-shadow: inset 0 1px 8px rgba(0,0,0,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 20px 32px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: #ff4b4b;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 10px;
}

.footer-col a {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ff4b4b;
}

.footer-cta-link {
  color: #ff4b4b;
  font-weight: 600;
}

.footer-contact-info {
  margin-bottom: 14px !important;
}

.footer-contact-info a {
  display: inline;
  color: #ccc;
  margin-bottom: 0;
}

.footer-contact-info a:hover {
  color: #ff4b4b;
}

.footer-bottom {
  text-align: center;
  padding: 16px 10px;
  font-size: 0.85em;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================
   IMAGE GALLERY (other pages)
   ============================ */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(178,34,34,0.75);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 960px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
  }

  header img {
    height: 40px;
    position: relative;
    left: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }

  nav {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  nav a {
    margin: 4px 2px;
    padding: 10px 14px;
    font-size: 1em;
  }

  h1 {
    font-size: 2.2em;
  }
}

@media (max-width: 600px) {
  #home {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text .hero-subtitle {
    font-size: 1rem;
  }

  .two-col {
    flex-direction: column;
  }

  .hero-image-container {
    max-height: none;
  }

  .content-section {
    padding: 36px 16px;
  }

  h2,
  .content-section h2 {
    font-size: 1.5rem;
  }

  .cards-container,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .partner-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta {
    margin-bottom: 48px;
    padding: 28px 20px;
  }

  .final-cta h2 {
    font-size: 1.7rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
