/* ============================================
   RAMKALA GLOBAL — Premium Meteorological Instruments
   ============================================ */
:root {
  --primary: #0B2A4A;
  --primary-mid: #163A5F;
  --primary-light: #1E4D7B;
  --accent: #1E88C8;
  --accent-dark: #1565A0;
  --accent-soft: #E3F2FB;
  --sky: #F0F7FC;
  --bg: #F7FAFC;
  --surface: #FFFFFF;
  --text: #142033;
  --muted: #5C6B7A;
  --border: #D6E3EE;
  --success: #0D7A5F;
  --shadow: 0 8px 30px rgba(11, 42, 74, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 42, 74, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 78px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --font-num: "Roboto", "Lato", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.num,
.phone-num,
.stat-number,
.contact-detail a {
  font-family: var(--font-num);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: var(--sky);
}

.section-dark {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-dark .section-head h2,
.section-dark .section-eyebrow {
  color: #fff;
}

.section-dark .section-eyebrow {
  color: #8ec8eb;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 136, 200, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 136, 200, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(11, 42, 74, 0.1);
}

.nav-inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 1001;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.navbar.scrolled .brand-name {
  color: var(--primary);
}

.navbar.scrolled .brand-sub {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links .drop-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.navbar.scrolled .nav-links > li > a,
.navbar.scrolled .nav-links .drop-toggle {
  color: var(--primary);
}

.nav-links > li > a:hover,
.nav-links .drop-toggle:hover,
.nav-links > li > a.active {
  color: var(--accent);
  background: rgba(30, 136, 200, 0.1);
}

.navbar:not(.scrolled) .nav-links > li > a:hover,
.navbar:not(.scrolled) .nav-links .drop-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.nav-links > li:hover > .dropdown,
.nav-links > li.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.dropdown a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 20px !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 50px !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--primary);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(7, 24, 45, 0.88) 0%,
    rgba(11, 42, 74, 0.72) 45%,
    rgba(11, 42, 74, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 20px 80px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  animation: fadeUp 0.8s ease both;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 18px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-content .hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin-bottom: 16px;
  font-weight: 500;
  animation: fadeUp 0.8s 0.25s ease both;
}

.hero-content .hero-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.35s ease both;
}

.hero-content .btn-group {
  animation: fadeUp 0.8s 0.45s ease both;
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 6px;
}

.hero-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: sparkFloat 4s ease-in-out infinite;
}

@keyframes sparkFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.4); opacity: 0.9; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: calc(var(--nav-h) + 50px) 20px 70px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 24, 45, 0.9), rgba(30, 136, 200, 0.55));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ---------- Cards & Grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky);
  cursor: pointer;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: transform 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

.card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 16px;
}

.card-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--accent-dark);
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #7ec8f0;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- About preview ---------- */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--sky);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 14px;
}

.about-list {
  margin: 20px 0 28px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
  font-weight: 500;
}

.about-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Cert badges ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cert-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.cert-badge .cert-ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
}

.cert-badge .cert-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cert-badge h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--primary);
}

/* ---------- Clients marquee ---------- */
.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-chip {
  flex-shrink: 0;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.client-item {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
}

.client-item:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(160deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-detail .ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.82rem;
  opacity: 0.7;
  margin-bottom: 2px;
  font-weight: 500;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: #fff;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-card h3 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 136, 200, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Product detail ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.product-main-img {
  background: var(--sky);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  padding: 24px;
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.specs-table th,
.specs-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: var(--sky);
  color: var(--primary);
  font-weight: 700;
  width: 40%;
}

.specs-table td {
  color: var(--muted);
}

.spec-list {
  margin: 16px 0 24px;
}

.spec-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.spec-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.product-cta-box {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 28px;
  border: 1px solid var(--border);
}

.product-cta-box h4 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 8px;
}

/* Ensure sticky nav readable on light page heroes */
.page-hero + .section {
  position: relative;
  z-index: 1;
}

/* Number fields use dedicated font stack */
input[type="tel"],
input.phone-num,
.stat-number {
  font-family: var(--font-num);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer h4 {
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #7ec8f0;
  padding-left: 4px;
}

.footer-contact li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.88rem;
}

