/* ============================================================
   Al Malitha Trading & Contracting — Main Stylesheet
   Inspired by Consol Construction & Trading design language
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #397C94;
  --primary-dark: #2a5f72;
  --primary-light: #4a9ab5;
  --primary-pale: #e8f4f8;
  --secondary: #37474f;
  --secondary-dark: #263238;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --grey-dark: #333333;
  --grey-mid: #666666;
  --grey-light: #e0e0e0;
  --grey-bg: #f5f5f5;
  --white: #ffffff;
  --text-dark: #333333;
  --text-mid: #666666;
  --text-light: #999999;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.16);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s ease;
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--grey-dark);
  font-weight: 700;
}

p {
  line-height: 1.8;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 50px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 620px;
  margin-bottom: 44px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 20px;
}

.text-center .divider {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(57, 124, 148, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-dark {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-dark:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

/* ============================================================
   TOP INFO BAR (Consol-style)
   ============================================================ */
.top-bar {
  background: var(--secondary-dark);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.top-bar-item svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
  flex-shrink: 0;
}

.top-bar-item a {
  color: rgba(255, 255, 255, 0.7);
}

.top-bar-item a:hover {
  color: var(--primary);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social-link {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--transition);
}

.top-social-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

#navbar.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
}

#navbar.hero-nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--grey-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.62rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Hero page: white logo text */
#navbar.hero-nav .logo-name {
  color: var(--white);
}

#navbar.hero-nav .logo-tagline {
  color: rgba(255, 255, 255, 0.75);
}

#navbar.hero-nav.scrolled .logo-name {
  color: var(--grey-dark);
}

#navbar.hero-nav.scrolled .logo-tagline {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-dark);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

#navbar.hero-nav .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

#navbar.hero-nav.scrolled .nav-links a {
  color: var(--grey-dark);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

#navbar.hero-nav .nav-links a:hover,
#navbar.hero-nav .nav-links a.active {
  color: var(--primary);
}

#navbar.hero-nav.scrolled .nav-links a:hover,
#navbar.hero-nav.scrolled .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a::before {
  content: '▾';
  margin-left: 4px;
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
  z-index: 100;
  border-radius: 0 0 var(--radius) var(--radius);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey-dark) !important;
  border-bottom: 1px solid var(--grey-light);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--primary-pale);
  color: var(--primary) !important;
  padding-left: 24px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-dark);
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.hero-nav .hamburger span {
  background: var(--white);
}

#navbar.hero-nav.scrolled .hamburger span {
  background: var(--grey-dark);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px 24px 24px;
  z-index: 999;
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--grey-dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--grey-light);
  transition: var(--transition);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, #2a4a5a 50%, var(--primary-dark) 100%);
  margin-top: -72px;
  /* offset sticky nav */
  padding-top: 72px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 60%, rgba(57, 124, 148, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(57, 124, 148, 0.2);
  border: 1px solid rgba(57, 124, 148, 0.5);
  color: #7ec8e3;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: var(--primary-light);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 18px;
  height: 18px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   TICKER / ANNOUNCEMENT BAR
   ============================================================ */
.ticker-bar {
  background: var(--primary);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker-track span::before {
  content: '◆';
  margin-right: 12px;
  opacity: 0.5;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   INTRO / ABOUT SNIPPET
   ============================================================ */
.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.intro-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-img-box svg {
  width: 65%;
  opacity: 0.2;
}

.intro-badge-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.intro-badge-box .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.intro-badge-box .lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0.85;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--grey-bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.intro-feature-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.intro-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.intro-feature p {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ============================================================
   SERVICES OVERVIEW (HOME)
   ============================================================ */
.services-overview {
  background: var(--grey-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-pale);
  border: 2px solid rgba(57, 124, 148, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.service-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--secondary-dark);
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.why-section .divider {
  background: var(--primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(57, 124, 148, 0.15);
  border-color: rgba(57, 124, 148, 0.3);
  transform: translateY(-4px);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(57, 124, 148, 0.15);
  border: 2px solid rgba(57, 124, 148, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.why-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--primary);
  padding: 60px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cta-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-banner .btn-outline:hover {
  color: var(--primary);
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-section {
  background: var(--white);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--grey-bg);
  border: 2px solid var(--grey-light);
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  background: var(--grey-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-info p {
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.85;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item-text h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.88rem;
  color: var(--text-mid);
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(57, 124, 148, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  color: #166534;
  font-weight: 600;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.breadcrumb a {
  color: var(--primary-light);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-card {
  text-align: center;
  padding: 28px 14px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--grey-light);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.value-card p {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  height: 180px;
  background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.15);
}

.team-info {
  padding: 22px;
}

.team-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.team-info .role {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-detail {
  padding: 70px 0;
  border-bottom: 1px solid var(--grey-light);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  background: var(--grey-bg);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content {
  direction: ltr;
}

.service-detail:nth-child(even) .service-detail-visual {
  direction: ltr;
}

.service-detail-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.service-detail-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.service-detail-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-detail-content p {
  color: var(--text-mid);
  margin-bottom: 22px;
  line-height: 1.85;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.benefits-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.applications-box {
  background: var(--primary-pale);
  border-radius: var(--radius);
  padding: 18px;
  border-left: 4px solid var(--primary);
}

.applications-box h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.applications-box p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 0;
}

/* ============================================================
   QUALITY / CERTIFICATIONS PAGE
   ============================================================ */
.quality-statement {
  background: var(--secondary-dark);
  padding: 70px 0;
  color: var(--white);
}

.quality-statement .section-title {
  color: var(--white);
}

.quality-statement .divider {
  background: var(--primary);
}

.quality-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.iso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.iso-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.iso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.iso-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.iso-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.iso-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.iso-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.qhse-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.qhse-pillar {
  text-align: center;
  padding: 28px 18px;
  background: var(--grey-bg);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition);
}

.qhse-pillar:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.qhse-pillar:hover h3,
.qhse-pillar:hover p {
  color: var(--white);
}

.qhse-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.qhse-pillar h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.qhse-pillar p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
  transition: var(--transition);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--secondary-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: var(--primary-light);
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.85;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: var(--primary-light);
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background: var(--secondary-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.4s;
}

.fade-up:nth-child(6) {
  transition-delay: 0.5s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qhse-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-badge-box {
    right: 0;
  }

  .intro-features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .iso-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-grid {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-pad {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qhse-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}