/* ============================================================
   Ruellco – Design Upgrade: Curves, Depth & Visual Interest
   ============================================================ */

/* ---- Global Enhancements ---- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--slate);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { color: var(--navy); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* ---- Section Wave Dividers ---- */
.wave-divider {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ---- Buttons Upgrade ---- */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 50px !important;
  font-weight: 700;
  letter-spacing: .02em;
  transition: all var(--transition);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
  border-radius: inherit;
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn-primary {
  background: var(--gradient-accent);
  border: none !important;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,.65) !important;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,.08) !important;
  color: white !important;
}
.btn-outline:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: white !important;
  transform: translateY(-3px);
}
.btn-outline-navy {
  border: 2px solid var(--accent) !important;
  color: var(--accent) !important;
  background: transparent !important;
}
.btn-outline-navy:hover {
  background: var(--accent) !important;
  color: white !important;
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.4rem !important; font-size: 1.05rem !important; }
.btn-sm { padding: .55rem 1.4rem !important; font-size: .85rem !important; }

/* ---- Section Label Pill ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(255,107,53,.12), rgba(0,201,177,.08));
  border: 1px solid rgba(255,107,53,.2);
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 50px;
  margin: .75rem 0 1.5rem;
  position: relative;
}
.divider::after {
  content: '';
  position: absolute;
  left: 68px;
  top: 0;
  width: 20px;
  height: 4px;
  background: rgba(255,107,53,.3);
  border-radius: 50px;
}
.divider.centered { margin-left: auto; margin-right: auto; }
.divider.centered::after { left: 50%; transform: translateX(calc(30px + 8px)); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(13,27,42,.1);
}

.logo-icon {
  background: var(--gradient-accent) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.main-nav > li > a {
  border-radius: 8px !important;
  font-weight: 600;
  font-size: .875rem;
}
.main-nav > li > a:hover, .main-nav > li > a.active {
  color: var(--accent) !important;
  background: rgba(255,107,53,.08) !important;
}

.dropdown {
  border-radius: 16px !important;
  border: 1px solid rgba(255,107,53,.12) !important;
  box-shadow: 0 20px 60px rgba(13,27,42,.18) !important;
  backdrop-filter: blur(12px);
}

/* ============================================================
   HERO SECTION — Completely redesigned
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0d1b2a;
  overflow: hidden;
  margin-top: 72px;
}

/* Background Power Plant Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slideshow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.82) 0%, rgba(27,45,79,0.68) 45%, rgba(15,52,96,0.56) 100%);
  pointer-events: none;
}
.hero-slider-dots {
  position: absolute;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.hero-dot.active {
  width: 28px;
  border-radius: 50px;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(255,107,53,.6);
}

/* Animated gradient mesh */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,107,53,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(0,201,177,.10) 0%, transparent 50%);
  pointer-events: none;
}

/* Grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Floating orbs */
.hero-circles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-circle {
  position: absolute;
  border-radius: 50%;
  animation: float-orb 8s ease-in-out infinite alternate;
}
.hc1 {
  width: 650px; height: 650px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(255,107,53,.10) 0%, transparent 70%);
  border: 1px solid rgba(255,107,53,.10);
  animation-duration: 10s;
}
.hc2 {
  width: 400px; height: 400px;
  top: 60px; right: 80px;
  border: 1px solid rgba(0,201,177,.15);
  background: radial-gradient(circle, rgba(0,201,177,.05) 0%, transparent 70%);
  animation-duration: 7s; animation-delay: -3s;
}
.hc3 {
  width: 260px; height: 260px;
  bottom: 100px; left: -60px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  animation-duration: 9s; animation-delay: -5s;
}
.hc4 {
  width: 160px; height: 160px;
  top: 30%; right: 15%;
  background: rgba(255,107,53,.08);
  border: 1px solid rgba(255,107,53,.18);
  animation-duration: 6s; animation-delay: -2s;
}

@keyframes float-orb {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-24px) scale(1.04); }
}

/* Particle dots layer */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  animation: particle-drift linear infinite;
}

@keyframes particle-drift {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(var(--drift,20px)); opacity: 0; }
}

.hero-svg {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .12;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,107,53,.18);
  border: 1px solid rgba(255,107,53,.45);
  color: #ffb899;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge span {
  width: 7px; height: 7px;
  background: #ff6b35;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255,107,53,.8);
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); box-shadow: 0 0 8px rgba(255,107,53,.8); }
  50%      { opacity:.7; transform:scale(1.5); box-shadow: 0 0 14px rgba(255,107,53,1); }
}

