/* ═══════════════════════════════════════════════════════
   Green Tec Engineers – AGTi Water Guard
   Corporate Website Stylesheet
   Prefix: rp-
═══════════════════════════════════════════════════════ */

/* ── RESET & TOKENS ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --rp-blue-deep:   #0a1f3d;
  --rp-blue-mid:    #1a4a8a;
  --rp-blue-bright: #1e6fd9;
  --rp-blue-light:  #d6e8ff;
  --rp-blue-xlight: #eef5ff;
  --rp-cyan:        #00b4d8;
  --rp-teal:        #0096a7;
  --rp-green:       #00875a;
  --rp-green-light: #d0f0e4;
  --rp-white:       #ffffff;
  --rp-off-white:   #f4f8ff;
  --rp-text:        #1a2840;
  --rp-text-muted:  #5a6f8a;
  --rp-border:      #d0ddef;

  /* Typography */
  --rp-font-display: 'Barlow Condensed', sans-serif;
  --rp-font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --rp-section-py: 100px;

  /* Shadows */
  --rp-shadow-sm: 0 2px 12px rgba(10,31,61,0.08);
  --rp-shadow-md: 0 8px 32px rgba(10,31,61,0.12);
  --rp-shadow-lg: 0 20px 60px rgba(10,31,61,0.16);

  /* Radius */
  --rp-r-sm: 8px;
  --rp-r-md: 14px;
  --rp-r-lg: 22px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--rp-font-body);
  color: var(--rp-text);
  background: var(--rp-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITY ─────────────────────────────────────────── */
.rp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.rp-mt { margin-top: 24px; display: inline-block; }

/* ── REVEAL ANIMATIONS ───────────────────────────────── */
.rp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rp-reveal.rp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.rp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--rp-font-body);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.rp-btn-primary {
  background: var(--rp-blue-bright);
  color: var(--rp-white);
  border-color: var(--rp-blue-bright);
  box-shadow: 0 4px 20px rgba(30,111,217,0.35);
}
.rp-btn-primary:hover {
  background: var(--rp-blue-mid);
  border-color: var(--rp-blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,111,217,0.4);
}

.rp-btn-ghost {
  background: transparent;
  color: var(--rp-white);
  border-color: rgba(255,255,255,0.5);
}
.rp-btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--rp-white);
}

.rp-btn-card {
  background: var(--rp-blue-xlight);
  color: var(--rp-blue-bright);
  border-color: var(--rp-blue-light);
  padding: 10px 22px;
  font-size: 0.87rem;
  margin-top: 16px;
}
.rp-btn-card:hover {
  background: var(--rp-blue-bright);
  color: var(--rp-white);
  border-color: var(--rp-blue-bright);
  transform: translateY(-2px);
}

.rp-btn-full {
  width: 100%;
  justify-content: center;
  border-radius: var(--rp-r-sm);
  padding: 16px;
}

/* ── SECTION HEADER ──────────────────────────────────── */
.rp-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.rp-section-tag {
  display: inline-block;
  background: var(--rp-blue-xlight);
  color: var(--rp-blue-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--rp-blue-light);
  margin-bottom: 16px;
}

.rp-section-title {
  font-family: var(--rp-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--rp-blue-deep);
}

.rp-section-desc {
  color: var(--rp-text-muted);
  max-width: 540px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

.rp-section-header.rp-left { text-align: left; }
.rp-left .rp-section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }


/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.rp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.rp-header.rp-scrolled {
  background: rgba(10,31,61,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.rp-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  transition: padding 0.3s;
}

.rp-header.rp-scrolled .rp-navbar {
  padding: 12px 24px;
}

.rp-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rp-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px; height: 74px;
  background: white;
  color: white;
  font-family: var(--rp-font-display);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 5px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(30,111,217,0.4);
}
.rp-logo-badge img{
  padding: 10px;
}

