/* ==========================================================================
   TROOP 21 DIGITAL ADVERTISING - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* Google Fonts: loaded via <link> in each page's <head> (with preconnect)
   instead of @import, which forced three serial round-trips before first paint. */

:root {
  /* Color Palette - Directly Matched to Reference Screenshot */
  --clr-navy: #0B234F;
  --clr-navy-dark: #071938;
  --clr-blue-primary: #087FA8;
  --clr-cyan: #00A6D6;
  --clr-cyan-light: #EAF7FB;
  --clr-bg-light: #F7FBFD;
  --clr-surface-card: #F2F8FA;
  --clr-surface-white: #FFFFFF;
  --clr-border: #E2EEF4;
  --clr-border-hover: #BEE1F2;
  --clr-text-main: #0B234F;
  --clr-text-muted: #5A6E85;
  --clr-footer-bg: #072436;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout Dimensions */
  --max-width: 1240px;
  --header-height: 78px;
  --radius-card: 16px;
  --radius-banner: 22px;
  --radius-button: 26px;
  --radius-sm: 8px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 10px rgba(11, 35, 79, 0.04);
  --shadow-card: 0 6px 20px rgba(8, 127, 168, 0.06);
  --shadow-card-hover: 0 12px 30px rgba(8, 127, 168, 0.14);
  --shadow-header: 0 4px 20px rgba(11, 35, 79, 0.05);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--clr-bg-light);
  color: var(--clr-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Utilities */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--clr-cyan);
  display: block;
  margin-bottom: 8px;
}

.heading-lg {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--clr-navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.heading-md {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--clr-navy);
  line-height: 1.2;
}

.heading-sm {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-navy);
}

.text-cyan {
  color: var(--clr-cyan);
}

.paragraph {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-button);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--clr-cyan);
  color: var(--clr-surface-white);
  box-shadow: 0 4px 14px rgba(0, 166, 214, 0.3);
}

.btn-primary:hover {
  background-color: #0093BD;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 166, 214, 0.4);
}

.btn-secondary {
  background-color: var(--clr-surface-white);
  color: var(--clr-cyan);
  border: 1.5px solid var(--clr-cyan);
}

.btn-secondary:hover {
  background-color: var(--clr-cyan-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--clr-cyan);
  color: var(--clr-cyan);
  border-radius: var(--radius-button);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background-color: var(--clr-cyan);
  color: var(--clr-surface-white);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1000;
  transition: box-shadow var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--clr-navy);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--clr-cyan);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  position: relative;
}

.nav-link.active {
  font-weight: 700;
  color: var(--clr-navy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--clr-cyan);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--clr-cyan);
}

.dropdown-icon {
  width: 10px;
  height: 10px;
  fill: currentColor;
  opacity: 0.7;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--clr-surface-white);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 35, 79, 0.1);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-navy);
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--clr-cyan-light);
  color: var(--clr-cyan);
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Contact Us lives inside the mobile nav menu on phones only;
   hidden on desktop/tablet so the navbar stays exactly as before. */
.nav-contact-item {
  display: none;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  background: var(--clr-bg-light);
  border: 1px solid var(--clr-border);
  padding: 7px 14px;
  border-radius: 20px;
  transition: all var(--transition-fast);
}

.search-trigger:hover {
  border-color: var(--clr-cyan);
  color: var(--clr-cyan);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--clr-navy);
  display: block;
  margin: 4px 0;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAFC 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Full-Width Hero Background Image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('media/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Subtle left-side readability wash (image stays clearly visible on the right) */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.93) 36%,
    rgba(255, 255, 255, 0.78) 50%,
    rgba(255, 255, 255, 0.40) 66%,
    rgba(255, 255, 255, 0.12) 82%,
    rgba(255, 255, 255, 0) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 530px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--clr-navy);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-top: 10px;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

