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

:root {
  --primary: #0a2640;
  --primary-light: #1b4965;
  --accent: #c8a45a;
  --accent-light: #e8d5a3;
  --accent-dark: #a88832;
  --bg-light: #f8f9fa;
  --bg-cream: #faf7f2;
  --bg-dark: #0a1628;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a5a;
  --text-light: #7a7a8a;
  --white: #ffffff;
  --border-light: rgba(200, 164, 90, 0.15);
  --shadow-sm: 0 2px 8px rgba(10, 38, 64, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 38, 64, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 38, 64, 0.12);
  --shadow-gold: 0 8px 30px rgba(200, 164, 90, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-medium);
  font-size: 16px;
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }

a {
  text-decoration: none !important;
  transition: var(--transition-fast);
  color: var(--primary);
}

a:hover {
  color: var(--accent);
}

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

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ============================================
   NAVBAR
============================================ */
.custom-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.custom-navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(10, 38, 64, 0.06);
  padding: 10px 0;
}

.custom-navbar .navbar-brand {
  font-size: 0;
  margin-right: 2rem;
  display: flex;
  align-items: center;
}

.custom-navbar .navbar-brand img {
  height: 85px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-navbar:not(.scrolled) .logo-scrolled {
  display: none !important;
}

.custom-navbar.scrolled .logo-white {
  display: none !important;
}

.custom-navbar.scrolled .navbar-brand img {
  height: 65px;
}

.custom-navbar .navbar-toggler {
  border: 1px solid var(--accent);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 12px;
  display: none; /* Hidden by default on desktop */
  position: relative;
  z-index: 1002;
}

.custom-navbar.scrolled .navbar-toggler {
  background: rgba(10, 38, 64, 0.05);
}

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

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

.custom-navbar .custom-navbar-nav li {
  margin: 0 4px;
}

@media (min-width: 992px) {
  .custom-navbar .custom-navbar-nav li {
    margin: 0 8px;
  }
}

.custom-navbar .custom-navbar-nav li a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white) !important;
  opacity: 0.9;
  transition: var(--transition);
  position: relative;
  padding: 8px 12px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-navbar.scrolled .custom-navbar-nav li a {
  color: var(--primary) !important;
  opacity: 0.7;
  text-shadow: none;
}

.custom-navbar .custom-navbar-nav li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.custom-navbar .custom-navbar-nav li a:hover,
.custom-navbar.scrolled .custom-navbar-nav li a:hover {
  opacity: 1;
}

.custom-navbar .custom-navbar-nav li.active a {
  opacity: 1;
}

.custom-navbar .custom-navbar-cta {
  margin-left: 0 !important;
  flex-direction: row;
  align-items: center;
}

@media (min-width: 992px) {
  .custom-navbar .custom-navbar-cta {
    margin-left: 30px !important;
  }
}

.custom-navbar .custom-navbar-cta li {
  margin: 0 !important;
}

.custom-navbar .custom-navbar-cta li:first-child {
  margin-right: 16px !important;
}

.custom-navbar .custom-navbar-cta li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.custom-navbar.scrolled .custom-navbar-cta li a {
  background: rgba(10, 38, 64, 0.05);
}

.custom-navbar .custom-navbar-cta li a img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  transition: var(--transition-fast);
}

.custom-navbar.scrolled .custom-navbar-cta li a img {
  filter: none;
}

.custom-navbar .custom-navbar-cta li a:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.custom-navbar .custom-navbar-cta li a:hover img {
  filter: brightness(0) invert(1);
}

