/*
Theme Name: MRAS eCQM
Theme URI: https://mras.my
Author: MRAS Service Resources
Author URI: https://mras.my
Description: Official website theme for MRAS Service Resources - e-Convo Queue Management System
Version: 1.0.0
License: Private
Text Domain: mras-ecqm
*/

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
  --yellow: #F5C800;
  --yellow-dark: #D4AA00;
  --teal: #00B4C5;
  --teal-dark: #009BAB;
  --dark: #1A1A1A;
  --dark-2: #242424;
  --dark-3: #2E2E2E;
  --gray: #F8F8F8;
  --gray-2: #EBEBEB;
  --text: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-sm: 6px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
}

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 900px;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--gray {
  background: var(--gray);
}

.section--yellow {
  background: var(--yellow);
  color: var(--dark);
}

.section--teal {
  background: var(--teal);
  color: var(--white);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245,200,0,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,180,197,0.35);
}

.btn i { font-size: 14px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--dark);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  line-height: 1.2;
  transition: color 0.3s;
}

.nav-logo-text span {
  display: block;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.75;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s;
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--white); }

.nav-cta {
  background: var(--yellow);
  color: var(--dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,200,0,0.4);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

#navbar.scrolled .nav-hamburger span { background: var(--dark); }

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.95) 0%,
    rgba(26,26,26,0.7) 60%,
    rgba(0,180,197,0.15) 100%
  );
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,200,0,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 2;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,197,0.10) 0%, transparent 70%);
  bottom: -50px;
  left: 100px;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,200,0,0.15);
  border: 1px solid rgba(245,200,0,0.4);
  color: var(--yellow);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-badge i { font-size: 12px; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-title .line { display: block; overflow: hidden; }

.hero-title .line span {
  display: block;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.4s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.55s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.70s; }

.hero-title .highlight {
  color: var(--yellow);
  position: relative;
}

.hero-title .highlight-teal { color: var(--teal); }

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 44px;
  animation: fadeInUp 0.9s ease 0.9s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
  animation: fadeInUp 0.9s ease 1.05s both;
}

.hero-clients {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
  animation: fadeInUp 0.9s ease 1.2s both;
}

.hero-clients-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.hero-clients-list {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.client-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

.client-badge i {
  color: var(--yellow);
  font-size: 13px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.5s both;
}

.scroll-arrow {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--yellow);
  border-radius: 50%;
  animation: scrollDot 1.8s ease infinite;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
#stats {
  background: var(--dark-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}

.stat-card {
  padding: 48px 32px;
  text-align: center;
  border-top: 3px solid transparent;
  position: relative;
  transition: var(--transition);
}

.stat-card:nth-child(odd) { border-top-color: var(--yellow); }
.stat-card:nth-child(even) { border-top-color: var(--teal); }

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.06);
}

.stat-card:last-child::after { display: none; }

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card:nth-child(odd) .stat-number { color: var(--yellow); }
.stat-card:nth-child(even) .stat-number { color: var(--teal); }

.stat-suffix {
  color: inherit;
  font-size: 0.6em;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
}

/* ============================================================
   WHAT IS ECQM SECTION
   ============================================================ */
#what-is {
  padding: 120px 0;
  background: var(--white);
}

.what-is-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.what-is-content .section-title { color: var(--dark); }

.what-is-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.what-is-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.what-is-list li .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.what-is-list li .icon i {
  font-size: 10px;
  color: var(--dark);
}

/* Flow Diagram */
.flow-diagram {
  position: relative;
}

.flow-diagram-box {
  background: var(--dark);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.flow-diagram-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--teal));
}

.flow-title {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
  text-align: center;
}

.flow-svg {
  width: 100%;
  height: auto;
}

.flow-node { transition: opacity 0.3s; }

.flow-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.flow-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.flow-stat-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
}

.flow-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
#how-it-works {
  padding: 120px 0;
  background: var(--gray);
  position: relative;
  overflow: hidden;
}

#how-it-works::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 300px; height: 300px;
  background: var(--yellow);
  opacity: 0.06;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-sub {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--teal), var(--yellow));
  z-index: 0;
  opacity: 0.4;
}

.step-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}

.step-card:nth-child(1) { border-top: 4px solid var(--yellow); }
.step-card:nth-child(2) { border-top: 4px solid var(--teal); }
.step-card:nth-child(3) { border-top: 4px solid var(--dark); }

