/* ==========================================================================
   BAGOR CREATIVE TECHNOLOGY STUDIO — STYLESHEET
   Pure Vanilla CSS Design System based on Bagor Brand Visual Identity
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --teal-primary: #0e956e;
  --teal-bright: #12aa7e;
  --teal-dark: #0a7354;
  --teal-hero-start: #119f75;
  --teal-hero-end: #0c8561;
  --teal-card-bg: #0e956e;
  --teal-card-gradient: linear-gradient(135deg, #3fa38a 0%, #46796f 100%);
  
  /* Footer & Dark Accents */
  --dark-green-footer: #072b20;
  --dark-green-grad: linear-gradient(180deg, #093326 0%, #051d16 100%);
  
  /* Backgrounds & Light Tints */
  --page-bg: #f8faf9;
  --mint-light: #edf8f4;
  --mint-pill: #e7f4ef;
  --mint-border: rgba(14, 149, 110, 0.15);
  
  /* Text Colors */
  --text-dark: #092a1f;
  --text-body: #47665b;
  --text-muted: #6b887e;
  --text-white: #ffffff;
  --text-white-sub: rgba(255, 255, 255, 0.88);
  --text-white-muted: rgba(255, 255, 255, 0.65);
  --text-watermark: rgba(255, 255, 255, 0.18);

  /* Glassmorphism */
  --glass-nav-bg: rgba(255, 255, 255, 0.15);
  --glass-nav-border: rgba(255, 255, 255, 0.28);
  --glass-box-bg: rgba(255, 255, 255, 0.18);
  --glass-box-border: rgba(255, 255, 255, 0.3);
  --glass-card-bg: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(16px);
  --glass-blur-sm: blur(10px);
  
  /* Radii */
  --radius-hero: 38px;
  --radius-card: 28px;
  --radius-subcard: 22px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 10px 30px rgba(9, 42, 31, 0.05);
  --shadow-card: 0 16px 40px rgba(9, 42, 31, 0.08);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-btn-hover: 0 8px 24px rgba(14, 149, 110, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  background-color: var(--page-bg);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--page-bg);
  padding: 16px 20px 24px;
}

@media (min-width: 1024px) {
  body {
    padding: 20px 32px 36px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ==========================================================================
   CANVAS PARTICLE NETWORK BACKGROUND
   ========================================================================== */
#network-canvas {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;

  pointer-events: none;

  opacity: 1;
}

/* ==========================================================================
   LAYOUT WRAPPER
   ========================================================================== */
.site-wrapper {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 20px 30px;
}

/* ==========================================================================
   GLASS NAVIGATION BAR
   ========================================================================== */
.navbar-container {
  width: 100%;
  padding-top: 10px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.navbar {
  width: 100%;
  max-width: 100%;
  height: 64px;
  background: var(--glass-nav-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-nav-border);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 0 28px;
  box-shadow: var(--shadow-glass);
  position: relative;
  z-index: 50;
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.nav-brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  position: absolute;
  left: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin-left: 80px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-white-sub);
  position: relative;
  padding: 6px 4px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-white);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--text-white);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
}

/* About and Services use green underline */
.nav-link[href="#about"].active::after,
.nav-link[href="#services"].active::after {
  background-color: var(--teal-primary);
}

.nav-action {
  display: flex;
  align-items: center;
  min-width: 160px;
  justify-content: flex-end;
}

@media (max-width: 960px) {

  .nav-action {
    min-width: auto;
    margin-left: auto;
  }

  .nav-links {
    display: none;
  }

  .nav-action .btn-pill-white {
    display: none;
  }

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

}
.btn-pill-white {
  background: var(--text-white);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}

/* Mobile Hamburger Button */
.nav-mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  position: relative;
   transition: none;
}

.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  transition: transform var(--transition-fast), top var(--transition-fast);
}

.nav-mobile-toggle span::before {
  top: -7px;
}

.nav-mobile-toggle span::after {
  top: 7px;
}

.nav-mobile-toggle.is-active span {
  background-color: transparent;
}

.nav-mobile-toggle.is-active span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-mobile-toggle.is-active span::after {
  transform: rotate(-45deg);
  top: 0;
}

.navbar.scrolled .nav-mobile-toggle span,
.navbar.scrolled .nav-mobile-toggle span::before,
.navbar.scrolled .nav-mobile-toggle span::after {
  background-color: var(--teal-primary);
}