.custom-navbar .custom-navbar-cta li a img {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

/* ============================================
   DROPDOWN MENU STYLES
============================================ */
@media (min-width: 768px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}

@keyframes slideIn {
  0% { transform: translateY(1rem); opacity: 0; }
  100% { transform: translateY(0rem); opacity: 1; }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

.dropdown-menu-dark {
  background: var(--primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
  padding: 10px !important;
  box-shadow: 0 15px 45px rgba(0,0,0,0.4) !important;
  margin-top: 15px !important;
  z-index: 1001;
}

.dropdown-item {
  border-radius: 10px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all 0.3s !important;
}

/* Ensure sub-menu items stay readable when scrolled */
.custom-navbar.scrolled .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.8) !important;
}

.custom-navbar.scrolled .dropdown-menu .dropdown-item:hover {
  color: var(--primary) !important;
  background: var(--accent) !important;
}

.dropdown-item:hover {
  background: var(--accent) !important;
  color: var(--primary) !important;
  transform: translateX(5px);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.nav-item.dropdown.active > .nav-link,
.custom-navbar.scrolled .nav-item.dropdown.active > .nav-link {
  color: var(--accent) !important;
  opacity: 1 !important;
}

/* Fix for dropdown toggle color on scroll when menu is active */
.custom-navbar.scrolled .nav-item.dropdown .nav-link:focus,
.custom-navbar.scrolled .nav-item.dropdown .nav-link:active {
  color: var(--accent) !important;
}

@media (max-width: 991px) {
  .custom-navbar .navbar-toggler {
    display: block !important;
  }
  .custom-navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(10, 38, 64, 0.05);
  }
  .custom-navbar .navbar-brand img {
    height: 55px;
  }
  .navbar-collapse {
    background: var(--primary); /* Deep dark background for mobile menu visibility */
    padding: 30px;
    margin: 15px 0 0 0; /* Removed negative margins to keep it within container */
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: transform 0.25s ease-out, opacity 0.25s ease-out !important;
    width: 100%; /* Ensure it spans the container's width */
  }
  
  .collapsing {
    transition: height 0.25s ease-out !important; /* Significantly faster than Bootstrap default */
  }
  .custom-navbar-nav {
    text-align: center;
  }
  .custom-navbar-nav li {
    margin: 15px 0 !important;
  }
  .custom-navbar-nav li a {
    color: var(--white) !important; /* White text on dark BG */
    font-size: 18px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
  }
  .custom-navbar-cta {
    justify-content: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
  }
  .custom-navbar-cta li a {
    background: rgba(255, 255, 255, 0.1) !important;
  }
  .custom-navbar-cta li a img {
    filter: brightness(0) invert(1) !important; /* Force white icons on dark BG */
  }
  .dropdown-menu {
    text-align: center;
    background: rgba(255, 255, 255, 0.05) !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 5px !important;
    padding: 10px !important;
    border-radius: 15px !important;
  }
  .dropdown-item {
    color: var(--white) !important;
    font-size: 16px !important;
    padding: 12px !important;
  }
  .dropdown-item:hover {
    background: var(--accent) !important;
    color: var(--primary) !important;
    transform: none !important;
  }
}

/* ============================================
   HERO & BANNERS (PRO ENHANCEMENTS)
============================================ */
.hero {
  margin-top: 0;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--white) 50%, rgba(200, 164, 90, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

/* Cinematic Banner Variant */
.hero.hero-cinematic {
  padding: 240px 0 160px;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; -- Disabled for better Ken Burns compatibility on mobile */
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

/* Ken Burns Effect Layer */
.hero.hero-cinematic::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.hero.hero-cinematic::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(105deg, rgba(10, 38, 64, 0.95) 0%, rgba(10, 38, 64, 0.75) 40%, rgba(10, 38, 64, 0.45) 100%);
  z-index: 1;
}

.hero.hero-cinematic .container {
  position: relative;
  z-index: 2;
}

.hero.hero-cinematic h1 {
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 25px;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  margin-bottom: 30px;
  background: rgba(200, 164, 90, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  backdrop-filter: blur(10px);
}

/* Enhanced Glassmorphism Card */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 45px;
  padding: 70px !important;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}

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

.hero-glass-card::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(200, 164, 90, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.scroll-indicator:hover { opacity: 1; }

.scroll-indicator .mouse {
  width: 26px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

.hero .hero-text {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero .intro-excerpt {
  width: 100%;
}

.hero .intro-excerpt .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(
    135deg,
    rgba(200, 164, 90, 0.12),
    rgba(200, 164, 90, 0.05)
  );
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero .intro-excerpt .hero-badge i {
  font-size: 10px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 58px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-medium);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 520px;
}

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

.hero .hero-image {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero .hero-image .hero-img-wrap {
  position: relative;
}

.hero .hero-image .hero-img-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  transition: transform 0.6s ease;
}

.hero .hero-image .hero-img-wrap img:hover {
  transform: scale(1.02);
}

.hero .hero-image .hero-second-image {
  position: absolute;
  top: 40px;
  left: -30px;
  width: 70%;
  border-radius: var(--radius-xl);
  opacity: 0.3;
  filter: blur(8px);
  z-index: -1;
  transform: none !important;
  box-shadow: none !important;
}

.hero.semi-banner {
  padding: 160px 0 80px;
  min-height: auto;
}

.hero.semi-banner .hero-text {
  height: auto;
  min-height: 250px;
}

.hero.semi-banner h1 {
  font-size: 46px;
}

.hero.semi-banner .hero-image img {
  border-radius: var(--radius-xl) !important;
  width: 75% !important;
  margin: 0 auto !important;
  display: block;
  transform: none !important;
  box-shadow: var(--shadow-lg) !important;
}

@media (max-width: 991px) {
  .hero {
    padding: 140px 0 60px;
    text-align: center;
  }
  .hero.hero-cinematic {
    padding: 160px 0 100px;
    min-height: auto;
  }
  .hero-glass-card {
    padding: 40px 25px !important;
    border-radius: 30px;
  }
  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
  .hero .hero-btns {
    flex-direction: column;
    gap: 12px;
  }
  .hero .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero .hero-image {
    margin-top: 40px;
  }
  .hero .hero-second-image {
    display: none;
  }
  .hero.semi-banner h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .hero.semi-banner .hero-image {
    display: none;
  }
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:active,
.btn:focus {
  outline: none;
  box-shadow: none;
}

.btn-primary,
.btn.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light)
  ) !important;
  border: none !important;
  color: var(--white) !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary)
  ) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 38, 64, 0.25);
}

