/* =========================================================
   JOYVILLE VYOMORA — DESIGN TOKENS
========================================================= */
:root {
  --navy: #0F2438;
  --navy-2: #16324F;
  --brass: #0088cf;
  --brass-light: #75bee5;
  --ivory: #F8F6F2;
  --white: #FFFFFF;
  --black: #000000;
  --ink: #1B2430;
  --slate: #5C6670;
  --line: #E4DFD4;
  --whatsapp: #25D366;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 36, 56, .08);
  --shadow-md: 0 12px 32px rgba(15, 36, 56, .14);
  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brass);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .18);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #034ea1;
  color: var(--white);
}

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  padding: 10px 0;
}

.site-header.scrolled .main-nav a {
    color: var(--black);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 60px;
  /* filter: brightness(0) invert(1); */
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  /* opacity: .85; */
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover {
  opacity: 1;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.location-list{
    height: 300px;
    padding-right: 15px;
    overflow: auto;
  }

@media (max-width:960px) {

  .location-list{
    height: auto;
    overflow: auto;
  }

  .header-cta{
    display: none;
  }

  .site-header.scrolled .nav-toggle span {
  background: var(--black);
}

  .site-header.scrolled .main-nav.open a{
    
    color: var(--white);
  }

  

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 22px;
    padding: 100px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .header-cta .icon-btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(115deg, rgba(15, 36, 56, .92) 15%, rgba(15, 36, 56, .55) 55%, rgba(15, 36, 56, .75) 100%); */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 140px 24px 60px 48px;
  color: var(--white);
}

.eyebrow {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h2 {
    margin-bottom: 20px;
    background-color: #0088cf;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 7px;
    
    font-size: 18px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .85);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.spec-card {
  position: absolute;
  left: 150px;
  bottom: 18%;
  z-index: 3;
  width: 350px;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.spec-card-head {
  display: flex;
  justify-content: center;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
  font-size: 22px;
  text-align: center;
}

.spec-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}

.spec-price {
  font-weight: 800;
  color: var(--brass);
  
    padding-bottom: 20px;
    font-size: 22px;
    text-align: center;
}

.spec-price sup {
  font-size: .6em;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  font-size: .86rem;
  color: var(--slate);
}

.spec-list strong {
  color: var(--ink);
  font-weight: 700;
}

.elevation-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 34px;
  color: rgba(255, 255, 255, .35);
  z-index: 2;
}

@media (max-width:960px) {
  .spec-card {
    
        position: relative;
        width: auto;
        margin: -15px 20px 24px 20px;
        background-color: white;
        left: 0;
        bottom: 0;
  }

  .hero {
    background-color: white;
    padding-bottom: 0;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 0;
  }

  .hero-content {
    padding: 120px 24px 32px;
    max-width: none;
  }
}

@media (max-width:600px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   TRUST STRIP
========================================================= */
.trust-strip {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
}

.trust-item span {
  font-size: .82rem;
  color: var(--slate);
}

@media (max-width:760px) {
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   SECTIONS (shared)
========================================================= */
.section {
  padding: 70px 0;
}

.section--alt {
  background: var(--ivory);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section-eyebrow {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brass);
  margin-bottom: 12px;
}

.section-eyebrow--light {
  color: var(--brass-light);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 18px;
  /* max-width: 720px; */
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  color: var(--slate);
  /* max-width: 640px; */
  margin-bottom: 44px;
  font-size: 1.02rem;
}

.light-copy {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   PRICING
========================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brass);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.price-area {
  font-size: .85rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.price-card--featured .price-area {
  color: rgba(255, 255, 255, .7);
}

.price-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brass);
  margin-bottom: 2px;
}

.price-value sup {
  font-size: .55em;
}

.price-note {
  font-size: .78rem;
  color: var(--slate);
  margin-bottom: 22px;
}

.price-card--featured .price-note {
  color: rgba(255, 255, 255, .6);
}

@media (max-width:860px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   OVERVIEW
========================================================= */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.overview-grid--rev .overview-img {
  order: 2;
}

.overview-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  
    
    height: 430px;
    object-fit: cover;
    object-position: left;
}

.overview-copy p {
  margin-bottom: 16px;
  color: var(--slate);
}

.section--dark .overview-copy p {
  color: rgba(255, 255, 255, .82);
}

@media (max-width:860px) {

  .overview-grid,
  .overview-grid--rev {
    grid-template-columns: 1fr;
  }

  .overview-grid--rev .overview-img {
    order: 0;
  }
}

/* =========================================================
   UNIT PLANS / GALLERY
========================================================= */
.plans-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan-card,
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  width: 100%;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.plan-card img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.plan-card:hover img,
.gallery-item:hover img {
  transform: scale(1.06);
}

.plan-card img.blur {
  filter: blur(6px);
}

.plan-label {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(15, 36, 56, .85), transparent);
  color: var(--white);
  font-weight: 700;
  font-size: .88rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
}

.plan-label em {
  color: var(--brass-light);
  font-style: normal;
  font-weight: 800;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 56, 0);
  transition: background .25s ease;
}

.gallery-item:hover::after {
  background: rgba(15, 36, 56, .12);
}

@media (max-width:860px) {

  .plans-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:520px) {

  .plans-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   AMENITIES
========================================================= */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.amenity {
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease;
}

.amenity:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
}

.amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--brass);
  margin-bottom: 14px;
}

.amenity h3 {
  font-size: .92rem;
  font-weight: 700;
}