/* Mobile Dropdown Menu */
.mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(9, 45, 33, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 100;
  flex-direction: column;
  gap: 16px;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-menu-drawer .nav-link {
  font-size: 1.15rem;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-drawer .btn-pill-white {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 20px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-action .btn-pill-white {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex;
  }
}

@media (min-width: 961px) {
  .mobile-menu-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   HERO CONTAINER (Shared across Pages)
   ========================================================================== */
.hero-container {
  background: var(--teal-hero-start);
  background: var(--teal-card-gradient);
  border-radius: var(--radius-hero);
  padding: 20px 24px 40px;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
    .hero-container {
        padding: 16px 36px 28px;
        margin-bottom: 32px;
    }
}

/* ==========================================================================
   PAGE 1: HOME HERO CONTENT
   ========================================================================== */
.home-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
}

@media (min-width: 960px) {
  .home-hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    min-height: 72vh;
  }
}

.home-hero-text {
  padding-bottom: 20px;
}

.hero-main-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-white-sub);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-fast);
}

.pill-glass-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Home Hero Person Graphic Area */
.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 600px;
}

@media (min-width: 960px) {
  .home-hero-visual {
    min-height: 72vh;
    justify-content: center;
    align-items: center;
  }
}

.hero-person-wrapper {
  position: relative;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-person-img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
  transition: transform var(--transition-smooth);
  transform: translateY(-80px);
}



/* Floating Glass Label "Youth in motion." */
.floating-glass-badge {
  position: absolute;
  bottom: 22px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-pill);
  padding: 9px 26px;
  color: var(--text-white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  pointer-events: none;
  z-index: 5;
}

/* ==========================================================================
   WHAT WE BELIEVE SECTION
   ========================================================================== */
.section-believe {
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .section-believe {
    margin-bottom: 84px;
  }
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.believe-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .believe-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .believe-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.believe-card {
  background-color: var(--mint-light);
  border: 1px solid rgba(14, 149, 110, 0.08);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.believe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-subtle);
  background-color: #e5f5ef;
}

.believe-card-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-primary);
  margin-bottom: 24px;
}

.believe-card-text {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  white-space: pre-line;
}

/* ==========================================================================
   HAPPY CLIENTS SECTION
   ========================================================================== */
.section-clients {
  margin-bottom: 72px;
  text-align: center;
}

@media (min-width: 1024px) {
  .section-clients {
    margin-bottom: 96px;
  }
}

.clients-title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.clients-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.client-pill {
  background: var(--mint-pill);
  border: 1px solid var(--mint-border);
  border-radius: var(--radius-pill);
  padding: 12px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.client-pill:hover {
  transform: translateY(-2px);
  background-color: #dcf0e8;
  border-color: var(--teal-primary);
}

/* ==========================================================================
   OUR SERVICES SECTION
   ========================================================================== */
.section-services {
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .section-services {
    margin-bottom: 110px;
  }
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 1024px) {
  .services-list {
    gap: 64px;
  }
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  cursor: pointer;
  border-radius: var(--radius-card);
  padding: 8px;
  transition: transform var(--transition-fast);
}

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.service-row:hover {
  transform: translateY(-2px);
}

/* Service Visual Card */
.service-card-visual {
  background: var(--teal-card-bg);
  background: var(--teal-card-gradient);
  border-radius: var(--radius-card);
  height: 310px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-row:hover .service-card-visual {
  transform: scale(1.015);
  box-shadow: var(--shadow-card);
}

.service-watermark {
  position: absolute;
  top: 14px;
  left: 24px;
  font-size: clamp(3.8rem, 8vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-watermark);
  line-height: 0.95;
  user-select: none;
  pointer-events: none;
}

.service-glass-box {
  background: var(--glass-box-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-box-border);
  border-radius: var(--radius-subcard);
  padding: 20px 24px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-glass);
  min-width: 200px;
  max-width: 85%;
}

.service-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-item-entry {
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-item-entry::before {
  content: '→';
  font-family: inherit;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Service Content Text Block */
.service-content-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px;
}

.service-badge-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.service-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 24px;
}

.service-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--mint-pill);
  border: 1px solid var(--mint-border);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  transition: all var(--transition-fast);
}

.service-row:hover .service-explore-btn,
.service-explore-btn:hover {
  background-color: var(--teal-primary);
  border-color: var(--teal-primary);
  color: var(--text-white);
  transform: translateX(4px);
}

/* Reverse alternating order on desktop */
@media (min-width: 900px) {
  .service-row.reverse .service-card-visual {
    order: 2;
  }
  .service-row.reverse .service-content-block {
    order: 1;
  }
}

