@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

:root {
  --primary: #2e7d54;
  --primary-dark: #1d5739;
  --primary-soft: #eef5f1;
  --accent: #a6baaf;
  --light: #f6f8f7;
  --surface: #ffffff;
  --border: #dfe7e2;
  --text: #1f2924;
  --muted: #56645d;
  --danger: #d9261c;
  --danger-dark: #b31c14;
  --shadow-sm: 0 4px 16px rgba(17, 41, 29, 0.05);
  --shadow-md: 0 12px 30px rgba(17, 41, 29, 0.09);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOP UTILITY BAR */
.topbar {
  background: var(--primary-dark);
  color: #e6f0ea;
  font-size: 12.5px;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item i {
  color: var(--accent);
}

/* HEADER & NAV */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(17, 41, 29, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 16px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: var(--primary-soft);
  border: 1px solid var(--border);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 22px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 9px;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

nav a:not(.btn):hover,
nav a:not(.btn):focus,
nav a.active-link:not(.btn) {
  color: var(--primary);
  outline: none;
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

nav a:not(.btn):hover::after,
nav a:not(.btn):focus::after,
nav a.active-link:not(.btn)::after {
  left: 9px;
  right: 9px;
  opacity: 1;
}

nav .nav-cta {
  margin-left: 8px;
}

/* BUTTONS */
.btn {
  padding: 11px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(17, 41, 29, 0.16);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: var(--danger-dark);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn-outline-primary {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #102419;
  outline: none;
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(11, 30, 20, 0.92) 0%,
      rgba(11, 30, 20, 0.78) 46%,
      rgba(11, 30, 20, 0.28) 100%);
  z-index: 0;
}

.hero-slide .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 630px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.7s ease 0.12s, opacity 0.7s ease 0.12s;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(46, 125, 84, 0.35);
  border: 1px solid rgba(166, 186, 175, 0.45);
  color: #e4f2ea;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 44px;
  margin: 0 0 16px;
  color: #fff;
}

.hero-content p {
  font-size: 16px;
  color: #dce6e0;
  margin: 0;
  max-width: 570px;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 30, 20, 0.5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 30px;
  background: #fff;
}

/* STATS STRIP */
.stats-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat {
  background: var(--light);
  padding: 24px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat h3 {
  color: var(--primary);
  font-size: 30px;
  margin: 0 0 6px;
}

.stat p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

/* SECTION HEADERS */
.section {
  padding: 76px 0;
}

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

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

.section-header {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 32px;
  color: var(--text);
  margin: 0 0 12px;
}

.section-header p {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0;
}

/* ABOUT US */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  display: block;
  font-size: 14px;
  color: var(--primary-dark);
}

.about-badge span {
  font-size: 12.5px;
  color: var(--muted);
}

.about-copy .section-header {
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 15px;
  font-size: 15px;
}

.about-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.service-card {
  background: var(--surface);
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 19px;
  margin: 0 0 12px;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* INDUSTRIES & ROLES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.industry-thumb {
  height: 205px;
  overflow: hidden;
  position: relative;
}

.industry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.45s ease;
}

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

.industry-body {
  padding: 24px;
  flex: 1;
}

.industry-body h3 {
  font-size: 19px;
  margin: 0 0 12px;
  color: var(--primary-dark);
}

.role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.role-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.role-list li i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* WHY CHOOSE US */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--light);
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  transition: background 0.2s ease, transform 0.2s ease;
}

.why-card:hover {
  background: var(--surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.why-card .why-icon {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-block;
}

.why-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--text);
}

.why-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* HOW OUR PROCESS WORKS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  background: var(--surface);
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--text);
}

.process-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* CTA / COMPLIANCE & EPF DOWNLOADS */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 68px 0;
  text-align: center;
}

.cta h2 {
  font-size: 32px;
  margin: 0 0 12px;
}

.cta p {
  max-width: 680px;
  margin: 0 auto;
  color: #e2eee7;
  font-size: 15.5px;
}