.step-number {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.12;
  color: var(--dark);
}

.step-card:nth-child(1) .step-number { color: var(--yellow); opacity: 0.7; }
.step-card:nth-child(2) .step-number { color: var(--teal); opacity: 0.7; }

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.step-card:nth-child(1) .step-icon { background: rgba(245,200,0,0.15); color: var(--yellow-dark); }
.step-card:nth-child(2) .step-icon { background: rgba(0,180,197,0.15); color: var(--teal-dark); }
.step-card:nth-child(3) .step-icon { background: rgba(26,26,26,0.08); color: var(--dark); }

.step-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.step-tag {
  display: inline-block;
  margin-top: 20px;
  background: var(--gray);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
#gallery {
  padding: 120px 0;
  background: var(--dark);
}

#gallery .section-title { color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
  margin-top: 60px;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.gallery-item:nth-child(4) { grid-column: 3; grid-row: 1 / 3; }

.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-bg { transform: scale(1.08); }

.gallery-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.gallery-item:nth-child(1) .gallery-bg {
  background: linear-gradient(135deg, #1a2a3a 0%, #0d1b2a 100%);
}
.gallery-item:nth-child(2) .gallery-bg {
  background: linear-gradient(135deg, #2a1a0a 0%, #1a0d00 100%);
}
.gallery-item:nth-child(3) .gallery-bg {
  background: linear-gradient(135deg, #0a2a1a 0%, #001a0d 100%);
}
.gallery-item:nth-child(4) .gallery-bg {
  background: linear-gradient(135deg, #1a0a2a 0%, #0d001a 100%);
}
.gallery-item:nth-child(5) .gallery-bg {
  background: linear-gradient(135deg, #2a2a0a 0%, #1a1a00 100%);
}
.gallery-item:nth-child(6) .gallery-bg {
  background: linear-gradient(135deg, #0a1a2a 0%, #000d1a 100%);
}

.gallery-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.02) 30px,
      rgba(255,255,255,0.02) 31px
    );
}

.gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.08;
  color: var(--white);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,180,197,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:nth-child(1) .gallery-overlay,
.gallery-item:nth-child(4) .gallery-overlay {
  opacity: 0.6;
}

.gallery-event {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-count {
  font-size: 12px;
  color: var(--yellow);
  font-weight: 600;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--white);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

/* ============================================================
   TRACK RECORD SECTION
   ============================================================ */
#track-record {
  padding: 120px 0;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

#track-record::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
}

#track-record .section-label { color: var(--dark); opacity: 0.6; }
#track-record .section-title { color: var(--dark); }
#track-record .section-sub { color: rgba(0,0,0,0.65); }

.track-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.track-left {}

.track-highlight-box {
  background: var(--dark);
  border-radius: 20px;
  padding: 36px;
  color: var(--white);
  margin-top: 32px;
}

.track-highlight-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.track-highlight-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

.track-highlight-bar {
  margin-top: 20px;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  overflow: hidden;
}

.track-highlight-fill {
  height: 100%;
  width: 99%;
  background: linear-gradient(90deg, var(--yellow), var(--teal));
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-highlight-fill.animated { transform: scaleX(1); }

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
}

.timeline-fill {
  position: absolute;
  left: 0;
  top: 12px;
  width: 3px;
  background: var(--dark);
  border-radius: 2px;
  height: 0;
  transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.6);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.8);
  transition: var(--transition);
}

.timeline-item:hover {
  background: rgba(255,255,255,0.9);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--dark);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}

.timeline-year {
  display: inline-block;
  background: var(--dark);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-detail {
  font-size: 13px;
  color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-detail i { color: var(--teal-dark); font-size: 11px; }

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--dark);
  color: var(--yellow);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 8px;
}

/* ============================================================
   INTEGRATIONS SECTION
   ============================================================ */
#integrations {
  padding: 120px 0;
  background: var(--white);
}

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

.integration-card {
  border: 2px solid var(--gray-2);
  border-radius: 18px;
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.integration-card:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,180,197,0.12);
}

.integration-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.integration-card:nth-child(1) .integration-icon { background: rgba(245,200,0,0.12); color: var(--yellow-dark); }
.integration-card:nth-child(2) .integration-icon { background: rgba(0,180,197,0.12); color: var(--teal); }
.integration-card:nth-child(3) .integration-icon { background: rgba(245,200,0,0.12); color: var(--yellow-dark); }
.integration-card:nth-child(4) .integration-icon { background: rgba(0,180,197,0.12); color: var(--teal); }

