/* RS Windtech - Shared navbar/footer, scoped for use on index.html (Axis template).
   Pulled from rswt-style.css so index.html matches the nav/footer used on every
   other page, without importing that stylesheet's global reset. */
:root {
  --rswt-primary: #B2BEB5;
  --rswt-primary-dark: #8a9e94;
  --rswt-accent: #2e7d32;
  --rswt-accent-light: #4caf50;
  --rswt-dark: #1a2332;
  --rswt-dark-2: #243447;
  --rswt-light-bg: #f8f9fa;
}

/* ===== NAVBAR ===== */
.navbar { background: var(--rswt-dark); padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.navbar-brand { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.navbar-brand img { height: 45px; }
.navbar-brand .sitename { color: #fff; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.navbar-brand .sitename small { display: block; font-size: 0.65rem; font-weight: 300; color: var(--rswt-primary); letter-spacing: 0.5px; }
.navbar-toggler { border-color: var(--rswt-primary); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(178,190,181,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.navbar-nav .nav-link { color: rgba(255,255,255,0.85) !important; font-size: 0.82rem; font-weight: 500; padding: 1.1rem 0.85rem !important; letter-spacing: 0.3px; transition: color 0.3s; text-transform: uppercase; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--rswt-primary) !important; }
.navbar .dropdown-menu { background: var(--rswt-dark-2); border: none; border-top: 2px solid var(--rswt-primary); border-radius: 0 0 6px 6px; min-width: 200px; }
.navbar .dropdown-item { color: rgba(255,255,255,0.8); font-size: 0.8rem; padding: 0.5rem 1rem; transition: all 0.2s; }
.navbar .dropdown-item:hover, .navbar .dropdown-item.active { background: var(--rswt-primary); color: var(--rswt-dark); }
.navbar .dropdown-submenu { position: relative; }
.navbar .dropdown-submenu .dropdown-menu { top: 0; left: 100%; display: none; }
.navbar .dropdown-submenu:hover .dropdown-menu,
.navbar .dropdown-submenu.show > .dropdown-menu { display: block; }

@media (max-width: 1199.98px) {
  .navbar-collapse { background: var(--rswt-dark-2); padding: 10px 15px; }
  .navbar .dropdown-menu { background: rgba(255,255,255,0.05); border: none; border-left: 2px solid var(--rswt-primary); }
  .navbar .dropdown-submenu .dropdown-menu { position: static; display: none; }
}

/* ===== DECORATIVE WIND TURBINE WATERMARKS (animated) ===== */
.section-decor { position: relative; overflow: hidden; }
.section-decor > .container { position: relative; z-index: 1; }
.turbine-bg { position: absolute; pointer-events: none; z-index: 0; color: var(--accent-color); opacity: 0.08; }
.turbine-bg--right { top: -30px; right: -60px; width: 380px; height: auto; transform: rotate(8deg); }
.turbine-bg--left { bottom: -40px; left: -70px; width: 340px; height: auto; transform: rotate(-6deg) scaleX(-1); }
.turbine-bg--center { top: 50%; left: 50%; width: 460px; height: auto; transform: translate(-50%, -50%) rotate(4deg); }
.turbine-bg--hero { top: -10px; right: -30px; width: 540px; height: auto; opacity: 0.14; }
.dark-background .turbine-bg { color: var(--accent-color); opacity: 0.12; }
@media (max-width: 991px) {
  .turbine-bg:not(.turbine-bg--hero) { display: none; }
  .turbine-bg--hero { width: 320px; opacity: 0.1; top: -10px; right: -20px; }
}

/* ===== FLOATING / MOTION ACCENTS ===== */
@keyframes rswt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.floating-anim { animation: rswt-float 4s ease-in-out infinite; }

.text-accent-gradient {
  background: linear-gradient(90deg, var(--accent-color), var(--rswt-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== TAGLINE BANNER ===== */
.tagline-banner { padding: 20px 0 10px; }
.tagline-banner-text {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--heading-color);
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .tagline-banner-text { font-size: 1.25rem; }
}

/* ===== STATS BAND (ribbon banner) ===== */
.stats-band {
  position: relative;
  padding: 95px 0 105px;
  margin: 70px 0;
  background: linear-gradient(135deg, #1a2332 0%, #17301f 55%, #243447 100%);
  clip-path: polygon(46px 0, 100% 0, calc(100% - 46px) 100%, 0 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.stats-band .stat-band-number { font-size: 2.6rem; font-weight: 700; color: var(--accent-color); line-height: 1; }
.stats-band .stat-band-label { font-size: 0.85rem; color: color-mix(in srgb, var(--default-color), transparent 15%); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
@media (max-width: 767px) {
  .stats-band { clip-path: none; margin: 40px 0; padding: 60px 0 70px; }
}

/* ===== GALLERY "SEE MORE" CTA ===== */
.gallery-cta { text-align: center; margin-top: 40px; }
.gallery-cta .btn-primary {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 80%);
}
.gallery-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* ===== CERTIFICATIONS BADGES ===== */
.certifications .cert-badge {
  display: block;
  text-align: center;
  background: var(--surface-color);
  border-radius: 12px;
  padding: 28px 16px;
  text-decoration: none;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.certifications .cert-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.certifications .cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-color);
}
.certifications .cert-badge h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}
.certifications .cert-badge span {
  font-size: 0.78rem;
  color: var(--default-color);
  display: block;
}

/* ===== FOOTER (shared) ===== */
.rswt-footer { background: var(--rswt-dark); color: rgba(255,255,255,0.75); padding: 55px 0 0; }
.rswt-footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; font-size: 1rem; }
.rswt-footer h5.brand { font-size: 1.2rem; color: var(--rswt-primary); }
.rswt-footer p { font-size: 0.83rem; line-height: 1.8; }
.rswt-footer ul { list-style: none; padding: 0; margin: 0; }
.rswt-footer ul li { margin-bottom: 8px; }
.rswt-footer ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.rswt-footer ul li a:hover { color: var(--rswt-primary); }
.rswt-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 40px; font-size: 0.8rem; text-align: center; color: rgba(255,255,255,0.5); }
.rswt-footer .social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; color: rgba(255,255,255,0.7); margin-right: 8px; font-size: 0.85rem; transition: all 0.3s; text-decoration: none; }
.rswt-footer .social-icons a:hover { background: var(--rswt-primary); color: var(--rswt-dark); }