.hero-content h1 { color: white; margin-bottom: 1.25rem; }
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ff9a70, #00c9b1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-content p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #ff9a70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .lbl { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: .3rem; }

/* Hero visual card */
.hero-visual { display: flex; align-items: center; justify-content: center; }

/* Power plant image panel */
.hero-powerplant-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.12);
  width: 100%;
  max-width: 520px;
  animation: card-float 5s ease-in-out infinite alternate;
}
.hero-powerplant-img img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}
.hero-powerplant-img:hover img {
  transform: scale(1.03);
}
.hero-img-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10,22,40,.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30,136,229,.35);
  border-radius: 50px;
  padding: .55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
}
.hero-img-badge i {
  color: #64b5f6;
  font-size: .95rem;
}

/* Hero bottom wave */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  z-index: 3;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.trust-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(255,107,53,.10) 0%, transparent 70%);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.25rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: all var(--transition);
}
.trust-item:hover {
  background: rgba(255,107,53,.12);
  border-color: rgba(255,107,53,.25);
  transform: translateY(-2px);
}
.trust-item i {
  font-size: 1.75rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.trust-item .trust-num { font-size: 1.5rem; font-weight: 800; color: white; line-height: 1; }
.trust-item .trust-lbl { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: .15rem; }

/* ============================================================
   ABOUT PREVIEW — with curved image frame
   ============================================================ */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.bg-pale  { background: var(--pale); }
.bg-white { background: #fff; }
.bg-navy  { background: var(--navy); }

/* Curved top for pale sections */
.section-curve-top {
  position: relative;
  margin-top: -50px;
  padding-top: 80px;
}
.section-curve-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 0;
}

.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  height: 440px;
  box-shadow: 0 20px 60px rgba(15,31,75,.2);
}

/* Decorative frame */
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 24px; bottom: 24px;
  border: 3px solid rgba(255,107,53,.2);
  border-radius: 28px;
  z-index: -1;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 180px; height: 180px;
  background: linear-gradient(135deg, rgba(255,107,53,.12), rgba(0,201,177,.08));
  border-radius: 50%;
  z-index: -1;
}

.about-img-badge {
  position: absolute;
  bottom: 28px; right: -24px;
  background: var(--gradient-accent);
  color: white;
  padding: 1.25rem 1.6rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px var(--accent-glow);
  text-align: center;
}
.about-img-badge .big-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-img-badge .small-txt { font-size: .72rem; margin-top: .2rem; color: rgba(255,255,255,.85); }

.about-features { display: flex; flex-direction: column; gap: 1rem; margin: 1.75rem 0; }
.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--pale);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  transition: all var(--transition);
}
.about-feature:hover {
  background: rgba(255,107,53,.06);
  transform: translateX(4px);
}
.about-feature i { color: var(--accent); font-size: 1.1rem; margin-top: .15rem; flex-shrink: 0; }
.about-feature strong { color: var(--navy); font-size: .95rem; }
.about-feature p { font-size: .85rem; margin: .2rem 0 0; }

/* ============================================================
   SOLUTIONS CARDS — Glassmorphism / 3D tilt effect
   ============================================================ */

/* Wave transition between sections */
.wave-top-white, .wave-top-pale {
  position: relative;
  overflow: hidden;
}
.wave-separator {
  display: block;
  line-height: 0;
  overflow: hidden;
}
.wave-separator svg { display: block; width: 100%; }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.solution-card {
  background: white;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Gradient corner accent */
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 20px 20px 0 0;
}
.solution-card:hover::before { transform: scaleX(1); }