.btn-secondary,
.btn.btn-secondary {
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-dark)
  ) !important;
  border: none !important;
  color: var(--white) !important;
}

.btn.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline,
.btn.btn-primary-outline {
  background: transparent !important;
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
}

.btn.btn-primary-outline:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn.btn-primary-hover-outline {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
}

.btn.btn-primary-hover-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn.btn-success {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  border: none !important;
  color: var(--white) !important;
}

.btn.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn.btn-white-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  color: var(--white) !important;
}

.btn.btn-white-outline:hover {
  border-color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   SECTION TITLES
============================================ */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  text-shadow: 0 1px 2px rgba(10, 38, 64, 0.05);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 600px;
  line-height: 1.8;
  opacity: 0.9;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: linear-gradient(
    135deg,
    rgba(200, 164, 90, 0.1),
    rgba(200, 164, 90, 0.05)
  );
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* ============================================
   SERVICES SECTION (Why Choose Us)
============================================ */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(10, 38, 64, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card .service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(200, 164, 90, 0.12),
    rgba(200, 164, 90, 0.04)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: var(--shadow-gold);
}

.service-card .service-icon-wrap img {
  width: 28px;
  height: 28px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-wrap img {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   PRODUCT SECTION (PREMIUM DESIGN)
============================================ */
.product-section {
  padding: 120px 0;
  background: var(--white);
}

.product-item {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(10, 38, 64, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  position: relative;
  z-index: 1;
}

.product-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 45px 90px -25px rgba(10, 38, 64, 0.15);
  border-color: rgba(200, 164, 90, 0.4);
}

.product-item .product-thumbnail-wrap {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #fcfcfc 0%, #f7f7f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
  overflow: hidden;
  position: relative;
  transition: background 0.5s ease;
}

.product-item:hover .product-thumbnail-wrap {
  background: linear-gradient(135deg, #fdfbf8 0%, #f5f0e6 100%);
}

.product-item .product-thumbnail {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.05));
}

.product-item:hover .product-thumbnail {
  transform: scale(1.15) translateY(-5px) rotate(-2deg);
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.08));
}

.product-item .product-info {
  padding: 30px;
  background: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-item .product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.8;
}

.product-item h3 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.3s;
  letter-spacing: -0.5px;
}

.product-item:hover h3 {
  color: var(--accent-dark);
}

.product-item .product-price {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-item .product-price .currency {
  font-size: 14px;
  opacity: 0.6;
  font-weight: 600;
}

/* Premium Badge */
.product-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  padding: 6px 15px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(10, 38, 64, 0.2);
}