.rp-badge-sm {
  width: 36px; height: 36px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.rp-logo-text strong {
  display: block;
  color: var(--rp-white);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.rp-logo-text small {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.rp-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rp-nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
}

.rp-nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.rp-nav-link.rp-active { color: white; }

.rp-nav-cta {
  background: var(--rp-blue-bright);
  color: white !important;
  border-radius: 5px;
  padding: 9px 22px;
  box-shadow: 0 4px 16px rgba(30,111,217,0.4);
}
.rp-nav-cta:hover {
  background: var(--rp-cyan) !important;
  box-shadow: 0 6px 20px rgba(0,180,216,0.4) !important;
}

.rp-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.rp-nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.rp-nav-toggle.rp-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rp-nav-toggle.rp-open span:nth-child(2) { opacity: 0; }
.rp-nav-toggle.rp-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.rp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #061628 0%, #0d2f5e 45%, #0a3d70 70%, #0f4a8a 100%);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.rp-hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0,180,216,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(30,111,217,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.rp-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.rp-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,180,216,0.15);
  animation: rp-float linear infinite;
}

@keyframes rp-float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.rp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin-left: calc((100vw - 1200px) / 2);
  margin-left: max(24px, calc((100vw - 1200px) / 2));
}

.rp-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-cyan);
  margin-bottom: 16px;
  opacity: 0;
  animation: rp-fadein 0.8s 0.2s forwards;
}

.rp-hero-headline {
  font-family: var(--rp-font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--rp-white);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  opacity: 0;
  animation: rp-fadein 0.8s 0.4s forwards;
}

.rp-hero-accent {
  background: linear-gradient(90deg, var(--rp-cyan), #6dd5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rp-hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  animation: rp-fadein 0.8s 0.6s forwards;
}

.rp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  opacity: 0;
  animation: rp-fadein 0.8s 0.8s forwards;
}

.rp-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: rp-fadein 0.8s 1s forwards;
}

.rp-stat { text-align: left; }
.rp-stat strong {
  display: block;
  font-family: var(--rp-font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rp-white);
  line-height: 1.1;
}
.rp-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.rp-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.rp-hero-visual {
  position: absolute;
  right: max(24px, calc((100vw - 1200px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rp-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,180,216,0.2);
  animation: rp-pulse 4s ease-in-out infinite;
}
.rp-hero-ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.rp-hero-ring-2 { width: 75%; height: 75%; animation-delay: 0.8s; border-color: rgba(0,180,216,0.3); }
.rp-hero-ring-3 { width: 50%; height: 50%; animation-delay: 1.6s; border-color: rgba(0,180,216,0.4); }

@keyframes rp-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.04); opacity: 1; }
}

.rp-hero-device {
  position: relative;
  width: 340px;
  height: 390px;
  border-radius: 14px 14px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rp-device-label {
  font-family: var(--rp-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--rp-blue-mid);
  letter-spacing: 0.02em;
}

.rp-device-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--rp-blue-mid);
  letter-spacing: 0.06em;
}

.rp-device-led {
  position: absolute;
  left: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rp-cyan);
  box-shadow: 0 0 8px var(--rp-cyan);
  animation: rp-blink 2s infinite;
}
.rp-led-2 { top: 56px; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation-delay: 0.7s; }
.rp-led-3 { top: 72px; background: #facc15; box-shadow: 0 0 8px #facc15; animation-delay: 1.4s; }

@keyframes rp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Scroll hint */
.rp-hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.rp-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: rp-scroll-anim 2s ease-in-out infinite;
}

