:root {
  --brand-navy: #062b60;
  --brand-navy-2: #0b3772;
  --brand-yellow: #f7c61f;
  --bg-soft: #f3f5f8;
  --text-main: #1f2a37;
  --text-muted: #5c6b7c;
  --white: #ffffff;
  --shadow-soft: 0 18px 40px rgba(8, 37, 83, 0.16);
  --radius-xl: 18px;
  --radius-lg: 12px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  overflow-x: hidden;
}

main,
section {
  max-width: 100%;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  color: var(--brand-navy);
}

p {
  color: var(--text-muted);
}

.site-header {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(6, 43, 96, 0.08);
}

.top-contact-bar {
  background: #21489c;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.top-contact-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: 0.55rem 0;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.top-contact-link:hover {
  color: #ffffff;
}

.top-contact-link i {
  font-size: 0.95rem;
}

.brand-text {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.08rem;
  color: var(--brand-navy);
  letter-spacing: 0.2px;
}

.brand-logo {
  height: 72px;
  width: auto;
  display: block;
}

.site-header .navbar {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.nav-link {
  color: #32435c;
  font-weight: 600;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-navy);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  margin: auto;
  width: 44px;
  height: 2px;
  background: var(--brand-yellow);
}

.hero-section {
  min-height: 92vh;
  padding: 10rem 0 4rem;
  background-image: url("../img/bus-4.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(247, 198, 31, 0.22), transparent 38%),
    linear-gradient(110deg, rgba(6, 33, 74, 0.9), rgba(7, 36, 78, 0.64));
}

.badge-pill {
  display: inline-block;
  background: var(--brand-yellow);
  color: #3b2f07;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.48rem 0.78rem;
}

.hero-title {
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  color: var(--white);
  line-height: 1.03;
  font-weight: 800;
}

.text-accent {
  color: var(--brand-yellow);
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 1rem;
}

.btn-accent {
  background: var(--brand-yellow);
  color: #2f2c13;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.67rem 1.15rem;
  border: 0;
}

.btn-accent:hover {
  background: #ffd946;
  color: #2f2c13;
}

.fleet-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.fleet-card:hover {
  transform: translateY(-6px);
}

.fleet-card img {
  width: 100%;
  height: 335px;
  object-fit: cover;
  object-position: center 72%;
  display: block;
}

.fleet-card-body {
  padding: 0.95rem 1rem 1.2rem;
}

.fleet-card-body small {
  color: #78889c;
  display: block;
  letter-spacing: 0.06em;
}

.fleet-card-body h3 {
  margin: 0.25rem 0 0;
  font-size: 1.06rem;
}

.fleet-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-yellow);
  color: var(--brand-navy);
}

.section-pad {
  padding: 5.6rem 0;
}

.bg-soft {
  background: var(--bg-soft);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  max-width: 650px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid #e7ebf2;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  box-shadow: 0 12px 24px rgba(10, 45, 98, 0.06);
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7faff 0%, #edf3fb 100%);
  color: var(--brand-navy);
  border: 1px solid #dce6f3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  margin-bottom: 0.95rem;
}

.icon-wrap i {
  font-size: 1.2rem;
}

.service-card h3 {
  font-size: 1.23rem;
  margin-bottom: 0.5rem;
}

.service-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
}

.service-card li {
  color: #495a70;
  margin-bottom: 0.3rem;
}

.advantages-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.advantage-card {
  background: #ffffff;
  border: 1px solid #e5ecf6;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: 0 12px 24px rgba(10, 45, 98, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 45, 98, 0.12);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7faff 0%, #edf3fb 100%);
  color: var(--brand-navy);
  border: 1px solid #dce6f3;
  margin-bottom: 0.9rem;
}

.advantage-icon i {
  font-size: 1.2rem;
}

.advantage-card h3 {
  font-size: 1.16rem;
  margin-bottom: 0.45rem;
}

.advantage-card p {
  margin-bottom: 0;
}

.vip-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.vip-copy-card {
  background: #ffffff;
  border: 1px solid #e4ebf5;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 28px rgba(10, 45, 98, 0.08);
  padding: 1.2rem 1.2rem 1.1rem;
}

.vip-copy-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.55rem;
}

.vip-copy-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
}

.vip-copy-card li {
  color: #495a70;
  margin-bottom: 0.35rem;
}

.vip-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.vip-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 66%;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 26px rgba(10, 45, 98, 0.12);
}

.vip-gallery img:first-child {
  object-position: center 72%;
}

.vip-gallery img.vip-left {
  object-position: center 96%;
}

.vip-gallery img.gallery-priv-3 {
  object-position: center 78%;
}

.vip-gallery img.gallery-bus-9 {
  object-position: center 75%;
}

.about-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 340px;
}