/* Quick Add Button Overlay Re-design */
.product-item .quick-add-overlay {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  opacity: 0;
  transform: scale(0.8) translateY(-10px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 5;
}

.product-item:hover .quick-add-overlay {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.product-item .quick-add-overlay i {
  color: var(--primary);
  font-size: 18px;
}

.product-item .quick-add-overlay:hover {
  background: var(--primary);
  box-shadow: 0 10px 25px rgba(10, 38, 64, 0.2);
}

.product-item .quick-add-overlay:hover i {
  color: var(--white);
}

.product-section .product-item::before {
  display: none;
}

/* ============================================
   WE HELP SECTION (About)
============================================ */
.we-help-section {
  padding: 100px 0;
  background: var(--white);
}

.we-help-section .imgs-grid {
  display: grid;
  grid-template-columns: repeat(27, 1fr);
  position: relative;
}

.we-help-section .imgs-grid::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 164, 90, 0.15) 0%,
    transparent 70%
  );
  transform: translate(-30%, -30%);
  z-index: 0;
}

.we-help-section .imgs-grid .grid {
  position: relative;
  z-index: 1;
}

.we-help-section .imgs-grid .grid img {
  border-radius: var(--radius-lg);
  max-width: 100%;
  box-shadow: var(--shadow-md);
}

.we-help-section .imgs-grid .grid.grid-1 {
  grid-column: 1 / span 18;
  grid-row: 1 / span 27;
}

.we-help-section .imgs-grid .grid.grid-2 {
  grid-column: 19 / span 27;
  grid-row: 1 / span 5;
  padding-left: 20px;
}

.we-help-section .imgs-grid .grid.grid-3 {
  grid-column: 14 / span 16;
  grid-row: 6 / span 27;
  padding-top: 20px;
}

.custom-list {
  width: 100%;
}

.custom-list li {
  display: inline-block;
  width: calc(50% - 20px);
  margin-bottom: 14px;
  line-height: 1.6;
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.custom-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  position: absolute;
  left: 0;
  top: 8px;
  border: none;
}

/* ============================================
   WHY CHOOSE US SECTION
============================================ */
.why-choose-section {
  padding: 100px 0;
  background: var(--bg-cream);
}

.why-choose-section .img-wrap {
  position: relative;
}

.why-choose-section .img-wrap::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 164, 90, 0.15) 0%,
    transparent 70%
  );
  transform: translate(-30%, -30%);
  z-index: 0;
}

.why-choose-section .img-wrap img {
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.feature {
  margin-bottom: 36px;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(200, 164, 90, 0.15),
    rgba(200, 164, 90, 0.05)
  );
  margin-bottom: 16px;
  position: relative;
}

.feature .icon::before {
  display: none;
}

.feature .icon img {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   TESTIMONIAL SECTION
============================================ */
.testimonial-section {
  padding: 80px 0 100px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 164, 90, 0.1) 0%,
    transparent 70%
  );
}

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

.testimonial-section .section-badge {
  background: rgba(200, 164, 90, 0.15);
  border-color: rgba(200, 164, 90, 0.25);
  color: var(--accent-light);
}

.testimonial-slider-wrap {
  position: relative;
}

.testimonial-slider-wrap .tns-inner {
  padding-top: 30px;
}

.testimonial-slider-wrap .item .testimonial-block blockquote {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  font-style: italic;
}

@media (min-width: 768px) {
  .testimonial-slider-wrap .item .testimonial-block blockquote {
    font-size: 18px;
    line-height: 2;
  }
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
  margin-bottom: 16px;
}

.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
  max-width: 70px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  padding: 2px;
  background: var(--white);
}

.testimonial-slider-wrap .item .testimonial-block .author-info h3 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.testimonial-slider-wrap .item .testimonial-block .author-info .position {
  color: var(--accent-light);
  font-size: 13px;
}

.testimonial-slider-wrap #testimonial-nav {
  position: absolute;
  top: 50%;
  z-index: 99;
  width: 100%;
  display: none;
}

@media (min-width: 768px) {
  .testimonial-slider-wrap #testimonial-nav {
    display: block;
  }
}

.testimonial-slider-wrap #testimonial-nav > span {
  cursor: pointer;
  position: absolute;
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.testimonial-slider-wrap #testimonial-nav > span:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.testimonial-slider-wrap #testimonial-nav .prev {
  left: -10px;
}