.integration-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.integration-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   CTA / CONTACT SECTION
   ============================================================ */
#cta {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,180,197,0.12) 0%, transparent 60%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content .section-title { color: var(--white); }
.cta-content .section-sub { color: rgba(255,255,255,0.6); }

.cta-perks {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.cta-perk i {
  color: var(--teal);
  font-size: 16px;
  width: 20px;
  flex-shrink: 0;
}

.cta-contact-direct {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.cta-contact-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.cta-contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.cta-contact-link:hover { color: var(--yellow); }

.cta-contact-link i {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--yellow);
  flex-shrink: 0;
}

/* Demo Form */
.demo-form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}

.demo-form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.demo-form-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245,200,0,0.4);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #111111;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo { margin-bottom: 20px; }

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-reg {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover { color: var(--yellow); }
.footer-link i { font-size: 12px; opacity: 0.6; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  transition: color 0.25s;
}

.footer-contact-item a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-cert i { color: var(--yellow); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Scroll-triggered reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   SUCCESS MESSAGE
   ============================================================ */
.form-success {
  display: none;
  background: rgba(0,180,197,0.1);
  border: 2px solid var(--teal);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  color: var(--teal-dark);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .what-is-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-column: auto; grid-row: auto; }
  .track-layout { grid-template-columns: 1fr; gap: 40px; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--dark);
    padding: 100px 32px 40px;
    gap: 24px;
    align-items: flex-start;
    z-index: 999;
    min-height: 100vh;
  }

  .nav-menu.open .nav-link { color: var(--white); font-size: 1.4rem; }
  .nav-menu.open .nav-cta { font-size: 1rem; padding: 14px 28px; }

  .hero-title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-clients-list { flex-direction: column; gap: 10px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 32px 20px; }

  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item { height: 200px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-column: auto; grid-row: auto; }

  .integrations-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .demo-form-wrap { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }
  .hero-clients-list { gap: 8px; }
}

/* ============================================================
   REAL GALLERY — Photo & Video grid with lightbox
   ============================================================ */
#gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 14px;
  margin-top: 56px;
}

/* Reset old placeholder bg rules for real image items */
.gallery-item.has-media .gallery-bg { display: none; }
.gallery-item.has-media .gallery-pattern { display: none; }
.gallery-item.has-media .gallery-icon { display: none; }

.gallery-item.has-media img.gallery-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item.has-media:hover img.gallery-real-img { transform: scale(1.06); }

/* Video thumbnail inside gallery */
.gallery-item.has-video video.gallery-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-play-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(245,200,0,0.92);
  color: #1A1A1A;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  z-index: 3;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.gallery-item:hover .gallery-play-btn {
  background: var(--yellow);
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-view-all {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   FULL GALLERY PAGE
   ============================================================ */
.gallery-page {
  padding: 120px 0 80px;
  background: var(--dark);
  min-height: 100vh;
}

.gallery-page-header {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-page-header .section-title { color: var(--white); }
.gallery-page-header .section-sub { color: rgba(255,255,255,0.55); margin: 0 auto; }

/* Filter Tabs */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.gallery-filter-btn .count {
  display: inline-block;
  background: rgba(0,0,0,0.15);
  border-radius: 50px;
  padding: 1px 8px;
  font-size: 11px;
  margin-left: 4px;
}

.gallery-filter-btn.active .count { background: rgba(0,0,0,0.2); }

/* Gallery Masonry Grid */
.gallery-masonry {
  columns: 4;
  column-gap: 14px;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-masonry-item:hover img { transform: scale(1.04); }

.gallery-masonry-item .video-thumb-wrap {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--dark-2);
  overflow: hidden;
}

.gallery-masonry-item .video-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-masonry-item .gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-masonry-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-masonry-item .item-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245,200,0,0.9);
  color: #1A1A1A;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-masonry-item.is-video .video-thumb-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

.gallery-masonry-item.is-video .video-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--dark);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.gallery-masonry-item.is-video:hover .video-play-center {
  background: var(--yellow);
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 1024px) { .gallery-masonry { columns: 3; } }
@media (max-width: 768px)  { .gallery-masonry { columns: 2; } }
@media (max-width: 480px)  { .gallery-masonry { columns: 1; } }