/* ==========================================================================
   PAGE 2: SELECTED WORK / ARCHIVE HERO & GRID
   ========================================================================== */
.work-hero-content {
  margin-top: 16px;
  padding-bottom: 12px;
}

.hero-tag-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-white-sub);
  margin-bottom: 10px;
  display: inline-block;
}

.work-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.filter-pill {
  padding: 9px 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
}

.filter-pill.active {
  background: rgba(255, 255, 255, 0.35);
  border-color: var(--text-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Work Grid (2-column layout) */
.section-work-grid {
  margin-bottom: 80px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 28px;
}

@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }
}

.work-card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-visual-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  box-shadow: var(--shadow-subtle);
}

.work-visual-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.work-card:hover .work-visual-box img {
  transform: scale(1.03);
}

.work-visual-box.teal-card {
  background: var(--teal-card-bg);
  background: var(--teal-card-gradient);
}

.work-category-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.work-project-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.work-project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   PAGE 3: CONTACT PAGE
   ========================================================================== */
.contact-hero-container {
  background: var(--teal-card-bg);
  background: var(--teal-card-gradient);
  border-radius: var(--radius-hero);
  padding: 20px 24px 44px;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .contact-hero-container {
    padding: 24px 36px 56px;
    margin-bottom: 40px;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 24px;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
  }
}

.contact-left-col {
  display: flex;
  flex-direction: column;
}

.contact-main-heading {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 20px;
}

.contact-sub-text {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-white-sub);
  max-width: 480px;
  margin-bottom: 44px;
}

/* Google Maps Frosted Glass Placeholder */
.map-placeholder-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 480px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.map-pin-indicator {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: pulse 2.4s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  color: var(--text-dark);
}

@media (min-width: 600px) {
  .contact-form-card {
    padding: 40px 36px;
  }
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3b5c51;
  letter-spacing: -0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: #f1f6f4;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  background-color: #ffffff;
  border-color: var(--teal-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 149, 110, 0.15);
}

.form-textarea {
  resize: none;
  min-height: 110px;
}

/* Contact Category Buttons */
.form-category-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .form-category-pills {
    grid-template-columns: repeat(4, 1fr);
  }
}

.form-pill-btn {
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  background-color: #f1f6f4;
  border: 1px solid transparent;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-pill-btn:hover {
  background-color: #e2ede8;
}

.form-pill-btn.active {
  background-color: var(--teal-primary);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(14, 149, 110, 0.25);
}

.btn-submit-inquiry {
  background-color: var(--teal-primary);
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  box-shadow: 0 6px 20px rgba(14, 149, 110, 0.25);
  transition: all var(--transition-fast);
}

.btn-submit-inquiry:hover {
  background-color: var(--teal-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #ffffff;
  border-left: 4px solid var(--teal-primary);
  border-radius: 14px;
  padding: 16px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   FOOTER (Unified across all pages)
   ========================================================================== */
.site-footer {
  
    background: linear-gradient(
        135deg,
        #467970 0%,
        #0F2B29 100%
    );
  border-radius: var(--radius-hero);
  padding: 48px 32px 36px;
  color: var(--text-white);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* =====================================================
   FOOTER PARTICLE BACKGROUND
   ===================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
}

/* Footer particle canvas */
#footer-network-canvas {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
    pointer-events: none;

    opacity: 0.7;
}

/* Keep footer content above particles */
.site-footer > *:not(#footer-network-canvas) {
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 64px 48px 40px;
  }
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 840px) {
  .footer-top-row {
    grid-template-columns: 1.4fr 2fr;
    gap: 60px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-white-sub);
  opacity: 0.8;
  font-weight: 500;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (min-width: 600px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

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

.footer-col-links a,
.footer-location-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-white-sub);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-col-links a:hover {
  color: var(--text-white);
  transform: translateX(2px);
}

.footer-bottom-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ==========================================================================
   INTERACTION & ANIMATION HELPERS
   ========================================================================== */
.fade-in-up {
  opacity: 0;
}

.fade-in-up.is-visible {
  opacity: 1;
  animation: popUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Cards / rows: staggered pop, slightly lighter */
.fade-in-up.pop-item.is-visible {
  animation-name: popUpSoft;
  animation-duration: 0.65s;
  animation-delay: var(--pop-delay, 0ms);
  animation-fill-mode: backwards;
}

@keyframes popUp {
  0%   { opacity: 0; transform: translateY(64px) scale(0.93); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

@keyframes popUpSoft {
  0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1 !important; animation: none !important; }
}

/* Footer interactive light */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(18, 170, 126, 0.22) 0%,
        rgba(18, 170, 126, 0.10) 35%,
        rgba(18, 170, 126, 0.03) 55%,
        transparent 75%
    );

    pointer-events: none;
    opacity: 0;

    transition: opacity 0.25s ease;
}

footer:hover::before {
    opacity: 1;
}


/* =====================================================
   HERO SERVICE CARDS
   2 × 2 FLIP GRID
   ===================================================== */

.hero-pills-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 430px;
    margin-top: 28px;

    perspective: 1000px;
}


/* =====================================================
   CARD
   ===================================================== */

.hero-service-card {
    position: relative;
    height: 140px;
    cursor: pointer;
    perspective: 1000px;
}


/* =====================================================
   GLOW BEHIND CARD
   ===================================================== */

.hero-service-card::before {
    content: "";
    position: absolute;
    inset: -2px;

    border-radius: 24px;

    opacity: 0;
    filter: blur(7px);

    z-index: -1;

    transition:
        opacity 0.4s ease,
        filter 0.4s ease;
}


/* Glow colors */

.hero-service-card[data-service="build"]::before {
    background: #12aa7e;
}

.hero-service-card[data-service="grow"]::before {
    background: #20c997;
}

.hero-service-card[data-service="brand"]::before {
    background: #35b995;
}

.hero-service-card[data-service="create"]::before {
    background: #16b889;
}


/* =====================================================
   FLIP CONTAINER
   ===================================================== */

.hero-service-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;

    transition:
        transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}


