html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --primary-color: #131d45;
  --text-dark: #212121;
  --text-gray: #515050;
  --text-muted: #3a3a3a;
  --bg-white: #ffffff;
  --font-heading: "Merriweather", serif;
  --font-body: "Source Sans Pro", sans-serif;
  --accent-blue: #00aaff;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0; /* Removed padding so hero goes to the top */
  box-sizing: border-box;
  background-color: var(--bg-white);
  overflow-x: hidden;
  color: var(--text-dark);
}

*,
::after,
::before {
  box-sizing: inherit;
}

section[id],
[id] {
  scroll-margin-top: 120px;
}

.navbar {
  width: 100%;
  background: transparent;
  padding: 0 270px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: none;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.navbar.is-solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
@media (max-width: 1440px) {
  .navbar {
    padding: 0 40px;
  }
}

.navbar-container {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
}

.logo-large {
  color: #fff;
  font-size: 64px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar.is-solid .logo-large {
  color: var(--text-dark);
}

.logo-small {
  color: #fff;
  font-size: 40px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar.is-solid .logo-small {
  color: var(--text-dark);
}

.logo-g {
  margin-left: 10px;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-item {
  position: relative; /* needed for ::after bridge */

  padding-bottom: 30px;
  margin-bottom: -30px; /* compensate so layout is unaffected */
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  height: 30px;
  background: transparent;
}

.nav-link {
  color: #fff;
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  position: relative;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

.navbar.is-solid .nav-link {
  color: var(--text-muted);
}

/* Underline base — always present, starts invisible */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    transform 0.25s ease,
    background-color 0.3s ease;
}

.navbar.is-solid .nav-link::after {
  background-color: #131d45;
}

/* Show line on hover (including when dropdown is open) */
.nav-link:hover::after,
.nav-item:hover > .nav-link::after {
  transform: scaleX(1);
}

/* Always show line for active page */
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-item:hover > .nav-link {
  color: #fff;
}

.navbar.is-solid .nav-link:hover,
.navbar.is-solid .nav-item:hover > .nav-link {
  color: #131d45;
}

.nav-link.active {
  color: #fff;
  font-weight: 700;
}

.navbar.is-solid .nav-link.active {
  color: #131d45;
}

.nav-link-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  opacity: 0.6;
  flex-shrink: 0;
}

.nav-item:hover > .nav-link .nav-link-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.mega-dropdown {
  position: fixed;
  top: 104px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.mega-dropdown-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  min-height: 240px;
  background: transparent;
}

.mega-left {
  flex: 1;
  padding: 40px 80px;
  display: flex;
  gap: 80px;
  border-right: none;
}

.mega-left-col {
  flex: 1;
}

.mega-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 15px 0;
  padding: 0;
}

.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  margin-left: -15px;
  width: calc(100% + 15px);
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.mega-link:hover,
.mega-link.is-active {
  color: var(--primary-color);
  background: #f5f5f5;
}

.mega-link .chevron {
  color: #eee;
  font-size: 16px;
  font-weight: 300;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.mega-link:hover .chevron,
.mega-link.is-active .chevron {
  color: var(--primary-color);
  transform: translateX(4px);
}

.mega-right {
  flex: 0 0 35%;
  background: transparent;
  padding: 40px 20px;
  border-left: none;
}

.mega-right:empty {
  display: none;
}

.mega-sub {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.mega-sub.active {
  display: flex;
  animation: megaPanelFade 0.2s ease-out forwards;
}

@keyframes megaPanelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-sub-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 15px;
}

.mega-sub-link {
  color: var(--text-gray);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.15s,
    transform 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-sub-link:hover {
  color: var(--primary-color);
  transform: translateX(8px);
  letter-spacing: 0.02em;
}

.mega-sub-empty {
  color: #ccc;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  margin-top: 10px;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.footer-main {
  width: 100%;
  background: #212121;
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.footer-container {
  width: 1377px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-brand {
  width: 430px;
  gap: 32px;
  margin-top: -40px;
}

.footer-description {
  color: #f1f1f1;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  margin: 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-text {
  color: #f1f1f1;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.footer-heading {
  color: #fff;
  font-size: 24px;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0 0 20px 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: #f1f1f1;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.footer-link a,
.contact-text a,
.footer a[href^="tel"],
.footer a[href^="mailto"] {
  color: #f1f1f1 !important;
  text-decoration: none;
}

.footer-link-underline {
  text-decoration: underline;
}

.footer-bottom {
  width: 100%;
  background: white;
  padding: 24px 0;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom-container {
  width: 1377px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 600;
}

.social-links {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 10px 0 !important;
}

.social-icon-link {
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #131d45 !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box !important;
}

.social-icon-link img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  display: block !important;
  filter: brightness(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.social-icon-link img[alt="Twitter"],
.social-icon-link img[alt="Facebook"] {
  width: 24px !important;
  height: 24px !important;
}

.social-icon-link:hover {
  background-color: #131d45 !important;
}

.social-icon-link:hover img {
  filter: brightness(0) invert(1) !important;
}

.page-hero {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #000;
}

.hero-video,
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Hero Content Animations */
.hero-slide .hero-headline,
.hero-slide .hero-tagline,
.hero-slide .hero-features,
.hero-slide .hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active .hero-headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.active .hero-tagline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero-slide.active .hero-features {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.hero-slide.active .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.hero-content {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 270px;
  box-sizing: border-box;
  text-align: left;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 25px;
  display: block;
}

.hero-title,
.hero-headline {
  color: #fff;
  font-family: var(--font-body);
  font-size: 65px;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  max-width: 950px;
  text-align: left;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 750px;
  margin-top: 20px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  margin-top: 35px;
  position: relative;
  z-index: 2;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.feature-check svg {
  width: 14px;
  height: 14px;
  stroke: #000 !important;
}

.feature-text {
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-top: 45px;
  position: relative;
  z-index: 2;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 230px;
  height: 54px;
  border-radius: 27px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-primary {
  background: #fff;
  color: #212121;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #f0f0f0;
  /* removed transform and box-shadow */
}

.btn-secondary {
  background: rgba(33, 33, 33, 0.85);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(45, 45, 45, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1440px) {
  .hero-content {
    padding: 0 60px;
  }
  .page-hero {
    height: 750px;
  }
  .hero-title,
  .hero-headline {
    font-size: 56px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 0 40px;
  }
  .page-hero {
    height: 700px;
  }
  .hero-title,
  .hero-headline {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 85vh;
    min-height: 600px;
  }
  .hero-content {
    width: 100%;
    padding: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero-title,
  .hero-headline {
    font-size: 36px;
    max-width: 100%;
  }
  .hero-features {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 30px auto 0;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
  }
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .hero-headline {
    font-size: 30px;
  }
  .feature-text {
    font-size: 15px;
  }
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar.is-solid .hamburger span {
  background-color: #131d45;
}

@media (max-width: 1350px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar-container {
    padding: 15px 0;
  }

  body {
    padding-top: 0;
  }

  .logo-large {
    font-size: 36px;
  }

  .logo-small {
    font-size: 20px;
  }

  /* Show Hamburger */
  .hamburger {
    display: flex;
  }

  /* Mobile Navigation Menu - Top Dropdown Style */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Animation state: Hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    overflow-y: auto;
    max-height: calc(100vh - 80px);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }

  .nav-links::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    border-bottom: none !important;
    position: relative;
    color: #131d45;
  }

  .nav-link.active,
  .nav-link:hover {
    color: #131d45;
  }

  /* Apply clear background for open main nav items */
  .nav-item.open > .nav-link {
    background-color: #f0f4f8;
    color: #131d45;
    font-weight: 600;
  }

  /* Completely remove desktop underlines in mobile */
  .nav-link::after,
  .nav-link.active::after,
  .nav-link:hover::after,
  .nav-item.open > .nav-link::after {
    display: none !important;
  }

  .nav-link-chevron {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }

  .nav-item.open > .nav-link .nav-link-chevron {
    transform: rotate(180deg);
  }

  /* Simplified Mobile Dropdown */
  .mega-dropdown {
    position: static;
    display: none;
    width: 100%;
    background: #fdfdfd;
    padding: 0;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-item.open > .mega-dropdown {
    display: block;
  }

  .mega-dropdown-inner {
    flex-direction: column;
    min-height: auto;
    padding: 10px 0;
  }

  .mega-left {
    width: 100%;
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .mega-left-col {
    padding: 0;
  }

  .mega-col-title {
    display: block;
    padding: 15px 35px 5px;
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
  }

  .mega-link {
    width: 100%;
    padding: 15px 35px;
    text-align: left;
    justify-content: space-between;
    font-size: 16px;
    border-radius: 0;
    margin: 0;
    border-bottom: none;
    color: #333;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
  }

  .mega-link.is-open {
    background-color: #e6ebf1;
    color: #131d45;
    font-weight: 600;
  }

  .mega-link .chevron {
    display: block;
    transition: transform 0.3s ease;
    font-size: 20px;
    color: #ccc;
  }

  .mega-link.is-open .chevron {
    transform: rotate(90deg);
    color: #131d45;
  }

  .mega-right {
    display: none; /* Panels are moved inline via JS */
  }

  .mega-sub {
    display: none;
    padding: 10px 0;
    background-color: #f6f8fb; /* Clean subtle background for nested links */
    width: 100%;
    border-left: 3px solid #131d45; /* Visual indicator for child elements */
  }

  .mega-sub.active-mobile {
    display: block;
  }

  .mega-sub-label {
    padding: 12px 45px 5px;
    color: #888;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .mega-sub-link {
    display: block;
    padding: 14px 45px;
    color: #444;
    text-decoration: none;
    font-size: 15px;
    border-bottom: none;
    transition: background 0.2s ease;
  }

  .mega-sub-link:active {
    background-color: #eee;
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Footer Responsive adjustments */
@media (max-width: 1200px) {
  .footer-container,
  .footer-bottom-container {
    width: 100%;
    padding: 0 40px;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }
  .footer-col-brand {
    width: 100%;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .logo-large {
    font-size: 32px;
  }
  .logo-small {
    font-size: 20px;
  }
  .nav-link {
    font-size: 18px;
  }
  .footer-heading {
    font-size: 20px;
  }
  .footer-description,
  .contact-text,
  .footer-link,
  .copyright {
    font-size: 14px;
    line-height: normal;
  }

  body {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .logo-large {
    font-size: 28px;
  }
  .logo-small {
    font-size: 16px;
  }
  .nav-link {
    font-size: 16px;
  }

  body {
    padding-top: 0;
  }
}

/* Hero Content Responsive Adjustments */
@media (max-width: 991px) {
  .hero-content {
    padding: 0 40px;
    align-items: center;
    text-align: center;
  }

  .hero-headline,
  .hero-title {
    text-align: center;
    font-size: 48px;
  }

  .hero-tagline {
    text-align: center;
    font-size: 18px;
  }

  .hero-eyebrow {
    text-align: center;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
  }

  .hero-headline,
  .hero-title {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .hero-eyebrow {
    font-size: 16px;
    letter-spacing: 2px;
  }
}

/* --- Blue Accent Lines for Main Section Headings --- */
.glance-heading,
.home-about-title,
.vertical-heading,
.service-heading,
.location-group-title,
.form-title {
  position: relative;
  padding-top: 24px;
}

.glance-heading::before,
.home-about-title::before,
.vertical-heading::before,
.service-heading::before,
.location-group-title::before,
.form-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 6px;
  background-color: var(--accent-blue);
}

.india-title::before {
  width: 60px;
}

/* Auto-center the line for explicitly centered containers */
.text-center .glance-heading::before,
.text-center .home-about-title::before,
.text-center .vertical-heading::before,
.text-center .service-heading::before,
.text-center .location-group-title::before,
.text-center .form-title::before {
  left: 50%;
  transform: translateX(-50%);
}

/* On mobile/tablet, some titles switch to center-aligned, so center the line too */
@media (max-width: 1024px) {
  .service-heading::before,
  .vertical-heading::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .home-about-title::before,
  .glance-heading::before,
  .vertical-heading::before,
  .service-heading::before,
  .location-group-title::before,
  .form-title::before {
    display: none;
  }

  .glance-heading,
  .home-about-title,
  .vertical-heading,
  .service-heading,
  .location-group-title,
  .form-title {
    padding-top: 0;
    font-size: 38px; /* Making titles larger on mobile as requested */
    line-height: 1.2;
  }
}
