/* ===================================
   NARAYAR.COM - Design System & Global Styles
   Hair Styling Course Business
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  --primary: #990011;
  --primary-light: #cc1133;
  --primary-dark: #770011;

  /* Luxury Gold Accents */
  --gold: #b38728;
  --gold-light: #bf953f;
  --gold-gradient: linear-gradient(135deg, #bf953f, #d4af37, #b38728, #fbf5b7, #aa771c);

  --gray-light: #b4b4b4;
  --gray-dark: #545454;
  --black: #000000;
  --white: #ffffff;
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fbfbfb;
  --glass: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.06);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 10px 30px rgba(153, 0, 17, 0.06);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.06);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-th: 'Kanit', sans-serif;
  --font-en: 'Kanit', sans-serif;

  /* Text color design tokens */
  --text-main: #000000;
  --text-muted: #545454;
  --text-light: #888888;
  --text-white: #ffffff;

  /* Theme-specific overrides variables */
  --primary-rgb: 153, 0, 17;
  --bg-gradient-end: #fff2f4;
  --bg-footer: #f5f5f5;
  --bg-scrolled-rgb: 255, 255, 255;
}

/* --- Global Theme Transitions --- */
body, header, footer, section, .card, .btn, h1, h2, h3, h4, p, span, a, input, textarea, table, th, td {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

/* --- Themes --- */
body.theme-crimson {
  --primary: #990011;
  --primary-light: #cc1133;
  --primary-dark: #770011;
  --primary-rgb: 153, 0, 17;
  --gold: #b4b4b4;
  --gold-light: #b4b4b4;
  --gold-gradient: linear-gradient(135deg, #b4b4b4, #545454, #b4b4b4);
  --gray-light: #b4b4b4;
  --gray-dark: #8e8e93;
  --bg-dark: #000000;
  --bg-card: rgba(84, 84, 84, 0.2);
  --bg-card-hover: rgba(84, 84, 84, 0.35);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(153, 0, 17, 0.3);
  --shadow-gold: 0 0 20px rgba(180, 180, 180, 0.2);
  --text-main: #ffffff;
  --text-muted: #b4b4b4;
  --text-light: #545454;
  --bg-gradient-end: #2d181b;
  --bg-footer: #0a0a0a;
  --bg-scrolled-rgb: 0, 0, 0;
}

body.theme-darkgray {
  --primary: #990011;
  --primary-light: #cc1133;
  --primary-dark: #770011;
  --primary-rgb: 153, 0, 17;
  --gold: #b4b4b4;
  --gold-light: #b4b4b4;
  --gold-gradient: linear-gradient(135deg, #b4b4b4, #000000, #b4b4b4);
  --gray-light: #b4b4b4;
  --gray-dark: #545454;
  --bg-dark: #545454;
  --bg-card: #000000;
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(153, 0, 17, 0.3);
  --shadow-gold: 0 0 20px rgba(180, 180, 180, 0.2);
  --text-main: #ffffff;
  --text-muted: #b4b4b4;
  --text-light: #000000;
  --bg-gradient-end: #3d2a2d;
  --bg-footer: #3d3d3d;
  --bg-scrolled-rgb: 84, 84, 84;
}

body.theme-lightgray {
  --primary: #990011;
  --primary-light: #cc1133;
  --primary-dark: #770011;
  --primary-rgb: 153, 0, 17;
  --gold: #545454;
  --gold-light: #545454;
  --gold-gradient: linear-gradient(135deg, #545454, #b4b4b4, #545454);
  --gray-light: #545454;
  --gray-dark: #b4b4b4;
  --bg-dark: #b4b4b4;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f5;
  --glass: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.12);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 10px 30px rgba(153, 0, 17, 0.06);
  --shadow-gold: 0 10px 30px rgba(84, 84, 84, 0.06);
  --text-main: #000000;
  --text-muted: #545454;
  --text-light: #ffffff;
  --bg-gradient-end: #ffffff;
  --bg-footer: #a6a6a6;
  --bg-scrolled-rgb: 180, 180, 180;
}

body.theme-platinum {
  --primary: #b4b4b4;
  --primary-light: #ffffff;
  --primary-dark: #545454;
  --primary-rgb: 180, 180, 180;
  --gold: #990011;
  --gold-light: #cc1133;
  --gold-gradient: linear-gradient(135deg, #990011, #545454, #990011);
  --gray-light: #b4b4b4;
  --gray-dark: #545454;
  --bg-dark: #000000;
  --bg-card: rgba(84, 84, 84, 0.35);
  --bg-card-hover: rgba(84, 84, 84, 0.5);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(180, 180, 180, 0.2);
  --shadow-gold: 0 0 20px rgba(153, 0, 17, 0.25);
  --text-main: #ffffff;
  --text-muted: #b4b4b4;
  --text-light: #990011;
  --bg-gradient-end: #1a1a1a;
  --bg-footer: #000000;
  --bg-scrolled-rgb: 0, 0, 0;
}

body.theme-charcoal {
  --primary: #000000;
  --primary-light: #545454;
  --primary-dark: #000000;
  --primary-rgb: 0, 0, 0;
  --gold: #990011;
  --gold-light: #cc1133;
  --gold-gradient: linear-gradient(135deg, #990011, #000000, #990011);
  --gray-light: #b4b4b4;
  --gray-dark: #545454;
  --bg-dark: #545454;
  --bg-card: #b4b4b4;
  --bg-card-hover: #a5a5a5;
  --glass: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.15);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-gold: 0 10px 30px rgba(153, 0, 17, 0.15);
  --text-main: #000000;
  --text-muted: #545454;
  --text-light: #ffffff;
  --bg-gradient-end: #545454;
  --bg-footer: #000000;
  --bg-scrolled-rgb: 84, 84, 84;
}

body.theme-alabaster {
  --primary: #990011;
  --primary-light: #cc1133;
  --primary-dark: #770011;
  --primary-rgb: 153, 0, 17;
  --gold: #545454;
  --gold-light: #545454;
  --gold-gradient: linear-gradient(135deg, #545454, #b4b4b4, #545454);
  --gray-light: #545454;
  --gray-dark: #b4b4b4;
  --bg-dark: #ffffff;
  --bg-card: rgba(180, 180, 180, 0.15);
  --bg-card-hover: rgba(180, 180, 180, 0.25);
  --glass: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 10px 30px rgba(153, 0, 17, 0.04);
  --shadow-gold: 0 10px 30px rgba(84, 84, 84, 0.04);
  --text-main: #000000;
  --text-muted: #545454;
  --text-light: #ffffff;
  --bg-gradient-end: #ffffff;
  --bg-footer: #ffffff;
  --bg-scrolled-rgb: 255, 255, 255;
}

/* --- Theme Switcher Buttons --- */
.theme-btn {
  border: 2px solid var(--glass-border) !important;
  color: var(--text-muted) !important;
  background-color: var(--bg-card) !important;
  transition: var(--transition) !important;
}
.theme-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light) !important;
  box-shadow: var(--shadow-glow);
}
.theme-btn.active {
  border-color: var(--primary) !important;
  background-color: rgba(var(--primary-rgb), 0.05) !important;
  color: var(--primary) !important;
  box-shadow: var(--shadow-glow);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-th);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul,
ol {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), #ff4466);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--primary);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--primary);
  vertical-align: middle;
  margin: 0 12px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(var(--bg-scrolled-rgb), 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo .logo-dot {
  color: var(--primary);
}

/* Desktop Links (hidden — sidebar is primary nav) */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-desk-link {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  color: #333;
  transition: var(--transition);
  text-decoration: none;
}

.nav-desk-link:hover {
  color: var(--primary);
  background: rgba(153, 0, 17, 0.06);
}

.nav-desk-link.active {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

/* Auth Info (Desktop) */
.nav-auth-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.nav-user-name {
  font-size: 0.85rem;
  color: #444;
}

.nav-logout {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.nav-login-btn {
  padding: 8px 24px;
  background: transparent;
  color: #0066cc;
  border: 2px solid #0066cc;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.nav-login-btn:hover {
  background: rgba(0, 102, 204, 0.08);
  transform: translateY(-1px);
}

/* Auth Group */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

/* Cart Button */
.nav-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  text-decoration: none;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition);
}
.nav-cart-btn:hover {
  color: var(--primary);
  background: rgba(153, 0, 17, 0.06);
}
.nav-cart-btn svg { display: block; }

/* Register Button */
.nav-register-btn {
  padding: 8px 24px;
  background: #0066cc;
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.nav-register-btn:hover {
  background: #0055b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

/* Sidebar Register */
.sidebar-register {
  background: #0066cc !important;
  color: #fff !important;
  border-radius: 8px;
  text-align: center;
  margin: 4px 12px !important;
  padding: 12px !important;
  font-weight: 600;
}

/* Hamburger Button — always visible */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Panel */
.sidebar-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 1600;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  border-left: 1px solid var(--glass-border);
}

.sidebar-panel.open {
  right: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
}

.sidebar-title {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
}

.sidebar-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}

.sidebar-close:hover {
  background: var(--primary);
  color: var(--white);
}

.sidebar-link {
  padding: 12px 0;
}

.community-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.community-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.community-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.community-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.community-platform {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.community-platform svg {
  margin-right: 12px;
}

.community-item a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.community-item:hover a {
  color: var(--white);
}

/* --- Filter Buttons --- */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--gray-light);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-th);
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary-light);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(153, 0, 17, 0.4);
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.sidebar-link:hover {
  background: var(--bg-card-hover);
  color: var(--primary);
}

.sidebar-link.active {
  color: var(--primary);
  font-weight: 700;
  background: rgba(var(--primary-rgb), 0.05);
}

.sidebar-chevron {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: var(--transition);
}

.sidebar-link:hover .sidebar-chevron {
  color: var(--primary);
}

.sidebar-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 8px 24px;
}

.sidebar-login {
  color: var(--primary);
  font-weight: 700;
}

/* Language Toggle */
.lang-toggle {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gray-light);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-left: 4px;
}

