/*
Theme Name: Nuritech Corporate
Theme URI: https://rosybrown-shark-362876.hostingersite.com
Author: Nuritech Engineering Sdn Bhd
Author URI: https://rosybrown-shark-362876.hostingersite.com
Description: High-performance, modern, and responsive corporate WordPress theme for Nuritech Engineering Sdn Bhd — Malaysia's premier water tank specialist & engineering solutions provider.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nuritech
Tags: corporate, engineering, responsive-layout, modern, water-tank, custom-menu, featured-images
*/

:root {
  --primary: #0b4e94;
  --primary-dark: #073567;
  --primary-deep: #0a192f;
  --primary-light: #e8f2fc;
  --primary-gradient: linear-gradient(135deg, #0b4e94 0%, #0284c7 100%);
  --hero-gradient: linear-gradient(135deg, rgba(10, 25, 47, 0.94) 0%, rgba(11, 78, 148, 0.88) 100%);
  --accent: #0284c7;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-green: #10b981;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #0b4e94;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 24px -4px rgba(11, 78, 148, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 40px -6px rgba(11, 78, 148, 0.14), 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 45px -8px rgba(11, 78, 148, 0.22);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---------------- Top Bar ---------------- */
.top-bar {
  background-color: var(--primary-deep);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-cyan);
}

.top-bar-item a {
  color: #cbd5e1;
}

.top-bar-item a:hover {
  color: #ffffff;
}

.top-bar-badge {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------------- Header / Navigation ---------------- */
.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.site-logo img,
.header-logo-img {
  height: 54px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.site-logo:hover img,
.site-logo:hover .header-logo-img {
  transform: scale(1.02);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-logo img,
.footer-logo-img {
  height: 54px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  display: inline-block;
  position: relative;
}

.primary-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--primary);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(11, 78, 148, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(11, 78, 148, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--primary-dark) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  position: relative;
  background-color: var(--primary-deep);
  color: #ffffff;
  padding: 5rem 0 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38bdf8;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-badge span.dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .text-highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.trust-badge-item svg {
  width: 20px;
  height: 20px;
  fill: #38bdf8;
  flex-shrink: 0;
}

/* Hero Quick Form Card */
.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-header {
  margin-bottom: 1.25rem;
}

.hero-card-header h3 {
  font-size: 1.4rem;
  color: var(--primary-deep);
  margin-bottom: 0.35rem;
}

.hero-card-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------------- Form Elements ---------------- */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--text-main);
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 78, 148, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------------- Stats Bar ---------------- */
.stats-bar {
  background: #ffffff;
  padding: 2.5rem 0;
  box-shadow: var(--shadow-md);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------------- Section Standard ---------------- */
.section {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--primary-deep);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ---------------- Services Cards ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(11, 78, 148, 0.3);
}

.service-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #e2e8f0;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-deep);
}

.service-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-green);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ---------------- About / Value Split Section ---------------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image-wrapper {
  position: relative;
}

.split-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.floating-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-exp-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.floating-exp-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 1rem;
  color: var(--text-main);
}

.check-list li svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ---------------- Project Showcase Gallery ---------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
  background: #0f172a;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 60%, transparent 100%);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  transition: var(--transition);
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.project-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.project-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 0;
}

/* ---------------- Certifications & Compliance ---------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

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

.cert-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.cert-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.cert-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------------- Branch / Offices Grid ---------------- */
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.office-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.office-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.office-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.office-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-deep);
}

.office-details {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.office-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.office-details li svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ---------------- Call to Action Banner ---------------- */
.cta-banner {
  background: var(--primary-deep);
  background-image: radial-gradient(circle at 10% 20%, rgba(11, 78, 148, 0.4) 0%, transparent 60%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background-color: #06182c;
  color: #94a3b8;
  font-size: 0.92rem;
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.footer-desc {
  margin-top: 1rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #cbd5e1;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  fill: #38bdf8;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.sub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  background-color: #04101e;
  font-size: 0.85rem;
}

.sub-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  background: var(--primary-deep);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* ---------------- Breadcrumb & Page Banner ---------------- */
.page-hero-banner {
  background: var(--hero-gradient);
  background-color: var(--primary-deep);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  text-align: center;
}

.page-hero-banner h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: #38bdf8;
}

/* ---------------- Responsive Rules ---------------- */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-card {
    max-width: 600px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .site-logo img, .header-logo-img { height: 44px; max-width: 220px; }
  .footer-logo img, .footer-logo-img { height: 46px; max-width: 230px; }
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-menu-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .primary-menu {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    align-items: flex-start;
  }
  .header-actions {
    width: 100%;
    margin-top: 1rem;
  }
  .header-actions .btn {
    width: 100%;
  }
  .services-grid, .projects-grid, .cert-grid, .offices-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stat-item::after {
    display: none !important;
  }
  .floating-experience-badge {
    position: static;
    margin-top: 1rem;
  }
}