/* Desktop hover */

.hero-service-card:hover .hero-service-inner,

/* Mobile / clicked */

.hero-service-card.flipped .hero-service-inner {
    transform: rotateY(180deg);
}


/* =====================================================
   FRONT + BACK
   ===================================================== */

.hero-service-front,
.hero-service-back {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border-radius: 22px;

    overflow: hidden;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* =====================================================
   FRONT — GLASS
   ===================================================== */

.hero-service-front {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    padding: 22px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.38);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 8px 30px rgba(0, 0, 0, 0.08);

    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}


/* =====================================================
   GLASS ICON
   ===================================================== */

.hero-service-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.42);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #ffffff;

    font-size: 21px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 4px 18px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   SERVICE NAME
   ===================================================== */

.hero-service-name {
    font-size: 18px;

    font-weight: 700;

    color: #ffffff;

    letter-spacing: -0.02em;
}


/* =====================================================
   BACK — FILLED COLOR
   ===================================================== */

.hero-service-back {
    transform: rotateY(180deg);

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 20px;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.9);
}


/* =====================================================
   INDIVIDUAL BACK COLORS
   ===================================================== */

/* BUILD */

.hero-service-card[data-service="build"] .hero-service-back {
    background: #129f79;

    border: 1px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.10),
        0 0 10px rgba(18, 170, 126, 0.8),
        0 0 25px rgba(18, 170, 126, 0.6),
        0 0 45px rgba(18, 170, 126, 0.4);
}

/* GROW */

.hero-service-card[data-service="grow"] .hero-service-back {
    background: #159f78;

    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.08),
        0 0 10px rgba(32, 201, 151, 0.9),
        0 0 25px rgba(32, 201, 151, 0.7),
        0 0 45px rgba(32, 201, 151, 0.4);
}


/* BRAND */

.hero-service-card[data-service="brand"] .hero-service-back {
    background: #168e70;

    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.08),
        0 0 10px rgba(53, 185, 149, 0.9),
        0 0 25px rgba(53, 185, 149, 0.7),
        0 0 45px rgba(53, 185, 149, 0.4);
}


/* CREATE */

.hero-service-card[data-service="create"] .hero-service-back {
    background: #0b9b73;

    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.08),
        0 0 10px rgba(22, 184, 137, 0.9),
        0 0 25px rgba(22, 184, 137, 0.7),
        0 0 45px rgba(22, 184, 137, 0.4);
}


/* =====================================================
   BACK TITLE
   ===================================================== */

.hero-service-back-title {
    margin-bottom: 10px;

    font-size: 17px;

    font-weight: 800;

    color: #ffffff;
}


/* =====================================================
   BACK LIST
   ===================================================== */

.hero-service-back ul {
    margin: 0;
    padding: 0;

    list-style: none;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 6px 14px;
}


.hero-service-back li {
    position: relative;

    padding-left: 12px;

    font-size: 11px;

    line-height: 1.4;

    color: rgba(255, 255, 255, 0.96);
}


