/* ═══════════════════════════════════════════════════════════════════════════
   Hawkeye Environmental - Main Stylesheet
   Merging original brand identity with modern responsive design
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary Brand Colors - FROM ORIGINAL */
  --primary-teal: #307FA3;
  --deep-navy: #073B5A;
  --medium-slate: #235E82;
  --bright-cyan: #43B5F5;
  --dark-blue: #0e2846;
  --header-blue: #286387;

  /* Callout Gradients */
  --callout-light: #e8f4f8;
  --callout-dark: #f5f9fb;
  --callout-header-start: #3e99cc;
  --callout-header-end: #1c4762;

  /* Accent - CTA buttons */
  --accent-gold: #FFB81C;
  --accent-gold-hover: #FFA500;

  /* Neutrals */
  --white: #ffffff;
  --light-gray: #f5fafc;
  --text-dark: #1c2b33;
  --text-muted: #555555;
  --text-light: #eeeeee;
  --border: #daeaf0;

  /* Effects */
  --shadow: 0 4px 24px rgba(11, 61, 82, 0.10);
  --shadow-strong: 1px 3px 6px #333333;
  --radius: 8px;
  --radius-large: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--primary-teal);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Container ───────────────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Utility Classes ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--deep-navy);
}
.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--primary-teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--deep-navy);
  transform: translateY(-2px);
}

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

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 18px;
}

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

/* ── Navigation ──────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--deep-navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(7, 59, 90, 0.97);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 124px;
  transition: height var(--transition);
}

#navbar.scrolled .nav-inner {
  height: 66px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 100px;
  width: auto;
  padding: 12px 0;
  transition: height var(--transition), padding var(--transition);
}

#navbar.scrolled .nav-logo img {
  height: 50px;
  padding: 8px 0;
}

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

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 5px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .nav-cta a {
  background: var(--accent-gold);
  color: var(--deep-navy);
  padding: 10px 20px;
}

.nav-links .nav-cta a:hover {
  background: var(--accent-gold-hover);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

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

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--deep-navy);
  transition: var(--transition);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--light-gray);
  color: var(--primary-teal);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ── Header / Logo Bar ───────────────────────────────────────────────────── */
#header-bar {
  background-color: var(--header-blue);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  box-shadow: 0px 0px 30px #274564;
  padding-top: 80px; /* Account for fixed nav */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  min-height: 150px;
  position: relative;
}

.header-star {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-left: -40px;
  opacity: 0.9;
}

.header-star img {
  height: 200px;
  width: auto;
}

.header-logo img {
  height: 90px;
  width: auto;
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
#hero {
  background-color: var(--dark-blue);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  box-shadow: inset 0px 0px 30px #091d35;
  padding: 190px 0 80px; /* Extra top padding for larger initial nav */
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14, 40, 70, 0.85) 0%, rgba(7, 59, 90, 0.75) 100%);
  z-index: 1;
}

#hero > * {
  position: relative;
  z-index: 2;
}

/* ── Page Header (Interior Pages) ────────────────────────────────────────── */
#page-header {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--primary-teal) 100%);
  padding: 190px 0 60px;
  text-align: center;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

#page-header .section-label {
  color: var(--bright-cyan);
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-intro {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-badges img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hero-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-gold);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--bright-cyan);
  margin-bottom: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title span {
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.5px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ── Services Section ────────────────────────────────────────────────────── */
#services {
  padding: 100px 0;
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

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

.service-card {
  background: linear-gradient(to bottom, var(--callout-light) 0%, var(--callout-dark) 100%);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.service-card-header {
  background: linear-gradient(to bottom, var(--callout-header-start) 0%, var(--callout-header-end) 100%);
  padding: 16px 24px;
  border-top-left-radius: var(--radius-large);
  border-top-right-radius: var(--radius-large);
}

.service-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.service-card-body {
  padding: 24px;
}

.service-card-body p {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-list {
  margin-bottom: 24px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: '';
  min-width: 8px;
  min-height: 8px;
  background: var(--primary-teal);
  border-radius: 50%;
  margin-top: 6px;
}

.service-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--medium-slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--deep-navy);
  gap: 12px;
}

.service-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* ── Why Choose Us Section ───────────────────────────────────────────────── */
#why {
  padding: 90px 0;
  background: var(--deep-navy);
}

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

.why-left .section-label {
  color: var(--bright-cyan);
}

.why-left .section-title {
  color: var(--white);
}

.why-left .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.why-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-feature-icon {
  min-width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.why-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--bright-cyan);
  fill: none;
  stroke-width: 2;
}

.why-feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.why-feature-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.stat-card .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.stat-card.featured {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
}

.stat-card.featured .label {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Sectors Section ─────────────────────────────────────────────────────── */
#sectors {
  padding: 90px 0;
  background: var(--light-gray);
}

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

.sectors-header .section-subtitle {
  margin: 0 auto;
}

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

.sector-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  transition: var(--transition);
}

.sector-item:hover {
  border-color: var(--primary-teal);
  box-shadow: 0 4px 16px rgba(48, 127, 163, 0.15);
  transform: translateY(-4px);
}

.sector-item svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary-teal);
  fill: none;
  stroke-width: 1.5;
  margin: 0 auto 14px;
}