/* Bottom decorative circle */
.solution-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(30,136,229,.06) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform var(--transition);
}
.solution-card:hover::after { transform: scale(1.5); }

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13,27,42,.14), 0 0 0 1px rgba(255,107,53,.12);
  border-color: rgba(255,107,53,.2);
}
.sol-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(255,107,53,.12), rgba(0,201,177,.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.solution-card:hover .sol-icon {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: scale(1.1);
}
.solution-card h3 { margin-bottom: .5rem; font-size: 1.1rem; position: relative; z-index: 1; }
.solution-card p  { font-size: .875rem; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.sol-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.sol-link i { transition: transform var(--transition); }
.solution-card:hover .sol-link { gap: .75rem; }
.solution-card:hover .sol-link i { transform: translateX(3px); }

/* ============================================================
   INDUSTRIES — Bold cards with glow on hover
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.industry-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  transition: all var(--transition);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,31,75,.22); }
.industry-card-bg {
  position: absolute;
  inset: 0;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.industry-card:hover .industry-card-bg { transform: scale(1.08); }
.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,58,107,.7) 0%, rgba(15,31,75,.92) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  transition: all var(--transition);
}
.industry-card:hover .industry-card-overlay {
  background: linear-gradient(160deg, rgba(255,107,53,.75) 0%, rgba(13,27,42,.9) 100%);
}
.industry-card-overlay i {
  font-size: 2.2rem;
  color: rgba(255,255,255,.9);
  transition: all var(--transition);
}
.industry-card:hover .industry-card-overlay i {
  color: white;
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 4px 12px rgba(255,255,255,.4));
}
.industry-card-overlay span {
  font-size: .95rem;
  font-weight: 600;
  color: white;
  text-align: center;
  letter-spacing: .02em;
}

/* Industry card bottom shine */
.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.industry-card:hover::after { transform: scaleX(1); }

/* ============================================================
   CERTIFICATIONS STRIP — Redesigned
   ============================================================ */
.cert-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.25rem 1rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  min-width: 110px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: default;
}
.cert-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,31,75,.14);
  border-color: rgba(30,136,229,.25);
}
.cert-badge .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30,136,229,.1), rgba(14,165,233,.06));
  border: 2px solid rgba(30,136,229,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--ind-blue);
  transition: all var(--transition);
}
.cert-badge:hover .icon-wrap {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px var(--accent-glow);
}
.cert-badge span { font-size: .78rem; font-weight: 700; color: var(--slate); text-align: center; }

/* ============================================================
   KNOWLEDGE CENTRE CARDS
   ============================================================ */
.kc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.kc-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.kc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 3px;
  background: var(--gradient-accent);
  border-radius: 0 0 50px 50px;
  opacity: 0;
  transition: opacity var(--transition);
}
.kc-card:hover::before { opacity: 1; }
.kc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,31,75,.12); border-color: rgba(30,136,229,.18); }
.kc-card i { font-size: 2.4rem; color: var(--accent); margin-bottom: 1rem; display: block; transition: all var(--transition); }
.kc-card:hover i { transform: scale(1.15); }
.kc-card h4 { margin-bottom: .4rem; color: var(--navy); }
.kc-card p  { font-size: .85rem; }
.tag-soon {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  background: rgba(30,136,229,.1);
  color: var(--accent);
  padding: .25rem .7rem;
  border-radius: 50px;
  margin-top: .65rem;
  letter-spacing: .06em;
  border: 1px solid rgba(30,136,229,.18);
}

/* ============================================================
   CTA BANNER — with decorative curves
   ============================================================ */
.cta-section {
  position: relative;
  background: var(--gradient-hero);
  padding: 6rem 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(255,107,53,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(0,201,177,.12) 0%, transparent 50%);
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%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");
}

/* ============================================================
   FOOTER — Enhanced
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #0d1b2a 0%, #0d1b2a 100%);
  color: rgba(255,255,255,.75);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
}
/* Decorative orb in footer */
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-col h5 {
  color: white;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 32px; height: 2px;
  background: var(--gradient-accent);
  border-radius: 50px;
}

.footer-links a {
  color: rgba(255,255,255,.58);
  font-size: .875rem;
  transition: all var(--transition);
  display: flex; align-items: center; gap: .5rem;
}
.footer-links a:hover { color: white; padding-left: .5rem; }
.footer-links a i { font-size: .6rem; color: var(--accent); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,31,75,.14); border-color: rgba(30,136,229,.18); }
.product-card-img { width: 100%; height: 220px; object-fit: cover; }
.product-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

/* Spec tags */
.spec-tag {
  font-size: .72rem;
  font-weight: 600;
  background: rgba(30,136,229,.08);
  color: var(--accent);
  padding: .25rem .65rem;
  border-radius: 50px;
  border: 1px solid rgba(30,136,229,.15);
}

/* ============================================================
   PAGE HERO — with wave bottom
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 140px 0 100px;
  overflow: hidden;
  margin-top: 72px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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.03'%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");
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 40%, rgba(30,136,229,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(14,165,233,.08) 0%, transparent 50%);
}
.page-hero-geo {
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: rgba(30,136,229,.08);
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(30,136,229,.12);
}
.page-hero-geo2 {
  position: absolute;
  bottom: -80px; left: 5%;
  width: 240px; height: 240px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.06);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: white; margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 580px; }

/* Page hero wave */
.page-hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.page-hero-wave svg { display: block; width: 100%; height: 60px; }

