:root {
  --main: #00529b;
  --main-700: #0a66c2;
  --main-600: #1277d1;
  --primary: #ffffff;
  --secondary: #000000;
  --tertiary: #f3f2ee;
  --quaternary: #797977;

  /* Enhanced color palette */
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);

  /* Chat theme overrides */
  --chat--color-primary: #0a66c2;
  --chat--color-secondary: #1277d1;
  --chat--color-dark: #101330;
  --chat--color-light: #f2f4f8;
  --chat--toggle--background: #007bff;
  --chat--toggle--size: 56px;
  --chat--window--width: 380px;
  --chat--window--height: 560px;

  /* Design tokens */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(10, 102, 194, 0.3);
  --text-muted: #4b5563;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(15px, 1.2vw + 8px, 18px);
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #0e2240;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body,
p,
li {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
}

/* Animated background gradient */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(10, 102, 194, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delays */
.stagger-1 {
  transition-delay: 0.1s !important;
}

.stagger-2 {
  transition-delay: 0.2s !important;
}

.stagger-3 {
  transition-delay: 0.3s !important;
}

.stagger-4 {
  transition-delay: 0.4s !important;
}

/* Floating animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(10, 102, 194, 0.4);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 20px 5px rgba(10, 102, 194, 0.2);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Navbar - Glassmorphism */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7%;
  background: rgba(10, 102, 194, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 102, 194, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: 0.8rem 7%;
}

.navbar .navbar-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.3s ease;
}

.navbar .navbar-logo:hover {
  transform: scale(1.02);
}

.navbar .navbar-logo-img {
  height: clamp(38px, 4.5vw, 50px);
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar .navbar-logo:hover .navbar-logo-img {
  transform: rotate(-5deg) scale(1.05);
}

.navbar .navbar-logo span {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.navbar .navbar-nav {
  display: flex;
  align-items: center;
}

.navbar .navbar-nav a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-block;
  font-size: clamp(0.95rem, 0.8rem + 0.3vw, 1.1rem);
  margin: 0 0.8rem;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.navbar .navbar-nav a:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.20);
}

.navbar .navbar-nav a.active {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 2px solid var(--accent-gold);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), #fbbf24);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.sidebar-header,
.sidebar-divider {
  display: none;
}

.navbar .navbar-extra {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .navbar-extra a {
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .navbar-extra a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#hamburger-menu {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url("../img/header-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 102, 194, 0.85) 0%,
      rgba(10, 102, 194, 0.6) 40%,
      rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

/* Animated particles/shapes in hero */
.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  border-radius: 50%;
  animation: floatSlow 8s ease-in-out infinite;
  z-index: 1;
}

.hero .content {
  padding: 1.4rem 7%;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 2;
  max-width: 750px;
  animation: slideInUp 1s ease-out;
}

.hero .content h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero .content p {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.hero .content q {
  display: inline-block;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  font-style: italic;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--accent-gold);
}

/* Hero Logo */
.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo img {
  height: clamp(80px, 10vw, 120px);
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4)) brightness(1.05);
  transition: transform 0.3s ease;
}

.hero-logo img:hover {
  transform: scale(1.05);
}

/* Enhanced highlight badges */
.hero .content .highlight {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.hero .content .highlight-blue {
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.95), rgba(18, 119, 209, 0.95));
  color: #ffffff;
}

.hero .content .highlight-white {
  background: rgba(255, 255, 255, 0.95);
  color: #0e2240;
}

/* Section styling */
.about,
.menu,
.products,
.contact,
.service {
  padding: 5rem 7% 3rem;
  text-align: center;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Section divider - Enhanced */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(10, 102, 194, 0.3) 20%,
      rgba(10, 102, 194, 0.8) 50%,
      rgba(10, 102, 194, 0.3) 80%,
      transparent 100%);
  margin: 1rem auto 2rem;
  width: 85%;
  border-radius: 2px;
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--main-700);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(10, 102, 194, 0.5);
}