/* ============================================================
   BLOG SECTION
   ============================================================ */
#blog {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#blog::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--teal) 50%, var(--yellow) 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-2);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.10);
  border-color: transparent;
}

.blog-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.blog-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-date i { color: var(--teal); font-size: 11px; }

.blog-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
  transition: color 0.25s;
}

.blog-card-title:hover { color: var(--teal); }

.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-2);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-author-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.25s;
  font-family: var(--font-head);
  letter-spacing: 0.5px;
}

.blog-read-more:hover { gap: 10px; }
.blog-read-more i { font-size: 11px; }

.blog-view-all {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  #gallery .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

/* GLightbox customization */
.glightbox-clean .gslide-description { background: var(--dark); }
.glightbox-clean .gslide-title { color: var(--white); font-family: var(--font-head); }
.glightbox-clean .gnext, .glightbox-clean .gprev { background: var(--yellow); }
.glightbox-clean .gnext svg, .glightbox-clean .gprev svg { fill: var(--dark); }

/* ============================================================
   HOMEPAGE GALLERY — Real image / video grid
   ============================================================ */
#gallery.section--dark { background: #111; }

#gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 52px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.gallery-item[style*="grid-row:1/3"] { height: auto; min-height: 452px; }

.gallery-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-play-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.75);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 5px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.gallery-event {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
}

.gallery-count {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.gallery-view-all {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  #gallery .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item[style*="grid-row:1/3"] { min-height: 200px; height: 200px; grid-column: auto !important; grid-row: auto !important; }
}

@media (max-width: 480px) {
  #gallery .gallery-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   FULL GALLERY PAGE
   ============================================================ */

/* Hero */
.gallery-page-hero {
  position: relative;
  background: var(--dark);
  padding: 160px 0 80px;
  overflow: hidden;
}

.gallery-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,180,197,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(245,200,0,0.10) 0%, transparent 60%);
}

.gallery-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center;
}

.gallery-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.gallery-page-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  margin: 12px 0 16px;
  letter-spacing: -1px;
}

.gallery-page-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.gallery-page-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 12px 28px;
}

.gallery-stat {
  font-family: var(--font-head);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  padding: 0 20px;
}

.gallery-stat strong {
  color: var(--yellow);
  font-weight: 800;
  margin-right: 4px;
}

.gallery-stat-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}

/* Filter Bar */
.gallery-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--gray-2);
  position: sticky;
  top: 70px;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 0;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--gray-2);
  background: transparent;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.gallery-tab:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.gallery-tab.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.tab-count {
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 1px 8px;
  font-size: 11px;
}

.gallery-tab:not(.active) .tab-count {
  background: var(--gray-2);
  color: var(--text-light);
}

/* Gallery Content */
.gallery-page-content {
  padding: 60px 0 80px;
  background: #f5f5f5;
}

/* Masonry Grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.masonry-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  z-index: 2;
}

.masonry-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  text-decoration: none;
}

.masonry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover .masonry-img { transform: scale(1.05); }

.masonry-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }

.masonry-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}

.masonry-overlay-inner i { font-size: 28px; }

.masonry-play {
  color: var(--white);
}

.masonry-play i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.masonry-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 3;
}

.masonry-badge--photo {
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.7);
}

.masonry-badge--video {
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 1200px) { .gallery-masonry { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .gallery-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .gallery-masonry { grid-template-columns: 1fr; } }

/* Gallery CTA Banner */
.gallery-cta-banner {
  background: var(--dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.gallery-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(245,200,0,0.12) 0%, transparent 60%);
}

.gallery-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.gallery-cta-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.gallery-cta-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.gallery-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .gallery-cta-inner { flex-direction: column; text-align: center; }
  .gallery-cta-actions { justify-content: center; }
  .gallery-page-stats { flex-wrap: wrap; }
  .gallery-tabs { flex-wrap: wrap; }
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
#newsletter {
  position: relative;
  overflow: hidden;
}

.newsletter-inner {
  background: linear-gradient(135deg, #0d1117 0%, #0f2027 50%, #0d1117 100%);
  padding: 100px 0;
  position: relative;
}

.newsletter-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,180,197,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left: text */
.newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.newsletter-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.newsletter-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 28px;
}

.newsletter-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.newsletter-perks li i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,180,197,0.2);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

/* Right: form */
.newsletter-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 44px;
  backdrop-filter: blur(10px);
}

