:root {
  --primary: #1a3a5c;
  --accent: #00a8cc;
  --accent2: #0077a8;
  --light-bg: #f0f7fa;
  --white: #ffffff;
  --text-muted-custom: #6c757d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
#mainNav {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 18px 0;
}
#mainNav.scrolled {
  background: var(--primary) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 10px 0;
}
#mainNav .navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: 1px;
}
#mainNav .navbar-brand span { color: var(--accent); }
#mainNav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 5px;
  transition: color 0.3s;
}
#mainNav .nav-link:hover { color: var(--accent) !important; }

.lang-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 1px;
}
.lang-btn:hover { background: var(--accent2); transform: scale(1.05); }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ── LOGO ── */
.navbar-brand img {
  transition: opacity 0.3s;
}
.navbar-brand img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 42px;
  }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(26,58,92,0.88) 0%, rgba(0,100,160,0.65) 100%),
    url('hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px 34px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-accent:hover {
  background: var(--accent2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,168,204,0.4);
}
.btn-outline-light-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 30px;
  padding: 12px 34px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-light-custom:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.hero-stats { display: flex; gap: 40px; margin-top: 50px; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat .label  { font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

/* ── SECTION TITLES ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.section-title span { color: var(--accent); }
.section-divider {
  width: 50px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.section-desc { font-size: 0.95rem; color: var(--text-muted-custom); line-height: 1.8; }

/* ── ABOUT ── */
#about { padding: 100px 0; background: var(--white); }

.about-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26,58,92,0.18);
}
.about-img-wrapper img { width: 100%; display: block; border-radius: 16px; }

.about-badge {
  position: absolute;
  bottom: 30px; left: 30px;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  text-align: center;
}
.about-badge .big   { font-size: 1.8rem; font-weight: 800; display: block; }
.about-badge .small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }

.mvv-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
  border-left: 4px solid var(--accent);
  transition: transform 0.3s, box-shadow 0.3s;
}
.mvv-card:hover { transform: translateX(6px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.mvv-card h6 { font-weight: 700; color: var(--primary); margin-bottom: 4px; font-size: 0.9rem; }
.mvv-card p  { font-size: 0.85rem; color: var(--text-muted-custom); margin: 0; }

/* ── PRODUCTS ── */
#products { padding: 100px 0; background: var(--light-bg); }

.product-card-v2 {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(26,58,92,0.08);
  transition: transform 0.35s, box-shadow 0.35s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,168,204,0.15);
}

.product-card-img-wrap {
  position: relative;
  padding: 32px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  overflow: hidden;
}
.product-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.product-card-img-wrap img {
  width: 100%;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}
.product-card-v2:hover .product-card-img-wrap img {
  transform: scale(1.07);
}

.product-line-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  color: #fff;
}

.product-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-card-sub {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.product-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted-custom);
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.product-tag {
  background: var(--light-bg);
  border: 1.5px solid #dce8ef;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.product-card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.size-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
}
.size-pill i { font-size: 0.9rem; }

.btn-accent-sm {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 22px;
  border-radius: 25px;
  transition: all 0.3s;
  align-self: flex-start;
}
.btn-accent-sm:hover {
  background: var(--accent2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,168,204,0.35);
}

@media (max-width: 768px) {
  .product-card-img-wrap { min-height: 190px; padding: 24px 16px 16px; }
  .product-card-body { padding: 20px 18px 24px; }
}
/* ── PROCESS ── */
#process { padding: 100px 0; background: var(--white); }

.process-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.35s;
  height: 100%;
  border-bottom: 4px solid transparent;
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,168,204,0.15);
  border-bottom-color: var(--accent);
  background: var(--white);
}
.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,168,204,0.12);
  position: absolute;
  top: 14px; right: 20px;
  line-height: 1;
}
.process-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.process-card h6 { font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.process-card p  { font-size: 0.84rem; color: var(--text-muted-custom); line-height: 1.7; margin: 0; }

/* ── DIFFERENTIALS ── */
#differentials { padding: 100px 0; background: var(--primary); }
#differentials .section-title { color: var(--white); }
#differentials .section-desc  { color: rgba(255,255,255,0.65); }

.diff-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s, transform 0.3s;
  margin-bottom: 20px;
}
.diff-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.diff-icon { font-size: 2rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.diff-card h6 { font-weight: 700; color: #fff; margin-bottom: 6px; }
.diff-card p  { font-size: 0.83rem; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.6; }

/* ── CLIENTS ── */
#clients { padding: 100px 0; background: var(--light-bg); }

.client-logo {
  background: var(--white);
  border-radius: 10px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  min-height: 70px;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.client-logo:hover { background: var(--primary); color: #fff; }

.segment-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
  height: 100%;
}
.segment-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,168,204,0.15); }
.segment-icon { font-size: 2.4rem; color: var(--accent); display: block; margin-bottom: 14px; }
.segment-card h6 { font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.segment-card p  { font-size: 0.84rem; color: var(--text-muted-custom); line-height: 1.7; margin: 0; }

/* ── CONTACT ── */
#contact { padding: 100px 0; background: var(--white); }

.contact-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text h6 { font-weight: 700; color: var(--primary); margin-bottom: 3px; font-size: 0.85rem; }
.contact-info-text p  { font-size: 0.85rem; color: var(--text-muted-custom); margin: 0; }

.form-control-custom {
  border: 2px solid #dce8ef;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s;
  background: var(--white);
  width: 100%;
}
.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,168,204,0.12);
  outline: none;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* ── FOOTER ── */
footer {
  background: #0d1f33;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--accent); }
footer p { font-size: 0.83rem; line-height: 1.7; }

.footer-links h6 {
  font-weight: 700; color: #fff;
  margin-bottom: 16px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.83rem;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  margin-right: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
.social-link:hover { background: var(--accent); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible  { opacity: 1; transform: translateY(0); }
.fade-up.delay-1  { transition-delay: 0.1s; }
.fade-up.delay-2  { transition-delay: 0.2s; }
.fade-up.delay-3  { transition-delay: 0.3s; }
.fade-up.delay-4  { transition-delay: 0.4s; }

/* ── BACK TO TOP ── */
#backToTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,168,204,0.4);
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover   { transform: translateY(-3px); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-stats   { gap: 24px; flex-wrap: wrap; }
  #hero::after  { height: 50px; }
  .contact-card { padding: 24px 18px; }
}

/* ── PRODUCT CARDS V2 ── */
#products { padding: 100px 0; background: var(--light-bg); }

.product-card-v2 {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(26,58,92,0.08);
  transition: transform 0.35s, box-shadow 0.35s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,168,204,0.15);
}

.product-card-img-wrap {
  background: var(--light-bg);
  position: relative;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}
.product-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.product-card-img-wrap img {
  width: 100%;
  max-width: 340px;
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}
.product-card-v2:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-line-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  z-index: 2;
}
.product-line-badge.industrial {
  background: var(--primary);
}

.product-card-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-card-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted-custom);
  line-height: 1.75;
  margin-bottom: 18px;
  flex: 1;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.product-tag {
  background: var(--light-bg);
  border: 1.5px solid #dce8ef;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.size-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 10px;
}
.size-pill i { font-size: 0.95rem; }

.btn-accent-sm {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 26px;
  border-radius: 25px;
  transition: all 0.3s;
  align-self: flex-start;
}
.btn-accent-sm:hover {
  background: var(--accent2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,168,204,0.35);
}

@media (max-width: 768px) {
  .product-card-img-wrap { min-height: 220px; padding: 24px; }
  .product-card-body { padding: 22px 20px 26px; }
}