/* Section headings */
.about h2,
.menu h2,
.products h2,
.contact h2,
.service h2 {
  text-align: center;
  font-size: clamp(2rem, 2vw + 1.2rem, 3rem);
  margin-bottom: 1rem;
  color: var(--main-700);
  position: relative;
  display: inline-block;
}

.about h2::after,
.menu h2::after,
.products h2::after,
.contact h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-700), var(--accent-gold));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.about h2 span,
.menu h2 span,
.contact h2 span {
  color: var(--secondary);
}

.about p,
.menu p,
.products p,
.contact p,
.service p {
  text-align: center;
  max-width: 50rem;
  margin: 0.75rem auto 0;
  font-weight: 400;
  color: #4a5568;
  line-height: 1.8;
}

/* Card Grid Layout */
.about .row,
.menu .row,
.products .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-items: center;
}

/* Enhanced Cards - Glassmorphism */
.menu-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  max-width: 350px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: left 0.5s ease;
}

.menu-card:hover::before {
  left: 100%;
}

.menu-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 194, 0.3);
}

.menu-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover img {
  transform: scale(1.05);
}

.menu-card-title {
  margin: 1rem auto 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
}

.menu-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--main-700);
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.1), rgba(18, 119, 209, 0.1));
  border-radius: 20px;
}

.menu-card-desc {
  max-width: 36rem;
  margin: 0.5rem auto 0;
  color: #64748b;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  line-height: 1.6;
}

/* Products Section */
.products h2 {
  color: var(--secondary);
}

.products h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--main);
}

/* Kost Section Styles */
.kost-section {
  padding: 5rem 3% 3rem;
  text-align: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.kost-section h2 {
  font-size: clamp(2rem, 2vw + 1.2rem, 3rem);
  color: var(--main-700);
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
}

.kost-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-700), var(--accent-gold));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.kost-section h2 span {
  color: var(--secondary);
}

.section-subtitle {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  color: #64748b;
  margin-bottom: 3rem;
}

.kost-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
  justify-content: center;
  align-items: stretch;
}

.kost-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.kost-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 194, 0.3);
}

.kost-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.badge {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-available {
  background: #047857;
  color: #ffffff;
}

.badge-gender {
  background: #0a66c2;
  color: #ffffff;
}

.badge-soon {
  background: #b45309;
  color: #ffffff;
}

.kost-header h3 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.room-size {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.room-size svg {
  width: 18px;
  height: 18px;
  color: var(--main-700);
}

.kost-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.05), rgba(10, 102, 194, 0.1));
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  width: fit-content;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--main-700);
}

.price-period {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

/* Gallery inside Card */
.kost-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* Details and Facilities */
.kost-details h4 {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.kost-facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.kost-facilities-grid li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #475569;
  position: relative;
  padding-left: 28px;
  min-height: 24px;
}

.kost-facilities-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: #047857;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(4, 120, 87, 0.2);
}

.kost-facilities-grid li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-55%) rotate(45deg);
  width: 4px;
  height: 7px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
}

.kost-action {
  margin-top: auto;
  width: 100%;
}

.kost-action .cta {
  width: 100%;
  justify-content: center;
  margin-top: 0;
}

/* Coming Soon Card Specifics */
.coming-soon-floor {
  background: rgba(255, 255, 255, 0.6);
  border-style: dashed;
  border-color: rgba(100, 116, 139, 0.3);
}

.coming-soon-floor:hover {
  border-color: var(--accent-gold);
}

.coming-soon-text {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.coming-soon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(100, 116, 139, 0.05);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: #0f172a;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.coming-soon-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.coming-soon-icon svg {
  width: 30px;
  height: 30px;
}

.coming-soon-placeholder p {
  font-size: 0.95rem;
  margin: 0;
}

.cta-secondary {
  background: transparent;
  color: var(--main-700);
  border: 2px solid var(--main-700);
  box-shadow: none;
}