.hero-service-back li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 6px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 5px rgba(255, 255, 255, 0.9);
}


/* =====================================================
   HOVER EFFECT
   ===================================================== */

.hero-service-card:hover::before {
    opacity: 0.8;

    animation: serviceGlow 1.8s ease-in-out infinite;
}


@keyframes serviceGlow {

    0%,
    100% {
        opacity: 0.55;
        filter: blur(6px);
    }

    50% {
        opacity: 1;
        filter: blur(10px);
    }
}


/* =====================================================
   FRONT BORDER HOVER
   ===================================================== */

.hero-service-card:hover .hero-service-front {
    border-color: rgba(255, 255, 255, 0.75);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 18px rgba(18, 170, 126, 0.3),
        0 10px 35px rgba(0, 0, 0, 0.1);
}


/* =====================================================
   BREATHING GLOW — ALL SERVICE CARDS
   ===================================================== */

/* BUILD */

.hero-service-card[data-service="build"]:hover .hero-service-back,
.hero-service-card[data-service="build"].flipped .hero-service-back {
    animation: buildBreathingGlow 1.8s ease-in-out infinite !important;
}

@keyframes buildBreathingGlow {
    0% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(18, 170, 126, 0.2),
            0 0 15px rgba(18, 170, 126, 0.15);
    }

50% {
    border-color: rgba(255, 255, 255, 1) !important;
    box-shadow:
        inset 0 0 35px rgba(255, 255, 255, 0.20),
        0 0 25px rgba(255, 255, 255, 1),
        0 0 55px rgba(18, 170, 126, 1),
        0 0 90px rgba(18, 170, 126, 0.95),
        0 0 120px rgba(18, 170, 126, 0.65);
}

    100% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(18, 170, 126, 0.2),
            0 0 15px rgba(18, 170, 126, 0.15);
    }
}


/* =====================================================
   GROW
   ===================================================== */

.hero-service-card[data-service="grow"]:hover .hero-service-back,
.hero-service-card[data-service="grow"].flipped .hero-service-back {
    animation: growBreathingGlow 1.8s ease-in-out infinite !important;
}

@keyframes growBreathingGlow {
    0% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(32, 201, 151, 0.2),
            0 0 15px rgba(32, 201, 151, 0.15);
    }

    50% {
        border-color: rgba(255, 255, 255, 1) !important;
        box-shadow:
            inset 0 0 25px rgba(255, 255, 255, 0.12),
            0 0 15px rgba(255, 255, 255, 1),
            0 0 35px rgba(32, 201, 151, 1),
            0 0 60px rgba(32, 201, 151, 0.7);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(32, 201, 151, 0.2),
            0 0 15px rgba(32, 201, 151, 0.15);
    }
}


/* =====================================================
   BRAND
   ===================================================== */

.hero-service-card[data-service="brand"]:hover .hero-service-back,
.hero-service-card[data-service="brand"].flipped .hero-service-back {
    animation: brandBreathingGlow 1.8s ease-in-out infinite !important;
}

@keyframes brandBreathingGlow {
    0% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(53, 185, 149, 0.2),
            0 0 15px rgba(53, 185, 149, 0.15);
    }

    50% {
        border-color: rgba(255, 255, 255, 1) !important;
        box-shadow:
            inset 0 0 25px rgba(255, 255, 255, 0.12),
            0 0 15px rgba(255, 255, 255, 1),
            0 0 35px rgba(53, 185, 149, 1),
            0 0 60px rgba(53, 185, 149, 0.7);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(53, 185, 149, 0.2),
            0 0 15px rgba(53, 185, 149, 0.15);
    }
}


/* =====================================================
   CREATE
   ===================================================== */

.hero-service-card[data-service="create"]:hover .hero-service-back,
.hero-service-card[data-service="create"].flipped .hero-service-back {
    animation: createBreathingGlow 1.8s ease-in-out infinite !important;
}

@keyframes createBreathingGlow {
    0% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(22, 184, 137, 0.2),
            0 0 15px rgba(22, 184, 137, 0.15);
    }

    50% {
        border-color: rgba(255, 255, 255, 1) !important;
        box-shadow:
            inset 0 0 25px rgba(255, 255, 255, 0.12),
            0 0 15px rgba(255, 255, 255, 1),
            0 0 35px rgba(22, 184, 137, 1),
            0 0 60px rgba(22, 184, 137, 0.7);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow:
            inset 0 0 15px rgba(255, 255, 255, 0.04),
            0 0 5px rgba(22, 184, 137, 0.2),
            0 0 15px rgba(22, 184, 137, 0.15);
    }
}
/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .hero-pills-row {
        width: 100%;
        max-width: 100%;

        gap: 10px;
    }

    .hero-service-card {
        height: 135px;
    }

    .hero-service-front {
        padding: 17px;
    }

    .hero-service-back {
        padding: 15px;
    }

    .hero-service-icon {
        width: 40px;
        height: 40px;

        margin-bottom: 11px;

        font-size: 19px;
    }

    .hero-service-name {
        font-size: 16px;
    }

    .hero-service-back-title {
        font-size: 15px;
    }

    .hero-service-back li {
        font-size: 10px;
    }
}