.lang-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.flag-icon {
  vertical-align: middle;
  border-radius: 2px;
  margin-right: 2px;
  flex-shrink: 0;
}

.nav-mobile-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-mobile-right .lang-toggle {
  margin-left: 0;
}

/* --- Language Dropdown --- */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 4px;
}
.nav-mobile-right .lang-dropdown { margin-left: 0; }
.lang-dropdown .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0;
}
.lang-caret {
  opacity: 0.8;
  transition: transform 0.2s ease;
}
.lang-dropdown.open .lang-caret { transform: rotate(180deg); }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 6px;
  display: none;
  z-index: 1300;
}
.lang-dropdown.open .lang-menu { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-main, #1a1a1a);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.lang-option:hover { background: rgba(153, 0, 17, 0.08); }
.lang-option.active {
  background: rgba(153, 0, 17, 0.12);
  color: var(--primary);
  font-weight: 700;
}

/* --- Fixed Side Widget --- */
.side-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  background: rgba(var(--bg-scrolled-rgb), 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  box-shadow: -4px 4px 24px rgba(var(--primary-rgb), 0.25);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-right: none;
  width: 60px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.side-widget:hover {
  width: 150px;
  box-shadow: -8px 8px 32px rgba(var(--primary-rgb), 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
}

.side-widget-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  text-decoration: none;
  color: var(--gold-light);
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
  width: 150px;
  box-sizing: border-box;
}

.side-widget-item:last-child {
  border-bottom: none;
}

.side-widget-item:hover {
  background: rgba(var(--primary-rgb), 0.2);
}

.side-widget-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.15);
  border-radius: 10px;
  color: var(--primary-light);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.side-widget-item:hover .side-widget-icon {
  background: rgba(var(--primary-rgb), 0.3);
  transform: scale(1.08);
  color: var(--gold);
}

.side-widget-item span {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.side-widget:hover .side-widget-item span {
  opacity: 1;
  transform: translateX(0);
}

.side-widget-handle {
  display: none; /* Hidden on desktop */
}

@keyframes pulseGold {
  0% { box-shadow: -2px 0 8px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: -4px 0 16px rgba(212, 175, 55, 0.6); }
  100% { box-shadow: -2px 0 8px rgba(212, 175, 55, 0.2); }
}

@media (max-width: 768px) {
  .side-widget {
    transform: translateY(-50%) translateX(100%);
    width: 60px !important; /* Disable hover expansion on mobile */
  }

  .side-widget.active {
    transform: translateY(-50%) translateX(0);
  }

  .side-widget-handle {
    display: flex;
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 60px;
    background: rgba(20, 10, 12, 0.95);
    border: 1px solid rgba(153, 0, 17, 0.3);
    border-right: none;
    border-radius: 8px 0 0 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    animation: pulseGold 2.5s infinite;
    transition: color 0.3s ease;
  }

  .side-widget-handle svg {
    transition: transform 0.3s ease;
  }

  .side-widget.active .side-widget-handle svg {
    transform: rotate(180deg);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-th);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(153, 0, 17, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(153, 0, 17, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(153, 0, 17, 0.1);
  color: var(--primary-light);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--black);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
  filter: brightness(1.1);
}

/* --- Luxury Promotions --- */
.promo-luxury {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 50%, var(--bg-gradient-end) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.promo-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.promo-luxury-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(153, 0, 17, 0.3);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(153, 0, 17, 0.15);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 12px;
}

.card-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.card-price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-light);
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-gradient-end) 50%, var(--bg-dark) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.02) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 10s ease-in-out infinite reverse;
}