.testimonial-slider-wrap #testimonial-nav .next {
  right: 0;
}

.testimonial-slider-wrap .tns-nav {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-slider-wrap .tns-nav button {
  background: none;
  border: none;
  display: inline-block;
  position: relative;
  width: 0 !important;
  height: 7px !important;
  margin: 3px;
}

.testimonial-slider-wrap .tns-nav button:active,
.testimonial-slider-wrap .tns-nav button:focus,
.testimonial-slider-wrap .tns-nav button:hover {
  outline: none;
  box-shadow: none;
  background: none;
}

.testimonial-slider-wrap .tns-nav button::before {
  display: block;
  width: 8px;
  height: 8px;
  left: 0;
  top: 0;
  position: absolute;
  content: "";
  border-radius: 50%;
  transition: var(--transition-fast);
  background-color: rgba(255, 255, 255, 0.3);
}

.testimonial-slider-wrap .tns-nav button:hover::before,
.testimonial-slider-wrap .tns-nav button.tns-nav-active::before {
  background-color: var(--accent);
  transform: scale(1.3);
}

/* ============================================
   FOOTER
============================================ */
.footer-section {
  padding: 80px 0 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 164, 90, 0.05) 0%,
    transparent 70%
  );
}

.footer-section .relative {
  position: relative;
}

.footer-section .sofa-img {
  position: absolute;
  top: -180px;
  z-index: 1;
  right: 0;
}

.footer-section .sofa-img img {
  max-width: 300px;
  border-radius: 50%;
  border: 4px solid rgba(200, 164, 90, 0.2);
  opacity: 0.9;
}

.footer-section a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

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

.footer-section .subscription-form {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  margin-top: 80px;
}

@media (min-width: 992px) {
  .footer-section .subscription-form {
    margin-top: 0;
    margin-bottom: 60px;
  }
}

.footer-section .subscription-form h3 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.footer-section .subscription-form h3 img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-section .subscription-form .form-control {
  height: 50px;
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.footer-section .subscription-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-section .subscription-form .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.footer-section .subscription-form .btn {
  border-radius: var(--radius-sm) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
}

.footer-section .subscription-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.footer-section .border-top {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer-section .border-top.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-section .border-top.copyright p {
  color: rgba(255, 255, 255, 0.4);
}

.footer-section .border-top.copyright a {
  color: var(--accent);
}

.footer-section .border-top ul li a {
  font-size: 13px;
}

/* ============================================
   CONTACT SECTION
============================================ */
.untree_co-section {
  padding: 100px 0;
  background: var(--white);
}

.service {
  line-height: 1.5;
}

.service .service-icon {
  border-radius: 50%;
  flex: 0 0 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin-right: 16px;
  color: var(--white);
}

.service .service-icon svg {
  fill: var(--white);
}

.service-contents p {
  font-size: 14px;
  color: var(--text-medium);
}

.form-control {
  height: 52px;
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  border: 1px solid rgba(10, 38, 64, 0.1);
  font-size: 14px;
  padding: 12px 16px;
  transition: var(--transition-fast);
}

.form-control:active,
.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.1);
  border-color: var(--accent);
}

.form-control::placeholder {
  font-size: 14px;
  color: var(--text-light);
}

textarea.form-control {
  height: auto !important;
  min-height: 120px;
}

label.text-black {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark) !important;
  margin-bottom: 6px;
}

/* ============================================
   SINGLE PRODUCT
============================================ */
.single_product {
  width: 100%;
  display: flex;
  margin-top: 140px;
  padding: 0 5%;
  margin-bottom: 100px;
  gap: 40px;
}

.single_product .product_images {
  width: 60%;
  height: 520px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}