.cta-secondary:hover {
  background: var(--main-700);
  color: white;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.2);
}

@media (max-width: 992px) {
  .kost-container {
    grid-template-columns: 1fr;
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-item {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .kost-card {
    padding: 1.5rem;
  }
  .kost-facilities-grid {
    grid-template-columns: 1fr;
  }
  .kost-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .gallery-item {
    height: 110px;
  }
}

/* CTA Button - Enhanced */
.cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(1rem, 0.8rem + 0.4vw, 1.2rem) clamp(2rem, 1.5rem + 1vw, 3rem);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  font-weight: 600;
  color: var(--primary);
  background: linear-gradient(135deg, var(--main-700), var(--main-600));
  background-size: 200% 200%;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(10, 102, 194, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: gradientShift 3s ease infinite;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.4s ease;
}

.cta:hover::before {
  left: 100%;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(10, 102, 194, 0.45);
}

.cta:active {
  transform: translateY(-1px);
}

/* Notice Section */
.notice {
  padding: 2rem 7%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(20px);
  text-align: center;
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 1000px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.notice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--main-700), var(--accent-gold), var(--main-600));
}

.notice p {
  max-width: 56rem;
  margin: 0.5rem auto;
}

.payments-info {
  font-weight: 600;
  color: var(--main-700);
  font-size: 1.1rem;
}

/* Contact Section */
.contact .row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  background: transparent;
  align-items: start;
}

.contact .row .map {
  width: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.contact .row form {
  padding: 1.5rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact .row form .output-group h4 {
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--main-700);
  background: transparent;
  padding: 0.5rem 0;
  font-size: clamp(1.3rem, 1rem + 0.6vw, 1.8rem);
  border-bottom: 2px solid rgba(10, 102, 194, 0.2);
  margin-bottom: 1rem;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact .row form .input-group:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(10, 102, 194, 0.2);
  transform: translateX(5px);
}

.contact .row form .input-group i {
  color: var(--main-700);
  min-width: 24px;
}

.contact .row form .input-group .check-icon {
  margin-left: auto;
  color: #10b981;
  min-width: 20px;
}

.contact .row form .input-group h4 {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
  font-weight: 500;
  color: #2d3748;
}

.contact .rowe {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.contact .rowe .about-img {
  width: 100%;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .rowe .qris-card,
.contact .rowe .pricelist-card {
  flex: 1 1 45%;
  max-width: 530px;
}

.contact .rowe .about-img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact .rowe .about-img p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.contact .rowe .about-img img {
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  background: #f8fafc;
  padding: 0.5rem;
}

.contact .rowe .qris-card img,
.contact .rowe .pricelist-card img {
  height: 520px;
}

/* Download Button style */
.download-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, var(--main-700), var(--main-600));
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.2);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
}

.download-btn svg {
  width: 18px;
  height: 18px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0e2240 0%, #00529b 100%);
  text-align: center;
  padding: 3rem 7% 1.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), #fbbf24, var(--accent-gold));
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 2rem;
  text-align: left;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.footer-logo {
  height: clamp(48px, 5vw, 64px);
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  opacity: 0.92;
}

.footer-name {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.2rem;
}

.footer-tagline {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.88rem);
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.footer-wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.footer-wa-btn svg {
  width: 18px;
  height: 18px;
}

.footer-divider {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

footer .credit {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

footer .credit a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer .credit a:hover {
  color: var(--accent-gold);
}

/* FAQ Chat Widget Styles */
.faq-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  font-family: "Poppins", sans-serif;
}

.faq-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-700), var(--main-600));
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(10, 102, 194, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.faq-chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(10, 102, 194, 0.5);
}

.faq-chat-toggle svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.faq-chat-toggle.active svg {
  transform: rotate(90deg);
}

.faq-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-height: 500px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.faq-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.faq-chat-header {
  background: linear-gradient(135deg, var(--main-700), var(--main-600));
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-chat-header-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-chat-header-icon svg {
  width: 24px;
  height: 24px;
}

.faq-chat-header-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.faq-chat-header-text p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
  text-align: left;
}