@keyframes rp-scroll-anim {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

@keyframes rp-fadein {
  to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.rp-about {
  padding: var(--rp-section-py) 0;
  background: var(--rp-white);
}

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

.rp-about-text p {
  color: var(--rp-text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.rp-about-text strong { color: var(--rp-text); }

.rp-about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rp-about-card {
  background: var(--rp-off-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-r-md);
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.rp-about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow-md);
  border-color: var(--rp-blue-light);
}

.rp-about-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.rp-about-card h4 {
  font-family: var(--rp-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rp-blue-deep);
  margin-bottom: 6px;
}

.rp-about-card p {
  font-size: 0.85rem;
  color: var(--rp-text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════════════════════ */
.rp-products {
  padding: var(--rp-section-py) 0;
  background: var(--rp-off-white);
}

.rp-product-category {
  margin-bottom: 60px;
}

.rp-cat-title {
  font-family: var(--rp-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rp-blue-deep);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rp-cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rp-border);
}

.rp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rp-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ✅ UPDATED FOR FLIP */
.rp-product-card {
  position: relative;
  perspective: 1000px;
    height: 420px; /* adjust if needed */

}

/* INNER WRAPPER */
.rp-product-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

/* HOVER FLIP */
.rp-product-card:hover .rp-product-card-inner {
  transform: rotateY(180deg);

}

/* FRONT + BACK COMMON */
.rp-card-front,
.rp-card-back {
  position: absolute;
  inset: 0;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-r-md);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* FRONT STYLE (same hover feel) */
.rp-product-card:hover .rp-card-front {
  transform: translateY(-6px);
  box-shadow: var(--rp-shadow-lg);
  border-color: var(--rp-blue-bright);
}

/* BACK SIDE */
.rp-card-back {
  transform: rotateY(180deg);
  justify-content: center;
}

/* KEEP YOUR ORIGINAL VARIANTS */
.rp-card-hot {
  background: linear-gradient(160deg, #fff8f0, #ffffff);
  border-color: #ffe0cc;
}

.rp-card-hot:hover { border-color: #ff8c42; }

.rp-card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--rp-blue-bright);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.rp-badge-green { background: var(--rp-green); }

.rp-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.rp-card-title {
  font-family: var(--rp-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rp-blue-deep);
  margin-bottom: 8px;
}

.rp-card-desc {
  font-size: 0.85rem;
  color: var(--rp-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* SPECS (used in BACK) */
.rp-card-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rp-card-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rp-border);
}

.rp-card-specs span { color: var(--rp-text-muted); }
.rp-card-specs strong { color: var(--rp-text); }

.rp-card-filters {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--rp-blue-bright);
  background: var(--rp-blue-xlight);
  padding: 6px 10px;
  border-radius: var(--rp-r-sm);
  line-height: 1.5;
}
/* Industrial Banner */
.rp-industrial-banner {
  background: linear-gradient(135deg, var(--rp-blue-deep) 0%, var(--rp-blue-mid) 100%);
  border-radius: var(--rp-r-lg);
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.rp-industrial-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.rp-ind-text h3 {
  font-family: var(--rp-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.rp-ind-text p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  max-width: 480px;
}

.rp-ind-text strong { color: var(--rp-cyan); }

.rp-ind-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rp-ind-list li {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rp-ind-list li::before {
  content: '→';
  color: var(--rp-cyan);
  font-size: 0.8rem;
}

.rp-ind-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rp-ind-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.rp-ind-circle {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(4px);
}

.rp-ind-icon-item span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════
   TECHNOLOGY
═══════════════════════════════════════════════════════ */
.rp-technology {
  padding: var(--rp-section-py) 0;
  background: var(--rp-white);
}

.rp-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.rp-tech-card {
  padding: 36px 28px;
  background: var(--rp-off-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-r-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.rp-tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow-md);
  border-color: var(--rp-cyan);
}

.rp-tech-num {
  font-family: var(--rp-font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--rp-blue-light);
  line-height: 1;
  margin-bottom: 8px;
}

.rp-tech-card h4 {
  font-family: var(--rp-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rp-blue-deep);
  margin-bottom: 12px;
}

.rp-tech-card p {
  font-size: 0.88rem;
  color: var(--rp-text-muted);
  text-align: justify;
  line-height: 1.7;
}

.rp-tech-card p strong { color: var(--rp-blue-bright); }

/* Benefits Strip */
.rp-benefits-strip {
  background: linear-gradient(135deg, var(--rp-blue-deep), #0d3567);
  border-radius: var(--rp-r-lg);
  padding: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rp-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.rp-benefit-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: wheat;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
}

.rp-benefit p {
  font-size: 0.8rem;
  text-align: justify;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  max-width: 100px;
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════ */
.rp-services {
  padding: var(--rp-section-py) 0;
  background: var(--rp-off-white);
}

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

.rp-service-card {
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-r-md);
  padding: 36px 28px;
  transition: all 0.28s ease;
  cursor: default;
}

.rp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow-md);
  border-color: var(--rp-blue-bright);
  background: linear-gradient(160deg, var(--rp-blue-xlight), white);
}

.rp-service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.rp-service-card h4 {
  font-family: var(--rp-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rp-blue-deep);
  margin-bottom: 10px;
}

.rp-service-card p {
  font-size: 0.88rem;
  color: var(--rp-text-muted);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.rp-contact {
  padding: var(--rp-section-py) 0;
  background: var(--rp-white);
}

.rp-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.rp-contact-info > p {
  color: var(--rp-text-muted);
  margin: 16px 0 32px;
  line-height: 1.75;
}

.rp-contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rp-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rp-ci-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: var(--rp-blue-xlight);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--rp-blue-light);
}

.rp-contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rp-text);
  margin-bottom: 4px;
}

.rp-contact-item p {
  font-size: 0.88rem;
  color: var(--rp-text-muted);
  line-height: 1.6;
}

/* Enquiry Form */
.rp-enquiry-form {
  background: var(--rp-off-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-r-lg);
  padding: 40px;
}

.rp-enquiry-form h3 {
  font-family: var(--rp-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rp-blue-deep);
  margin-bottom: 28px;
}

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

.rp-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.rp-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rp-text);
  letter-spacing: 0.02em;
}

.rp-form-group input,
.rp-form-group select,
.rp-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--rp-border);
  border-radius: var(--rp-r-sm);
  font-family: var(--rp-font-body);
  font-size: 0.9rem;
  color: var(--rp-text);
  background: var(--rp-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.rp-form-group input:focus,
.rp-form-group select:focus,
.rp-form-group textarea:focus {
  border-color: var(--rp-blue-bright);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.12);
}

