/* 
   AL QIMAH INSPECTION SERVICES LLC - Master Stylesheet
   Color Palette: Deep Corporate Navy, Metallic Silver, Pure White, Soft Grays
*/

/* 1. Reset & Base Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #062A60;
  --primary-rgb: 6, 42, 96;
  --primary-dark: #031B3D;
  --primary-dark-rgb: 3, 27, 61;
  --silver: #A5A7AC;
  --silver-light: #E7E9EC;
  --white: #FFFFFF;
  --background: #F6F8FB;
  --text: #172033;
  --text-muted: #5A6578;
  --border: #E2E6EC;
  --success: #10B981;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(6, 42, 96, 0.08);
  --shadow-lg: 0 20px 50px rgba(6, 42, 96, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul {
  list-style: none;
}

/* 2. Scrollbar & Progress */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--silver);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--silver), var(--primary));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* 3. Global Reusable Classes */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

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

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

.section-bg-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.section-bg-dark h2, .section-bg-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--silver);
  border-radius: 50%;
}

.section-bg-dark .section-tag {
  color: var(--silver-light);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

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

.section-bg-dark .section-desc {
  color: var(--silver-light);
  opacity: 0.9;
}

/* 4. Custom Transparent Logo SVG Styling */
.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.site-logo-image {
  width: 138px;
  max-width: none;
  height: auto;
  object-fit: contain;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-graphic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary);
  line-height: 1;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--silver);
  text-transform: uppercase;
  margin-top: 3px;
}

.scrolled .logo-brand {
  color: var(--primary-dark);
}

/* 5. Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

header.scrolled {
  padding: 0;
  box-shadow: var(--shadow-md);
  background-color: var(--white);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 126px;
  transition: var(--transition);
}

header.scrolled .container {
  height: 104px;
}

header.scrolled .site-logo-image {
  width: 110px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Submenu styling */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  width: 280px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-link:hover {
  background-color: var(--background);
  color: var(--primary);
  padding-left: 18px;
}

/* Navigation Button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--primary);
}

.nav-cta:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

/* Mobile Nav Styles */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
  padding: 145px 30px 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-nav-panel.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 27, 61, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-link {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-submenu-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--silver);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-submenu-toggle.active {
  transform: rotate(180deg);
  color: var(--primary);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
  margin-top: 10px;
  border-left: 2px solid var(--border);
}

.mobile-submenu .dropdown-link {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
}

.mobile-footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-footer-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mobile-footer-cta {
  width: 100%;
}

/* Body Freeze when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* 6. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-navy:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: transparent;
  color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* 7. Homepage Hero Section */
.hero-slider {
  position: relative;
  min-height: min(100vh, 860px);
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  overflow: hidden;
  padding-top: 126px;
}

.hero-bg {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: auto;
  height: auto;
  border-radius: 30px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transform: scale(1.02);
  animation: heroZoom 16s ease-in-out infinite alternate;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: auto;
  height: auto;
  border-radius: 30px;
  background: linear-gradient(90deg, rgba(3, 27, 61, 0.94) 0%, rgba(6, 42, 96, 0.82) 42%, rgba(6, 42, 96, 0.44) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 750px;
}

.hero-slogan-top {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-slogan-top::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--silver);
}

.hero-h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-desc {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--silver-light);
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 8. Inner Page Hero Sections */
.inner-hero {
  position: relative;
  min-height: 420px;
  padding: 205px 0 100px 0;
  background-color: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
}

.inner-hero-bg {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: auto;
  height: auto;
  border-radius: 26px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.42;
  z-index: 1;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--silver);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumbs a {
  color: var(--silver-light);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.inner-hero-h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  color: var(--white);
  margin-bottom: 16px;
}

.inner-hero-desc {
  font-size: 1.15rem;
  max-width: 700px;
  opacity: 0.9;
  color: var(--silver-light);
}

