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

body {
  font-family: "Recoleta SemiBold", serif;
  font-weight: 400;
  color: #333;
  overflow-x: hidden;
}

/* ============================================
   NAVBAR STYLES - COMPLETELY FIXED
   ============================================ */

/* Base Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 20px 0;
  background-color: transparent !important;
}

/* Container - DESKTOP */
.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
}

/* Logo */
.navbar-brand {
  flex: 0 0 auto;
  z-index: 1001;
  position: relative;
}

.navbar-brand img {
  height: 40px;
  transition: all 0.3s ease;
  display: block;
}

/* Title - DESKTOP (absolute center) */
.navbar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  z-index: 999;
  max-width: 50%;
}

.navbar-title h2 {
  margin: 0;
  font-size: 1.5rem;
  font-family: 'Brush Script MT', cursive;
  color: white;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Navbar collapse - DESKTOP */
.navbar-collapse {
  flex: 0 0 auto;
}

.navbar-nav {
  margin: 0 !important;
  flex-direction: row;
}

/* Nav links - DESKTOP */
.nav-link {
  color: white !important;
  font-size: 16px;
  margin: 0 15px;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #B3CCBB !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #B3CCBB;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Toggler button */
.navbar-toggler {
  border: 1px solid white;
  padding: 5px 10px;
  z-index: 1001;
  position: relative;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* ============================================
   SCROLLED / WHITE VERSION
   ============================================ */

.navbar.scrolled,
.navbar-white {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 10px 0;
}

.navbar.scrolled .navbar-brand img,
.navbar-white .navbar-brand img {
  height: 35px;
}

.navbar.scrolled .navbar-title h2,
.navbar-white .navbar-title h2 {
  color: #6B7F6E;
  font-size: 1.3rem;
}

.navbar.scrolled .nav-link,
.navbar-white .nav-link {
  color: #333 !important;
}

.navbar.scrolled .navbar-toggler,
.navbar-white .navbar-toggler {
  border-color: #333;
}

.navbar.scrolled .navbar-toggler-icon,
.navbar-white .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   MOBILE RESPONSIVE - ULTIMATE FIX
   ============================================ */

@media (max-width: 1024px) {
  
  /* CRITICAL: Override Bootstrap defaults */
  .navbar > .container-fluid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
  }

  /* ROW 1: Logo - Title - Toggler */
  .navbar-brand {
    order: 1 !important;
    flex: 0 0 auto !important;
    margin-right: 8px !important;
  }

  .navbar-brand img {
    height: 32px !important;
  }

  /* Title ở giữa - MOBILE (không dùng absolute) */
  .navbar-title {
    order: 2 !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    pointer-events: auto !important;
    max-width: calc(100% - 120px) !important;
    margin: 0 8px !important;
  }

  .navbar-title h2 {
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Toggler bên phải */
  .navbar-toggler {
    order: 3 !important;
    flex: 0 0 auto !important;
    margin-left: 8px !important;
  }

  /* ROW 2: Menu collapse full width */
  .navbar-collapse {
    order: 4 !important;
    flex-basis: 100% !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  /* Nav items stack vertically */
  .navbar-nav {
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Nav link styling */
  .nav-link {
    margin: 0 !important;
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    display: block !important;
    text-align: left !important;
  }

  .nav-link::after {
    display: none !important;
  }

  /* Menu background - transparent version */
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    background-color: rgba(0, 0, 0, 0.95) !important;
    padding: 10px 0 !important;
    border-radius: 0 0 10px 10px !important;
  }

  /* Menu background - white version */
  .navbar.scrolled .navbar-collapse.show,
  .navbar.scrolled .navbar-collapse.collapsing,
  .navbar-white .navbar-collapse.show,
  .navbar-white .navbar-collapse.collapsing {
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  }

  /* Link colors */
  .navbar-collapse.show .nav-link,
  .navbar-collapse.collapsing .nav-link {
    color: white !important;
  }

  .navbar.scrolled .navbar-collapse.show .nav-link,
  .navbar.scrolled .navbar-collapse.collapsing .nav-link,
  .navbar-white .navbar-collapse.show .nav-link,
  .navbar-white .navbar-collapse.collapsing .nav-link {
    color: #333 !important;
  }

  /* Borders cho white version */
  .navbar.scrolled .nav-link,
  .navbar-white .nav-link {
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  }

  /* Last item no border */
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none !important;
  }

  /* Scrolled title color */
  .navbar.scrolled .navbar-title h2,
  .navbar-white .navbar-title h2 {
    font-size: 0.9rem !important;
    color: #6B7F6E !important;
  }

  /* Scrolled logo size */
  .navbar.scrolled .navbar-brand img,
  .navbar-white .navbar-brand img {
    height: 30px !important;
  }

  /* Navbar padding */
  .navbar {
    padding: 15px 0 !important;
  }

  .navbar.scrolled,
  .navbar-white {
    padding: 10px 0 !important;
  }
}

/* Extra small devices - thêm responsive cho màn hình rất nhỏ */
@media (max-width: 576px) {
  
  .navbar {
    padding: 12px 0 !important;
  }

  .navbar.scrolled,
  .navbar-white {
    padding: 8px 0 !important;
  }

  .navbar-brand img {
    height: 28px !important;
  }

  .navbar.scrolled .navbar-brand img,
  .navbar-white .navbar-brand img {
    height: 26px !important;
  }

  .navbar-title {
    max-width: calc(100% - 100px) !important;
  }

  .navbar-title h2 {
    font-size: 0.8rem !important;
  }

  .navbar.scrolled .navbar-title h2,
  .navbar-white .navbar-title h2 {
    font-size: 0.75rem !important;
  }

  .navbar .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Extra extra small - cho iPhone SE và tương tự */
@media (max-width: 375px) {
  .navbar-title h2 {
    font-size: 0.7rem !important;
  }

  .navbar.scrolled .navbar-title h2,
  .navbar-white .navbar-title h2 {
    font-size: 0.65rem !important;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  display: block;
}

.hero img.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
  pointer-events: none;
}

/* ============================================
   HERO CAROUSEL
   ============================================ */

.loop-carousel {
  max-width: 1600px;
  position: relative;
  padding: 0 12px;
  margin: 0 auto;
}

.lc-viewport {
  overflow: hidden;
}

.lc-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.lc-item {
  flex: 0 0 calc(100% / 3);
  padding: 0 4px;
  height: 620px;
  display: block;
}

.lc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 64px;
  color: black;
  cursor: pointer;
  z-index: 2;
}

.lc-btn.prev {
  left: 24px;
}

.lc-btn.next {
  right: 24px;
}

@media (max-width: 768px) {
  .lc-item {
    flex: 0 0 100%;
    height: 440px;
    padding: 0;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: black;
  padding: 45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
}

.site-footer hr.small {
  margin: 20px 0;
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
}

.site-footer a {
  color: #737373;
}

.site-footer a:hover {
  color: #3366cc;
  text-decoration: none;
}

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

.footer-links li {
  display: block;
}

.footer-links a {
  color: #737373;
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links.inline li {
  display: inline-block;
}

.site-footer .social-icons {
  text-align: right;
}

.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d;
}

.copyright-text {
  margin: 0;
}

@media (max-width: 991px) {
  .site-footer [class^=col-] {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 0;
  }

  .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: center;
  }
}

.social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.social-icons li {
  display: inline-block;
  margin-bottom: 4px;
}

.social-icons li.title {
  margin-right: 15px;
  text-transform: uppercase;
  color: #96a2b2;
  font-weight: 700;
  font-size: 13px;
}

.social-icons a {
  background-color: #eceeef;
  color: #818a91;
  font-size: 16px;
  display: inline-block;
  line-height: 44px;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  transition: all .2s linear;
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #29aafe;
}

.social-icons.size-sm a {
  line-height: 34px;
  height: 34px;
  width: 34px;
  font-size: 14px;
}

.social-icons a.facebook:hover {
  background-color: #3b5998;
}

.social-icons a.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@media (max-width: 767px) {
  .social-icons li.title {
    display: block;
    margin-right: 0;
    font-weight: 600;
  }
}

/* ============================================
   OTHER STYLES
   ============================================ */

.carousel-caption {
  font-size: 24px;
}

#carouselExampleDark img {
  max-height: 800px;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .sm-mt2 {
    margin-top: 10px;
  }
}

.album.filter-hidden {
  display: none !important;
}

.album {
  margin-top: 20px;
}

body,
html {
  overflow-x: hidden;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: black !important;
  border-color: black !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: var(--bs-light) !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #CCCCCC;
  border-radius: 15px;
  transition: .5s;
}

.testimonial-carousel .owl-stage {
  display: flex;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.owl-carousel .owl-item {
  display: flex;
}

.heading-with-lines {
  position: relative;
  display: inline-block;
}

.heading-with-lines::before {
  position: absolute;
  content: "";
  width: 90px;
  height: 3px;
  top: 50%;
  left: -110px;
  background: #B3CCBB;
}

.heading-with-lines::after {
  position: absolute;
  content: "";
  width: 90px;
  height: 3px;
  top: 50%;
  right: -110px;
  background: #B3CCBB;
}
        /* Mobile: ẩn lines trên màn hình nhỏ */
        @media (max-width: 576px) {
            .heading-with-lines::before,
            .heading-with-lines::after {
                display: none;
            }
        }

.btn-dark{
    display:flex;
    justify-content:center;
    align-items:center;
    white-space: normal;  
    word-break: break-word;
    font-size: 14px;         
    padding: 10px 6px;
    line-height: 1.2;
}
