/* ============================================================
   AAYURA GLOBAL — Main Stylesheet
   Brand: Navy #1D3A78 | Orange #d97706 | Poppins + Inter
   ============================================================ */

/* === 1. CUSTOM PROPERTIES === */
:root {
  --navy-darkest: #060E1F;
  --navy-dark:    #0D1F4A;
  --navy:         #1D3A78;
  --navy-mid:     #2451A3;
  --navy-light:   #3066C4;
  --orange-dark:  #b45309;
  --orange:       #d97706;
  --orange-light: #f59e0b;
  --white:        #FFFFFF;
  --off-white:    #F8FAFC;
  --gray-50:      #F5F7FA;
  --gray-100:     #EEF1F6;
  --gray-200:     #E2E8F0;
  --gray-300:     #CBD5E1;
  --gray-400:     #94A3B8;
  --gray-500:     #64748B;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --gray-800:     #1E293B;
  --text-dark:    #0F1929;
  --text-body:    #3D4A5C;
  --text-muted:   #64748B;
  --shadow-xs:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.10);
  --shadow:       0 4px 16px rgba(0,0,0,0.10);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.15);
  --shadow-navy:  0 8px 30px rgba(29,58,120,0.25);
  --shadow-orange:0 8px 30px rgba(217,119,6,0.30);
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-full:  9999px;
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --container:    1240px;
  --nav-h:        96px;
}

/* === 2. 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-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === 4. LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(217,119,6,0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-label.light {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.text-orange { color: var(--orange); }
.text-navy   { color: var(--navy); }

/* === 5. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm  { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; border-radius: var(--radius); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(217,119,6,0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* === 6. BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.badge-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* === LOGO IMAGE HANDLING ===
   All logos have white backgrounds — we show them in a
   white rounded pill so the white bg looks intentional. */
.logo-img {
  height: 68px;
  width: auto;
  border-radius: 10px;
  background: none;
  padding: 0;
  box-shadow: none;
  display: block;
}

.footer-logo {
  height: 140px !important;
  width: auto !important;
  border-radius: 10px;
  background: none;
  padding: 0;
  box-shadow: none;
  display: block;
  margin-bottom: 14px;
}

.about-logo-box img {
  width: 72%;
  max-width: 260px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* === 7. NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: var(--transition);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13,31,74,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
}

/* height now set in the logo handling block above */

.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1;
}
.logo-text-main {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.08em;
}
.logo-text-sub {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.25em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  flex: 1;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 20px;
  margin-left: auto;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-phone:hover { color: var(--orange); }
.nav-phone i {
  background: var(--orange);
  color: var(--white);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.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); }

/* === 8. HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--navy-darkest);
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

/* Multi-layer overlay: dark navy gradient + subtle warm tint to blend with the orange scaffolding */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6,14,31,0.88) 0%,
      rgba(13,31,74,0.80) 45%,
      rgba(13,31,74,0.55) 100%
    );
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.hero-shape-1 {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,120,64,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float1 8s ease-in-out infinite;
  z-index: 0;
}

.hero-shape-2 {
  position: absolute;
  left: -80px;
  bottom: 80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(29,58,120,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float2 10s ease-in-out infinite;
  z-index: 0;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 0 0 680px;
  max-width: 680px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(0,0,0,0.35);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Hero visual */
.hero-visual {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scaffold-visual {
  width: 100%;
  opacity: 0.8;
}

.scaffold-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(217,119,6,0.2));
}

.hero-badge-card {
  position: absolute;
  top: 20px; left: -20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  animation: float1 6s ease-in-out infinite;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.hero-badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
}
.hero-badge-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
}

.hero-stat-float {
  position: absolute;
  bottom: 30px; right: -10px;
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-orange);
  animation: float2 7s ease-in-out infinite;
}
.hsf-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.hsf-number span { font-size: 1.2rem; }
.hsf-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