.rp-form-group input::placeholder,
.rp-form-group textarea::placeholder { color: #b0bcc8; }

.rp-form-group select { appearance: none; cursor: pointer; }

.rp-form-group textarea { resize: vertical; }

.rp-form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--rp-text-muted);
  margin-top: 12px;
}

/* Form success */
.rp-form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.rp-form-success.rp-active { display: block; }

.rp-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.rp-form-success h4 {
  font-family: var(--rp-font-display);
  font-size: 1.5rem;
  color: var(--rp-green);
  margin-bottom: 8px;
}

.rp-form-success p { color: var(--rp-text-muted); }


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.rp-footer {
  background: var(--rp-blue-deep);
  padding: 70px 0 30px;
}

.rp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.rp-footer-brand .rp-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.rp-footer-brand .rp-logo-text strong {
  font-size: 1rem;
}

.rp-footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 300px;
}

.rp-footer-tag {
  font-size: 0.78rem !important;
  color: var(--rp-cyan) !important;
  font-weight: 600;
}

.rp-footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.rp-footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.rp-footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.rp-footer-col ul li a:hover { color: var(--rp-cyan); }

.rp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rp-footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

/* Large Desktop */
@media (max-width: 1100px) {
  .rp-product-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-tech-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --rp-section-py: 70px; }

  .rp-nav-toggle { display: flex; }

  .rp-nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    background: rgba(10,31,61,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }

  .rp-nav-links.rp-open { display: flex; }

  .rp-nav-link {
    font-size: 1.3rem;
    padding: 14px 32px;
  }

  .rp-nav-cta {
    font-size: 1rem;
    padding: 14px 40px;
  }

  .rp-hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 24px 80px;
    justify-content: center;
    min-height: auto;
  }

  .rp-hero-content {
    margin-left: 0;
    max-width: 100%;
  }

  .rp-hero-visual {
    position: relative;
    right: auto; top: auto;
    transform: none;
    width: 240px; height: 240px;
    margin: 40px auto 0;
  }

  .rp-hero-sub { max-width: 100%; }
  .rp-hero-actions { justify-content: center; }

  .rp-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .rp-about-cards { grid-template-columns: 1fr 1fr; }

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

  .rp-industrial-banner {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 32px;
  }

  .rp-ind-icon-grid { grid-template-columns: repeat(4, 1fr); }

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

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

  .rp-contact-wrapper { grid-template-columns: 1fr; gap: 40px; }

  .rp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rp-footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --rp-section-py: 56px; }

  .rp-hero-headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  .rp-hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .rp-stat-div { width: 60px; height: 1px; }

  .rp-about-cards { grid-template-columns: 1fr; }

  .rp-product-grid { grid-template-columns: 1fr; }
  .rp-grid-3 { grid-template-columns: 1fr; }

  .rp-tech-grid { grid-template-columns: 1fr; }

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

  .rp-form-row { grid-template-columns: 1fr; }

  .rp-enquiry-form { padding: 28px 20px; }

  .rp-industrial-banner { padding: 28px 20px; }
  .rp-ind-icon-grid { grid-template-columns: repeat(2, 1fr); }

  .rp-benefits-strip {
    flex-direction: column;
    gap: 28px;
    padding: 36px 24px;
  }

  .rp-footer-grid { grid-template-columns: 1fr; }
  .rp-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.rp-card-image {
  width: 100%;
  height: 180px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}

.rp-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: 0.4s ease;
}

.rp-product-card:hover .rp-card-image img {
  transform: scale(1.05);
}
.rp-product-card {
    perspective: 1000px;
    position: relative;
}

.rp-product-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.rp-product-card:hover .rp-product-card-inner {
    transform: rotateY(180deg);
}

/* FRONT SIDE */
.rp-card-front,
.rp-card-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