.nl-field {
  margin-bottom: 18px;
}

.nl-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.nl-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-size: 11px;
}

.nl-field input,
.nl-field select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.nl-field input::placeholder { color: rgba(255,255,255,0.25); }

.nl-field input:focus,
.nl-field select:focus {
  border-color: var(--teal);
  background: rgba(0,180,197,0.06);
}

.nl-field select option { background: #1a1a1a; color: #fff; }

.nl-submit {
  width: 100%;
  padding: 16px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.nl-submit:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,200,0,0.35);
}

.nl-note {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nl-note i { color: var(--teal); }

/* Success state */
.newsletter-success {
  text-align: center;
  padding: 24px 0;
}

.newsletter-success i {
  font-size: 3rem;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}

.newsletter-success h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.newsletter-success p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .newsletter-layout { grid-template-columns: 1fr; gap: 48px; }
  .newsletter-form-wrap { padding: 32px; }
}

@media (max-width: 768px) {
  .newsletter-inner { padding: 72px 0; }
}

/* ============================================================
   BLOG ARCHIVE (home.php)
   ============================================================ */
#blog-archive { background: #f5f5f7; min-height: 60vh; }

.blog-archive-hero {
  background: var(--dark);
  padding: 140px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(0,180,197,0.12) 0%, transparent 60%);
}

.blog-archive-hero-content { position: relative; z-index: 2; }

.blog-archive-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin: 12px 0 16px;
}

.blog-archive-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

.blog-archive-content { padding: 72px 0 96px; }

/* Archive grid */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Featured card spans full row */
.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  background: var(--white);
  border: 1px solid var(--gray-2);
}

.blog-card--featured .blog-card-img-link { display: block; height: 100%; }
.blog-card--featured .blog-card-img--tall { height: 100%; min-height: 380px; }
.blog-card--featured .blog-card-img--tall img { height: 100%; object-fit: cover; }
.blog-card--featured .blog-card-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-card--featured .blog-card-title--lg {
  font-size: 1.55rem;
  line-height: 1.3;
  margin-bottom: 16px;
}
.blog-card--featured .blog-card-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.75; flex: 1; margin-bottom: 28px; }
.blog-card--featured .blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Regular card */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(0,0,0,0.1); border-color: transparent; }

.blog-card-img-link { display: block; }

.blog-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.blog-card-body { padding: 24px 24px 20px; flex: 1; display: flex; flex-direction: column; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-card-category {
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-date i { color: var(--teal); font-size: 11px; }

.blog-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  transition: color 0.25s;
  flex: 1;
}

.blog-card-title:hover { color: var(--teal); }
.blog-card-title--lg { font-size: 1.55rem; }

.blog-card-excerpt { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-2);
  margin-top: auto;
}

.blog-card-author { display: flex; align-items: center; gap: 10px; }
.blog-author-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--yellow); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.blog-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-author-name { font-size: 12px; font-weight: 600; color: var(--text); display: block; }
.blog-author-role { font-size: 11px; color: var(--text-light); display: block; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  font-family: var(--font-head);
  letter-spacing: 0.5px;
  transition: gap 0.25s;
}
.blog-read-more:hover { gap: 10px; }
.blog-read-more i { font-size: 11px; }

.btn--sm { padding: 10px 20px; font-size: 13px; }

/* Pagination */
.blog-pagination { margin-top: 60px; text-align: center; }
.blog-pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; font-family: var(--font-head);
  font-size: 13px; font-weight: 700; text-decoration: none;
  color: var(--text); border: 2px solid var(--gray-2); transition: var(--transition);
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--dark); border-color: var(--dark); color: var(--white); }
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next { width: auto; padding: 0 16px; border-radius: 50px; gap: 6px; }

/* Blog newsletter CTA */
.blog-newsletter-cta { background: var(--dark); padding: 60px 0; }
.blog-nl-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.blog-nl-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.blog-nl-sub { font-size: 14px; color: rgba(255,255,255,0.5); }

@media (max-width: 1024px) {
  .blog-archive-grid { grid-template-columns: 1fr 1fr; }
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card-img--tall { min-height: 280px; }
  .blog-card--featured .blog-card-body { padding: 32px; }
}
@media (max-width: 768px) {
  .blog-archive-grid { grid-template-columns: 1fr; }
  .blog-nl-inner { flex-direction: column; text-align: center; }
}


/* ============================================================
   SINGLE POST (single.php)
   ============================================================ */
