/* ===================================================================
   AMBER INFRATECH - Modern Corporate & Infrastructure Stylesheet
   Designed for high-speed performance, clean typography & full responsiveness
   =================================================================== */

:root {
  --primary: #0b132b;
  --primary-light: #1c2541;
  --primary-dark: #060b18;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fef3c7;
  --amber-glow: rgba(245, 158, 11, 0.25);
  --blue-accent: #2563eb;
  --blue-soft: #eff6ff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(11, 19, 43, 0.08);
  --shadow-lg: 0 15px 35px rgba(11, 19, 43, 0.12);
  --shadow-hover: 0 20px 40px rgba(11, 19, 43, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1240px;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-tag.light {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px;
}

.text-center {
  text-align: center;
}

/* Top Notification / Info Bar */
.topbar {
  background: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover {
  color: var(--amber);
}

.topbar .badge-highlight {
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px var(--amber-glow);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--amber);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-light);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--amber);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--amber);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--amber-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  color: #fff;
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
  background: var(--amber-light);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1eb956;
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #090e1a 0%, #111a30 50%, #1e2947 100%);
  color: #fff;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, var(--bg-main), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 620px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.hero-badge-item svg {
  color: var(--amber);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero Media Card */
.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  z-index: 3;
}

.floating-icon {
  width: 48px;
  height: 48px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.floating-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.2;
}

.floating-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Trust / Credibility Strip */
.trust-strip {
  background: var(--bg-alt);
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
}

.trust-item .icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.trust-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Statistics Counter Section */
.stats-section {
  background: var(--primary);
  color: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-label {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-media-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 4px solid #fff;
}

.about-img-secondary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--primary);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--amber);
  text-align: center;
}

.badge-years {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.badge-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-light);
}

.feature-check-item svg {
  color: var(--amber);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.proprietor-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--amber);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.proprietor-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.proprietor-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: var(--transition);
  z-index: 3;
}

.service-card.has-img {
  padding: 0;
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 235px;
  overflow: hidden;
  background: #0f172a;
}

