/* assets/css/style.css */
/* Water Blue Theme & Dynamic Wave Animation System - WaterProofingBatam */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Water Blue Palette */
  --primary-blue: #0284c7;        /* Ocean blue */
  --primary-dark: #0369a1;        /* Deep sea blue */
  --navy-deep: #0c4a6e;           /* Dark naval blue */
  --cyan-bright: #06b6d4;         /* Aqua cyan */
  --blue-light: #e0f2fe;          /* Sky blue wash */
  --blue-ultra-light: #f0f9ff;    /* Soft water tint */
  
  --accent-gold: #f59e0b;         /* Amber badge */
  --accent-green: #10b981;        /* Success green */
  
  --text-dark: #0f172a;           /* Dark text */
  --text-muted: #475569;          /* Subtile grey text */
  --text-light: #f8fafc;          /* White text */
  
  --bg-clean: #ffffff;            /* Pure white */
  --bg-surface: #f8fafc;          /* Soft surface */
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px -1px rgba(2, 132, 199, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.15);
  --shadow-lg: 0 20px 35px -10px rgba(12, 74, 110, 0.22);
  --glass-border: 1px solid rgba(2, 132, 199, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  
  --transition-normal: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-surface);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Global Non-Wrap Helper for Labels & Badges */
.nowrap,
.section-tag,
.table-badge,
.hero-badge,
.service-warranty,
.top-bar-info span {
  white-space: nowrap !important;
}

/* Top Bar (Single Line Clean Bar) */
.top-bar {
  background: var(--navy-deep);
  color: var(--blue-light);
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* Strictly single line! */
  gap: 20px;
}

.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* Navbar System (Renggang & Longgar) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  white-space: nowrap;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--primary-blue));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  animation: pulseGlow 3s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35); transform: scale(1); }
  100% { box-shadow: 0 8px 22px rgba(6, 182, 212, 0.6); transform: scale(1.05); }
}

.logo span {
  color: var(--primary-blue);
}

/* Spaced out desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-bright), var(--primary-blue));
  border-radius: 4px;
  transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

/* Mobile Toggle Hamburger Icon */
.mobile-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--navy-deep);
  background: var(--blue-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.mobile-toggle:hover {
  background: var(--primary-blue);
  color: white;
}

/* Mobile Nav Drawer Overlay */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: white;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-deep);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-links a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Layout Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: white;
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.6s;
}

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

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, var(--cyan-bright), var(--primary-blue));
}

.btn-outline {
  background: transparent;
  color: var(--navy-deep);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
  animation: pulseWa 2.5s infinite ease-in-out;
}

@keyframes pulseWa {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5); }
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1eb956, #0e7065);
  transform: translateY(-3px);
}

/* ANIMATED WAVE DIVIDERS */
.wave-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.wave-svg path {
  animation: waveMotion 12s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite alternate;
}

@keyframes waveMotion {
  0% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-15px) scaleY(1.08); }
  100% { transform: translateX(15px) scaleY(0.95); }
}

.wave-top {
  transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(140deg, #0284c7 0%, #0369a1 45%, #0c4a6e 100%);
  color: white;
  padding: 100px 0 130px 0;
  overflow: hidden;
}

.hero-bg-waves {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.12;
  background: radial-gradient(circle at 20% 30%, #38bdf8 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, #06b6d4 0%, transparent 60%);
  pointer-events: none;
  animation: floatBg 15s infinite alternate ease-in-out;
}

@keyframes floatBg {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.1) translateY(-20px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #7dd3fc;
  display: inline-block;
  background: linear-gradient(120deg, #7dd3fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--blue-light);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Floating Hero Card */
.hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
  animation: floatCard 6s infinite ease-in-out alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.hero-card-header {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.975rem;
}

.hero-feature-item i {
  color: #38bdf8;
  font-size: 1.25rem;
}

/* Stats Wave Section */
.stats-wave-section {
  background: var(--navy-deep);
  color: white;
  padding: 70px 0;
  position: relative;
}

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

.stat-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-normal);
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--cyan-bright);
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.25);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--blue-light);
  font-weight: 600;
  white-space: nowrap;
}

