:root {
  --brand-navy: #07111f;
  --brand-navy-2: #0d1727;
  --brand-sand: #f59e0b;
  --brand-sand-soft: #fbbf24;
  --brand-cyan: #38bdf8;
  --brand-ink: #f5f7fb;
  --brand-muted: #aebed2;
  --brand-surface: #0d1727;
  --brand-card: rgba(13, 23, 39, 0.95);
  --brand-border: rgba(255, 255, 255, 0.12);
  --brand-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  --brand-shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.14);
}

html {
  scroll-behavior: smooth;
  width: 100%;
  min-height: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #292d78;
  color: var(--brand-ink);
  overflow-x: hidden;
}

@keyframes aboutFadeCarousel {
  0%, 100% { opacity: 0; transform: scale(1.04); }
  12%, 38% { opacity: 1; transform: scale(1); }
  50%, 88% { opacity: 0; transform: scale(1.04); }
}

.container {
  width: 100%;
  max-width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

main {
  overflow-x: hidden;
}

.section {
  padding: 3.25rem 0;
}

.section-sm {
  padding: 2.5rem 0;
}

#about {
  padding-bottom: 10mm;
}

#services {
  padding-top: 0;
  padding-bottom: 10mm;
}

#gallery {
  padding-top: 0;
  padding-bottom: 10mm;
}

#careers {
  padding-top: 0;
  padding-bottom: 10mm;
}

#contact {
  padding-top: 0;
}

.bg-white {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.98) 0%, rgba(10, 32, 52, 0.98) 100%);
  color: #fff;
}

.bg-white .feature-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Navbar */
.navbar {
  background: rgba(41, 45, 120, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  height: 122px;
  padding: 0;
}

@media (max-width: 991.98px) {
  .navbar {
    height: auto;
    padding: 0.9rem 0;
  }
}

.navbar > .container {
  position: relative;
  border: 1px solid transparent;
  border-radius: 1rem;
  background:
    linear-gradient(transparent, transparent) padding-box,
    linear-gradient(110deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.65)) border-box;
}

.navbar.scrolled {
  box-shadow: 0 10px 25px rgba(7, 26, 45, 0.18);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.old-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.old-brand .brand-logo {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: auto;
  max-width: 180px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.brand-name {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.5rem;
  padding-bottom: 0.2rem;
  margin-left: -0.35rem;
  text-align: center;
  white-space: normal;
}

.brand-line {
  position: relative;
  display: block;
  transform: translateX(-2px);
  color: #fff;
  white-space: nowrap;
}

.brand-line .brand-auto,
.brand-line .brand-care {
  display: inline-block;
}

.brand-auto {
  font-family: "Magneto", cursive;
  color: #b8860b;
}

.brand-care {
  font-family: "Mongolian Baiti", serif;
  color: #061a3d;
}

.brand-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffbf69 0%, #ff8a3d 35%, #ff5e1a 100%);
}

.navbar-brand span {
  display: block;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.75rem;
}

[dir="rtl"] .header-actions {
  margin-left: 0;
  margin-right: 0.75rem;
}

[dir="rtl"] .nav-search-form {
  margin-left: 0;
  margin-right: 0.5rem;
}

[dir="rtl"] .old-brand .brand-name {
  margin-left: 0;
  margin-right: -0.35rem;
}

.lang-toggle {
  width: 150px;
  height: 48px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7fb;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-sand), #e6a33d);
  color: var(--brand-navy);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(244, 181, 86, 0.4);
}

.navbar-brand-text {
  line-height: 1;
  font-size: 0.8rem;
}

.navbar-nav {
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.5rem 0.9rem !important;
  border-radius: 999px;
  transition: all 0.2s ease;
  background: transparent;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: transparent;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #fff !important;
  background: transparent;
  box-shadow: none;
}

.navbar .btn-primary {
  margin-left: 0.5rem;
  width: 129px;
  height: 48px;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-search-form {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}

.nav-search-form input {
  width: 220px;
  height: 48px;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
  font-weight: 500;
}

.nav-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.navbar .btn-primary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  box-shadow: none;
}

