/* ===================================
   ECO RETREAT - Custom Styles
   =================================== */

/* CSS Variables */
:root {
  --primary: #1a5f3c;
  --primary-light: #2d8a5e;
  --primary-dark: #0d3d25;
  --secondary: #c9a962;
  --secondary-light: #d4bc7e;
  --dark: #1a1a1a;
  --light: #f8f7f4;
  --accent: #4a90a4;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Gradient Overlays */
.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.gradient-gold {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.gradient-green {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 95, 60, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--dark);
}

/* Section Styles */
.section {
  padding: 5rem 1.5rem;
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-light {
  background: var(--light);
}

.section-gray {
  background: var(--gray-100);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--gray-600);
  font-size: 1.125rem;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.7);
}

/* Cards */
.card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.card-desc {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
  position: relative;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.25rem;
  z-index: 5;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  background: var(--gray-100);
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.product-spec {
  text-align: center;
}

.product-spec-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-spec-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* Amenities */
.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.amenity-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 1rem;
  flex-shrink: 0;
}

.amenity-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.amenity-title {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.amenity-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  height: 180px;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2.22;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay svg {
  width: 40px;
  height: 40px;
  color: white;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-family: inherit;
  color: #333;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 60, 0.1);
}

.form-input::placeholder {
  color: var(--gray-600);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-link {
  color: var(--dark);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.footer-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* Swiper Custom Styles */
.swiper {
  width: 100%;
  padding-bottom: 3rem;
}

.swiper-pagination-bullet {
  background: var(--primary);
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary);
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease forwards;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gold { color: var(--secondary); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-dark { background: var(--dark); }
.bg-light { background: var(--light); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Responsive */
@media (max-width: 768px) {
  /* CRITICAL: Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Force all content to center */
  .hero-content,
  .hero-content * {
    text-align: center !important;
  }

  .hero-content {
    padding: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Inline styles override */
  .hero-content span,
  .hero-content h1,
  .hero-content p {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 5rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--dark);
    font-size: 1.125rem;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 3rem 0;
  }

  .hero-title {
    letter-spacing: 0.05em;
  }

  .contact-form {
    padding: 1.5rem;
  }

  /* Contact info mobile */
  .section-dark .space-y-6 > div,
  .section-gray .space-y-6 > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-dark .space-y-6 > div > div:last-child,
  .section-gray .space-y-6 > div > div:last-child {
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-item {
    padding: 1rem;
  }

  /* Buttons responsive */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    width: 100%;
  }

  .hero-content .flex {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Gallery responsive */
  .gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .gallery-item {
    height: 180px;
    width: 100% !important;
    aspect-ratio: 16/9;
  }

  /* Footer responsive */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer {
    padding: 3rem 1rem 1.5rem;
  }

  /* Contact form responsive */
  .contact-form {
    margin: 0 -0.5rem;
    border-radius: 0.5rem;
  }

  /* Cards responsive */
  .card-image {
    height: 180px;
  }

  /* Amenities responsive */
  .amenity-item {
    flex-direction: column;
    text-align: center;
  }

  .amenity-icon {
    margin: 0 auto;
  }

  /* Section titles responsive */
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  /* Hero adjustments - CRITICAL FIXES */
  .hero-content {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 0.02em;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
    line-height: 1.6;
  }

  .hero-subtitle br {
    display: none;
  }

  /* Nav logo fix */
  .nav-logo {
    font-size: 1.1rem;
  }

  .navbar {
    padding: 0.75rem 1rem;
  }

  /* Fix buttons on mobile */
  .hero-content .flex {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .hero-content .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }
}

/* GLightbox Custom */
.glightbox-clean .gslide-description {
  background: var(--dark);
}

.glightbox-clean .gslide-title {
  font-family: 'Playfair Display', serif;
  color: white;
}

/* ===================================
   FLOATING CONTACT BUTTONS
   =================================== */

/* Hotline Button */
.hotline-phone-ring-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999999;
}

.hotline-phone-ring {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 110px;
  height: 110px;
  cursor: pointer;
  z-index: 11;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transition: visibility .5s;
  left: 0;
  bottom: 0;
  display: block;
}

.hotline-phone-ring-circle {
  width: 87px;
  height: 87px;
  top: 10px;
  left: 10px;
  position: absolute;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid #e60808;
  animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
  transition: all .5s;
  transform-origin: 50% 50%;
  opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
  width: 57px;
  height: 57px;
  top: 25px;
  left: 25px;
  position: absolute;
  background-color: rgba(230, 8, 8, 0.7);
  border-radius: 100%;
  border: 2px solid transparent;
  animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
  transition: all .5s;
  transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
  background-color: #e60808;
  width: 33px;
  height: 33px;
  top: 37px;
  left: 37px;
  position: absolute;
  background-size: 20px;
  border-radius: 100%;
  border: 2px solid transparent;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  transform-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-phone-ring-img-circle .pps-btn-i {
  display: flex;
}

.hotline-phone-ring-img-circle img {
  width: 20px;
  height: 20px;
}

.hotline-bar {
  position: absolute;
  background: rgba(230, 8, 8, 0.75);
  height: 40px;
  width: 180px;
  line-height: 40px;
  border-radius: 50px;
  padding: 0 10px;
  cursor: pointer;
  transition: all 0.8s;
  z-index: 9;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
  left: 33px;
  bottom: 37px;
}

.hotline-bar > a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  text-indent: 50px;
  display: block;
  letter-spacing: 1px;
  line-height: 40px;
  font-family: Arial;
}

.hotline-bar > a:hover,
.hotline-bar > a:active {
  color: #fff;
}

@keyframes phonering-alo-circle-anim {
  0% { transform: rotate(0) scale(0.5) skew(1deg); opacity: 0.1; }
  30% { transform: rotate(0) scale(0.7) skew(1deg); opacity: 0.5; }
  100% { transform: rotate(0) scale(1) skew(1deg); opacity: 0.1; }
}

@keyframes phonering-alo-circle-fill-anim {
  0% { transform: rotate(0) scale(0.7) skew(1deg); opacity: 0.6; }
  50% { transform: rotate(0) scale(1) skew(1deg); opacity: 0.6; }
  100% { transform: rotate(0) scale(0.7) skew(1deg); opacity: 0.6; }
}

@keyframes phonering-alo-circle-img-anim {
  0% { transform: rotate(0) scale(1) skew(1deg); }
  10% { transform: rotate(-25deg) scale(1) skew(1deg); }
  20% { transform: rotate(25deg) scale(1) skew(1deg); }
  30% { transform: rotate(-25deg) scale(1) skew(1deg); }
  40% { transform: rotate(25deg) scale(1) skew(1deg); }
  50% { transform: rotate(0) scale(1) skew(1deg); }
  100% { transform: rotate(0) scale(1) skew(1deg); }
}

/* Zalo Button */
.zalo-container {
  position: fixed;
  width: 40px;
  height: 40px;
  bottom: 40px;
  z-index: 9999999;
}

.zalo-container:not(.right) {
  left: 1rem;
}

.zalo-container.right {
  right: 1rem;
}

.zalo-container a {
  display: block;
}

.zalo-container span {
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1182FC;
  position: relative;
}

.zalo-container span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cmoz-alo-circle {
  width: 50px;
  height: 50px;
  top: -5px;
  right: -5px;
  position: absolute;
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid rgba(17, 130, 252, 0.8);
  opacity: 0.5;
}

.cmoz-alo-circle-fill {
  width: 60px;
  height: 60px;
  top: -10px;
  right: -10px;
  position: absolute;
  transition: all 0.2s ease-in-out;
  border-radius: 100%;
  border: 2px solid transparent;
  background-color: rgba(17, 130, 252, 0.45);
  opacity: 0.75;
}

.animated_zalo {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animated_zalo.infinite {
  animation-iteration-count: infinite;
}

@keyframes zoomIn_zalo {
  from { opacity: 0; transform: scale3d(.3, .3, .3); }
  50% { opacity: 1; }
}

.zoomIn_zalo {
  animation-name: zoomIn_zalo;
}

@keyframes pulse_zalo {
  from { transform: scale3d(1, 1, 1); }
  50% { transform: scale3d(1.05, 1.05, 1.05); }
  to { transform: scale3d(1, 1, 1); }
}

.pulse_zalo {
  animation-name: pulse_zalo;
}

/* Hide hotline bar on mobile */
@media (max-width: 768px) {
  .hotline-bar {
    display: none;
  }
  
  .hotline-phone-ring {
    width: 80px;
    height: 80px;
  }
  
  .hotline-phone-ring-circle {
    width: 60px;
    height: 60px;
    top: 8px;
    left: 8px;
  }
  
  .hotline-phone-ring-circle-fill {
    width: 44px;
    height: 44px;
    top: 16px;
    left: 16px;
  }
  
  .hotline-phone-ring-img-circle {
    width: 28px;
    height: 28px;
    top: 24px;
    left: 24px;
  }
  
  .zalo-container {
    bottom: 20px;
    transform: scale(0.75);
  }
}

/* ===================================
   MODAL POPUP STYLES
   =================================== */
.custom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.custom-modal.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal .modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 400px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.custom-modal.active .modal-content {
  transform: scale(1);
}

/* Modal Icons Animation */
.modal-icon svg {
  animation: modalIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalIconPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