.hero>.hero-bg~.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-video {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-video .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #0a0a0a;
}

.hero-video .video-wrapper iframe,
.hero-video .video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-video .video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(153, 0, 17, 0.08), rgba(20, 20, 20, 0.9));
  cursor: pointer;
  transition: var(--transition);
}

.hero-video .video-placeholder:hover {
  background: linear-gradient(135deg, rgba(153, 0, 17, 0.15), rgba(20, 20, 20, 0.85));
}

.hero-video .play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 8px 30px rgba(153, 0, 17, 0.5);
  transition: var(--transition);
  margin-bottom: 16px;
}

.hero-video .video-placeholder:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(153, 0, 17, 0.7);
}

.hero-video .video-label {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 36px;
  color: var(--text-muted);
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
}

.hero-stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.hero-stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(153, 0, 17, 0.25);
  box-shadow: 0 18px 44px rgba(153, 0, 17, 0.16);
}

.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f0f0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(153, 0, 17, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(153, 0, 17, 0.5);
}

.team-info {
  padding: 20px 24px 28px;
}

.team-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-tags span {
  padding: 4px 14px;
  background: rgba(153, 0, 17, 0.12);
  border: 1px solid rgba(153, 0, 17, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 500;
}

.team-card { cursor: pointer; }
.team-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
  opacity: 0.85;
  transition: var(--transition);
}
.team-card:hover .team-more { opacity: 1; transform: translateX(3px); }