.sector-item span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--deep-navy);
  display: block;
  line-height: 1.3;
}

/* ── About Section ───────────────────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--primary-teal) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-img-inner {
  padding: 40px;
  text-align: center;
}

.about-img-inner img {
  max-height: 100px;
  width: auto;
  margin: 0 auto 20px;
}

.about-img-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.about-badge-cert {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-cert img {
  height: 50px;
  width: auto;
}

.about-badge-cert-text span {
  display: block;
}

.about-badge-cert-text span:first-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--deep-navy);
}

.about-badge-cert-text span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-content .section-subtitle {
  margin-bottom: 28px;
}

.about-licenses {
  margin-top: 28px;
}

.about-licenses h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 14px;
}

.license-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.license-tag {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--deep-navy);
}

.about-founded {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--light-gray);
  border-left: 4px solid var(--primary-teal);
  border-radius: 0 8px 8px 0;
}

.about-founded p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-founded strong {
  color: var(--deep-navy);
}

/* ── Contact Section ─────────────────────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--light-gray);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-subtitle {
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  min-width: 46px;
  height: 46px;
  background: linear-gradient(to bottom, var(--callout-light) 0%, var(--callout-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--deep-navy);
  fill: none;
  stroke-width: 2;
}

.contact-item-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item-text a,
.contact-item-text p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-navy);
}

.contact-item-text a:hover {
  color: var(--primary-teal);
}

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

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 24px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  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-teal);
  box-shadow: 0 0 0 3px rgba(48, 127, 163, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary-teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--deep-navy);
  transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(to bottom, var(--deep-navy) 0%, var(--primary-teal) 100%);
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-badges {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 30px 0;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.footer-badges img {
  height: 60px;
  width: auto;
  filter: brightness(1.1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

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

/* ── Back to Top Button ──────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(48, 127, 163, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
  z-index: 900;
  border: none;
}

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

.back-to-top:hover {
  background: var(--deep-navy);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive Styles
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .header-star {
    display: none;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: 2;
  }

  .about-content {
    order: 1;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-badges {
    flex-direction: row;
    justify-content: center;
    order: -1;
    margin-bottom: 30px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .container {
    padding: 0 20px;
  }

  #services,
  #about,
  #contact {
    padding: 70px 0;
  }

  #why,
  #sectors {
    padding: 60px 0;
  }
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 124px;
  left: 0;
  right: 0;
  background: var(--deep-navy);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: top var(--transition);
}

body.scrolled .mobile-nav {
  top: 66px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.mobile-nav .nav-cta a {
  background: var(--accent-gold);
  color: var(--deep-navy);
  text-align: center;
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Interior Page Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Service Detail Pages ────────────────────────────────────────────────── */
.service-detail-section {
  padding: 80px 0;
  background: var(--white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.service-detail-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 20px;
}

.service-detail-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-top: 40px;
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-detail-list {
  list-style: none;
  margin: 24px 0;
}

.service-detail-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail-list li:last-child {
  border-bottom: none;
}

.service-detail-list strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 6px;
}

.service-detail-list p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.simple-list {
  list-style: none;
  margin: 16px 0 24px;
  padding-left: 0;
}

.simple-list li {
  position: relative;
  padding-left: 20px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.simple-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--primary-teal);
  border-radius: 50%;
}

/* Service Sidebar */
.service-detail-sidebar {
  position: sticky;
  top: 100px;
}

.service-cta-card {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--primary-teal) 100%);
  border-radius: var(--radius-large);
  padding: 32px;
  margin-bottom: 24px;
}

.service-cta-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-cta-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-cta-card .btn {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.service-cta-contact {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-cta-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

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

.service-cta-contact a:hover {
  color: var(--accent-gold);
}

.service-credentials {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 28px;
}

.service-credentials h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 16px;
}

.service-credentials ul {
  list-style: none;
}

.service-credentials li {
  position: relative;
  padding-left: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.service-credentials li:last-child {
  border-bottom: none;
}

.service-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--primary-teal);
  border-radius: 50%;
}

/* ── About Page ──────────────────────────────────────────────────────────── */
.about-detail-section {
  padding: 80px 0;
  background: var(--white);
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.about-detail-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 20px;
}

.about-detail-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-top: 36px;
  margin-bottom: 16px;
}

.about-detail-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.credentials-card {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 28px;
  margin-bottom: 24px;
}

.credentials-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 16px;
}

.credentials-list {
  list-style: none;
}

.credentials-list li {
  position: relative;
  padding-left: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.credentials-list li:last-child {
  border-bottom: none;
}

.credentials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--primary-teal);
  border-radius: 50%;
}

.about-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

.about-badges img {
  height: 70px;
  width: auto;
}

.about-cta-section {
  padding: 60px 0;
  background: var(--deep-navy);
  text-align: center;
}

.about-cta-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.about-cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

/* ── Contact Page ────────────────────────────────────────────────────────── */
.contact-detail-section {
  padding: 80px 0;
  background: var(--white);
}

.contact-detail-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 16px;
}

.contact-detail-section > .container > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ── Interior Page Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .service-detail-grid,
  .about-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .service-detail-section,
  .about-detail-section,
  .contact-detail-section {
    padding: 60px 0;
  }

  #page-header {
    padding: 120px 0 50px;
  }
}