.pdf-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cta .btn-doc {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.cta .btn-doc:hover {
  background: rgba(255, 255, 255, 0.25);
}

.pdf-icon {
  color: #ffd4d1;
  font-size: 17px;
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 34px;
  align-items: start;
}

.contact-info-panel {
  background: var(--primary-dark);
  color: #fff;
  padding: 34px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.contact-info-panel>p {
  margin: 0 0 26px;
  font-size: 14.5px;
  color: #d6e6dd;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 14.5px;
  color: #f4f8f6;
}

.contact-audience-box {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13.5px;
  color: #dceae2;
}

.contact-form-card {
  background: var(--surface);
  padding: 34px 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.inquiry-tabs {
  display: inline-flex;
  background: var(--light);
  padding: 5px;
  border-radius: 9px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
}

.inquiry-tab {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.inquiry-tab.active {
  background: var(--primary);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 11px 13px;
  border: 1px solid #cfd9d3;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 84, 0.14);
}

.form-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--primary-dark);
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.error {
  color: var(--danger);
}

/* SUBPAGE HERO BANNER */
.page-banner {
  background:
    linear-gradient(120deg, rgba(16, 44, 29, 0.92), rgba(46, 125, 84, 0.86)),
    url("assets/india-office.jpg") center / cover no-repeat;
  color: #fff;
  padding: 64px 0;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #d6e6dd;
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-banner h1 {
  font-size: 38px;
  margin: 0 0 12px;
}

.page-banner p {
  max-width: 700px;
  margin: 0;
  color: #e4efe8;
  font-size: 15.5px;
}

/* REGISTRATIONS PAGE */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.reg-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.reg-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.reg-card h3 {
  font-size: 16.5px;
  margin: 0 0 6px;
  color: var(--text);
}

.reg-value {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 6px;
}

/* OUR TEAM PAGE */
.team-intro-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 46px;
}

.team-intro-banner img {
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}

.team-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.team-role-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.team-card h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--text);
}

.team-lead-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 12px;
}

.team-card p:last-child {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* FOOTER */
footer {
  background: #14241c;
  color: #cfe0d6;
  padding: 56px 0 28px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

footer h4 {
  color: #fff;
  font-size: 15.5px;
  margin: 0 0 14px;
}

footer p {
  margin: 0 0 8px;
  color: #bfd2c7;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;

}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e6f0ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #9cb5a7;
}

/* MOVE TO TOP BUTTON */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17, 41, 29, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

/* RESPONSIVE */
@media (max-width: 1080px) {

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

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

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

  .nav-toggle {
    display: inline-flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 20px;
    gap: 4px;
  }

  nav.open {
    display: flex;
  }

  nav a:not(.btn)::after {
    display: none;
  }

  nav .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .about-grid,
  .contact-grid,
  .team-intro-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Keep social media links visible on mobile while hiding desktop contact details */
  .topbar {
    display: block;
    padding: 7px 0;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-inner > .topbar-items:first-child {
    display: none;
  }

  .topbar-inner > .topbar-items:last-child {
    width: 100%;
    justify-content: center;
    gap: 0;
  }

  .topbar-inner > .topbar-items:last-child > .topbar-item {
    display: none;
  }

  .topbar .social-links {
    justify-content: center;
    margin: 0 !important;
    gap: 12px;
  }

  .topbar .social-link {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .hero-slider,
  .hero-slides {
    min-height: 430px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .hero-prev {
    left: 8px;
  }

  .hero-next {
    right: 8px;
  }

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

  .section {
    padding: 54px 0;
  }

  .section-header h2,
  .cta h2,
  .page-banner h1 {
    font-size: 26px;
  }

  .services-grid,
  .industries-grid,
  .why-grid,
  .process-grid,
  .reg-grid,
  .team-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  .hero-slider,
  .hero-slides {
    min-height: 390px;
  }

  .hero-content h1 {
    font-size: 25px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-content p,
  .hero-content .hero-eyebrow,
  .hero-content .hero-buttons {
    display: none;
  }

  /* Mobile bottom CTA button */
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: var(--primary);
    color: var(--surface);
    z-index: 1000;
  }

  .mobile-cta:hover {
    background: var(--primary-dark);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-card {
    padding: 24px 20px;
  }
}

/* Added rule to set team member images to 200px square and circular */
.team-card img {
  width: 280px;
  padding-top: 20px;
  margin: 0 auto 1rem;
  display: block;
  padding: 20px;
}

/* JOB SEEKER RESUME UPLOAD */
#resumeGroup[hidden] {
  display: none !important;
}

.resume-upload-group input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px dashed #aebfb4;
  border-radius: 8px;
  cursor: pointer;
}

.resume-upload-group .file-help {
  color: var(--muted);
  font-size: 12px;
}