.footer-bottom a {
  color: #7ec8f0;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ---------- Floating buttons ---------- */
.float-btns {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.float-wa {
  background: #25D366;
}

.float-call {
  background: var(--accent);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 24, 45, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(900px, 92vw);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ---------- Animations / reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.spark-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Why choose ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; }
.mb-2 { margin-bottom: 16px; }

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 28px 0 12px;
}

.prose p {
  color: var(--muted);
  margin-bottom: 14px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 88vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 24px 40px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links > li > a,
  .nav-links .drop-toggle {
    color: var(--primary) !important;
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    transition: max-height 0.4s ease, padding 0.3s ease;
    min-width: 0;
  }

  .nav-links > li.open > .dropdown {
    max-height: 600px;
    padding: 4px 8px 12px;
  }

  .nav-cta {
    margin: 12px 0 0 !important;
    text-align: center;
    justify-content: center;
  }

  .grid-2,
  .contact-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-4,
  .cert-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .float-btns {
    right: 12px;
    bottom: 16px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
  .form-card,
  .contact-info-card {
    padding: 28px 20px;
  }
}

/* Mobile menu backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 45, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Google Translate ---------- */
.gtranslate-wrap {
  margin-left: 10px;
  flex-shrink: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  min-width: 155px;
  max-width: 175px;
  height: 38px;
  overflow: hidden;
}

.gtranslate-wrap #google_translate_element {
  width: 100%;
  line-height: 1;
}

.gtranslate-wrap .goog-te-gadget {
  font-family: var(--font-body) !important;
  font-size: 0 !important;
  color: transparent !important;
  display: flex !important;
  align-items: center;
  width: 100%;
}

.gtranslate-wrap .goog-te-gadget > span,
.gtranslate-wrap .goog-te-gadget .goog-logo-link,
.gtranslate-wrap .goog-te-gadget img {
  display: none !important;
}

.gtranslate-wrap select.goog-te-combo,
.gtranslate-wrap .goog-te-combo {
  display: inline-block !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 50px !important;
  padding: 8px 12px !important;
  background: #fff !important;
  cursor: pointer;
  width: 100% !important;
  max-width: 175px !important;
  min-width: 140px !important;
  height: 36px !important;
  line-height: 1.2 !important;
  outline: none;
  margin: 0 !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.gtranslate-wrap .goog-te-combo:hover,
.gtranslate-wrap .goog-te-combo:focus {
  border-color: var(--accent) !important;
}

/* Hide broken SIMPLE gadget if still present */
.gtranslate-wrap .goog-te-gadget-simple {
  display: none !important;
}

/* Hide Google Translate top bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.goog-te-spinner-pos,
iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

@media (max-width: 900px) {
  .gtranslate-wrap {
    margin-left: auto;
    margin-right: 8px;
    min-width: 120px;
    max-width: 130px;
    height: 34px;
  }

  .gtranslate-wrap select.goog-te-combo,
  .gtranslate-wrap .goog-te-combo {
    min-width: 110px !important;
    max-width: 130px !important;
    height: 32px !important;
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
  }
}

/* ---------- Catalogue filter / search ---------- */
.catalogue-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalogue-search {
  flex: 1 1 260px;
  position: relative;
}

.catalogue-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}

.catalogue-search input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 136, 200, 0.15);
}

.catalogue-search .search-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.no-results {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hsn-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- Certificate cards & modal ---------- */
.cert-badge {
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.cert-badge .cert-view {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.cert-badge:hover .cert-view {
  text-decoration: underline;
}

.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(7, 24, 45, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cert-modal.open {
  opacity: 1;
  visibility: visible;
}

.cert-modal-dialog {
  background: #fff;
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
}

.cert-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--sky);
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.cert-doc {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff 0%, var(--sky) 100%);
  text-align: center;
}

.cert-doc .cert-seal {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.cert-doc .cert-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-doc h3 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.cert-doc .cert-org {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.cert-doc p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.cert-doc .cert-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-num);
  font-size: 0.88rem;
  color: var(--text);
}

.map-inline {
  margin-top: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-inline iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cert-templates {
  display: none;
}