.faq-chat-body {
  padding: 1rem;
  max-height: 350px;
  overflow-y: auto;
}

.faq-chat-welcome {
  text-align: center;
  padding: 1rem 0;
  color: #64748b;
  font-size: 0.95rem;
}

.faq-questions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-question-btn {
  width: 100%;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 0.95rem;
  color: #334155;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.faq-question-btn:hover {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: var(--main-700);
  transform: translateX(5px);
}

.faq-answer {
  display: none;
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  color: #475569;
  line-height: 1.6;
  animation: slideInUp 0.3s ease;
}

.faq-answer.show {
  display: block;
}

.faq-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  color: var(--main-700);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.faq-back-btn:hover {
  background: #f1f5f9;
  border-color: var(--main-700);
}

/* Message bubbles styling */
.faq-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-message {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  max-width: 85%;
  animation: slideInUp 0.3s ease;
}

.faq-message.bot {
  background: #f1f5f9;
  color: #334155;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.faq-message.user {
  background: linear-gradient(135deg, var(--main-700), var(--main-600));
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Responsive Design */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

@media (max-width: 992px) {
  .contact .row {
    grid-template-columns: 1fr;
  }

  .contact .row .map {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  #hamburger-menu {
    display: flex;
  }

  .navbar .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 200px;
    height: 100vh;
    background: rgba(10, 102, 194, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    flex-direction: column;
    padding: 2rem 0.75rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 9998;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem 1rem;
  }

  .close-sidebar {
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin-right: auto;
    border-radius: 50%;
    transition: background 0.3s ease;
  }

  .close-sidebar:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .close-sidebar svg {
    width: 24px;
    height: 24px;
  }

  .sidebar-logo {
    display: block;
    height: 32px;
    width: auto;
    object-fit: contain;
    order: 2; /* Put logo on the right */
  }

  .sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-align: right;
    order: 1; /* Put text on the left */
  }

  .sidebar-divider {
    display: block;
    height: 1px;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0.2), transparent);
    margin: 0.5rem 0.5rem 1.5rem;
  }

  .navbar .navbar-nav a {
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin: 0.3rem 0;
    padding: 0.8rem 0.75rem;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: right;
    border-radius: var(--radius-md);
    border-right: 3px solid transparent;
    transition: all 0.3s ease;
  }

  .navbar .navbar-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-right-color: var(--accent-gold);
    padding-right: 1.1rem;
  }

  .navbar .navbar-nav a::after {
    display: none;
  }

  .hero {
    background-attachment: scroll;
    min-height: 90vh;
  }

  /* Fix: body::before position:fixed causes flicker on iOS/mobile browsers */
  body::before {
    position: absolute;
  }

  .hero .content {
    max-width: 100%;
    padding: 7rem 5% 2rem;
  }

  .about .row,
  .menu .row,
  .products .row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .menu-card {
    max-width: 100%;
  }

  .faq-chat-window {
    width: calc(100vw - 40px);
    max-width: 380px;
    right: -10px;
  }

  .contact .rowe .qris-card,
  .contact .rowe .pricelist-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .contact .rowe .qris-card img,
  .contact .rowe .pricelist-card img {
    height: auto;
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 55%;
  }

  .navbar {
    padding: 1rem 5%;
  }

  .hero .content h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    line-height: 1.2;
  }

  .hero .content p {
    font-size: 1.4rem;
  }

  .hero .content q {
    font-size: 1.1rem;
  }

  .cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .faq-chat-toggle {
    width: 54px;
    height: 54px;
  }

  .faq-chat-window {
    bottom: 70px;
    max-height: 70vh;
  }
}

/* Remove old n8n chat styles - keeping this section clean */
#n8n-chat-widget {
  display: none !important;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

/* Print styles */
@media print {

  .navbar,
  .faq-chat-widget,
  footer {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
  }

  body {
    background: white;
  }
}