.single_product .product_images .main_image {
  width: 65%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.single_product .product_images .main_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.single_product .product_images .main_image img:hover {
  transform: scale(0.98);
  cursor: pointer;
}

.single_product .product_images .previews {
  width: 28%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.single_product .product_images .previews img {
  width: 75%;
  height: 22%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.single_product .product_images .previews img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.single_product .product_images .previews img.current_active_image {
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.single_product .product_description {
  width: 40%;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single_product .product_description .description_content h3 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.single_product .product_description .description_content p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.8;
}

.single_product .product_description .product_price {
  margin: 24px 0;
}

.single_product .product_description .product_price .label {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single_product .product_description .product_price .content {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--accent-dark);
}

.single_product .product_description .product_button {
  display: flex;
  align-items: center;
  gap: 16px;
}

.single_product .product_description .product_button .add_cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  text-decoration: none !important;
  position: relative;
}

.single_product .product_description .product_button .add_cart::before {
  display: none;
}

.single_product .product_description .product_button .add_cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 38, 64, 0.25);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.single_product .product_description .product_button .add_cart span {
  color: var(--accent-light) !important;
  font-size: inherit;
}

.single_product .product_description .product_button .product_qte {
  display: flex;
  align-items: center;
  gap: 4px;
}

.single_product .product_description .product_button .product_qte span {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid rgba(10, 38, 64, 0.1);
  transition: var(--transition-fast);
}

.single_product .product_description .product_button .product_qte span:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.single_product .product_description .product_button .product_qte span:hover i {
  color: var(--white);
}

.single_product .product_description .product_button .product_qte span i {
  font-size: 14px;
  color: var(--primary);
}

@media (max-width: 991px) {
  .single_product {
    flex-direction: column;
    padding: 0 20px;
    margin-top: 100px;
    gap: 30px;
  }
  .single_product .product_images {
    width: 100%;
    flex-direction: column;
    height: auto;
  }
  .single_product .product_images .main_image {
    width: 100%;
    height: 400px;
  }
  .single_product .product_images .previews {
    width: 100%;
    flex-direction: row;
    margin-top: 16px;
    gap: 10px;
  }
  .single_product .product_images .previews img {
    width: 22%;
    height: 80px;
    border-radius: var(--radius-sm);
  }
  .single_product .product_description {
    width: 100%;
  }
}

/* ============================================
   CART TABLE
============================================ */
.site-blocks-table {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 38, 64, 0.04);
}

.site-blocks-table .product-thumbnail {
  width: 30%;
}

.site-blocks-table thead th {
  padding: 20px 24px;
  text-align: center !important;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-width: 0 !important;
  vertical-align: middle;
  color: var(--text-dark);
  background: var(--bg-cream);
}

.site-blocks-table td {
  padding: 20px 24px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  vertical-align: middle;
  color: var(--text-medium);
}

.site-blocks-table td .quantity-container {
  margin-left: 0;
}

.site-blocks-table tbody tr:first-child td {
  border-top: 1px solid rgba(10, 38, 64, 0.06) !important;
}

.site-blocks-table td.product-thumbnail a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.site-blocks-table .btn {
  background: none !important;
  color: var(--text-dark);
  border: none;
  height: auto !important;
  padding: 4px 10px;
}

@media (max-width: 690px) {
  .site-blocks-table td.product-thumbnail {
    padding: 8px;
  }
  .site-blocks-table td.product-thumbnail a {
    font-size: 12px;
  }
  .site-blocks-table td {
    padding: 8px;
  }
}

.site-block-order-table th {
  border-top: none !important;
  border-bottom-width: 1px !important;
}

.site-block-order-table td,
.site-block-order-table th {
  color: var(--text-dark);
}

.couponcode-wrap input {
  border-radius: var(--radius-sm) !important;
}

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

.thankyou-icon {
  position: relative;
  color: var(--accent);
}

.thankyou-icon::before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(200, 164, 90, 0.15);
}

/* ============================================
   POPULAR PRODUCTS
============================================ */
.popular-product {
  padding: 0 0 100px 0;
}