/* =====================================================
   HAPPY CLIENTS — INFINITE NEWS TICKER
   ===================================================== */

.section-clients {
    width: 100%;
    overflow: hidden;
}


/* =====================================================
   TICKER CONTAINER
   ===================================================== */

.clients-ticker {
    position: relative;

    width: 100%;

    overflow: hidden;

    margin-top: 28px;

    /* Fade the edges like a broadcast ticker */
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}


/* =====================================================
   MOVING TRACK
   ===================================================== */

.clients-ticker-track {
    display: flex;

    align-items: center;

    width: max-content;

    gap: 18px;

    animation: clientsTickerMove 28s linear infinite;
}


/* =====================================================
   CLIENT PILL
   ===================================================== */

.client-pill {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    height: 58px;

    padding: 0 28px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(14, 149, 110, 0.16);

    color: var(--text-dark);

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 8px 25px rgba(9, 42, 31, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


/* =====================================================
   SUBTLE HOVER
   ===================================================== */

.client-pill:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.9);

    border-color: rgba(14, 149, 110, 0.35);
}


/* =====================================================
   INFINITE ANIMATION
   ===================================================== */

@keyframes clientsTickerMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 9px));
    }

}


/* =====================================================
   PAUSE WHEN HOVERING
   ===================================================== */

.clients-ticker:hover .clients-ticker-track {
    animation-play-state: paused;
}

/* =====================================================
   OUR SERVICES — CURSOR BEHAVIOR
   ===================================================== */

/* Normal service content uses text cursor */
.service-content-block {
    cursor: text;
}

/* Service card is clickable */
.service-card-visual {
    cursor: pointer;
}

/* Explore button is clickable */
.service-explore-btn {
    cursor: pointer;
}

/* Service text stays non-clickable */
.service-badge-label,
.service-heading,
.service-description,
.service-items-list,
.service-item-entry,
.service-watermark {
    cursor: text;
}


/* =====================================================
   OUR SERVICES — CARD DETAILS
   ===================================================== */


/* =====================================================
   DESKTOP / COMPUTER
   Hide the entire glass box until hover
   ===================================================== */

@media (hover: hover) and (pointer: fine) {

    .service-glass-box {
        opacity: 0;
        transform: translateY(12px);

        pointer-events: none;

        transition:
            opacity 0.35s ease,
            transform 0.35s ease;
    }


    .service-card-visual:hover .service-glass-box {
        opacity: 1;

        transform: translateY(0);

        pointer-events: auto;
    }

}


/* =====================================================
   MOBILE / TABLET / TOUCH
   Always show the complete glass box
   ===================================================== */

@media (hover: none), (pointer: coarse) {

    .service-glass-box {
        opacity: 1;

        transform: translateY(0);

        pointer-events: auto;
    }

}

/* Navbar when scrolling */
.navbar.scrolled {
  position: fixed !important;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) !important;
  z-index: 1000;

  height: 64px;

  background: var(--glass-nav-bg);
  border-color: var(--glass-nav-border);
}

.navbar.scrolled .nav-link {
  color: var(--teal-dark);
}

.navbar.scrolled .nav-link:hover {
  color: var(--teal-primary);
}

.navbar.scrolled .nav-link.active {
  color: var(--teal-primary);
}

.navbar.scrolled .nav-brand {
  color: var(--teal-dark);
}
/* Homepage hero title only */
.home-hero-text .hero-main-title {
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
}

.hero-3d-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: hero3dSpin 0.8s linear infinite;
  z-index: 10;
}

.hero-3d-loader.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@keyframes hero3dSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#about,
#services {
  scroll-margin-top: 100px;
}

/* Archive hero */
.archive-hero {
  height: auto;
  min-height: 0;
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
  .archive-hero {
    height: auto;
    min-height: 0;
  }
}