.navbar .btn-primary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.7rem;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-outline-light {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover,
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: rgba(7, 17, 31, 0.18);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 7s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 45, 0.62) 0%, rgba(7, 26, 45, 0.42) 38%, rgba(7, 26, 45, 0.2) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
  padding: 5rem 0 4rem;
  line-height: 0.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  transform: translateY(-3mm);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffbf69 0%, #ff8a3d 35%, #ff5e1a 100%);
}

.hero h1 {
  font-family: "Bookman Old Style", Bookman, serif;
  font-size: 35px;
  line-height: 0.1;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 1.1rem;
  font-weight: 800;
  word-spacing: 0.03em;
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: normal;
  max-width: 685px;
  text-align: justify;
  transform: translateY(3mm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--brand-shadow);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 0.15rem;
}

.stat-box span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Cards and layout */
.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

#careers .section-heading h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
}

#careers .section-heading .feature-badge {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

#services .services-copy {
  width: 100%;
  max-width: none;
  margin-top: 1mm;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-align: justify;
}

#services .services-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  height: 180px;
}

#services .services-overview-copy {
  min-width: 0;
}

#services .repair-layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#services .repair-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  height: 80%;
}

#services .repair-icons img {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 991.98px) {
  #services .services-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
  }

  #services .repair-layout {
    height: auto;
    aspect-ratio: 2.8 / 1;
    min-height: 170px;
    max-height: 220px;
  }
}

@media (max-width: 767.98px) {
  #services .repair-layout {
    aspect-ratio: 2.4 / 1;
    min-height: 150px;
  }
}

.section-heading p {
  color: var(--brand-muted);
  max-width: 640px;
  margin: 0;
  line-height: 1.7;
}

.card-surface {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  box-shadow: none;
}

.service-card {
  padding: 1.6rem 1.2rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--brand-shadow);
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border: 0;
}

.service-icon > .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.service-card h3,
.feature-card h3,
.gallery-card h3,
.job-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-align: center;
}

.service-card h3 {
  text-align: left;
}

.service-card p,
.feature-card p,
.job-card p,
.gallery-card p {
  color: #fff;
  line-height: 1.7;
  margin-bottom: 0;
}

/* About */
.about-panel,
.contact-card,
.job-card,
.gallery-card,
.feature-card {
  padding: 1.5rem;
}

#about .row {
  align-items: stretch;
  height: 470px;
}

#about .col-lg-6 {
  display: flex;
}

.about-panel {
  width: 100%;
  height: 100%;
  min-height: 453px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#about .about-image-panel {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 453px;
  aspect-ratio: auto;
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.about-panel h2 {
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  margin-top: 1mm !important;
}

.about-panel .list-check li {
  font-weight: 400;
}

.about-copy {
  color: #fff;
  font-weight: 400;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 3mm;
}

.about-panel .list-check {
  margin-top: 0;
}

.about-image-carousel {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 991.98px) {
  #about .row {
    height: auto;
  }

  .about-panel {
    min-height: 360px;
  }

  #about .about-image-panel {
    min-height: 360px;
  }
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation: aboutFadeCarousel 18s ease-in-out infinite;
}

.about-slide-1 {
  background-image: url('../images/parking2.jpg');
}

.about-slide-2 {
  background-image: url('../images/parking1.jpg');
  animation-delay: 4.5s;
}

.about-slide-3 {
  background-image: url('../images/workshop10.jpg');
  animation-delay: 9s;
}

.about-slide-4 {
  background-image: url('../images/workshop12.jpg');
  animation-delay: 13.5s;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.list-check li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  color: var(--brand-ink);
  font-weight: 600;
}

.list-check li::before {
  content: "✓";
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(76, 184, 110, 0.14);
  color: #1f8f57;
  font-weight: 800;
}

/* Features */
.feature-card {
  background: rgba(255, 255, 255, 0.06);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: transparent;
  border: 0;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

#services .section-heading .feature-badge {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  justify-content: flex-start;
  text-align: left;
  width: 537px;
  max-width: none;
  height: 43px;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  #services .section-heading .feature-badge {
    width: 100%;
  }
}

#gallery .section-heading .feature-badge {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  justify-content: flex-start;
  text-align: left;
  width: 537px;
  max-width: 100%;
  height: 37px;
}

