:root {
  --primary-red: #e30613;
  --primary-green: #075b1c;
  --dark-green: #034514;
  --primary-blue: #142b78;
  --dark-blue: #091b5c;
  --ink: #111827;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --line: rgba(20, 43, 120, 0.14);
  --shadow: 0 16px 44px rgba(9, 27, 92, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.7;
  background: var(--paper);
}

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

.topbar {
  color: #fff;
  background: linear-gradient(90deg, var(--dark-blue), var(--primary-green));
  font-size: 0.9rem;
  font-weight: 600;
}

.topbar a {
  color: #fff;
}

.topbar i {
  color: #fff;
}

.navbar {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(9, 27, 92, 0.08);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-green) 52%, var(--primary-blue));
  box-shadow: 0 10px 26px rgba(227, 6, 19, 0.2);
}

.brand-logo {
  width: 122px;
  height: 64px;
  object-fit: contain;
}

.brand-title {
  display: inline-block;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.1;
  letter-spacing: 0;
  font-size: 1.18rem;
}

.brand-subtitle {
  display: none;
  color: var(--primary-green);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  margin: 0 0.25rem;
  padding: 0.75rem 0.6rem !important;
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary-red);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.36rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-green), var(--primary-blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 0;
  border-radius: 8px;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(20, 43, 120, 0.14) !important;
}

.hero {
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #000;
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--primary-red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 670px;
  font-size: 1.08rem;
}

.hero p {
  color: #475467;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-image-wrap::before {
  display: none;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 116px);
  min-height: 0;
  aspect-ratio: auto;
  display: block;
  object-fit: contain;
  background: #000;
}

.btn-brand {
  --bs-btn-bg: var(--primary-red);
  --bs-btn-border-color: var(--primary-red);
  --bs-btn-hover-bg: #b9050f;
  --bs-btn-hover-border-color: #b9050f;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.78rem 1.1rem;
}

.btn-outline-brand {
  --bs-btn-color: var(--dark-blue);
  --bs-btn-border-color: rgba(20, 43, 120, 0.3);
  --bs-btn-hover-bg: var(--dark-blue);
  --bs-btn-hover-border-color: var(--dark-blue);
  --bs-btn-hover-color: var(--dark-blue);
  font-weight: 700;
  border-radius: 8px;
  padding: 0.78rem 1.1rem;
}

.hero .btn-outline-brand {
  --bs-btn-hover-color: #fff;
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  color: var(--dark-blue);
  font-weight: 850;
  line-height: 1.08;
}

.section-kicker {
  color: var(--primary-red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.service-card,
.info-card,
.gallery-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.services-showcase {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.06), transparent 24%),
    linear-gradient(225deg, rgba(20, 43, 120, 0.08), transparent 30%),
    var(--soft);
}

.services-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.services-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.55rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-green), var(--primary-blue));
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 6, 19, 0.24);
  box-shadow: 0 24px 60px rgba(9, 27, 92, 0.16);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-blue);
  font-size: 1.35rem;
}

.service-card.is-red .service-icon {
  background: var(--primary-red);
}

.service-card.is-green .service-icon {
  background: var(--primary-green);
}

.service-card.is-blue .service-icon {
  background: var(--primary-blue);
}

.service-card .service-number {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: rgba(20, 43, 120, 0.08);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.service-card h3,
.info-card h3 {
  color: var(--dark-blue);
  font-size: 1.18rem;
  font-weight: 800;
}

.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.service-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  color: var(--dark-blue);
  background: rgba(20, 43, 120, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
}

.feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: #344054;
}

.feature-list i {
  color: var(--primary-green);
}

.about-showcase {
  position: relative;
}

.about-frame {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 24px 60px rgba(9, 27, 92, 0.18);
}

.about-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  max-width: 260px;
  padding: 1rem;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.94), rgba(20, 43, 120, 0.94));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.about-badge strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.about-content-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 5px solid var(--primary-red);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-mini-card {
  min-height: 116px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.about-mini-card i {
  color: var(--primary-red);
  font-size: 1.45rem;
}

.about-mini-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--dark-blue);
  font-size: 0.98rem;
}

.vision-card {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.vision-card i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-red);
  font-size: 1.45rem;
}

.vision-card.is-green i {
  background: var(--primary-green);
}

.vision-card h3 {
  color: var(--dark-blue);
  font-weight: 800;
}

.banner-section {
  padding: 0;
  background: #000;
}

.banner-section .container {
  max-width: 100%;
  padding-inline: 0;
}

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

.banner-item {
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: #000;
}

.banner-item img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.banner-item:hover img {
  transform: scale(1.04);
}

.video-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.16), transparent 28%),
    linear-gradient(225deg, rgba(20, 43, 120, 0.28), transparent 34%),
    #000;
}

.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(227, 6, 19, 0.08), rgba(7, 91, 28, 0.08), rgba(20, 43, 120, 0.08));
  pointer-events: none;
}

.video-section .container {
  position: relative;
  z-index: 1;
}

#testimonialVideos {
  cursor: grab;
}

#testimonialVideos:active {
  cursor: grabbing;
}

.video-section .section-title {
  color: #fff;
}

.video-section .section-kicker {
  color: #ffced2;
}

.video-heading-mark {
  width: 76px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-green), var(--primary-blue));
}

.video-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.22), rgba(20, 43, 120, 0.26)), rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
}

.video-card video {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: contain;
  opacity: 1;
  background: #000;
}

.video-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: transparent;
}

.video-play span {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-red);
  box-shadow: 0 18px 36px rgba(227, 6, 19, 0.35);
  transition: transform 0.2s ease;
}

.video-play:hover span {
  transform: scale(1.08);
}

