/**
 * Custom theme overrides for the public website.
 * Loaded after `assets/css/main.css` so it can safely override the template defaults.
 */

:root {
  --default-font: "Manrope", sans-serif;
  --heading-font: "Space Grotesk", sans-serif;
  --nav-font: "Manrope", sans-serif;

  --background-color: #f4f7fb;
  --surface-color: #ffffff;
  --default-color: #4b5563;
  --heading-color: #0f172a;
  --accent-color: #0f766e;
  --accent-color-2: #f97316;
  --contrast-color: #ffffff;

  --nav-color: rgba(15, 23, 42, 0.78);
  --nav-hover-color: #0f766e;
  --nav-mobile-background-color: rgba(255, 255, 255, 0.98);
  --nav-dropdown-background-color: rgba(255, 255, 255, 0.98);
  --nav-dropdown-color: rgba(15, 23, 42, 0.88);
  --nav-dropdown-hover-color: #0f766e;

  --bs-body-bg: var(--background-color);
  --bs-body-color: var(--default-color);
  --bs-primary: var(--accent-color);
  --bs-primary-rgb: 15, 118, 110;
  --bs-link-color: var(--accent-color);
  --bs-link-hover-color: #115e59;
  --bs-border-color: rgba(15, 23, 42, 0.1);
  --bs-border-radius: 1rem;
  --bs-border-radius-sm: 0.75rem;
  --bs-border-radius-lg: 1.5rem;
}

body {
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(15, 118, 110, 0.08), transparent 60%),
    radial-gradient(680px 360px at 100% 12%, rgba(249, 115, 22, 0.07), transparent 55%),
    var(--background-color);
  color: var(--default-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  letter-spacing: -0.03em;
}

p {
  line-height: 1.7;
}

.section {
  padding: 88px 0;
}

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

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  margin-top: 16px;
}

.section-title p,
.section-copy {
  color: #667085;
  font-size: 1.02rem;
  max-width: 720px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.05);
}

.content-pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
}

.header {
  --background-color: rgba(255, 255, 255, 0.72) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.84) !important;
}

.header .container {
  min-height: 78px;
}

.header .logo .sitename,
.header .logo h1 {
  color: var(--heading-color) !important;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.header .header-social-links a {
  color: rgba(15, 23, 42, 0.52);
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header-actions {
  flex-shrink: 0;
}

.navmenu a {
  color: var(--nav-color) !important;
  font-weight: 700 !important;
  font-size: 0.96rem !important;
}

.navmenu a.active,
.navmenu a:hover {
  color: var(--nav-hover-color) !important;
}

.btn,
.btn-get-started {
  border-radius: 999px !important;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
}

.btn-primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--accent-color), #14b8a6) !important;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  box-shadow: 0 22px 46px rgba(15, 118, 110, 0.28);
}

.btn-outline-primary {
  border: 1.5px solid rgba(15, 118, 110, 0.22) !important;
  color: var(--heading-color) !important;
  background: rgba(255, 255, 255, 0.7);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  border-color: rgba(15, 118, 110, 0.38) !important;
  color: var(--accent-color) !important;
  background: rgba(15, 118, 110, 0.06);
}

.card,
.service-item {
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover,
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12) !important;
}

.hero-home {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 92px;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 16% 18%, rgba(15, 118, 110, 0.16), transparent 60%),
    radial-gradient(560px 320px at 82% 16%, rgba(249, 115, 22, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.36));
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 0.98;
  max-width: 12ch;
}

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

.hero-copy {
  font-size: 1.08rem;
  color: #5b6473;
  max-width: 58ch;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.hero-metric {
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  backdrop-filter: blur(8px);
}

.hero-metric strong {
  display: block;
  color: var(--heading-color);
  font-size: 1.45rem;
  line-height: 1;
}

.hero-metric span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: #667085;
}

.hero-showcase {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 26px;
}

.hero-showcase-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
}

.hero-showcase-main {
  padding: 28px;
  text-align: left;
}

.hero-showcase-main h3 {
  font-size: 2rem;
  margin: 8px 0 10px;
}

.hero-showcase-main p {
  margin-bottom: 24px;
  color: #667085;
}