/* Stats Bar */
.hero-stats-bar {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* === 9. SERVICES === */
.services { background: var(--gray-50); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 3 cards — centre the last row if count isn't divisible by 3 */
.services-grid .service-card:last-child:nth-child(3n - 1) {
  grid-column-end: -2;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gray-200);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before {
  background: var(--orange);
}

.service-card.featured-card {
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
}
.service-card.featured-card::before { background: var(--orange); }
.service-card.featured-card h3 { color: var(--white); }
.service-card.featured-card p { color: rgba(255,255,255,0.75); }
.service-card.featured-card .service-features li { color: rgba(255,255,255,0.75); }
.service-card.featured-card .service-features i { color: var(--orange); }
.service-card.featured-card .service-link { color: var(--orange); }

.service-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(217,119,6,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--orange);
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap,
.service-card.featured-card .service-icon-wrap {
  background: var(--orange);
  color: var(--white);
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }

.service-features {
  margin-bottom: 24px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.service-features i {
  color: var(--navy);
  font-size: 0.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.service-link:hover { color: var(--orange); gap: 10px; }

/* === 10. ABOUT === */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual-inner {
  position: relative;
  height: 480px;
}

.about-logo-box {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-navy);
}
.about-logo-box img { width: 60%; max-width: 280px; }
.about-logo-fallback {
  display: none;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
}

.about-accent-1 {
  position: absolute;
  top: -24px; right: -24px;
  width: 100px; height: 100px;
  background: var(--orange);
  border-radius: var(--radius-lg);
  opacity: 0.8;
  z-index: -1;
}

.about-accent-2 {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 120px; height: 8px;
  background: var(--orange);
  border-radius: var(--radius-full);
  opacity: 0.6;
}

.about-badge-float {
  position: absolute;
  bottom: 30px; right: -30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
  animation: float2 7s ease-in-out infinite;
  z-index: 2;
}
.about-badge-float i {
  font-size: 1.8rem;
  color: var(--orange);
}
.about-badge-float strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
}
.about-badge-float span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-content p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 16px; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 36px;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ah-icon {
  width: 38px; height: 38px;
  background: rgba(217,119,6,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 0.9rem;
}
.ah-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.ah-text span { font-size: 0.8rem; color: var(--text-muted); }

.about-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* === 11. WHY CHOOSE US === */
.why-us { background: var(--gray-50); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.why-icon {
  width: 64px; height: 64px;
  background: rgba(29,58,120,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--navy);
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--navy);
  color: var(--white);
}

.why-card h3 { margin-bottom: 12px; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.why-stat {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(217,119,6,0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === 12. SAFETY BANNER === */
.safety-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.safety-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,119,6,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.safety-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.safety-icon-main {
  font-size: 4rem;
  color: var(--orange);
  opacity: 0.9;
}

.safety-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.safety-text h2 span { color: var(--orange); }
.safety-text p { color: rgba(255,255,255,0.7); font-size: 0.97rem; }

.safety-certifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
}
.cert-badge i { color: var(--orange); font-size: 1rem; flex-shrink: 0; }

/* === 13. INDUSTRIES === */
.industries { background: var(--white); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.industry-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-6px);
  box-shadow: var(--shadow-navy);
}
.industry-card:hover h4,
.industry-card:hover p { color: var(--white); }

.industry-icon {
  font-size: 2.2rem;
  color: var(--orange);
  margin-bottom: 16px;
  transition: var(--transition);
}
.industry-card:hover .industry-icon { color: var(--orange-light); }

.industry-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  transition: var(--transition);
}
.industry-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
  margin: 0;
}

/* === 14. PROCESS === */
.process { background: var(--gray-50); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--navy-light));
  margin-top: 52px;
  opacity: 0.4;
}

.process-step {
  flex: 0 0 200px;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.step-icon {
  width: 80px; height: 80px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--navy);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.process-step:hover .step-icon {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); }

/* === 15. PROJECTS === */
.projects { background: var(--white); }

.projects-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: stretch;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.project-card.hidden { display: none; }

.project-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 55%);
}

.project-cat {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--orange);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-info {
  padding: 20px;
  background: var(--white);
}
.project-info h4 { margin-bottom: 6px; font-size: 1rem; }
.project-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.project-meta i { color: var(--orange); }

/* === 16. TESTIMONIALS === */
.testimonials { background: var(--gray-50); }

.testimonials-swiper {
  padding: 16px 8px 56px !important;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--gray-100);
  line-height: 1;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-card > p {
  color: var(--text-body);
  font-size: 0.97rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.swiper-button-prev, .swiper-button-next {
  color: var(--navy) !important;
  background: var(--white);
  width: 44px !important; height: 44px !important;
  border-radius: 50%;
  box-shadow: var(--shadow);
  top: auto !important;
  bottom: 0 !important;
}
.swiper-button-prev { left: calc(50% - 60px) !important; }
.swiper-button-next { right: calc(50% - 60px) !important; left: auto !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 0.9rem !important; font-weight: 900 !important; }
.swiper-pagination-bullet-active { background: var(--orange) !important; }

/* === 17. QUOTE SECTION === */
.quote-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,119,6,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.quote-info h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.quote-info h2 span { color: var(--orange); }
.quote-info > p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

.quote-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.quote-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
}
.quote-guarantee i { color: var(--orange); font-size: 1rem; }

