/* ===== Razant Services Limited - Final Deploy Version ===== */
:root {
  --red: #E30613;
  --orange: #FF6B00;
  --yellow: #FFB800;
  --green: #00A651;
  --cyan: #00B4D8;
  --blue: #0077B6;
  --navy: #0A2540;
  --dark: #1A1A2E;
  --gray: #4A5568;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #E30613 0%, #FF6B00 25%, #FFB800 50%, #00A651 75%, #0077B6 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.65;
  background: var(--white);
}
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06); transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy);
}
.logo img { height: 52px; width: auto; display: block; }
.logo-tag {
  font-size: 12px; font-weight: 600; color: var(--gray); letter-spacing: 0.4px;
  border-left: 1px solid #ddd; padding-left: 12px; line-height: 1.3;
}
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--gray); font-weight: 500; font-size: 14px; transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--navy); }
.nav .dropdown { position: relative; }
.nav .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: white; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 10px 0; margin-top: 14px; border: 1px solid rgba(0,0,0,0.06); z-index: 100;
}
.nav .dropdown:hover .dropdown-menu { display: block; }
.nav .dropdown-menu a { display: block; padding: 10px 18px; font-size: 14px; color: var(--dark); }
.nav .dropdown-menu a:hover { background: var(--light); color: var(--navy); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

/* Hero - more visible image + subtle animation */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding-top: 78px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-home.jpg') center/cover no-repeat;
  animation: heroZoom 25s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.55) 0%, rgba(10,37,64,0.35) 50%, rgba(0,51,102,0.40) 100%);
}
/* subtle light scintillation */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(0,180,216,0.06) 0%, transparent 40%);
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}
.hero-content { position: relative; z-index: 1; color: white; max-width: 720px; padding: 80px 0 60px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 18px; border-radius: 50px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.6px; margin-bottom: 22px; color: #E8F4FF;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 52px); font-weight: 800; line-height: 1.12;
  margin-bottom: 14px; letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-lead {
  font-size: clamp(17px, 2.3vw, 20px); font-weight: 500; color: #FFB800;
  margin-bottom: 20px; line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.hero-sub { font-size: 16px; color: #E0EEF8; margin-bottom: 12px; max-width: 600px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* Page Hero with faint valves image */
.page-hero {
  position: relative; color: white; padding: 150px 0 70px; text-align: center; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/valves-hero.jpg') center/cover no-repeat;
  opacity: 0.55;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.70) 0%, rgba(10,37,64,0.65) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #A0C4E8; font-size: 17px; max-width: 620px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: all 0.25s; border: none; cursor: pointer;
}
.btn-primary {
  background: var(--gradient); color: white;
  box-shadow: 0 4px 18px rgba(227,6,19,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,6,19,0.45); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: #0d3356; }

/* Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.section-desc { color: var(--gray); max-width: 580px; margin: 0 auto; font-size: 16px; }

/* Mission Vision */
.mission-vision { background: var(--light); padding: 60px 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: white; border-radius: 14px; padding: 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.04);
}
.mv-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.mv-card p { color: var(--gray); font-size: 15.5px; line-height: 1.7; }

/* Who We Are - more visible background */
.who-we-are { position: relative; overflow: hidden; }
.who-we-are-bg {
  position: absolute; inset: 0;
  background: url('../images/worker-valves.jpg') center/cover no-repeat;
  opacity: 0.28;
}
.who-we-are .container { position: relative; z-index: 1; }
.about-content { max-width: 820px; margin: 0 auto; text-align: center; }
.about-content p { color: var(--dark); font-size: 16.5px; margin-bottom: 16px; }

/* Services cards with image backgrounds */
.services-overview-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.service-card {
  position: relative; border-radius: 14px; overflow: hidden;
  min-height: 220px; text-decoration: none; color: white; display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1); transition: all 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.service-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.4s;
}
.service-card:hover .service-card-bg { transform: scale(1.06); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.92) 0%, rgba(10,37,64,0.55) 50%, rgba(10,37,64,0.3) 100%);
}
.service-card-content {
  position: relative; z-index: 1; padding: 24px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px;
}
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: white; }
.service-card p { font-size: 13.5px; color: rgba(255,255,255,0.85); line-height: 1.45; margin-bottom: 10px; }
.service-card .link { font-size: 13px; font-weight: 600; color: #FFB800; }

/* Service detail page */
.service-page-content { max-width: 860px; margin: 0 auto; }
.service-page-content p { color: var(--gray); font-size: 16px; margin-bottom: 16px; }
.service-page-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.service-page-content ul {
  list-style: none; margin: 12px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.service-page-content ul li {
  position: relative; padding-left: 18px; font-size: 15px; color: var(--dark);
}
.service-page-content ul li::before {
  content: '▸'; position: absolute; left: 0; color: var(--orange); font-weight: 700;
}
.service-closing {
  font-style: italic; color: var(--navy); font-weight: 500; margin-top: 20px;
  padding: 18px 22px; background: var(--light); border-radius: 10px; border-left: 4px solid var(--orange);
}
.service-image {
  margin: 0 0 36px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.service-image img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--orange); font-weight: 600; text-decoration: none; font-size: 14px; }
.back-link:hover { text-decoration: underline; }

/* Values with image background */
.values {
  position: relative; color: white; overflow: hidden;
}
.values-bg {
  position: absolute; inset: 0;
  background: url('../images/values-bg.jpg') center/cover no-repeat;
  opacity: 0.28;
}
.values-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.88) 0%, rgba(10,37,64,0.82) 100%);
}
.values .container { position: relative; z-index: 1; }
.values .section-label { background: linear-gradient(90deg, #FFB800, #00B4D8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.values .section-header h2 { color: white; }
.values .section-desc { color: #A0C4E8; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 26px; backdrop-filter: blur(4px);
}
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #FFB800; }
.value-card p { font-size: 14px; color: #D0E4F5; line-height: 1.6; }

/* Clients */
.clients-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 48px;
}
.client-logo {
  background: white; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  padding: 18px 28px; display: flex; align-items: center; justify-content: center;
  height: 90px; min-width: 160px; transition: box-shadow 0.3s;
}
.client-logo:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.client-logo img { max-height: 52px; max-width: 140px; width: auto; object-fit: contain; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-item { margin-bottom: 22px; }
.contact-item strong {
  display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray); margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 16px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.contact-item a:hover { color: var(--blue); }
.contact-form { background: var(--light); padding: 32px; border-radius: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px; font-family: inherit; font-size: 15px; margin-bottom: 14px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form .btn { width: 100%; margin-top: 6px; }

/* Footer */
.footer { background: var(--navy); color: white; padding: 48px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-address { font-size: 14px; color: #A0C4E8; line-height: 1.7; }
.footer-address strong { display: block; color: #FFB800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-top: 12px; margin-bottom: 2px; }
.footer-address a { color: #A0C4E8; text-decoration: none; }
.footer-address a:hover { color: white; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: #A0C4E8; text-decoration: none; font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: white; }
.copyright {
  width: 100%; text-align: center; font-size: 13px; color: #6B8AAD;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px; gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .nav.open { display: flex; }
  .nav .dropdown-menu { position: static; box-shadow: none; border: none; display: none; padding-left: 12px; }
  .nav .dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
  .mv-grid, .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .service-page-content ul { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .logo-tag { display: none; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 50px 0 40px; }
  .section { padding: 55px 0; }
  .clients-grid { gap: 16px; }
  .client-logo { min-width: 130px; height: 80px; padding: 14px 20px; }
}