/* 9. Intro / Trust Strip */
.trust-strip {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(6, 42, 96, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

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

/* 10. Split Sections (About / Capabilities) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.split-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 6s ease;
}

.split-image:hover img {
  transform: scale(1.08);
}

.split-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 27, 61, 0.4) 0%, rgba(3, 27, 61, 0) 60%);
}

.split-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.split-badge-num {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.split-badge-text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1.2;
}

.checklist {
  margin: 24px 0 32px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.checklist-two-col {
  grid-template-columns: 1fr 1fr;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.checklist-icon {
  color: var(--success);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* 11. Custom Premium Cards (Services / Advantages) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 42, 96, 0.15);
}

.service-card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 27, 61, 0.5) 0%, rgba(3, 27, 61, 0) 100%);
}

.service-card-tag {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.service-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.service-card-link i {
  transition: var(--transition);
}

.service-card:hover .service-card-link i {
  transform: translateX(6px);
}

/* Advantage / Feature Card */
.advantage-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 42, 96, 0.1);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(6, 42, 96, 0.05);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.advantage-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.advantage-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 12. Inspection Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: var(--border);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 auto 20px auto;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.process-step:hover .process-num {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0 10px;
}

/* 13. Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  position: relative;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.industry-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-card-img {
  transform: scale(1.1);
}

.industry-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 27, 61, 0.9) 0%, rgba(3, 27, 61, 0.3) 100%);
  z-index: 1;
}

.industry-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  color: var(--white);
}

.industry-card-title {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.industry-card-desc {
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition);
  color: var(--silver-light);
}

.industry-card:hover .industry-card-desc {
  opacity: 1;
  transform: translateY(0);
}

/* 14. Detail Page Structure (Split Sidebar / Content) */
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.detail-main-content {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.detail-p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-subheading {
  font-size: 1.5rem;
  margin: 32px 0 16px 0;
  color: var(--primary-dark);
}

.detail-tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.detail-tech-table th, .detail-tech-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.detail-tech-table th {
  background-color: rgba(6, 42, 96, 0.03);
  color: var(--primary-dark);
  font-weight: 700;
}

.detail-tech-table tr:hover td {
  background-color: rgba(6, 42, 96, 0.01);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.sidebar-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: var(--background);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.sidebar-link-item:hover, .sidebar-link-item.active {
  background-color: var(--primary);
  color: var(--white);
}

.sidebar-link-item i {
  color: var(--silver);
}

.sidebar-link-item:hover i, .sidebar-link-item.active i {
  color: var(--white);
}

.sidebar-contact-widget {
  background-color: var(--primary-dark);
  color: var(--white);
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
}

.sidebar-contact-widget::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 42, 96, 0.3) 0%, rgba(3, 27, 61, 0) 70%);
}

.sidebar-contact-widget-content {
  position: relative;
  z-index: 2;
}

.sidebar-contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin: 0 auto 20px auto;
}

.sidebar-contact-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--white);
}

.sidebar-contact-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

/* 15. Form Styling */
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(6, 42, 96, 0.05);
}

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

.form-actions-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.form-feedback {
  padding: 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 20px;
  display: none;
}

.form-feedback.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

/* 16. Contact Page Elements */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
}

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

.contact-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 42, 96, 0.08);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background-color: rgba(6, 42, 96, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.contact-card-info {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-card-info a {
  color: var(--primary);
  font-weight: 600;
}

.contact-card-info a:hover {
  text-decoration: underline;
}

.contact-form-widget {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* 17. Corporate Call to Action (CTA) Section */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  z-index: 2;
}

.cta-banner-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 18. Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo .logo-brand {
  color: var(--white);
}

.footer-logo .site-logo-image {
  width: 220px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-slogan {
  font-size: 0.95rem;
  opacity: 0.8;
  color: var(--silver-light);
  font-style: italic;
  line-height: 1.5;
}

.footer-col-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  color: var(--white);
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--silver);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link a {
  color: var(--silver-light);
  opacity: 0.85;
  font-size: 0.9rem;
}

.footer-link a:hover {
  color: var(--white);
  padding-left: 6px;
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--silver-light);
}

.footer-contact-item i {
  color: var(--silver);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item a {
  color: var(--white);
  font-weight: 600;
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--silver);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* 19. Floating Interactive Elements */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.35);
  z-index: 998;
  transition: var(--transition);
  cursor: pointer;
  animation: pulseWhatsapp 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-dark);
  color: var(--white);
  border: 0;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 997;
  transition: var(--transition);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--primary);
}

.hamburger:focus-visible,
.mobile-submenu-toggle:focus-visible,
.floating-whatsapp:focus-visible,
.back-to-top:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(6, 42, 96, 0.35);
  outline-offset: 3px;
}

/* WhatsApp Tooltip styling */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobile sticky action bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 999;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.mobile-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-right: 1px solid var(--border);
}

.mobile-action-item:last-child {
  border-right: none;
}

.mobile-action-item i {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.mobile-action-item.action-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border-right: none;
}