/* ==========================================================================
   RESPONSIVE LAYER  (all devices: phones, tablets, laptops, large desktops)
   Breakpoints: <600 phone | 600-959 tablet (stacked) | 960-1199 small laptop
                | 1200+ desktop | 1800+ large desktop
   ========================================================================== */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg, video, canvas, iframe { max-width: 100%; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }

/* ---------- Page gutters (the old layout stacked body + wrapper padding) ---------- */
@media (max-width: 599px) {
  body { padding: 10px 10px 16px; }
  .site-wrapper { padding: 6px 0 24px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  body { padding: 14px 16px 24px; }
  .site-wrapper { padding: 10px 6px 28px; }
}
@media (min-width: 1800px) {
  .site-wrapper { max-width: 1600px; }
}

/* ---------- Shared hero panel + navbar ---------- */
.hero-container { border-radius: clamp(24px, 4vw, var(--radius-hero)); }

@media (max-width: 599px) {
  .hero-container { padding-left: 14px; padding-right: 14px; }
  .navbar-container { padding-top: 4px; margin-bottom: 12px; }
  .navbar { height: 56px; padding: 0 6px 0 18px; }
  .nav-brand { left: 18px; font-size: 1.2rem; }
  .nav-mobile-toggle { width: 40px; height: 40px; }
  .mobile-menu-drawer { top: 66px; padding: 18px; border-radius: 20px; }
}

/* Tight laptop widths: keep the full nav from colliding with the logo */
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-links { gap: 18px; margin-left: 56px; }
  .nav-action { min-width: 140px; }
  .btn-pill-white { padding: 11px 18px; }
}

/* ---------- HOME HERO (scoped so Archive/Contact heroes are untouched) ---------- */
.home-hero { --visual-h: clamp(340px, 82vw, 600px); }

.home-hero #hero-3d {
  position: absolute;
  z-index: 0;
  background: transparent;
  pointer-events: none;
  min-height: 0;
}
.home-hero #hero-3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.home-hero .navbar-container { position: relative; z-index: 100; }
.home-hero .home-hero-content { position: relative; z-index: 2; }

.home-hero .hero-pills-row { max-width: min(430px, 100%); }

/* Desktop / laptop: character pinned to the right of the panel, full height */
@media (min-width: 960px) {
  .home-hero {
    min-height: clamp(620px, calc(100vh - 48px), 980px);
    padding-bottom: 0;
  }
  .home-hero #hero-3d { top: 0; right: 0; width: 60%; height: 100%; }
  .home-hero .home-hero-visual { min-height: 0; }
  .home-hero .home-hero-text .hero-main-title { font-size: clamp(1.9rem, 3.3vw, 2.7rem); }
}
@media (min-width: 1200px) {
  .home-hero #hero-3d { width: 64%; }
}

/* Tablet + phone: text first, character in its own band underneath */
@media (max-width: 959px) {
  .home-hero { min-height: 0; padding-bottom: 0; }
  .home-hero .home-hero-content { min-height: 0; margin-top: 8px; gap: 8px; }
  .home-hero .home-hero-text { padding-bottom: 0; }
  .home-hero .home-hero-text .hero-main-title {
    font-size: clamp(1.6rem, 6.8vw, 2.7rem);
    margin-bottom: 4px;
  }
  .home-hero .hero-pills-row { margin-top: 20px; }
  .home-hero .home-hero-visual {
    display: block;
    width: 100%;
    height: var(--visual-h);
    min-height: 0;
  }
  .home-hero #hero-3d {
    top: auto; bottom: 0; right: 0;
    width: 100%;
    height: var(--visual-h);
  }
}
@media (min-width: 600px) and (max-width: 959px) {
  .home-hero .hero-pills-row { max-width: 520px; }
}

/* Short landscape screens (phones turned sideways): don't force a tall hero */
@media (max-height: 520px) and (min-width: 960px) {
  .home-hero { min-height: 560px; }
}

/* ---------- Sections ---------- */
@media (max-width: 899px) {
  .service-card-visual { height: clamp(240px, 52vw, 310px); }
  .service-description { max-width: 100%; }
}
@media (max-width: 599px) {
  .section-believe, .section-clients, .section-services { margin-bottom: 48px; }
  .believe-card { min-height: 0; padding: 22px 20px; }
  .believe-card-num { margin-bottom: 14px; }
  .service-card-visual { padding: 16px; }
  .service-glass-box { min-width: 0; max-width: 100%; padding: 16px 18px; }
  .site-footer { padding: 36px 20px 28px; }
  .contact-hero-container { padding-left: 14px; padding-right: 14px; }
  .contact-main-heading { font-size: clamp(2.1rem, 11vw, 2.6rem); }
  .contact-sub-text { font-size: 1rem; margin-bottom: 28px; }
}
.footer-links-grid > *, .footer-top-row > *, .contact-layout > *, .work-grid > *, .service-row > * { min-width: 0; }