/* Value / Trust Indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(8, 127, 168, 0.12);
}

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

.trust-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 166, 214, 0.12);
  border-radius: 50%;
  color: var(--clr-cyan);
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.25;
}

/* ==========================================================================
   PRODUCTS & SERVICES SECTION
   ========================================================================== */
.products-section {
  padding-top: 70px;
  padding-bottom: 80px;
  background-color: var(--clr-bg-light);
}

.section-header {
  margin-bottom: 40px;
}

.section-header.text-center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  margin-top: 10px;
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--clr-surface-white);
  color: var(--clr-navy);
  border: 1px solid var(--clr-border);
  transition: all var(--transition-fast);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--clr-cyan);
  color: var(--clr-surface-white);
  border-color: var(--clr-cyan);
  box-shadow: 0 4px 12px rgba(0, 166, 214, 0.2);
}

/* 4-Column Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Product Card Component */
.product-card {
  background-color: var(--clr-surface-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--clr-border-hover);
}

.card-image-box {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  background-color: var(--clr-surface-card);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-image-box img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .card-image-box img {
  transform: scale(1.05);
}

.card-title-bar {
  background-color: var(--clr-surface-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--clr-border);
  margin-top: auto;
}

.product-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.25;
}

.arrow-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--clr-cyan);
  color: var(--clr-surface-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.product-card:hover .arrow-circle-btn {
  background-color: var(--clr-navy);
  transform: translateX(2px);
}

.arrow-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   OFFSET PRINTING PROMOTIONAL BANNER
   ========================================================================== */
.promo-banner-section {
  padding-top: 20px;
  padding-bottom: 70px;
}

.promo-banner-card {
  background: linear-gradient(135deg, #EBF6FC 0%, #E3F2FA 100%);
  border: 1px solid var(--clr-border-hover);
  border-radius: var(--radius-banner);
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 28% 44% 28%;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 127, 168, 0.08);
}

.banner-left-img,
.banner-right-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-left-img img,
.banner-right-img img {
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(11, 35, 79, 0.1));
}

.banner-center-content {
  text-align: center;
  padding: 0 15px;
}

.banner-heading {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--clr-navy);
  margin-top: 4px;
  margin-bottom: 10px;
}

.banner-desc {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-section {
  padding-top: 50px;
  padding-bottom: 70px;
  background-color: var(--clr-bg-light);
}

.benefits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--clr-surface-white);
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  transition: all var(--transition-normal);
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--clr-cyan);
}

.benefit-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--clr-cyan-light);
  color: var(--clr-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.benefit-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.25;
}

/* ==========================================================================
   PORTFOLIO / OUR WORK SECTION
   ========================================================================== */
.portfolio-section {
  padding-top: 20px;
  padding-bottom: 70px;
}

.portfolio-container-card {
  background-color: var(--clr-cyan-light);
  border-radius: 24px;
  padding: 44px 44px;
  border: 1px solid rgba(8, 127, 168, 0.15);
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.portfolio-header-text {
  max-width: 600px;
}

.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.portfolio-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1.35 / 1;
  background-color: var(--clr-surface-white);
  box-shadow: 0 4px 15px rgba(11, 35, 79, 0.06);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-normal);
}

.portfolio-gallery-item:hover {
  transform: translateY(-4px);
}

.portfolio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.portfolio-gallery-item:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   TRUSTED BRANDS SECTION
   ========================================================================== */
.trusted-brands-section {
  padding-top: 30px;
  padding-bottom: 70px;
  text-align: center;
}

.brands-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 30px;
}

.brands-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.brand-logo-item {
  font-size: 1.4rem;
  font-weight: 800;
  color: #8CA0B8;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
  user-select: none;
}

.brand-logo-item:hover {
  color: var(--clr-navy);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: var(--clr-footer-bg);
  color: #A0B2C6;
  overflow: hidden;
}