.quote-contact-alt p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 8px; }
.quote-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  transition: var(--transition);
  margin-bottom: 8px;
}
.quote-phone:hover { color: var(--orange); }
.quote-phone i { color: var(--orange); }
.quote-hours { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* Form Styles */
.quote-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

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

.form-group {
  margin-bottom: 16px;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(29,58,120,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748B' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}
.form-message.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* === 18. CONTACT === */
.contact { background: var(--gray-50); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.contact-card-icon {
  width: 44px; height: 44px;
  background: rgba(217,119,6,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
}
.contact-card a { color: var(--navy); font-weight: 500; transition: var(--transition); }
.contact-card a:hover { color: var(--orange); }
.contact-sub { font-size: 0.78rem; color: var(--text-muted) !important; }

/* === 19. CTA STRIP === */
.cta-strip {
  background: var(--orange);
  padding: 56px 0;
}

.cta-strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-strip-content h3 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 6px;
}
.cta-strip-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin: 0;
}

.cta-strip-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.cta-strip .btn-primary {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.cta-strip .btn-primary:hover {
  background: var(--off-white);
  color: var(--orange-dark);
}

/* === 20. FOOTER === */
.footer { background: var(--navy-darkest); }

.footer-top { padding: 72px 0 56px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 16px 0 8px;
}
.footer-tagline {
  color: var(--orange) !important;
  font-size: 0.88rem !important;
  margin-bottom: 24px !important;
}

.footer-logo { height: 140px; margin-bottom: 16px; }
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '›';
  color: var(--orange);
  font-size: 1rem;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-bottom: 12px;
}
.footer-contact ul li::before { display: none; }
.footer-contact ul li i { color: var(--orange); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact ul li a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-contact ul li a:hover { color: var(--orange); }
.footer-contact ul li a::before { display: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--orange); }

/* === 21. BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
}

/* === 22. LOADING SPINNER === */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}
.btn-loading::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === 23. MEDIA QUERIES === */

/* Large Desktop */
@media (max-width: 1280px) {
  .hero-content { gap: 48px; }
  .hero-visual { flex: 0 0 320px; }
  .safety-content { gap: 36px; }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual-inner { height: 340px; }
  .about-badge-float { right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .safety-content { grid-template-columns: auto 1fr; }
  .safety-certifications { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-phone span { display: none; }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }

  .logo-img { height: 44px; border-radius: 6px; padding: 4px 8px; background: rgba(255,255,255,0.95); }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    transform: translateY(-100%) translateY(calc(-1 * var(--nav-h)));
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 12px 16px; border-radius: var(--radius); }
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { flex-direction: column; padding-top: 32px; gap: 32px; }
  .hero-visual { flex: none; width: 100%; max-width: 300px; }
  .stats-grid { flex-wrap: wrap; }
  .stat-item { flex: 0 0 calc(50% - 16px); }
  .stat-divider { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }

  /* Safety */
  .safety-content { grid-template-columns: 1fr; text-align: center; }
  .safety-icon-main { display: none; }
  .safety-certifications { grid-template-columns: 1fr; }

  /* Process */
  .process-steps { flex-direction: column; align-items: center; gap: 24px; }
  .process-connector { width: 2px; height: 40px; flex: none; margin: 0 0 0 50%; background: linear-gradient(180deg, var(--orange), var(--navy-light)); }

  /* About */
  .about-highlights { grid-template-columns: 1fr; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .quote-form-wrap, .contact-form-wrap { padding: 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  /* CTA strip */
  .cta-strip-content { flex-direction: column; text-align: center; }
  .cta-strip-actions { justify-content: center; flex-wrap: wrap; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 12px; align-items: center; }
  .hero-trust span { justify-content: center; text-align: center; }
  .stats-grid { flex-direction: column; align-items: center; }
  .stat-item { width: 100%; }
  .about-ctas { flex-direction: column; }
  .about-ctas .btn { width: 100%; justify-content: center; }
  .projects-filter { gap: 8px; }
  .back-to-top { bottom: 20px; right: 20px; }
}