.popular-product .product-item-sm h3 {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.popular-product .product-item-sm a {
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.popular-product .product-item-sm a:hover {
  color: var(--accent);
}

.popular-product .product-item-sm p {
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-light);
}

.popular-product .product-item-sm .thumbnail {
  margin-right: 16px;
  flex: 0 0 100px;
  position: relative;
}

.popular-product .product-item-sm .thumbnail::before {
  content: "";
  position: absolute;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  width: 90px;
  height: 90px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* ============================================
   BLOG SECTION
============================================ */
.blog-section {
  padding: 100px 0;
}

.blog-section .post-entry a {
  text-decoration: none;
}

.blog-section .post-entry .post-thumbnail {
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.blog-section .post-entry .post-thumbnail img {
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.blog-section .post-entry:hover .post-thumbnail img {
  transform: scale(1.05);
}

.blog-section .post-entry .post-content-entry h3 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-section .post-entry .post-content-entry .meta {
  font-size: 13px;
  color: var(--text-light);
}

.blog-section .post-entry .post-content-entry .meta a {
  font-weight: 600;
  color: var(--accent);
}

.before-footer-section {
  padding-bottom: 100px !important;
}

/* ============================================
   ALERT MESSAGES
============================================ */
.alert {
  border-radius: var(--radius-md);
  border: none;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

/* ============================================
   SCROLL TO TOP ANIMATION
============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.bg-cream {
  background: var(--bg-cream);
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PHOTOTHÈQUE & TILED GALLERY
============================================ */
.gallery-section {
  padding: 140px 0;
  background: var(--bg-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  grid-gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 45px rgba(10, 38, 64, 0.05);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: var(--white);
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.big { grid-column: span 2; grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(10, 38, 64, 0.15);
}

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

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(10, 38, 64, 0.95) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  z-index: 2;
}

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

.gallery-overlay h4 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-overlay .cat {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  margin-bottom: 15px;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}

.gallery-item:hover h4,
.gallery-item:hover .cat {
  transform: translateY(0);
}

/* ============================================
   TAGS & BADGES (Premium Design)
============================================ */
.section-badge, 
.hero-badge, 
.product-category, 
.filter-btn, 
.event-info span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(10, 38, 64, 0.04);
  color: var(--primary);
  border: 1px solid rgba(10, 38, 64, 0.08);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(5px);
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-badge {
  color: var(--accent-dark);
  background: var(--bg-cream);
  border-color: rgba(200, 164, 90, 0.2);
}

.filter-btn {
  background: #fff;
  cursor: pointer;
  margin-bottom: 0;
  color: var(--text-medium);
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.filter-btn:hover, 
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10, 38, 64, 0.15);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
}

/* ============================================
   VIDÉOTHÈQUE REFINED
============================================ */
.video-card {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(10, 38, 64, 0.08);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  height: 100%;
}

.video-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 90px rgba(10, 38, 64, 0.15);
}

.video-thumb {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.1);
}

.video-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 38, 64, 0.3);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
}

.video-card:hover .video-overlay {
  background: rgba(10, 38, 64, 0.1);
}

.play-btn {
  width: 75px; height: 75px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(200, 164, 90, 0.4);
}

.video-card:hover .play-btn {
  transform: scale(1.2) rotate(15deg);
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   AI CHATBOT (Luxury Edition)
============================================ */
.chatbot-trigger {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: #fff;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 20px 50px rgba(10, 38, 64, 0.3);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 4px solid var(--white);
}

.chatbot-trigger:hover {
  transform: scale(1.1) rotate(5deg);
}

.chatbot-trigger .online-status {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px;
  background: #25d366;
  border: 4px solid #fff;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

.chatbot-window {
  position: fixed;
  bottom: 140px;
  right: 40px;
  width: 440px;
  height: 650px;
  background: #fff;
  border-radius: 45px;
  box-shadow: 0 50px 120px rgba(10, 38, 64, 0.3);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(40px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.chatbot-window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), #1a4b7a);
  padding: 40px 35px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
}

.chat-body {
  flex-grow: 1;
  padding: 35px;
  background: #fdfdfd;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.chat-message {
  padding: 18px 25px;
  border-radius: 25px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 85%;
}

.chat-message.bot {
  background: #f1f4f8;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.chat-message.user {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  box-shadow: 0 10px 25px rgba(10, 38, 64, 0.2);
}

.chat-footer {
  padding: 30px 35px;
  display: flex;
  gap: 15px;
  border-top: 1px solid #f0f0f0;
}

.chat-footer input {
  flex-grow: 1;
  border: none;
  background: #f7f7f7;
  padding: 18px 25px;
  border-radius: 18px;
  outline: none;
  font-size: 14px;
}

/* Lightbox Premium */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 38, 64, 0.98);
  z-index: 2000;
  display: none;
  align-items: center; justify-content: center;
  padding: 60px;
}

.lightbox-modal.active { display: flex; }

.lightbox-content {
  max-width: 95%;
  max-height: 95%;
  border-radius: 20px;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .chatbot-window { width: calc(100% - 40px); right: 20px; }
}

@media (max-width: 576px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 350px; }
  .gallery-item.wide, .gallery-item.big { grid-column: span 1; }
}
/* ============================================
   AUTHENTICATION PAGES (Premium Forms)
============================================ */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cream);
  padding: 120px 0 80px;
}