/* Subtle premium dot texture over the deep footer background */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* Premium gradient accent hairline at the very top of the footer */
.footer-accent {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--clr-cyan) 32%,
    var(--clr-blue-primary) 52%,
    var(--clr-cyan) 72%,
    transparent 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.6fr;
  gap: 44px;
  padding: 64px 0 56px;
  position: relative;
  z-index: 1;
}

/* 1. Brand column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: opacity var(--transition-fast);
}

.footer-brand-logo:hover {
  opacity: 0.85;
}

.footer-brand-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.9rem;
  margin-bottom: 26px;
}

.footer-cta-btn svg {
  width: 15px;
  height: 15px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social:hover {
  background: var(--clr-cyan);
  border-color: var(--clr-cyan);
  transform: translateY(-3px);
}

/* Column titles & link groups */
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-cyan);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-cyan);
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(12px);
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* 4. Contact information */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-contact-link svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--clr-cyan);
  transition: transform var(--transition-fast);
}

.footer-contact-link:hover {
  color: #FFFFFF;
}

.footer-contact-link:hover svg {
  transform: translateY(-2px);
}

.footer-contact-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--clr-cyan);
  margin-bottom: 2px;
}

/* 5. Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-copyright a:hover {
  color: var(--clr-cyan);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal-item {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clr-cyan);
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 35, 79, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--clr-surface-white);
  border-radius: 20px;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(11, 35, 79, 0.25);
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-bg-light);
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  background: var(--clr-bg-light);
  color: var(--clr-navy);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--clr-cyan);
  background: #FFFFFF;
}

/* Quick View Modal Product Details */
.quickview-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 24px;
}

.quickview-img-box {
  background: var(--clr-surface-card);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-img-box img {
  max-height: 240px;
  object-fit: contain;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
}

.toast-msg {
  background: var(--clr-navy);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideInUp 0.3s ease forwards;
  border-left: 4px solid var(--clr-cyan);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  /* Keep the product collage visible as the viewport narrows */
  .hero-bg {
    background-position: 58% center;
  }

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

  .promo-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .banner-left-img,
  .banner-right-img {
    display: none;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 36px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 68px;
  }

  .main-nav {
    display: none;
    /* Handled by mobile menu drawer */
  }

  /* Mobile: hide dropdowns and arrows, categories navigate directly */
  .main-nav .dropdown-menu,
  .main-nav .dropdown-icon {
    display: none !important;
  }

  /* Prevent hover colour sticking on touch */
  .main-nav .nav-link:hover {
    color: var(--clr-navy);
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  /* Text spans the full width here, so switch to a vertical wash */
  .hero-bg {
    background-position: 64% center;
  }

  .hero-section::after {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.92) 55%,
      rgba(255, 255, 255, 0.80) 72%,
      rgba(255, 255, 255, 0.38) 100%);
  }

  .heading-md {
    font-size: 1.7rem;
  }

  .benefits-row {
    grid-template-columns: 1fr;
  }

  .portfolio-gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 0 42px;
  }

  .footer-about-text {
    max-width: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .quickview-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Phones: products stay in exactly 2 columns (was collapsing to 1). */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Narrower card padding frees horizontal room so the product title wraps
     instead of being cut off in a 2-column phone grid. */
  .card-image-box {
    padding: 12px;
  }

  .card-title-bar {
    padding: 12px 10px;
  }

  .product-title {
    flex: 1;
    padding-right: 6px;
  }

  .hero-section {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* ---- Mobile navbar (phones only): search icon + Contact Us in menu ---- */

  /* 1. SEARCH: hide the text label; keep a clean, evenly-sized icon button */
  .search-trigger span {
    display: none;
  }

  .search-trigger {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .search-trigger svg {
    width: 18px;
    height: 18px;
  }

  /* 2. CONTACT: remove the header button, show the item inside the nav menu */
  #contactBtn {
    display: none;
  }

  .nav-contact-item {
    display: block;
  }
}