/* --- Team Profile Modal (#teamNARAYAR) --- */
.team-modal[hidden] { display: none !important; }
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.team-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 6, 8, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.team-modal.open .team-modal-overlay { opacity: 1; }
.team-modal-card {
  position: relative;
  width: min(820px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border: 6px solid #111;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(.2,.8,.25,1), opacity 0.28s ease;
  display: flex;
  flex-direction: column;
}
.team-modal.open .team-modal-card { transform: translateY(0) scale(1); opacity: 1; }

/* Header: logo + close */
.team-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 10px;
}
.team-modal-logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; color: #1a1a1a; line-height: 1; }
.team-modal-logo small { display: block; font-size: 0.6rem; letter-spacing: 5px; font-weight: 600; color: #888; margin-top: 2px; }
.team-modal-close {
  width: 40px; height: 40px;
  border: none; background: transparent;
  color: #1a1a1a; font-size: 1.9rem; line-height: 1; cursor: pointer;
  transition: var(--transition); border-radius: 50%;
}
.team-modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }

/* Body: two columns — bio LEFT, photo+label RIGHT (per brief) */
.team-modal-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  padding: 6px 30px 26px;
}
.team-modal-left { padding-top: 10px; }
.team-modal-nameen { font-size: 1.45rem; font-weight: 800; color: var(--primary); margin: 0 0 2px; }
.team-modal-subtitle { font-size: 1rem; font-weight: 700; color: #2a2a2a; margin: 0 0 16px; }
.team-modal-bio { list-style: none; padding: 0; margin: 0; }
.team-modal-bio li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #444;
}
.team-modal-bio li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
}
.team-modal-social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.team-modal-social a {
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
  text-decoration: none; border-bottom: 1px solid rgba(153,0,17,0.3); padding-bottom: 1px;
}
.team-modal-social a:hover { color: var(--primary-light); }