.hero-showcase-main img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.showcase-kicker,
.panel-label,
.mini-label {
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-showcase-floating {
  position: absolute;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 16px 18px;
}

.hero-showcase-top {
  top: 0;
  right: -10px;
  flex-direction: column;
  min-width: 170px;
}

.hero-showcase-bottom {
  left: -10px;
  bottom: 8px;
  align-items: center;
}

.hero-showcase-bottom i {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-color);
  font-size: 1.2rem;
}

.hero-showcase-bottom span {
  display: block;
  color: #667085;
  font-size: 0.9rem;
}

.quick-trust {
  padding-top: 12px;
}

.quick-trust-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 18px;
}

.trust-panel,
.trust-stat {
  padding: 26px 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.06);
}

.trust-panel h3 {
  margin: 10px 0 0;
  font-size: 1.6rem;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 100%;
}

.trust-stat i {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(249, 115, 22, 0.14));
  color: var(--heading-color);
  font-size: 1.25rem;
}

.trust-stat span {
  color: var(--heading-color);
  font-size: 1.02rem;
  font-weight: 700;
}

.about-visual {
  position: relative;
  padding-right: 44px;
}

.about-visual img {
  border-radius: 32px !important;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

.about-visual-card {
  position: absolute;
  right: 0;
  bottom: 28px;
  max-width: 250px;
  padding: 20px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a, #1f2937);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22);
}

.about-visual-card span {
  display: block;
  margin-bottom: 8px;
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-visual-card strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-list-item i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-color);
  font-size: 1rem;
}

.feature-list-item strong {
  color: var(--heading-color);
  display: block;
  margin-bottom: 4px;
}

.feature-list-item p {
  margin: 0;
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-catalog-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 253, 0.96));
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.service-catalog-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), transparent 68%);
}

.service-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.service-catalog-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(249, 115, 22, 0.16));
  color: var(--heading-color);
  font-size: 1.35rem;
}

.service-catalog-number {
  color: rgba(15, 23, 42, 0.3);
  font-size: 1.6rem;
  font-weight: 800;
}

.service-catalog-card h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.service-catalog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.service-catalog-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #566273;
}

.service-catalog-list i {
  color: var(--accent-color);
}

.featured-service-card {
  position: relative;
  padding: 34px 28px;
  background: #ffffff;
  overflow: hidden;
}

.featured-service-card .icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.featured-service-card h3 {
  max-width: 80%;
  margin-bottom: 12px;
}

.service-card-index {
  position: absolute;
  top: 28px;
  right: 26px;
  color: rgba(15, 23, 42, 0.16);
  font-size: 2rem;
  font-weight: 800;
}

.featured-service-card .readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--heading-color);
  font-weight: 700;
}

.project-card img,
.blog-card img {
  height: 230px;
  object-fit: cover;
}

.project-card .card-body,
.blog-card .card-body,
.pricing-preview-card .card-body,
.value-card .card-body {
  padding: 28px;
}

.project-card .card-title,
.blog-card .card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.value-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.value-card .card-title {
  margin-bottom: 12px;
}

.value-card .card-title i {
  color: var(--accent-color);
}

.testimonial-card {
  max-width: 840px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff, #f9fbfd);
}

.testimonial-card p {
  font-size: 1.08rem;
  color: #475467;
}

.testimonial-stars {
  color: #f59e0b;
  display: flex;
  gap: 6px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 7%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.8);
  background-size: 55%;
}

.client-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.pricing-preview-card {
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
}

.pricing-preview-card.is-featured {
  background: linear-gradient(180deg, #0f172a, #111827);
}

.pricing-preview-card.is-featured h3,
.pricing-preview-card.is-featured p,
.pricing-preview-card.is-featured .pricing-value strong,
.pricing-preview-card.is-featured .pricing-value span {
  color: #ffffff;
}

.pricing-preview-card h3 {
  font-size: 1.4rem;
  margin-top: 6px;
  margin-bottom: 16px;
}

.pricing-value {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.pricing-value strong {
  color: var(--heading-color);
  font-size: 2.3rem;
  line-height: 1;
}

.pricing-value span {
  color: #667085;
  margin-bottom: 4px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #134e4a);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: auto -100px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
}

.cta-panel .card-body {
  position: relative;
  z-index: 1;
}

.cta-panel .eyebrow-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #99f6e4;
  border-color: rgba(255, 255, 255, 0.12);
}

.cta-panel h3,
.cta-panel p {
  color: #ffffff;
}

.footer {
  --background-color: #07131d;
  --default-color: rgba(226, 232, 240, 0.82);
  --heading-color: #ffffff;
  --accent-color: #99f6e4;
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(15, 118, 110, 0.22), transparent 55%),
    radial-gradient(700px 360px at 85% 10%, rgba(249, 115, 22, 0.12), transparent 55%),
    #07131d;
}