@media (max-width:860px) {
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   LOCATION
========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.loc-block {
  margin-bottom: 26px;
}

.loc-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
}

.loc-block h3 svg {
  color: var(--brass);
  flex-shrink: 0;
}

.loc-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loc-block li {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.loc-block li span {
  color: var(--slate);
}

.loc-block li strong {
  color: var(--navy);
}

.location-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-md);
    height: 300px;
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
}

@media (max-width:860px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FAQ
========================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  background: var(--white);
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--brass);
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  margin-top: 12px;
  color: var(--slate);
  font-size: .94rem;
}

/* =========================================================
   CONTACT FORM
========================================================= */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
}

.section--dark .form-row label {
  color: rgba(255, 255, 255, .85);
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-size: .95rem;
  font-family: inherit;
}

input::placeholder {
  color: rgba(255, 255, 255, .5);
}

input:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}

.form-consent {
  font-size: .76rem;
  color: rgba(255, 255, 255, .6);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.form-consent input {
  margin-top: 3px;
  width: auto;
}

.form-message {
  font-size: .88rem;
  font-weight: 700;
  min-height: 1.2em;
}

.form-message.success {
  color: #7CDB8A;
}

.form-message.error {
  color: #FF8080;
}

/* modal form uses light inputs */
.modal-body input[type="text"],
.modal-body input[type="tel"],
.modal-body input[type="email"] {
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--ink);
}

.modal-body input::placeholder {
  color: var(--slate);
}

.modal-body .form-consent {
  color: var(--slate);
}

.modal-body .form-message.success {
  color: #2E8B45;
}

.modal-body .form-message.error {
  color: #C0392B;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, .75);
  padding: 48px 0 30px;
  font-size: .85rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.disclaimer {
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 20px;
}

.footer-bottom a {
  color: var(--brass-light);
  font-weight: 700;
}

/* =========================================================
   FLOATING ELEMENTS
========================================================= */
.fab {
  position: fixed;
  left: 30px;
  bottom: 60px;
  z-index: 400;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.07);
  }
}

.mobile-bar {
  display: none;
}

@media (max-width:760px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 400;
    background: var(--navy);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
  }

  .mobile-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0 8px;
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
  }

  .fab {
    display: none;
  }
}

/* =========================================================
   MODAL
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 56, .72);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-md);
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-head img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  z-index: 2;
}

.modal-body {
  padding: 24px 26px 28px;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--navy);
}

.modal-body form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================================================
   CHAT WIDGET
========================================================= */
#chatbot-btn {
  position: fixed;
  bottom: 60px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 399;
  border: 2px solid var(--white);
  animation: chatbotAttract 2.6s ease-in-out infinite;
}

#chatbot-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  opacity: 0;
  animation: chatbotRing 1.6s ease-out infinite;
  pointer-events: none;
}

@keyframes chatbotAttract {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes chatbotRing {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

#chatbot-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#chatbot {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 320px;
  max-height: 70vh;
  background: var(--white);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  z-index: 900;
}

#chatbot.open {
  display: flex;
}

#chat-header {
  background: var(--navy);
  color: var(--white);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
}

.profile img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.profile small {
  opacity: .6;
}

.close-btn {
  cursor: pointer;
  font-size: 1.1rem;
}

#chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
}

.message {
  padding: 9px 14px;
  border-radius: 16px;
  max-width: 80%;
  font-size: .86rem;
}

.message.bot {
  background: var(--ivory);
}

.message.user {
  background: var(--navy);
  color: var(--white);
  margin-left: auto;
}

.option {
  background: var(--brass);
  color: var(--white);
  padding: 9px 14px;
  border-radius: 16px;
  cursor: pointer;
  margin-left: auto;
  font-size: .84rem;
  font-weight: 700;
  max-width: 85%;
}

.typing {
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--ivory);
  border-radius: 16px;
  align-self: flex-start;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slate);
  animation: blink 1.3s infinite;
}

.typing span:nth-child(2) {
  animation-delay: .2s;
}

.typing span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes blink {

  0%,
  80%,
  100% {
    opacity: .2;
  }

  40% {
    opacity: 1;
  }
}

#chat-input {
  display: flex;
  border-top: 1px solid var(--line);
}

#chat-input input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  font-size: .86rem;
  color: var(--ink);
  background: var(--white);
}

#chat-input input::placeholder {
  color: var(--slate);
}

#chat-input button {
  background: var(--navy);
  color: var(--white);
  padding: 0 16px;
  display: flex;
  align-items: center;
}

@media (max-width:520px) {
  #chatbot {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 86px;
  }

  #chatbot-btn {
    right: 20px;
    bottom: 80px;
    width: 48px;
    height: 48px;
  }
}


.video-bg-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* or whatever section height you need */
    overflow: hidden;
}

.video-bg-container iframe {
    position: relative;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 60.25vw;
    min-height: 100vh;
    min-width: 100.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}



@media(max-width:768px) {
    .video-bg-container{
    height: 40vh;
        margin-top: 80px;
    }
.video-bg-container iframe {
    position: relative;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 55.25vw;
    min-height: 40vh;
    min-width: 100.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
}



.video-bg-container iframe,
.video-poster {
    position: absolute;
}

.video-poster {
    z-index: 2;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.video-poster.hide-poster {
    opacity: 0;
    pointer-events: none;
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.contact-image {
  position: relative;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 20px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: #fff;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.8)
  );
}

.contact-image-caption strong {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

.contact-image-caption span {
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-image {
    min-height: 380px;
    order: -1;
  }
}