.video-play i {
  font-size: 2rem;
  margin-left: 0.18rem;
}

.video-carousel-control {
  width: 46px;
  height: 46px;
  top: 50%;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.76);
  transform: translateY(-50%);
  opacity: 1;
}

.video-carousel-control:hover {
  background: var(--primary-blue);
}

.carousel-indicators.video-indicators {
  position: static;
  margin: 1.5rem 0 0;
  gap: 0.45rem;
}

.carousel-indicators.video-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.carousel-indicators.video-indicators .active {
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-green));
}

.video-lightbox .modal-content {
  border: 0;
  border-radius: 8px;
  background: #000;
}

.video-lightbox video {
  width: 100%;
  max-height: 82vh;
  display: block;
  object-fit: contain;
  background: #000;
}

.stay-media-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: #fff;
}

.stay-media-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stay-media-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.stay-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stay-media-item {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 0;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 16px 38px rgba(9, 27, 92, 0.13);
}

.stay-media-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.stay-media-item img,
.stay-media-item video {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.stay-media-item:first-child video {
  min-height: 476px;
  object-fit: contain;
}

.stay-media-item:hover img,
.stay-media-item:hover video {
  transform: scale(1.04);
}

.stay-media-open {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.58));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.stay-media-item:hover .stay-media-open {
  opacity: 1;
}

.stay-media-open span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-red);
}

.stay-lightbox .modal-content {
  border: 0;
  border-radius: 8px;
  background: #000;
}

.stay-lightbox img,
.stay-lightbox video {
  width: 100%;
  max-height: 82vh;
  display: block;
  object-fit: contain;
  background: #000;
}

.quick-action-section {
  padding: 4rem 0;
  color: #fff;
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-green));
}

.quick-action-card {
  height: 100%;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.24s ease, background 0.24s ease;
}

.quick-action-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.13);
}

.quick-action-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-red);
  font-size: 1.35rem;
}

.quick-action-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.quick-action-card p {
  color: rgba(255, 255, 255, 0.72);
}

.quick-action-card .btn {
  border-radius: 8px;
  font-weight: 800;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-panel {
  aspect-ratio: 4 / 3;
}

.stat-strip {
  background: var(--dark-blue);
  color: #fff;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.page-hero {
  position: relative;
  color: #fff;
  padding: 7.5rem 0 5.5rem;
  background: linear-gradient(90deg, rgba(9, 27, 92, 0.92), rgba(3, 69, 20, 0.78)), url("../img/thisai-stay-hero.png") center/cover no-repeat;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  aspect-ratio: 16 / 10;
}

.gallery-card .gallery-body {
  padding: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 6, 19, 0.35);
}

.contact-link i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-green);
}

.home-enquiry {
  padding: 5rem 0;
  color: #fff;
  background: linear-gradient(135deg, rgba(9, 27, 92, 0.94), rgba(3, 69, 20, 0.92)), url("../img/hero.png") center/cover no-repeat;
  background-attachment: fixed;
}

.home-enquiry .section-title {
  color: #fff;
}

.home-enquiry .section-kicker {
  color: #ffced2;
}

.home-enquiry .info-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.map-section {
  padding: 4rem 0;
  background: var(--soft);
}

.map-frame {
  overflow: hidden;
  min-height: 420px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #000;
}

.map-frame iframe {
  width: 100%;
  height: 460px;
  display: block;
  border: 0;
}

.enquiry-list {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.enquiry-list li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.enquiry-list i {
  color: #fff;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark-blue);
  padding: 4rem 0 0;
}

.footer strong {
  color: #fff;
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.footer p {
  max-width: 360px;
}

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

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

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

.footer-contact span,
.footer-contact a {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-contact i,
.footer-links i {
  color: #fff;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  display: grid;
  gap: 0.75rem;
}

.floating-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--primary-red);
  box-shadow: 0 14px 30px rgba(9, 27, 92, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-btn:hover {
  color: #fff;
  transform: translateY(-4px);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-whatsapp:hover {
  background: #1dab55;
}

.floating-top {
  background: var(--primary-blue);
}

.floating-top:hover {
  background: var(--primary-red);
}

.floating-btn i {
  font-size: 1.45rem;
  line-height: 1;
}

[data-aos] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .topbar {
    font-size: 0.78rem;
  }

  .topbar .container {
    justify-content: center !important;
  }

  .brand-logo {
    width: 96px;
    height: 54px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .navbar-collapse {
    padding: 0.75rem 0 1rem;
  }

  .nav-link::after {
    left: 0.6rem;
    right: auto;
    width: 44px;
    transform-origin: left;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 3.5rem 1.5rem;
  }

  .hero-image {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .services-heading {
    display: block;
  }

  .services-heading p {
    margin-top: 0.8rem;
  }

  .about-frame,
  .about-frame img {
    min-height: 340px;
  }

  .about-badge {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }

  .about-mini-grid {
    grid-template-columns: 1fr;
  }

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

  .banner-item img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .video-section {
    padding: 3.5rem 0;
  }

  .video-card,
  .video-card video {
    min-height: 520px;
    height: 520px;
  }

  .video-carousel-control {
    display: flex;
    width: 38px;
    height: 38px;
  }

  .home-enquiry {
    background-attachment: scroll;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
    height: 340px;
  }

  .stay-media-head {
    display: block;
  }

  .stay-media-grid {
    grid-template-columns: 1fr;
  }

  .stay-media-item:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .stay-media-item,
  .stay-media-item img,
  .stay-media-item video,
  .stay-media-item:first-child video {
    min-height: 360px;
  }

  .stay-media-open {
    opacity: 1;
  }
}