.footer .sitename {
  font-family: var(--heading-font);
  font-size: 1.5rem;
}

.footer a {
  color: rgba(226, 232, 240, 0.88);
}

.footer a:hover {
  color: #ffffff;
}

.footer-top {
  padding-bottom: 1.5rem;
}

.footer-shell {
  padding: 2rem 0 0;
}

.footer-brand-panel,
.footer-links-panel,
.footer-newsletter-panel {
  height: 100%;
  padding: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.28));
  box-shadow: 0 22px 50px rgba(2, 8, 23, 0.22);
  backdrop-filter: blur(14px);
}

.footer-brand {
  gap: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.96);
}

.footer-brand .sitename {
  margin-bottom: 0.15rem;
}

.footer-brand-tagline {
  display: block;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-summary {
  margin: 0 0 1.5rem;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.8;
}

.footer-contact-list {
  display: grid;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(226, 232, 240, 0.8);
}

.footer-contact-item i {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.2rem;
  border-radius: 999px;
  color: #99f6e4;
  background: rgba(153, 246, 228, 0.12);
}

.footer-contact-item a,
.footer-contact-item span {
  line-height: 1.7;
}

.footer .social-links {
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  height: 100%;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.8rem;
}

.footer-links a {
  color: rgba(226, 232, 240, 0.76);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: #99f6e4;
  background: rgba(153, 246, 228, 0.12);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-newsletter-panel h4 {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

.footer-newsletter-panel p {
  margin-bottom: 1.35rem;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.75;
}

.footer-subscribe-form {
  display: grid;
  gap: 0.9rem;
}

.footer-subscribe-form .form-control {
  min-height: 56px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

.footer-subscribe-form .btn {
  min-height: 56px;
  width: 100%;
}

.footer-bottom {
  padding-top: 0.4rem;
}

.footer-bottom p {
  color: rgba(226, 232, 240, 0.72);
}

.footer-bottom-links {
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.95rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.form-control,
.form-select {
  min-height: 50px;
  border-radius: 16px;
  border-color: rgba(15, 23, 42, 0.1);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.12);
}

.scroll-top {
  background: linear-gradient(135deg, var(--accent-color), #14b8a6) !important;
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.26);
}

@media (max-width: 1199px) {
  .quick-trust-grid,
  .service-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header .container {
    gap: 12px;
  }

  .header .logo .sitename,
  .header .logo h1 {
    font-size: 1.45rem;
  }

  .header-actions .btn {
    padding: 0.78rem 1.15rem;
  }

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

  .navmenu {
    display: none;
    margin-left: auto;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    padding: 0;
    z-index: 9997;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .navmenu ul {
    list-style: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: min(86vw, 360px);
    height: 100vh;
    margin: 0;
    padding: 86px 18px 24px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #f8fbfc, #ffffff);
    box-shadow: -18px 0 44px rgba(15, 23, 42, 0.16);
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform 0.28s ease;
  }

  .navmenu li {
    width: 100%;
  }

  .navmenu a,
  .navmenu a:focus {
    width: 100%;
    border-radius: 16px;
    justify-content: flex-start;
    color: var(--heading-color) !important;
    background: rgba(15, 23, 42, 0.02);
    min-height: 52px;
    padding: 14px 18px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
  }

  .navmenu a:hover,
  .navmenu a.active,
  .navmenu a:focus.active {
    background: rgba(15, 118, 110, 0.08);
    color: var(--accent-color) !important;
  }

  .mobile-nav-active .navmenu {
    display: block;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-active .navmenu > ul {
    transform: translateX(0);
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    color: var(--heading-color);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
    z-index: 9999;
  }

  .hero-showcase-top,
  .hero-showcase-bottom {
    position: static;
    margin-top: 18px;
  }

  .hero-showcase {
    padding: 0;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 72px 0;
  }

  .header {
    padding: 12px 0;
  }

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

  .hero-title,
  .section-title h2 {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 4.2rem);
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .about-visual {
    padding-right: 0;
  }

  .about-visual-card {
    position: static;
    max-width: none;
    margin-top: 18px;
  }

  .header-actions .btn {
    display: none;
  }

  .header .container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: initial !important;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .header .logo {
    order: initial;
    display: block !important;
    flex: none;
    width: 100%;
    min-width: 0;
    margin-right: 0 !important;
  }

  .header-actions {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    position: relative;
    order: initial;
    justify-self: end;
    z-index: 9998;
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 0;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--heading-color);
    font-size: 1.4rem;
  }

  .navmenu ul {
    border: 0;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    box-shadow: -18px 0 44px rgba(15, 23, 42, 0.16);
  }

  .navmenu a,
  .navmenu a:focus {
    min-height: 52px;
  }

  .navmenu li:last-child a {
    border-bottom: 0;
  }

  .navmenu a:hover,
  .navmenu a.active,
  .navmenu a:focus.active {
    background: rgba(15, 118, 110, 0.08);
    color: var(--accent-color) !important;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

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

  .quick-trust-grid,
  .service-catalog-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    justify-content: center;
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-home {
    padding-top: 82px;
    padding-bottom: 56px;
  }

  .hero-showcase-main h3 {
    font-size: 1.5rem;
  }

  .hero-showcase-top,
  .hero-showcase-bottom {
    min-width: 0;
  }

  .hero-showcase-bottom {
    text-align: left;
  }

  .hero-showcase-main,
  .service-catalog-card,
  .featured-service-card,
  .project-card .card-body,
  .blog-card .card-body,
  .pricing-preview-card .card-body,
  .value-card .card-body {
    padding: 22px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .pricing-value {
    flex-wrap: wrap;
    align-items: baseline;
  }

  .pricing-value strong {
    font-size: 1.95rem;
  }

  .featured-service-card h3 {
    max-width: none;
  }

  .service-card-index {
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
  }

  .trust-panel,
  .trust-stat,
  .hero-metric,
  .client-card {
    border-radius: 22px;
  }

  .footer-top .row > [class*="col-"] {
    text-align: left;
  }

  .footer-brand-panel,
  .footer-links-panel,
  .footer-newsletter-panel {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .footer-brand {
    align-items: flex-start !important;
  }

  .footer-brand img {
    width: 50px;
    height: 50px;
  }

  .footer-newsletter-panel h4 {
    font-size: 1.35rem;
  }
}

@media (max-width: 575px) {
  .header .container {
    min-height: 64px;
  }

  .mobile-nav-toggle {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .navmenu ul {
    width: 100%;
    max-width: 100%;
    padding: 84px 14px 20px;
  }

  .header .logo .sitename,
  .header .logo h1 {
    max-width: none;
    font-size: 1.15rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
  }

  .eyebrow-badge {
    font-size: 0.7rem;
    padding: 7px 12px;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.02;
  }

  .hero-copy,
  .section-title p,
  .section-copy,
  .testimonial-card p {
    font-size: 0.96rem;
  }

  .hero-showcase-main,
  .service-catalog-card,
  .featured-service-card,
  .project-card .card-body,
  .blog-card .card-body,
  .pricing-preview-card .card-body,
  .value-card .card-body,
  .testimonial-card .card-body,
  .cta-panel .card-body {
    padding: 18px !important;
  }

  .service-catalog-head {
    align-items: flex-start;
  }

  .service-catalog-number {
    font-size: 1.25rem;
  }

  .service-catalog-card h3,
  .pricing-preview-card h3,
  .project-card .card-title,
  .blog-card .card-title {
    font-size: 1.15rem;
  }

  .project-card img,
  .blog-card img {
    height: 200px;
  }

  .about-visual-card strong {
    font-size: 0.98rem;
  }

  .footer .social-links {
    gap: 12px;
  }

  .footer-bottom-links {
    gap: 0.85rem 1rem;
  }
}