.stat-card {
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card h3 {
  color: var(--brand-yellow);
  font-size: 2rem;
  margin: 0;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.about-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
}

.quote {
  border-left: 4px solid var(--brand-yellow);
  padding-left: 1rem;
  font-style: italic;
}

.about-copy {
  margin-top: 0.8rem;
}

.about-point {
  background: #f6f9ff;
  border: 1px solid #e2eaf7;
  border-radius: 11px;
  padding: 0.7rem 0.8rem;
  font-weight: 600;
  color: #2f476c;
}

.about-point i {
  color: #f0bb16;
  margin-right: 0.35rem;
}

.contact-shell {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-info-panel {
  background: linear-gradient(165deg, var(--brand-navy), #03214d);
  color: var(--white);
  padding: 2rem 1.6rem;
}

.contact-info-panel h2 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem;
  border-radius: 11px;
  margin-top: 0.85rem;
}

.contact-item i {
  color: var(--brand-yellow);
}

.contact-item small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.contact-item strong {
  color: var(--white);
  font-size: 0.95rem;
}

.contact-item strong a {
  color: inherit;
  text-decoration: none;
}

.contact-item strong a:hover {
  text-decoration: underline;
}

.form-panel {
  padding: 2rem 1.6rem;
}

.form-control {
  border-radius: 10px;
  border-color: #d9e1ef;
  padding: 0.65rem 0.75rem;
}

textarea.form-control {
  resize: none;
}

.form-control:focus {
  border-color: #8fa8cc;
  box-shadow: 0 0 0 0.25rem rgba(6, 43, 96, 0.12);
}

.btn-send {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  min-width: 220px;
  font-weight: 700;
}

.btn-send:hover {
  background: var(--brand-navy-2);
  border-color: var(--brand-navy-2);
}

.form-feedback {
  font-weight: 600;
  min-height: 1.2rem;
}

.form-feedback.success {
  color: #16703a;
}

.form-feedback.error {
  color: #ab1b34;
}

.city-strip {
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    url("../img/bus-5.jpeg");
  background-size: cover;
  background-position: center;
  padding: 3.2rem 0;
}

.city-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  color: #2e4363;
  border-radius: 999px;
  border: 1px solid #dde5f2;
  padding: 0.62rem 1rem;
  box-shadow: 0 8px 20px rgba(12, 41, 88, 0.1);
}

.site-footer {
  background: linear-gradient(120deg, var(--brand-navy), #032554);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer h4 {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.06rem;
  color: #ffe17a;
  margin: 0;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.copyright {
  width: 100%;
  text-align: right;
  font-size: 0.82rem;
}

.developer-credit {
  width: 100%;
  text-align: right;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.56);
}

.developer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.developer-credit a:hover {
  color: rgba(255, 255, 255, 0.82);
}

@keyframes riseIn {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-title,
.hero-copy,
.fleet-card {
  animation: riseIn 0.8s ease both;
}

.hero-copy {
  animation-delay: 0.12s;
}

.fleet-card {
  animation-delay: 0.2s;
}

@media (max-width: 991px) {
  .top-contact-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }

  .brand-logo {
    height: 62px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 9.25rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .about-main {
    min-height: 260px;
  }

  .copyright {
    text-align: left;
  }

  .developer-credit {
    text-align: left;
  }
}

@media (max-width: 991px) {
  .vip-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .vip-gallery img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 45%;
  }

  .vip-gallery img.vip-left {
    object-position: center 104%;
  }

  .vip-gallery img.gallery-priv-3 {
    object-position: center 55%;
  }

  .vip-gallery img.gallery-bus-9 {
    object-position: center 65%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .gallery-item {
    aspect-ratio: 1.25 / 1;
  }
}

@media (max-width: 575px) {
  .top-contact-bar {
    font-size: 0.8rem;
  }

  .top-contact-inner {
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.45rem 0;
    flex-wrap: nowrap;
  }

  .top-contact-link {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
  }

  .top-contact-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-logo {
    height: 54px;
  }

  .site-header .navbar {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .section-pad {
    padding: 4.3rem 0;
  }

  .fleet-card img {
    height: 255px;
    object-position: center 70%;
  }

  .btn-send {
    width: 100%;
  }

  .contact-info-panel,
  .form-panel {
    padding: 1.3rem;
  }
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  animation: fadeIn 0.6s ease-out;
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(10, 45, 98, 0.12);
  cursor: pointer;
  background: #f0f4f9;
  transition: all 0.3s ease;
  aspect-ratio: 1.35 / 1;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(10, 45, 98, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item img.gallery-bus-5 {
  object-position: center 64%;
}

.gallery-item img.gallery-priv-1 {
  object-position: center 90%;
}

.gallery-item img.gallery-priv-3 {
  object-position: center 70%;
}

.gallery-item img.gallery-bus-9 {
  object-position: center 75%;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .advantage-card:hover,
  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}

/* Lightbox Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.lightbox-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeIn 0.3s ease;
}

.lightbox-container {
  position: relative;
  max-width: min(1200px, 96vw);
  width: 100%;
  background: transparent;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-lg);
  background: transparent;
}

.lightbox-content img {
  max-width: 96vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

.lightbox-footer {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  white-space: nowrap;
  z-index: 10000;
}

#image-counter {
  font-weight: 600;
}

@media (max-width: 768px) {
  .lightbox-content img {
    max-width: 94vw;
    max-height: 80vh;
  }
}