.auth-container {
  background: var(--white);
  border-radius: 45px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(10, 38, 64, 0.1);
  display: flex;
  width: 100%;
  max-width: 1200px;
  min-height: 750px;
}

.auth-form-side {
  flex: 1;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.auth-back-home {
  position: absolute;
  top: 40px;
  left: 80px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  z-index: 10;
}

.auth-back-home:hover {
  color: var(--primary);
  transform: translateX(-5px);
}

.auth-image-side {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}

.auth-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-image-side::after {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(10, 38, 64, 0.4), transparent);
}

.auth-header {
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.auth-header p {
  color: var(--text-light);
  font-size: 16px;
}

.form-group-custom {
  position: relative;
  margin-bottom: 30px;
}

.form-group-custom label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 10px;
  opacity: 0.7;
}

.form-control-premium {
  width: 100%;
  background: #fdfdfd;
  border: 1px solid rgba(10, 38, 64, 0.1);
  padding: 18px 25px;
  border-radius: 18px;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  outline: none;
}

.form-control-premium:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 10px 25px rgba(200, 164, 90, 0.1);
  transform: translateY(-2px);
}

.auth-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline !important;
}

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

@media (max-width: 991px) {
  .auth-image-side { display: none; }
  .auth-form-side { padding: 40px; }
  .auth-container { max-width: 550px; min-height: auto; }
}

/* ============================================
   RESPONSIVE UTILITIES MASTER (PRO)
   Unify all modern responsive components
============================================ */
@media (max-width: 991px) {
  /* Spacing */
  section, .services-section, .product-section, .we-help-section, .why-choose-section, .gallery-section, .video-highlight-section, .events-section, .testimonial-section {
    padding: 80px 0 !important;
  }

  /* Titles */
  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  /* Cards Grid */
  .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }

  /* Product Items Optimization for Mobile (2 columns) */
  .product-section .col-6.col-md-4.col-lg-3 {
    width: 50% !important;
  }

  .product-item {
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 10px;
  }

  .product-item .product-info {
    padding: 15px 5px 5px;
  }

  .product-item .product-title {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .product-item .product-price {
    font-size: 16px;
  }

  /* Service Cards Optimization */
  .services-section .col-6.col-lg-3 {
    width: 50% !important;
  }

  .service-card {
    padding: 25px 15px;
    min-height: 220px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 12px;
  }

  /* Gallery Highlights on Home */
  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-item {
    height: 300px !important;
    width: 100% !important;
    grid-column: span 1 !important;
  }

  /* Video Main Card Home */
  .video-main-card {
    height: 350px !important;
    border-radius: 30px !important;
  }

  .video-main-card .content-overlay {
    padding: 30px !important;
  }

  .video-main-card .content-overlay h3 {
    font-size: 20px !important;
  }

  /* Events Mini Cards */
  .event-mini-card {
    flex-direction: column;
    text-align: center;
    padding: 20px !important;
  }

  .event-mini-card .event-thumb {
    width: 100% !important;
    height: 200px !important;
  }

  /* About Grid */
  .we-help-section .imgs-grid {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  /* Container Padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Stack EVERYTHING vertically for small screens */
  .product-section .col-6.col-md-4.col-lg-3,
  .services-section .col-6.col-lg-3,
  .events-section .col-lg-6 {
    width: 100% !important;
  }

  .product-item {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-badge {
    font-size: 10px;
    padding: 6px 15px;
  }

  /* Footer Adjustment */
  .footer-section {
    padding-top: 60px;
    text-align: center;
  }

  .footer-section .subscription-form {
    margin-top: 0;
  }

  .footer-section .subscription-form h3 {
    justify-content: center;
  }

  .footer-section .footer-menu {
    margin-top: 40px;
  }
}