/* 20. Scroll Reveal Styles */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 21. Keyframe Animations */
@keyframes heroZoom {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* 22. Responsive Breakpoints */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 1024px) {
  header .container {
    height: 104px;
  }

  header.scrolled .container {
    height: 88px;
  }

  .site-logo-image {
    width: 112px;
  }

  header.scrolled .site-logo-image {
    width: 96px;
  }

  .mobile-nav-panel {
    padding-top: 125px;
  }

  .hero-slider {
    padding-top: 108px;
  }

  .inner-hero {
    padding-top: 168px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .split-image img {
    height: 400px;
  }
  
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links, .header-cta-wrap {
    display: none;
  }
}

@media (max-width: 768px) {
  .cards-grid,
  .checklist-two-col {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }
  
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-main-content,
  .sidebar-widget,
  .contact-form-widget {
    padding: 24px;
  }

  .detail-tech-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-card {
    padding: 22px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  
  .process-grid::before {
    display: none;
  }

  .industry-card-desc {
    opacity: 1;
    transform: none;
  }
  
  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }
  
  .process-num {
    margin: 0;
    flex-shrink: 0;
  }
  
  .cta-banner {
    padding: 40px 24px;
  }
  
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom)); /* Space for sticky bar */
  }
  
  .mobile-action-bar {
    display: grid;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  .floating-whatsapp {
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  
  .back-to-top {
    bottom: 140px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  
  .whatsapp-tooltip {
    display: none; /* Tooltip overlaps on mobile */
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  header .container {
    height: 92px;
  }

  header.scrolled .container {
    height: 82px;
  }

  .site-logo-image {
    width: 96px;
  }

  header.scrolled .site-logo-image {
    width: 86px;
  }

  .mobile-nav-panel {
    width: min(90vw, 320px);
    padding: 108px 22px 90px;
  }

  .hero-slider {
    padding-top: 96px;
  }

  .inner-hero {
    padding: 145px 0 70px;
  }

  .footer-logo .site-logo-image {
    width: 190px;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-bottom-links {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .form-actions-wrap {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .services-hero {
    min-height: 450px;
  }

  .services-hero-bg {
    background-position: 64% center !important;
  }

  .contact-hero {
    min-height: 470px;
  }

  .contact-hero-bg {
    background-position: 62% 46% !important;
  }

  .hero-bg {
    background-position: 68% center;
  }

  .inner-hero {
    min-height: 390px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 380px;
  }

  .services-hero-bg {
    background-position: 66% center !important;
  }

  .contact-hero {
    min-height: 390px;
  }

  .contact-hero-bg {
    background-position: 64% 44% !important;
  }

  .hero-slider {
    min-height: 760px;
    padding-top: 102px;
    padding-bottom: 28px;
  }

  .hero-bg,
  .hero-overlay,
  .inner-hero-bg {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 22px;
  }

  .hero-bg {
    background-size: cover;
    background-position: 72% center;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 10px;
  }

  .inner-hero {
    min-height: 320px;
    padding: 148px 0 78px;
  }

  .inner-hero-bg {
    background-size: cover;
    background-position: center center;
  }
}

@media (max-width: 576px) {
  .services-hero {
    min-height: 340px;
  }

  .services-hero-bg {
    background-position: 68% center !important;
  }

  .contact-hero {
    min-height: 350px;
  }

  .contact-hero-bg {
    background-position: 66% 42% !important;
  }

  .hero-slider {
    min-height: 690px;
  }

  .hero-bg {
    background-position: 74% center;
  }

  .inner-hero {
    min-height: 290px;
  }
}



/* Services hero adjustment to keep faces clearly visible */
.services-hero {
  min-height: 500px;
}

.services-hero-bg {
  background-position: center center !important;
  opacity: 0.48;
}

/* Contact hero adjustment to keep the inspector fully visible */
.contact-hero {
  min-height: 520px;
}

.contact-hero-bg {
  background-position: 60% 48% !important;
  opacity: 0.48;
}

/* Accessibility Support for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-bg {
    animation: none !important;
    transform: none !important;
  }
}


/* Keep anchored request form visible below the sticky header */
#requestForm { scroll-margin-top: 115px; }

/* Original client animation, one play per page; static accessible fallback. */
header .navbar-logo-video { object-fit:contain; border-radius:4px; }
.inquiry-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.privacy-consent{display:block;line-height:1.6;margin:18px 0;font-size:.9rem}
.privacy-consent input{width:auto;margin-right:8px}
.form-feedback:not(:empty){display:block;padding:14px;margin-top:14px}
@media(prefers-reduced-motion:reduce){header .navbar-logo-video{animation:none}}

header .navbar-logo-picture{display:block;line-height:0;flex-shrink:0}header .navbar-logo-animated{display:block;object-fit:contain;border-radius:4px}