/* Clean Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px auto;
}

.section-tag {
  display: inline-block;
  color: var(--primary-blue);
  background: var(--blue-light);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Section Tentang Kami */
.about-section {
  padding: 100px 0;
  background: var(--bg-clean);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-badge-card {
  background: linear-gradient(135deg, var(--blue-ultra-light), #e0f2fe);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid rgba(2, 132, 199, 0.25);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-normal);
}

.about-badge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 18px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.about-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Services Grid with Card Animation */
.services-section {
  padding: 100px 0;
  background: var(--blue-ultra-light);
  position: relative;
}

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

.service-card {
  background: var(--bg-clean);
  border-radius: var(--radius-md);
  padding: 36px;
  border: var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.service-icon-wrapper {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--blue-light), #bae6fd);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 26px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: white;
  transform: rotate(6deg) scale(1.1);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 14px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.7;
}

.service-meta {
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.service-warranty {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-dark);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Pricing & Specification Tables */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-clean);
}

.table-wrapper {
  width: 100%;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  overflow-x: auto;
  margin-bottom: 40px;
}

.table-clean {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: auto;
}

.table-clean th {
  background: linear-gradient(135deg, var(--navy-deep), var(--primary-dark));
  color: white;
  padding: 18px 24px;
  font-size: 0.925rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.table-clean td {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: var(--text-dark);
  white-space: nowrap;
  vertical-align: middle;
}

.table-clean tr:last-child td {
  border-bottom: none;
}

.table-clean tr:hover td {
  background-color: var(--blue-ultra-light);
}

.table-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-blue { background: var(--blue-light); color: var(--primary-dark); }
.badge-green { background: #d1fae5; color: #047857; }
.badge-gold { background: #fef3c7; color: #b45309; }

/* Section Projects */
.projects-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--blue-ultra-light) 0%, var(--bg-clean) 100%);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 28px;
  border-radius: 30px;
  background: white;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

/* SECTION FORM KONSULTASI */
.consultation-section {
  padding: 100px 0;
  background: linear-gradient(140deg, var(--navy-deep), #0369a1);
  color: white;
  position: relative;
}

.form-wrapper-clean {
  background: white;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 54px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  margin: 0 auto;
}

.form-title-box {
  text-align: center;
  margin-bottom: 36px;
}

.form-title-box h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

.form-row-equal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.form-group label {
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--navy-deep);
  white-space: nowrap;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  font-size: 0.975rem;
  font-family: inherit;
  transition: var(--transition-normal);
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-submit-form {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 100px 0;
  background: var(--bg-clean);
}

.faq-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  background: var(--bg-surface);
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1.075rem;
  color: var(--navy-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question i {
  color: var(--primary-blue);
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 22px 28px;
  max-height: 350px;
  border-top: 1px solid #f1f5f9;
  background: white;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: white;
  padding: 80px 0 28px 0;
  position: relative;
}

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

.footer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #7dd3fc;
  margin-bottom: 20px;
  white-space: nowrap;
}

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

.footer-links a {
  color: var(--blue-light);
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: white;
  transform: translateX(6px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* SCROLL ENTRANCE ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* MEDIA QUERIES FOR TOP BAR & RESPONSIVENESS */
@media (max-width: 1050px) {
  .top-bar-hide-mobile {
    display: none !important; /* Hide secondary badges on medium screens so topbar stays perfectly 1 line */
  }
}

@media (max-width: 992px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

@media (max-width: 768px) {
  .top-bar {
    display: none; /* Hide top bar completely on small phone screens for ultra clean mobile view */
  }

  .container {
    padding: 0 18px;
  }

  .hero-section {
    padding: 60px 0 90px 0;
  }

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

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

  .form-wrapper-clean {
    padding: 28px 20px;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  .stat-label {
    font-size: 0.825rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .btn {
    width: 100%;
  }

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

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}