/* ---------- Touch devices: comfortable tap targets ---------- */
@media (hover: none) and (pointer: coarse) {
  .nav-link, .btn-pill-white, .pill-glass-btn { min-height: 44px; }
}

.contact-map {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 28px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 768px) {
  .contact-map {
    height: 350px;
    border-radius: 22px;
  }
}

/* Contact layout */
@media (min-width: 769px) {
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left form"
      "map form";
    gap: 40px;
  }

  .contact-left-col {
    grid-area: left;
  }

  .contact-right-col {
    grid-area: form;
  }

  .contact-map {
    grid-area: map;
  }
}

/* Mobile / resized browser */
@media (max-width: 768px) {
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "form"
      "map";
    gap: 32px;
  }

  .contact-left-col {
    grid-area: left;
  }

  .contact-right-col {
    grid-area: form;
  }

  .contact-map {
    grid-area: map;
  }
}


/* ==========================================================================
   RESPONSIVE FIXES (frontend only)
   ========================================================================== */

/* Work / Archive page */
@media (max-width: 599px) {
  .work-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .work-filter-pills::-webkit-scrollbar { display: none; }
  .filter-pill { flex: 0 0 auto; padding: 9px 20px; }
  .archive-hero { padding-bottom: 40px; }
  .work-visual-box { height: auto; aspect-ratio: 4 / 3; }
}
.work-card, .work-visual-box { min-width: 0; }

/* Contact page: roomier on tablets, tidy on phones */
@media (min-width: 769px) and (max-width: 1023px) {
  .contact-layout { gap: 28px; }
  .contact-form-card { padding: 28px 24px; }
  .contact-main-heading { font-size: clamp(2.2rem, 5.2vw, 3rem); }
}
@media (max-width: 768px) {
  .contact-form-card { padding: 24px 18px; }
  .contact-map { height: clamp(260px, 70vw, 350px); }
}
.contact-map iframe { min-height: 0; }

/* Very small phones (<= 360px) */
@media (max-width: 380px) {
  body { padding: 8px 8px 14px; }
  .hero-container, .contact-hero-container { padding-left: 12px; padding-right: 12px; }
  .navbar { padding-left: 14px; }
  .nav-brand { left: 14px; }
  .hero-service-front { padding: 14px; }
  .form-pill-btn { padding: 9px 6px; font-size: 0.82rem; }
  .footer-links-grid { gap: 22px; }
}

/* Large / ultra-wide screens */
@media (min-width: 2200px) {
  html { font-size: 112.5%; }
}



/* ==========================================================================
   FLOATING SOCIAL ICONS  (contact page)
   Fixed at the bottom-left of the screen, in the white margin beside the
   green panel, solid green icons that float gently and react to scrolling.
   ========================================================================== */

.floating-social-bar {
  position: fixed;
  left: calc(max(0px, (100vw - 1504px) / 2) - 2.5px);
  bottom: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;

  translate: 0 var(--social-nudge, 0px);
  z-index: 1000;
}

.floating-social-link {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(145deg, #12a97d 0%, var(--teal-primary) 55%, var(--teal-dark) 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(14, 149, 110, 0.38);

  animation: socialFloat 3.6s ease-in-out infinite;

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-social-link:nth-child(2) { animation-delay: -0.7s; }
.floating-social-link:nth-child(3) { animation-delay: -1.4s; }
.floating-social-link:nth-child(4) { animation-delay: -2.1s; }
.floating-social-link:nth-child(5) { animation-delay: -2.8s; }

.floating-social-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-social-link:hover,
.floating-social-link:focus-visible {
  transform: scale(1.12);
  background: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(14, 149, 110, 0.5);
  outline: none;
}

@keyframes socialFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

/* Tablets / phones: little white margin, so the white ring keeps the icons
   visible when they pass over the green panel */
@media (max-width: 1023px) {
  .floating-social-bar {
    left: 8px;
    bottom: 16px;
    gap: 8px;
  }
  .floating-social-link { width: 36px; height: 36px; }
  .floating-social-link svg { width: 17px; height: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-social-link { animation: none; }
  .floating-social-bar { translate: none; }
}



/* Contact success message */
.toast-notification {
  color: #0e956e;
  border-radius: 18px;
}