#gallery .section-heading h2 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  width: 537px;
  max-width: 100%;
  height: 19px;
  box-sizing: border-box;
}

.about-panel .feature-badge {
  font-weight: 700;
}

.feature-badge::before,
.feature-badge::after {
  content: "";
  flex: 0 0 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #fff, rgba(255, 255, 255, 0.2));
}

.about-panel .feature-badge::before,
.about-panel .feature-badge::after {
  flex: 0 0 100px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #fff, rgba(255, 255, 255, 0.2));
}

/* Gallery */
.gallery-card {
  overflow: hidden;
  position: relative;
  padding: 0;
  background: #fff;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
  cursor: pointer;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: contrast(1.06);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 45, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.gallery-modal.show {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 980px;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 60px rgba(7, 26, 45, 0.32);
}

.gallery-modal-content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  transition: transform 0.15s ease;
  cursor: zoom-in;
}

.gallery-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(7, 26, 45, 0.8);
  color: #fff;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  font-size: 1.4rem;
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-navy);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.5rem;
}

.gallery-modal-prev {
  left: 1rem;
}

.gallery-modal-next {
  right: 1rem;
}

/* Careers */
.careers-hero {
  position: relative;
  background: linear-gradient(120deg, rgba(7, 26, 45, 0.92), rgba(10, 38, 64, 0.72)),
    url('../images/workshop10.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.careers-hero .container {
  position: relative;
  z-index: 1;
}

.job-card {
  height: 100%;
  text-align: center;
}

.job-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-navy);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 auto 1rem;
  text-align: center;
}

/* Contact */
#contact {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

#contact .section-heading .feature-badge,
#contact .section-heading h2,
#contact .contact-card h3,
#contact .contact-info-item h4,
#contact .contact-info-item p,
#contact .contact-info-item a,
#contact .form-label {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.contact-card h3 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

#contact .section-heading .feature-badge {
  font-size: 18px;
  font-weight: 700;
}

#contact .section-heading h2 {
  font-size: 18px;
  font-weight: 400;
}

.contact-card {
  background: var(--brand-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

#contact .row.g-4.align-items-start {
  align-items: stretch;
}

#contact .row.g-4.align-items-start > [class*="col-"] {
  display: flex;
}

#contact .row.g-4.align-items-start > [class*="col-"] > .contact-card {
  width: 100%;
}

#contact .col-lg-5 > .contact-card {
  height: 100%;
  min-height: 547px;
}

#contact .col-lg-7 > .contact-card {
  width: 100%;
  min-height: 547px;
  max-width: 100%;
  height: 100%;
  padding: 1.1rem 1.1rem 0.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 0;
}