/* Right column */
.team-modal-right { text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-modal-roletop { display: block; margin-bottom: 10px; }
.team-modal-roletop .rt-en { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 1px; color: var(--primary); }
.team-modal-roletop .rt-th { display: block; font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.team-modal-photo {
  width: 150px; height: 150px; border-radius: 50%;
  overflow: hidden; background: linear-gradient(160deg, #f4eef0, #e4d8db);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.15); margin: 4px 0 12px;
}
.team-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-modal-photo.no-photo::after {
  content: ""; width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.team-modal-nameth { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin: 0 0 4px; }
.team-modal-role { font-size: 0.85rem; font-weight: 600; color: var(--primary-light); margin: 0 0 14px; }
.team-modal-tags { justify-content: center; }

/* Bottom red banner */
.team-modal-banner {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff; text-align: center;
  font-size: 1.15rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 16px; margin: 0 22px 22px; border-radius: 6px;
}
.team-modal-banner strong { font-weight: 800; }

@media (max-width: 680px) {
  .team-modal-card { border-width: 4px; }
  .team-modal-body { grid-template-columns: 1fr; gap: 18px; padding: 6px 20px 20px; }
  .team-modal-right { order: -1; }
  .team-modal-nameen { font-size: 1.25rem; }
  .team-modal-banner { font-size: 1rem; }
}

/* --- Page Header (Inner Pages) --- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(153, 0, 17, 0.08) 0%, var(--bg-dark) 100%);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(153, 0, 17, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(153, 0, 17, 0.3);
  transform: translateY(-4px);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-card .review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
}

.avatar-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  overflow: hidden;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.reviewer-info h4 {
  font-size: 1rem;
  font-weight: 600;
}

.reviewer-info p {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.reviewer-ig {
  display: inline-block;
  font-size: 0.78rem;
  color: #c13584;
  text-decoration: none;
  margin-top: 3px;
  font-weight: 500;
  transition: var(--transition);
}

.reviewer-ig:hover {
  color: #e1306c;
  text-decoration: underline;
}

.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* --- Promo Cards --- */
.promo-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04), var(--bg-card));
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(153, 0, 17, 0.2), transparent);
  border-radius: 50%;
}

.promo-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.promo-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0;
}

.promo-price .original {
  font-size: 1.1rem;
  color: var(--gray-dark);
  text-decoration: line-through;
}

.promo-price .discounted {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}

/* --- Portfolio / Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(153, 0, 17, 0.6), transparent);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Filter Buttons --- */
.filter-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--gray-light);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-th);
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-th);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(153, 0, 17, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(153, 0, 17, 0.3);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(153, 0, 17, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.contact-info-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.contact-info-card p {
  font-size: 0.95rem;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* --- Footer --- */
.footer {
  background: var(--bg-footer);
  padding: 0;
  color: var(--text-main);
}

/* Dual Logo Row */
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 48px 0 36px;
}

.footer-logo-item {
  text-align: center;
}

.footer-logo-item h2 {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text-main);
  line-height: 1;
}

.footer-logo-item span {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 5px;
  color: var(--text-muted);
  font-weight: 400;
}

.footer-logo-x {
  font-size: 1.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 36px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom .social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-bottom .social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass);
  color: var(--text-main);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom .social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Feature List --- */
.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-light);
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(153, 0, 17, 0.15);
  color: var(--primary-light);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Animations --- */
@keyframes pulse {

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

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Decorative Elements --- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 0 auto 30px;
}

.bg-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

/* --- Map Container --- */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  font-size: 1.1rem;
  margin-top: 30px;
}

/* --- Community Cards --- */
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  color: var(--text-main);
}

.community-card:hover {
  transform: translateY(-6px);
  border-color: rgba(153, 0, 17, 0.4);
  box-shadow: var(--shadow-glow);
}

.community-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.4;
}