#single-post { background: #f5f5f7; }

.post-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 160px 0 80px;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}

.post-hero-content { position: relative; z-index: 2; max-width: 820px; }

.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  transition: color 0.25s;
}
.post-back-link:hover { color: var(--yellow); }

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.post-hero-date, .post-hero-read {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.post-hero-date i, .post-hero-read i { color: var(--teal); }

.post-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.post-hero-author { display: flex; align-items: center; gap: 14px; }

/* Post content area */
.post-content-section { padding: 72px 0 96px; }

.post-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.post-content-body {
  background: var(--white);
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-2);
}

.post-content-inner {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  max-width: 680px;
}

.post-content-inner h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
}

.post-content-inner h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
}

.post-content-inner p { margin-bottom: 20px; }
.post-content-inner ul, .post-content-inner ol { margin: 0 0 20px 24px; }
.post-content-inner li { margin-bottom: 8px; }

.post-content-inner strong { color: var(--dark); font-weight: 700; }

.post-content-inner a { color: var(--teal); text-decoration: underline; }
.post-content-inner a:hover { color: var(--dark); }

/* Share */
.post-share {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--gray-2);
}

.post-share-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-share-links { display: flex; gap: 10px; flex-wrap: wrap; }

.post-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.post-share-btn--wa { background: #25D366; color: #fff; }
.post-share-btn--wa:hover { background: #1ebe5d; }
.post-share-btn--fb { background: #1877F2; color: #fff; }
.post-share-btn--fb:hover { background: #0d6de0; }
.post-share-btn--li { background: #0A66C2; color: #fff; }
.post-share-btn--li:hover { background: #0958a7; }

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-2);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--gray-1);
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--gray-2);
}

.post-nav-link:hover { background: var(--dark); border-color: var(--dark); }
.post-nav-link--next { text-align: right; }

.post-nav-dir {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-nav-link--next .post-nav-dir { justify-content: flex-end; }

.post-nav-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.post-nav-link:hover .post-nav-title { color: var(--white); }
.post-nav-link:hover .post-nav-dir { color: var(--yellow); }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }

.sidebar-widget {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-2);
}

.sidebar-widget--dark { background: var(--dark); border-color: transparent; }

.sidebar-widget-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

.sidebar-about { text-align: center; }
.sidebar-about-logo {
  width: 52px; height: 52px; border-radius: 50%; background: var(--yellow);
  color: var(--dark); font-family: var(--font-head); font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.sidebar-about-name { font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.sidebar-about-desc { font-size: 12px; color: var(--text-light); line-height: 1.7; margin-bottom: 18px; }

.sidebar-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-2);
  transition: var(--transition);
}

.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover .sidebar-post-title { color: var(--teal); }

.sidebar-post-img {
  width: 60px;
  height: 52px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.sidebar-post-title { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 4px; transition: color 0.25s; }
.sidebar-post-date { font-size: 11px; color: var(--text-light); }

@media (max-width: 1200px) {
  .post-content-grid { grid-template-columns: 1fr 280px; }
}

@media (max-width: 1024px) {
  .post-content-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .post-content-body { padding: 40px 32px; }
}

@media (max-width: 768px) {
  .post-hero { min-height: 420px; padding: 120px 0 60px; }
  .post-content-body { padding: 28px 20px; }
  .post-nav { grid-template-columns: 1fr; }
}

/* ============================================================
   STICKY SUBSCRIBE BANNER
   ============================================================ */
.sticky-subscribe {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  z-index: 9999;
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 16px;
  border-radius: 14px 0 0 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: -4px 4px 20px rgba(0,0,0,0.18);
  transition: padding-right 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.sticky-subscribe i {
  font-size: 16px;
  flex-shrink: 0;
}

.sticky-subscribe:hover {
  padding-right: 24px;
  box-shadow: -6px 6px 28px rgba(0,0,0,0.25);
  color: var(--dark);
}

@media (max-width: 768px) {
  .sticky-subscribe {
    top: auto;
    bottom: 20px;
    right: 16px;
    border-radius: 50px;
    padding: 12px 18px;
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
  .sticky-subscribe:hover { padding-right: 18px; }
}

/* ============================================================
   STICKY SOCIAL BUTTONS (left side)
   ============================================================ */
.sticky-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sticky-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 0 10px 10px 0;
  transition: width 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.15);
}

.sticky-social-btn:hover {
  width: 52px;
  box-shadow: 4px 4px 18px rgba(0,0,0,0.25);
  color: #fff;
}

.sticky-social-btn--fb { background: #1877F2; }
.sticky-social-btn--ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sticky-social-btn--li { background: #0A66C2; }
.sticky-social-btn--yt { background: #FF0000; }
.sticky-social-btn--wa { background: #25D366; }

@media (max-width: 768px) {
  .sticky-social {
    top: auto;
    bottom: 64px;
    left: 0;
    gap: 2px;
  }
  .sticky-social-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .sticky-social-btn:hover { width: 36px; }
}

/* ============================================================
   MISSING CSS VARIABLES (referenced in later blocks)
   ============================================================ */
:root {
  --gray-1: #F8F8F8;
  --gray-3: #CCCCCC;
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE
   ============================================================ */

/* --- 1024px: tablet adjustments (supplement existing) --- */
@media (max-width: 1024px) {
  #what-is, #how-it-works, #track-record, #integrations, #cta { padding: 80px 0; }
  #gallery { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .what-is-grid { gap: 40px; }
  .flow-diagram-box { padding: 32px 28px; }
  .track-layout { gap: 48px; }
  .demo-form-wrap { padding: 40px 32px; }
  .cta-grid { gap: 48px; }
  .footer-grid { gap: 40px; }
  .blog-archive-content { padding: 56px 0 72px; }
}

/* --- 768px: phone landscape / small tablet --- */
@media (max-width: 768px) {
  /* Section padding */
  #what-is, #how-it-works, #track-record, #integrations, #cta, #blog-section { padding: 60px 0; }
  #gallery { padding: 60px 0; }
  #stats { padding: 52px 0; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .section-sub { font-size: 0.95rem; max-width: 100%; }

  /* Hero */
  .hero-content { max-width: 100%; }
  .hero-desc { font-size: 1rem; margin-bottom: 32px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-clients-list { gap: 10px; flex-wrap: wrap; }
  .hero-scroll { display: none; }

  /* Stats */
  .stat-card { padding: 36px 20px; }

  /* What-is */
  .what-is-grid { gap: 32px; }
  .flow-diagram-box { padding: 24px 20px; }
  .flow-stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Steps */
  .steps-grid { gap: 16px; }
  .step-card { padding: 28px 24px; }
  .step-number { font-size: 2.8rem; }

  /* Gallery section (homepage) */
  .gallery-item { height: 180px; }
  .gallery-view-all { text-align: center; margin-top: 32px; }

  /* Track record */
  .track-layout { gap: 32px; }
  .track-highlight-box { padding: 28px 24px; }
  .timeline { padding-left: 20px; }
  .timeline-item { padding: 16px 18px; }
  .timeline-item::before { left: -28px; }

  /* Integrations */
  .integrations-grid { gap: 12px; }
  .integration-card { padding: 28px 16px; }
  .integration-icon { width: 56px; height: 56px; font-size: 22px; }

  /* CTA/Demo */
  .cta-grid { gap: 32px; }
  .demo-form-wrap { padding: 28px 20px; border-radius: 16px; }
  .demo-form-title { font-size: 1.2rem; }

  /* Footer */
  .footer-grid { gap: 24px; }
  .footer-desc { max-width: 100%; }

  /* Blog section on homepage */
  .blog-grid { gap: 20px; }
  .blog-card-img { height: 200px; }

  /* Blog archive */
  .blog-archive-hero { padding: 110px 0 52px; }
  .blog-archive-content { padding: 48px 0 64px; }
  .blog-archive-grid { gap: 20px; }

  /* Single post */
  .post-hero { min-height: 380px; padding: 110px 0 52px; }
  .post-share-links { flex-wrap: wrap; }
  .post-nav { gap: 12px; }
  .post-nav-link { padding: 14px 16px; }

  /* Gallery page */
  .gallery-page-hero { padding: 110px 0 52px; }
  .gallery-filter-bar { flex-wrap: wrap; gap: 8px; }
  .gallery-tab { padding: 8px 16px; font-size: 12px; }

  /* Newsletter section */
  .newsletter-inner { padding: 60px 0; }
  .newsletter-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }

  /* Sticky social — hide label text, keep icon only on small screens */
  .sticky-subscribe span { display: inline; }
}

/* --- 480px: phones --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Section padding */
  #what-is, #how-it-works, #track-record, #integrations, #cta { padding: 48px 0; }
  #gallery { padding: 48px 0; }
  #stats { padding: 44px 0; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 28px; }

  /* Typography */
  .section-title { font-size: clamp(1.55rem, 6vw, 2rem); }
  .section-sub { font-size: 0.9rem; }

  /* Buttons */
  .btn { padding: 14px 22px; font-size: 14px; }
  .btn--sm { padding: 10px 16px; font-size: 12px; }

  /* Hero */
  .hero-badge { margin-bottom: 20px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .client-badge { font-size: 11px; padding: 6px 10px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 28px 14px; }
  .stat-number { font-size: clamp(2rem, 8vw, 2.8rem); }
  .stat-label { font-size: 10px; }

  /* What-is flow diagram */
  .flow-diagram-box { padding: 20px 16px; }
  .flow-stats-row { grid-template-columns: 1fr; }
  .flow-stat-num { font-size: 1.3rem; }

  /* Steps */
  .step-card { padding: 24px 20px; }

  /* Gallery (homepage) */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 200px; }

  /* Track record */
  .track-highlight-num { font-size: 2.4rem; }
  .timeline-item { padding: 14px 14px; margin-bottom: 20px; }
  .timeline-item::before { left: -26px; width: 12px; height: 12px; }

  /* Integrations */
  .integrations-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .integration-card { padding: 24px 12px; }
  .integration-icon { width: 48px; height: 48px; font-size: 18px; border-radius: 12px; }
  .integration-name { font-size: 13px; }

  /* CTA form */
  .demo-form-wrap { padding: 24px 16px; }
  .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-cert { flex-wrap: wrap; gap: 8px; }

  /* Blog section (homepage) */
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card-img { height: 185px; }

  /* Blog archive */
  .blog-archive-hero { padding: 90px 0 44px; }
  .blog-archive-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .blog-card--featured { border-radius: 16px; }
  .blog-card--featured .blog-card-body { padding: 24px 20px; }
  .blog-card--featured .blog-card-title--lg { font-size: 1.2rem; }
  .blog-card--featured .blog-card-img--tall { min-height: 220px; }
  .blog-card { border-radius: 16px; }
  .blog-card-body { padding: 18px 18px 16px; }

  /* Blog newsletter CTA */
  .blog-nl-inner { gap: 20px; text-align: center; flex-direction: column; }

  /* Single post */
  .post-hero { min-height: 320px; padding: 90px 0 44px; }
  .post-hero-title { font-size: clamp(1.35rem, 5vw, 1.8rem); }
  .post-content-body { padding: 24px 16px; }
  .post-hero-meta { gap: 10px; }
  .post-hero-date, .post-hero-read { font-size: 12px; }
  .post-share-btn { padding: 8px 14px; font-size: 12px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link--next { text-align: left; }
  .post-nav-link--next .post-nav-dir { justify-content: flex-start; }
  .sidebar-widget { padding: 20px; }

  /* Gallery page */
  .gallery-page-hero { padding: 90px 0 44px; }
  .gallery-tabs { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .gallery-tab { white-space: nowrap; padding: 7px 14px; font-size: 11px; }
  .gallery-cta-banner { padding: 40px 20px; border-radius: 16px; }

  /* Newsletter */
  .newsletter-inner { padding: 48px 0; }
  .newsletter-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .newsletter-form-wrap { padding: 24px 16px; }
  .nl-submit { padding: 14px; font-size: 14px; }

  /* Sticky social — tighter on very small screens */
  .sticky-social-btn { width: 32px; height: 32px; font-size: 13px; border-radius: 0 8px 8px 0; }
  .sticky-subscribe { padding: 10px 14px; font-size: 12px; }
  .sticky-subscribe i { font-size: 14px; }
}

/* --- 360px: smallest common phones --- */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .nav-logo-text { font-size: 13px; }
  .nav-logo-icon { width: 36px; height: 36px; font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 24px 10px; }
  .integrations-grid { grid-template-columns: 1fr; }
  .sticky-subscribe span { display: none; }
  .sticky-subscribe { padding: 12px; border-radius: 50% 0 0 50%; }
  .sticky-subscribe i { font-size: 16px; }
}

/* Hide sticky elements behind mobile nav when menu is open */
body.nav-open .sticky-social,
body.nav-open .sticky-subscribe {
  opacity: 0;
  pointer-events: none;
}