.contact-form .row.g-3 {
  --bs-gutter-y: 0.7rem;
  --bs-gutter-x: 0.9rem;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-info-merged {
  margin-top: 1rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  width: 400px;
  height: 60px;
  padding: 1rem 1.1rem;
  background: rgba(11, 22, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.merged-item {
  width: 100%;
  height: auto;
  min-height: 180px;
  padding: 1rem 1.1rem;
  align-items: stretch;
}

.contact-details-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.detail-row p,
.detail-row a {
  margin: 0;
  color: rgba(245, 247, 251, 0.82);
  line-height: 1.4;
}

.contact-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  color: #f5f7fb;
}

.contact-info-item p,
.contact-info-item a {
  margin: 0;
  color: rgba(245, 247, 251, 0.82);
}

.map-card {
  margin-top: 1.1rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  height: 240px;
  flex: 1 1 auto;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 240px;
  background: #0d1727;
  filter: grayscale(0.2) contrast(1.15) brightness(0.8) saturate(0.8);
  box-shadow: none;
}

.form-floating > label {
  color: var(--brand-muted);
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  min-height: 3.4rem;
  padding: 1rem 0.9rem;
  color: #fff;
}

.form-control {
  color: #000;
  height: 40px;
  min-height: 40px;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  overflow: hidden;
}

.phone-country-select {
  flex: 0 0 auto;
  width: 96px;
  min-width: 96px;
  height: 100%;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  padding: 0 1.7rem 0 0.8rem;
  font-size: 0.95rem;
  font-weight: 400;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 12px 12px;
  cursor: pointer;
  outline: none;
}

.phone-country-select option {
  background: #0d1727;
  color: #fff;
}

.phone-number-input {
  flex: 1 1 auto;
  height: 100%;
  min-height: 40px;
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0.9rem;
}

.phone-number-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.phone-number-input:focus,
.phone-country-select:focus {
  outline: none;
  box-shadow: none !important;
}

.phone-input-wrap.is-invalid,
.phone-input-wrap:has(.phone-number-input.is-invalid),
.phone-input-wrap:has(.phone-country-select.is-invalid) {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.phone-input-wrap.is-invalid .phone-country-select,
.phone-input-wrap:has(.phone-number-input.is-invalid) .phone-country-select,
.phone-input-wrap:has(.phone-country-select.is-invalid) .phone-country-select {
  border-right-color: #dc3545;
}

.phone-number-input.is-invalid {
  border: none !important;
  background: rgba(220, 53, 69, 0.04) !important;
  box-shadow: inset 0 0 0 1px #dc3545 !important;
}

.form-select {
  background-color: transparent;
  color: #fff;
  height: 40px;
  min-height: 40px;
  width: 100%;
  max-width: 100%;
  font-size: 0.9rem;
  line-height: 1.2;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

#homeSubject {
  width: 100%;
  max-width: 100%;
}

.form-select option {
  background-color: var(--brand-card);
  color: #fff;
  font-size: 0.9rem;
}

.attachment-box {
  display: block;
}

.attachment-input {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  color: #fff;
  height: 40px;
  min-height: 40px;
  line-height: 1;
}

.attachment-input::file-selector-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 0.7rem;
  padding: 0;
  margin-right: 0.7rem;
  cursor: pointer;
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-8.49 8.49a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.2a2 2 0 1 1-2.83-2.83l8.49-8.49'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 1rem 1rem;
  color: transparent;
  box-sizing: border-box;
  vertical-align: middle;
  transform: none;
  flex-shrink: 0;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.08);
  color: #fff;
}

.form-control:focus {
  color: #000;
}

textarea.form-control {
  min-height: 150px;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.required-label::after {
  content: "*";
  color: #ff5f6d;
  margin-left: 0.25rem;
  font-weight: 700;
}

.required-star {
  color: #ff5f6d;
  font-weight: 700;
  margin-left: 0.15rem;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.upload-form .btn,
.contact-form .btn {
  margin-top: 0;
}

/* Alerts */
.alert {
  border-radius: 1rem;
  border: none;
  padding: 1rem 1.1rem;
  box-shadow: var(--brand-shadow-soft);
}

.alert-success {
  background: rgba(34, 197, 94, 0.12);
  color: #126a3d;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #9f1239;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #8a5a00;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #071a2d 0%, #112a44 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: #fff;
  box-shadow: var(--brand-shadow);
}

.cta-banner h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 2.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Footer */
.site-footer {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
  text-align: center;
  margin: 0;
  font-size: 0.95rem;
}

/* Reveal effects */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Spinner */
.submit-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(7, 26, 45, 0.2);
  border-top-color: var(--brand-navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(7, 26, 45, 0.98);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 1rem;
  }

  .navbar-nav {
    align-items: flex-start;
    gap: 0.4rem;
  }

  .navbar .btn-primary {
    margin: 0.5rem 0 0;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 4rem;
  }

  #contact .row.g-4.align-items-start {
    display: grid;
    grid-template-columns: 1fr;
  }

  #contact .col-lg-7 > .contact-card {
    width: 100%;
    min-height: 0;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    gap: 0.45rem;
  }

  .old-brand .brand-logo {
    max-width: 140px;
    height: 56px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 3rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 7vw, 3rem);
    line-height: 1.05;
  }

  .hero p {
    font-size: 1rem;
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions > a {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

  .cta-banner {
    padding: 2rem 1.3rem;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 0.75rem;
  }

  .contact-info-item {
    padding: 0.9rem 0.85rem;
  }

  .map-card {
    height: 220px;
  }
}