.community-social {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.community-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.community-platform {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.community-item a {
  font-size: 0.95rem;
  color: var(--gray-light);
  transition: var(--transition);
}

.community-item a:hover {
  color: var(--primary-light);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(153, 0, 17, 0.3);
}

.faq-item.open {
  border-color: rgba(153, 0, 17, 0.4);
  box-shadow: 0 4px 20px rgba(153, 0, 17, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
}

.faq-question h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(153, 0, 17, 0.15);
  border-radius: 50%;
  color: var(--primary-light);
  font-size: 1.3rem;
  font-weight: 300;
  transition: var(--transition);
}

.faq-item.open .faq-toggle {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ====================================
   Responsive Design — All Breakpoints
   ==================================== */

/* Default: hide mobile-only elements */
.mobile-bottom-nav {
  display: none;
}

/* ----- Desktop (≥1024px) — hamburger on all sizes ----- */
@media (min-width: 1024px) {
  .nav-mobile-right {
    display: flex;
  }
}

/* ----- Tablet (≤1023px) ----- */
@media (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-logos {
    gap: 24px;
  }

  .footer-logos h2 {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ----- Phone Landscape / Small Tablet (600–767px) ----- */
@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 70px;
  }

  .hero>.hero-bg~.container {
    grid-template-columns: 1fr;
  }

  .hero-video {
    margin-top: 20px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 28px;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat h3 {
    font-size: 1.8rem;
  }

  .hero-stat p {
    font-size: 0.8rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-logos {
    flex-direction: column;
    gap: 12px;
    padding: 32px 0 24px;
  }

  .footer-logos h2 {
    font-size: 1.3rem;
  }

  .footer-logo-x {
    font-size: 1.2rem;
  }

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

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

  .page-header {
    padding: 120px 0 50px;
  }

  .promo-card {
    padding: 28px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .faq-question {
    padding: 16px 20px;
  }

  .faq-question h4 {
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.open .faq-answer {
    padding: 0 20px 16px;
  }

  /* Community cards — stack on phone */
  .community-grid {
    grid-template-columns: 1fr !important;
  }

  /* Side widget adjustments */
  .side-widget {
    display: none;
  }

  /* Mobile Bottom Nav */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    background: rgba(var(--bg-scrolled-rgb), 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(var(--primary-rgb), 0.3);
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
    /* Force hardware acceleration on iOS */
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 10px;
    transition: var(--transition);
    min-width: 70px;
  }

  .bottom-nav-item:hover,
  .bottom-nav-item:active {
    color: var(--primary-light);
    background: rgba(var(--primary-rgb), 0.15);
  }

  .bottom-nav-item svg {
    color: var(--primary-light);
    opacity: 0.8;
    transition: var(--transition);
  }

  .bottom-nav-item:hover svg,
  .bottom-nav-item:active svg {
    opacity: 1;
    color: var(--gold);
    transform: scale(1.1);
  }

  body {
    padding-bottom: 70px;
  }
}

/* ----- Phone Portrait (≤480px) ----- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

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

  .section-header h2 {
    font-size: 1.5rem;
  }

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

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

  .nav-logo {
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 18px;
  }

  .testimonial-card .review-text {
    font-size: 0.88rem;
  }

  .reviewer-avatar {
    width: 46px;
    height: 46px;
  }

  .reviewer-info h4 {
    font-size: 0.9rem;
  }

  .reviewer-info p {
    font-size: 0.78rem;
  }

  .reviewer-ig {
    font-size: 0.72rem;
  }

  .faq-question {
    padding: 14px 16px;
  }

  .faq-question h4 {
    font-size: 0.9rem;
  }

  .faq-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 1.1rem;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.open .faq-answer {
    padding: 0 16px 14px;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }

  .promo-card {
    padding: 22px;
  }

  .page-header {
    padding: 110px 0 40px;
  }

  .hero-stat h3 {
    font-size: 1.5rem;
  }

  .bottom-nav-item {
    font-size: 0.6rem;
    min-width: 60px;
    padding: 5px 8px;
  }

  .bottom-nav-item svg {
    width: 20px;
    height: 20px;
  }

  .side-widget-item span {
    font-size: 0.6rem;
  }
}

/* ----- Very Small Phone (≤360px) ----- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .lang-toggle {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .bottom-nav-item {
    min-width: 50px;
    font-size: 0.55rem;
    padding: 4px 6px;
  }
}