.rp-card-front {
    z-index: 2;
}

/* BACK SIDE */
.rp-card-back {
    transform: rotateY(180deg);
    background: #fff;
    padding: 20px;
}

/* Optional styling for UL */
.rp-card-back ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.rp-card-back ul li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
.rp-product-card {
  perspective: 1000px;
}

.rp-product-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.rp-product-card:hover .rp-product-card-inner {
  transform: rotateY(180deg);
}

.rp-card-front,
.rp-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.rp-card-back {
  transform: rotateY(180deg);
  background: #fff;
  padding: 20px;
}
/* WHATSAPP FLOAT BUTTON */
.rp-wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 999;
  text-decoration: none;
  transition: 0.3s ease;
}

/* HOVER */
.rp-wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* PULSE ANIMATION */
.rp-wa-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: rp-wa-pulse 1.8s infinite;
  z-index: -1;
}

@keyframes rp-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.rp-footer-logo img {
  height: 90px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}


/* SOCIAL */
.rp-footer-social {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

.rp-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: 0.3s ease;
}

.rp-footer-social a:hover {
  background: #38bdf8;
  transform: translateY(-3px);
}

.rp-footer-social a.whatsapp:hover {
  background: #25D366;
}

/* PHONE FLOAT BUTTON */
.rp-call-float {
  position: fixed;
  bottom: 95px; /* above WhatsApp */
  right: 25px;
  width: 55px;
  height: 55px;
  background: #0ea5e9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 999;
  text-decoration: none;
  transition: 0.3s ease;
}

/* HOVER */
.rp-call-float:hover {
  transform: scale(1.1);
  background: #0284c7;
}

/* PULSE ANIMATION */
.rp-call-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.4);
  animation: rp-call-pulse 1.8s infinite;
  z-index: -1;
}

@keyframes rp-call-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
/* CONTAINER */
.rp-social-badge {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

/* MAIN BADGE */
.rp-social-trigger {
  background: #0ea5e9;
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 30px 30px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.rp-social-trigger i {
  font-size: 16px;
}

/* SOCIAL LIST */
.rp-social-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-120%);
  opacity: 0;
  transition: 0.3s ease;
}

/* ACTIVE */
.rp-social-badge.active .rp-social-list {
  transform: translateX(0);
  opacity: 1;
}

/* EACH ITEM */
.rp-social-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 0 25px 25px 0;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

/* COLORS */
.facebook { background: #1877f2; }
.instagram { background: #e4405f; }
.linkedin { background: #0a66c2; }
.whatsapp { background: #25D366; }

/* HOVER */
.rp-social-item:hover {
  transform: translateX(5px);
}
/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

  .rp-social-badge {
    left: 50%;
    display: none;
    bottom: 20px;
    top: auto;
    transform: translateX(-50%);
  }

  /* MAIN BUTTON SMALL */
  .rp-social-trigger {
    border-radius: 30px;
    padding: 10px 16px;
    font-size: 13px;
  }

  /* ICON LIST → POP UP ABOVE */
  .rp-social-list {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    flex-direction: row;
    gap: 10px;
    background: rgba(0,0,0,0.6);
    padding: 8px 10px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
  }

  /* SHOW */
  .rp-social-badge.active .rp-social-list {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }

  /* ITEMS → ICON ONLY */
  .rp-social-item span {
    display: none;
  }

  .rp-social-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }

}
/* FULL SCREEN */
.rp-loader {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a2540;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  transition: 0.6s ease;
}

/* HIDE */
.rp-loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* CIRCLE REVEAL FROM BOTTOM */
.rp-loader::before {
  content: "";
  position: absolute;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #0a2540 60%, transparent 61%);
  border-radius: 50%;
  animation: rp-reveal 1.2s ease forwards;
}

/* REVEAL ANIMATION */
@keyframes rp-reveal {
  0% {
    bottom: -100%;
    transform: translateX(-50%) scale(0.3);
  }
  100% {
    bottom: 50%;
    transform: translate(-50%, 50%) scale(1.2);
  }
}

/* WRAP */
.rp-loader-circle-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO CENTER */
.rp-loader-logo {
  width: 70px;
  filter: brightness(0)invert(1);
  z-index: 2;
}

/* ROTATING RING */
.rp-loader-ring {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top: 3px solid #38bdf8;
  border-radius: 50%;
  animation: rp-spin 1s linear infinite;
}

/* SPIN */
@keyframes rp-spin {
  100% {
    transform: rotate(360deg);
  }
}