/* ============================================================
   WHY CHOOSE US CARDS
   ============================================================ */
.why-card {
  background: white;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,31,75,.12); }
.why-icon {
  width: 56px; height: 56px;
  background: var(--gradient-accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px var(--accent-glow);
  transition: all var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(-3deg); }

/* ============================================================
   STAT BLOCKS
   ============================================================ */
.stat-block {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-accent);
}
.stat-block:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,31,75,.12); }
.stat-block .stat-num { font-size: 2.8rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: .3rem; }
.stat-block .stat-unit { color: var(--accent); }
.stat-block .stat-lbl { font-size: .875rem; color: var(--text-muted); }

/* ============================================================
   CERT CARDS (certifications page)
   ============================================================ */
.cert-card {
  background: white;
  border-radius: 20px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 3px;
  background: var(--gradient-accent);
  border-radius: 0 0 50px 50px;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,31,75,.14); }
.cert-card .cert-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(30,136,229,.12), rgba(14,165,233,.08));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--ind-blue);
  margin: 0 auto 1.25rem;
  transition: all var(--transition);
  border: 2px solid rgba(30,136,229,.12);
}
.cert-card:hover .cert-icon {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ============================================================
   CONTACT / FORMS
   ============================================================ */
.enquiry-form {
  background: white;
  border-radius: 24px;
  padding: 2.75rem;
  box-shadow: 0 20px 60px rgba(15,31,75,.12);
  border: 1px solid var(--border);
}
.ci-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(30,136,229,.12), rgba(14,165,233,.08));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--accent);
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-info-item:hover .ci-icon {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.form-control {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--slate);
  background: white;
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,136,229,.1);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 24px var(--accent-glow);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 10px 32px var(--accent-glow); }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,31,75,.14); }
.project-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  background: rgba(30,136,229,.08);
  color: var(--accent);
  padding: .25rem .7rem;
  border-radius: 50px;
  margin-bottom: .75rem;
  letter-spacing: .04em;
  border: 1px solid rgba(30,136,229,.18);
}

/* ============================================================
   JOB CARDS
   ============================================================ */
.job-card {
  background: white;
  border-radius: 18px;
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  border-left: 4px solid;
  border-image: var(--gradient-accent) 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.job-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,31,75,.12); }

/* ============================================================
   RESOURCE CARDS (knowledge centre)
   ============================================================ */
.resource-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.resource-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,31,75,.12); }
.resource-card .res-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
  transition: all var(--transition);
}
.resource-card:hover .res-icon { transform: scale(1.1); }

/* ============================================================
   SECTION WAVE HELPERS (utility classes used in HTML)
   ============================================================ */
.section-bg-pale  { background: #f4f8ff; }
.section-bg-white { background: #ffffff; }

/* Wave curves between sections */
.wave-down-white {
  display: block;
  line-height: 0;
  background: #f4f8ff;
}
.wave-down-white svg { display: block; }
.wave-down-pale {
  display: block;
  line-height: 0;
  background: #ffffff;
}
.wave-down-pale svg { display: block; }

/* ============================================================
   DIAGONAL SECTION ACCENT
   ============================================================ */
.diagonal-section {
  position: relative;
  clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0% 100%);
  padding: 110px 0;
  margin: -20px 0;
  z-index: 1;
}

/* ============================================================
   ANIMATE ON SCROLL
   ============================================================ */
.anim-fade { opacity: 0; transform: translateY(32px); transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1); }
.anim-fade.in-view { opacity: 1; transform: translateY(0); }
.anim-left { opacity: 0; transform: translateX(-32px); transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1); }
.anim-left.in-view { opacity: 1; transform: translateX(0); }
.anim-right { opacity: 0; transform: translateX(32px); transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1); }
.anim-right.in-view { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: .05s; }
.stagger > *:nth-child(2) { transition-delay: .15s; }
.stagger > *:nth-child(3) { transition-delay: .25s; }
.stagger > *:nth-child(4) { transition-delay: .35s; }
.stagger > *:nth-child(5) { transition-delay: .45s; }
.stagger > *:nth-child(6) { transition-delay: .55s; }

/* ============================================================
   SECTION HEADER INLINE DECOR
   ============================================================ */