.service-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 60%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-img-wrap::after {
  opacity: 0.15;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:nth-child(1) .service-img-wrap img {
  object-position: center 20%;
}

.service-card:nth-child(5) .service-img-wrap img {
  object-position: center 15%;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-card.has-img .service-body {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card.has-img .service-icon-box {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, 0.4);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--amber), var(--blue-accent));
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: var(--amber-light);
  color: var(--amber-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--amber);
  color: #fff;
  transform: scale(1.05);
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-points {
  margin-bottom: 22px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.service-points li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-points li::before {
  content: '✓';
  color: var(--amber-dark);
  font-weight: 800;
  font-size: 0.8rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

.service-link:hover {
  color: var(--amber-dark);
  gap: 10px;
}


/* Service Detail Sections (services.php) */
.service-detail-block {
  padding: 85px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.service-detail-block:last-of-type {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
}

.service-detail-grid.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.service-detail-grid.reverse .detail-content {
  order: 2;
}

.service-detail-grid.reverse .detail-media {
  order: 1;
}

.detail-content h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  color: var(--primary);
  margin: 10px 0 14px;
  line-height: 1.25;
}

.detail-content .section-tag {
  margin-bottom: 6px;
}

.detail-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-detail-block .service-points {
  margin: 20px 0;
  padding: 0;
  border-top: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-detail-block .service-points li {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.service-detail-block .service-points li strong {
  color: var(--primary);
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 22px 0 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.spec-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.88rem;
}

.spec-table tr:nth-child(even) td {
  background: var(--bg-alt);
}

.spec-table tr:hover td {
  background: #f1f5f9;
}

.detail-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: #0f172a;
  height: 440px;
  transition: var(--transition);
}

.detail-media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.detail-media:hover img {
  transform: scale(1.04);
}


/* Project Showcase / Gallery Section */
.gallery-section {
  padding: 100px 0;
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
  align-self: flex-start;
}

.gallery-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-desc {
  color: #cbd5e1;
  font-size: 0.82rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 24, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  color: #fff;
  margin-top: 14px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  color: var(--text-main);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control::placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.form-control::-webkit-input-placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.form-control::-moz-placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.form-control:-ms-input-placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.form-control:focus {
  border-color: var(--amber);
  outline: none;
}

/* Compliance / Credentials Section */
.compliance-section {
  padding: 90px 0;
  background: var(--bg-main);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.compliance-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.compliance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-accent);
}

.compliance-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.compliance-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.compliance-reg-number {
  background: var(--bg-alt);
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 3px solid var(--amber);
  margin: 12px 0 16px;
  word-break: break-all;
}

.compliance-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Why Choose Us & EHS Safety */
.why-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--amber);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.4);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.why-card h4 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact & Consultation Section */
.contact-section {
  padding: 100px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
  border-radius: 50%;
}

.contact-info-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-info-card p.lead {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.contact-item h5 {
  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item a, .contact-item span {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--amber);
}

.contact-form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-card .form-control {
  background: #fff;
  border-color: var(--border-color);
  color: var(--text-main);
}

.contact-form-card .form-control::placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.contact-form-card .form-control::-webkit-input-placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.contact-form-card .form-control::-moz-placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.contact-form-card .form-control:-ms-input-placeholder {
  color: #94a3b8;
  opacity: 0.75;
  font-weight: 400;
}

.contact-form-card .form-control:focus {
  border-color: var(--primary);
}

.contact-form-card label {
  color: var(--primary);
}


/* Contact Map & FAQ Accordion (contact.php) */
.map-container {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: #f1f5f9;
  height: 420px;
  width: 100%;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.faq-section {
  padding: 90px 0 110px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.faq-section .section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--primary);
  margin-top: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  color: var(--amber-dark);
}

.faq-question span:last-child {
  font-size: 1.5rem;
  color: var(--amber-dark);
  font-weight: 700;
  line-height: 1;
  width: 24px;
  text-align: right;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}


/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 18px 0 24px;
  color: #94a3b8;
}

.footer-legal-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--amber);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--amber);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.footer-contact-list a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: #64748b;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--amber);
  transform: translateY(-3px);
}

/* Page Header Banner (for subpages: about, services, etc) */
.page-banner {
  background: linear-gradient(135deg, #090e1a 0%, #111a30 60%, #1a2542 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: var(--amber);
}

/* Toast Message */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #10b981;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 3000;
  display: none;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
}

.toast-notice.show {
  display: flex;
}

.toast-notice.error {
  background: #ef4444;
}

/* In-form Status Alerts */
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.form-status.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-status code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 600;
}

.spinner {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-detail-grid.reverse .detail-content {
    order: 1;
  }
  .service-detail-grid.reverse .detail-media {
    order: 2;
  }
  .detail-media {
    height: 360px;
  }
  .map-container {
    height: 360px;
    margin-top: 40px;
  }
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid, .gallery-grid, .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .why-grid, .trust-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-detail-block {
    padding: 60px 0;
  }
  .service-detail-block .service-points {
    grid-template-columns: 1fr;
  }
  .spec-table th, .spec-table td {
    padding: 9px 11px;
    font-size: 0.8rem;
  }
  .detail-media {
    height: 280px;
  }
  .map-container {
    height: 300px;
  }
  .faq-section {
    padding: 60px 0 80px;
  }
  .faq-question {
    padding: 16px 20px;
    font-size: 0.98rem;
  }
  .topbar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .services-grid, .gallery-grid, .compliance-grid, .why-grid, .trust-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0 80px;
  }
  .hero-floating-card {
    left: 10px;
    bottom: -15px;
    padding: 12px 18px;
  }
  .about-img-secondary {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-whatsapp {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }
  .nav-actions .btn-whatsapp svg {
    width: 15px;
    height: 15px;
  }
}