.section-header { margin-bottom: 3.5rem; }
.section-title { margin-bottom: 1rem; }
.section-subtitle {
  max-width: 620px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); font-weight: 500; transition: color var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: .6rem; }

/* ============================================================
   ALERT MESSAGES
   ============================================================ */
.alert-success, .alert-error {
  display: none;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 1rem;
  animation: fadeInUp .3s ease;
}
.alert-success { background: #ecfdf5; border: 1.5px solid #86efac; color: #166534; }
.alert-error   { background: #fef2f2; border: 1.5px solid #fca5a5; color: #991b1b; }
.alert-success.show, .alert-error.show { display: flex; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; color: var(--navy); }
.legal-content h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; color: var(--ind-blue); }
.legal-content p  { font-size: .9rem; margin-bottom: 1rem; color: var(--text-muted); line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { font-size: .9rem; color: var(--text-muted); margin-bottom: .4rem; list-style: disc; }
.legal-date {
  background: var(--pale);
  border-radius: 12px;
  padding: .75rem 1.25rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.legal-date i { color: var(--accent); }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  margin-top: 72px;
}
.not-found-code {
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  opacity: .05;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.not-found-inner { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.not-found-icon {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, rgba(30,136,229,.12), rgba(14,165,233,.08));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--accent);
  margin: 0 auto 2rem;
}
.not-found-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .solutions-grid  { grid-template-columns: repeat(2, 1fr); }
  .kc-cards        { grid-template-columns: repeat(2, 1fr); }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .cert-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-top      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-inner      { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual     { display: flex; justify-content: center; }
  .hero-powerplant-img { max-width: 100%; }
  .hero-powerplant-img img { height: 280px; }
}

@media (max-width: 900px) {
  .main-nav, .header-contact { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .about-preview   { grid-template-columns: 1fr; }
  .about-img-badge { right: 0; bottom: 16px; }
  .about-img-wrap::before { display: none; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .cat-grid        { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .contact-layout  { grid-template-columns: 1fr; }
  .resource-grid   { grid-template-columns: repeat(2, 1fr); }
  .industry-section{ grid-template-columns: 1fr; gap: 2rem; }
  .industry-section.reverse .industry-img { order: 0; }
  .industry-section.reverse .industry-text { order: 0; }
  .hero-stats { gap: 1.5rem; }
  .diagonal-section { clip-path: none; margin: 0; padding: 80px 0; }
}

@media (max-width: 640px) {
  .section-pad { padding: 70px 0; }
  .section-pad-sm { padding: 50px 0; }
  .solutions-grid  { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: 1fr; }
  .kc-cards        { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .cert-grid       { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: 1fr; }
  .resource-grid   { grid-template-columns: 1fr; }
  .footer-top      { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .trust-strip-inner { gap: 1rem; }
  .trust-item { padding: .6rem 1rem; }
  .trust-item .trust-num { font-size: 1.25rem; }
  .form-row        { grid-template-columns: 1fr; }
  .hero-stats      { gap: 1rem; flex-wrap: wrap; }
  .hero-ctas       { flex-direction: column; align-items: flex-start; }
  .hero-circles    { display: none; }
  .about-img-badge { position: static; margin-top: 1rem; display: inline-block; border-radius: 14px; }
  .hero-badge      { font-size: .68rem; }
  .container       { padding: 0 1rem; }
  .header-actions .btn-sm { display: none; }
  .enquiry-form    { padding: 1.5rem; }
  table            { font-size: .82rem; }
  table th, table td { padding: .65rem .85rem !important; }
  .cat-grid        { grid-template-columns: 1fr; }
  .job-card        { flex-direction: column; gap: 1rem; }
  .page-hero       { padding: 120px 0 80px; }
  .hero-wave svg   { height: 50px; }
  .hero-slider-dots { bottom: 62px; }
  .cert-strip      { gap: 1rem; }
  .cert-badge      { min-width: 90px; padding: 1rem .75rem; }
  .cta-section     { padding: 4rem 0; }
  .hero-powerplant-img img { height: 220px; }
  .hero-img-badge  { font-size: .72rem; padding: .45rem .9rem; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.9rem; }
  .hero-badge { font-size: .62rem; padding: .4rem .85rem; }
  .btn-lg { padding: .85rem 1.75rem !important; font-size: .95rem !important; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .scroll-top, .mobile-nav, .hamburger { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0 !important; }
}
