/* ============================================================
   SISODIYA BHERU JI STONE EXPORTER
   Theme: Liquid Glass UI — Ultimate Edition
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-base: #f0f2f5;
  --bg-surface: rgba(15, 20, 25, 0.12);
  --bg-surface-strong: rgba(15, 20, 25, 0.25);
  --bg-surface-hover: rgba(15, 20, 25, 0.35);
  --text-main: #1a1d23;
  --text-secondary: #3d4350;
  --text-muted: #6b7280;
  --accent: #946b3d;
  --accent-dark: #7a5832;
  --accent-light: rgba(148, 107, 61, 0.12);
  --accent-glow: rgba(148, 107, 61, 0.25);

  --border-glass: rgba(255, 255, 255, 0.6);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-accent: rgba(148, 107, 61, 0.3);

  --glass-blur: blur(12px);
  --glass-blur-heavy: blur(24px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --glass-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.1);
  --glass-shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.08);
  --glass-inset: inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -1px 2px rgba(0, 0, 0, 0.15);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.4s var(--ease);
  --transition-slow: all 0.6s var(--ease);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;
}

/* ================== RESET & BASE ================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

/* ================== ANIMATED BACKGROUND ORBS ================== */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-orbs::before,
.bg-orbs::after,
.bg-orbs .orb-3,
.bg-orbs .orb-4 {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform;
}
.bg-orbs::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(148, 107, 61, 0.25) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orbFloat1 20s infinite alternate ease-in-out;
}
.bg-orbs::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.3) 0%, transparent 70%);
  bottom: -50px; right: -50px;
  animation: orbFloat2 25s infinite alternate ease-in-out;
}
.bg-orbs .orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.2) 0%, transparent 70%);
  top: 40%; left: 60%;
  animation: orbFloat3 18s infinite alternate ease-in-out;
}
.bg-orbs .orb-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(148, 107, 61, 0.15) 0%, transparent 70%);
  top: 70%; left: 20%;
  animation: orbFloat4 22s infinite alternate ease-in-out;
}

@keyframes orbFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(120px, 80px, 0) scale(1.2); }
}
@keyframes orbFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-100px, -60px, 0) scale(1.15); }
}
@keyframes orbFloat3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-80px, 60px, 0) scale(1.1); }
}
@keyframes orbFloat4 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(60px, -40px, 0) scale(1.2); }
}

/* ================== TOP BAR ================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: #111;
  color: #a0a0a0;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}
.top-bar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar-cta { color: var(--accent); font-weight: 600; transition: var(--transition); }
.top-bar-cta:hover { color: #fff; }


/* ================== LAYOUT ================== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.section { padding: 7rem 0; position: relative; }

/* ================== GLASS UTILITIES ================== */
.glass {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  border-radius: var(--radius-lg);
  will-change: transform, backdrop-filter;
}
.glass-strong {
  background: var(--bg-surface-strong);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow-elevated), var(--glass-inset);
  border-radius: var(--radius-lg);
  will-change: transform, backdrop-filter;
}
.glass:hover, .glass-strong:hover {
  box-shadow: var(--glass-shadow-hover), var(--glass-inset);
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 400; color: var(--text-main); line-height: 1.15; }
.text-center { text-align: center; }

.heading-xl { font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -2px; margin-bottom: 1.5rem; line-height: 1.05; }
.heading-lg { font-size: clamp(2.2rem, 4.5vw, 3.5rem); margin-bottom: 1.5rem; letter-spacing: -1px; }
.heading-md { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.heading-sm { font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 500; }

.subheading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}

.body-lg { font-size: 1.1rem; color: var(--text-muted); font-weight: 300; margin-bottom: 2rem; max-width: 640px; line-height: 1.8; }
.text-center .body-lg { margin-left: auto; margin-right: auto; }

/* ================== BUTTONS ================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  border: none; cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow), inset 0 1px 1px rgba(255,255,255,0.3), inset 0 -2px 4px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px var(--accent-glow), inset 0 1px 1px rgba(255,255,255,0.4), inset 0 -1px 2px rgba(0,0,0,0.1);
}
.btn-outline {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  box-shadow: var(--glass-shadow), inset 0 1px 1px rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glass-shadow-hover), inset 0 1px 1px rgba(255,255,255,0.5);
}
.btn-sm {
  padding: 0.5rem 1.2rem; font-size: 0.7rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
}
.btn-sm:hover { border-color: var(--accent); color: var(--accent); }

/* ================== NAVIGATION ================== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 0;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(240, 242, 245, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow);
}
/* Cinematic Navbar Text Overrides (when transparent over light bg) */
body.home-cinematic .navbar:not(.scrolled) .logo-main { color: #1a1d23; }
body.home-cinematic .navbar:not(.scrolled) .nav-link { color: #3d4350; }
body.home-cinematic .navbar:not(.scrolled) .nav-link:hover,
body.home-cinematic .navbar:not(.scrolled) .nav-link.active { color: #1a1d23; }
body.home-cinematic .navbar:not(.scrolled) .lang-btn { color: #1a1d23; border-color: rgba(0, 0, 0, 0.2); }
body.home-cinematic .navbar:not(.scrolled) .lang-btn:hover { border-color: var(--accent); color: var(--accent); }
body.home-cinematic .navbar:not(.scrolled) .hamburger span { background-color: #1a1d23; }

.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

.logo-wrap { display: flex; flex-direction: column; }
.logo-main { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--text-main); letter-spacing: 1px; }
.logo-sub { font-family: var(--font-sans); font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 5px; color: var(--accent); }

.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); position: relative;
  padding: 0.4rem 0;
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--accent); transition: all 0.3s var(--ease);
  transform: translateX(-50%);
  border-radius: 1px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; z-index: 1001; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background-color: var(--text-main); transition: var(--transition); border-radius: 2px; }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  background: rgba(240, 242, 245, 0.92);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  opacity: 0; visibility: hidden; transform: translateY(-20px);
  transition: var(--transition-slow);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu .nav-link { font-size: 1.4rem; letter-spacing: 3px; color: var(--text-main); }
.mobile-menu .btn { margin-top: 1rem; }

/* ================== CINEMATIC HOMEPAGE (LIGHT THEME) ================== */
body.home-cinematic {
  color: #1a1d23;
  background-color: transparent;
}
.cinematic-bg {
  position: fixed;
  inset: -20px; /* Expand to hide blurred edges */
  z-index: -2;
  background-image: url('../img/real_quarry.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(8px); /* Move blur here for massive performance boost */
  transform: translateZ(0); /* Hardware acceleration */
  will-change: transform;
}
.cinematic-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.7); /* Thicker white overlay to compensate for no backdrop blur */
  transform: translateZ(0);
}

/* ================== GLASS PANELS (LIGHT THEME) ================== */
.glass-panel-dark {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  color: #1a1d23;
  padding: 3rem;
}
.glass-panel-dark .subheading { color: var(--accent); font-weight: 700; }
.glass-panel-dark .heading-lg, .glass-panel-dark .heading-md, .glass-panel-dark .heading-sm { color: #1a1d23; }
.glass-panel-dark p { color: #3d4350; }

.glass-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 3rem;
  margin: 3rem auto;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1d23;
  letter-spacing: 0.5px;
}
.strip-item svg {
  color: var(--accent);
}

.country-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1d23;
  transition: var(--transition);
}
.country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cinematic-wrapper {
  position: relative;
  z-index: 1;
}

/* ================== HERO SECTION ================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text .subheading { margin-bottom: 1rem; }
.hero-text .heading-xl { margin-bottom: 1.5rem; }
.hero-text .body-lg { margin-bottom: 2.5rem; font-size: 1.2rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  gap: 1rem;
}
.hero-badge .badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero-badge .badge-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1d23;
}

/* ================== ABOUT SECTION ================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-col { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.about-image-col img { width: 100%; object-fit: cover; transition: var(--transition); }
.about-image-col:hover img { transform: scale(1.05); }
.about-text-col .subheading { margin-bottom: 1rem; }
.about-text-col .heading-lg { margin-bottom: 1.5rem; color: #1a1d23; }
.about-text-col .body-lg { margin-bottom: 1.5rem; font-size: 1rem; color: #3d4350; }

/* ================== PRODUCT SHOWCASE ================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease, z-index 0s;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
  will-change: transform, opacity, filter;
}

@media (min-width: 1025px) {
  .products-grid:hover .product-glass-card {
    transform: perspective(1000px) scale(0.96) translateZ(0);
    filter: blur(2px);
    opacity: 0.7;
  }
  .products-grid .product-glass-card:hover {
    transform: perspective(1000px) scale(1.06) translateY(-8px) translateZ(0);
    filter: blur(0);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border-color: rgba(255,255,255,0.9);
  }
}

.product-glass-card .card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}
.product-glass-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.02);
  will-change: transform;
}

/* ================== MARQUEE ================== */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.marquee {
  display: flex;
  white-space: nowrap;
}
.marquee-content {
  display: flex;
  animation: scroll 30s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1d23;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (min-width: 1025px) {
  .product-glass-card:hover .card-image {
    aspect-ratio: 16/9; /* compress image */
  }
  .product-glass-card:hover .card-image img { transform: scale(1.1); }
}

.product-glass-card .card-image::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, rgba(240,242,245,0.8), transparent);
  pointer-events: none;
}
.product-glass-card .card-body { 
  padding: 1.5rem 1.8rem 2rem; 
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-glass-card .card-body .subheading { margin-bottom: 0.5rem; }

/* Hide details by default on desktop, show on hover */
@media (min-width: 1025px) {
  .product-glass-card .card-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .product-glass-card:hover .card-details {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
  }
}

.product-glass-card .card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }

.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.tag {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  background: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ================== GLOBAL PRESENCE MARQUEE ================== */
.section-dark { background: #1a1a1a; color: #fff; }
.country-marquee-wrap { overflow: hidden; width: 100%; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0 0; }
.country-marquee {
  display: flex; white-space: nowrap; animation: scrollLeft 40s linear infinite; gap: 2rem;
}
.country-marquee-reverse { animation: scrollRight 35s linear infinite; }
.country-marquee span {
  font-size: 1.5rem; font-weight: 600; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 2px;
  transition: color 0.3s;
}
.country-marquee span:hover { color: var(--accent); }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ================== CATEGORY GRID ================== */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; display: block; box-shadow: var(--glass-shadow);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; color: #fff;
}
.category-overlay h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.category-overlay span { font-size: 0.8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; }

/* ================== QUICK LINKS GRID ================== */
.quicklinks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.quicklink-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem 2rem; border-radius: var(--radius-lg); text-align: center;
  transition: all 0.4s ease; color: #fff; display: flex; flex-direction: column; align-items: center;
}
.quicklink-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); border-color: var(--accent); }
.ql-icon { color: var(--accent); margin-bottom: 1.5rem; }
.quicklink-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.quicklink-card p { font-size: 0.85rem; color: #999; }

/* ================== TESTIMONIAL ================== */
.testimonial-card {
  max-width: 800px; margin: 0 auto; padding: 4rem;
  background: var(--bg-surface); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass); border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow); position: relative;
}
.quote-icon { position: absolute; top: 2rem; left: 2rem; color: var(--accent); }
.testimonial-text { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text-main); line-height: 1.6; margin-bottom: 2rem; font-style: italic; }
.testimonial-author strong { display: block; color: var(--accent); font-size: 1.1rem; }
.testimonial-author span { font-size: 0.9rem; color: var(--text-muted); }

/* ================== FOOTER ================== */
.footer {
  padding-top: 5rem; padding-bottom: 0;
  background: rgba(255,255,255,0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border-glass);
  position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-heading { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 1.5rem; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-glass);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--text-muted);
}

/* ================== GALLERY ================== */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.gallery-item {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--border-accent);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-label {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem;
  background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
  color: var(--text-main); font-family: var(--font-serif); font-size: 1.1rem;
  transform: translateY(5px); opacity: 0.85; transition: var(--transition);
}
.gallery-item:hover .gallery-label { transform: translateY(0); opacity: 1; }

/* ================== PAGE HEADERS ================== */
.page-header {
  padding: 10rem 0 5rem;
  background: transparent;
  position: relative;
}

/* ================== CONTACT ================== */
.contact-wrap {
  display: flex; gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow-elevated);
}
.contact-details {
  flex: 1; padding: 3rem;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-right: 1px solid var(--border-glass);
}
.contact-form-area {
  flex: 1.5; padding: 3rem;
  background: var(--bg-surface-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 0.4rem; font-weight: 600; }
.form-input {
  width: 100%; background: rgba(255,255,255,0.5); border: 1px solid var(--border-glass);
  padding: 0.8rem 1rem; color: var(--text-main); font-family: var(--font-sans); font-size: 0.95rem;
  transition: var(--transition); outline: none;
  border-radius: var(--radius-sm);
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
select.form-input { appearance: none; cursor: pointer; }
select.form-input option { background: #fff; color: var(--text-main); }
textarea.form-input { resize: vertical; min-height: 100px; }

/* ================== CERTIFICATES ================== */
.cert-card {
  border: 1px solid var(--border-glass); padding: 2.5rem; display: flex; gap: 2rem;
  align-items: center; margin-bottom: 1.5rem;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), var(--glass-inset);
}
.cert-info { flex: 1; }
.cert-info p { margin-bottom: 0.5rem; font-size: 0.9rem; }
.cert-info strong { color: var(--text-main); font-weight: 600; }
.cert-image { flex: 0 0 250px; }
.cert-image img { border-radius: var(--radius-sm); border: 1px solid var(--border-glass); }

/* ================== PRODUCT DETAIL SPECS ================== */
.product-card {
  display: flex;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: var(--transition);
  margin-bottom: 2rem;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover), var(--glass-inset);
  border-color: var(--border-accent);
}
.product-img-wrap { flex: 1.2; min-height: 350px; }
.product-img-wrap.reverse-img { order: 2; }
.product-img { width: 100%; height: 100%; object-fit: cover; }
.product-info { flex: 1; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }

.product-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  margin-top: 1.5rem; margin-bottom: 1.5rem; overflow: hidden;
}
.spec-item {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.3);
}
.spec-item:nth-child(2n) { border-right: none; }
.spec-item:nth-last-child(-n+2) { border-bottom: none; }
.spec-key { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 0.2rem; font-weight: 600; }
.spec-val { font-size: 0.85rem; color: var(--text-main); font-weight: 400; }

/* ================== GRID BLOCKS (About page) ================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-box {
  padding: 2.5rem;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: var(--transition);
}
.grid-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover), var(--glass-inset);
  border-color: var(--border-accent);
}

/* ================== PROCESS ================== */
.process-list { display: flex; flex-direction: column; gap: 1rem; }
.process-item {
  display: flex; gap: 0;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}
.process-item:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow-hover); }
.process-num {
  width: 120px; flex-shrink: 0; padding: 2rem;
  font-family: var(--font-serif); font-size: 2.5rem; color: var(--accent);
  border-right: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light);
}
.process-details { padding: 2rem; }

/* ================== TOAST ================== */
.toast {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 1rem 2rem;
  font-size: 0.85rem; font-family: var(--font-sans); font-weight: 500;
  transition: bottom 0.5s var(--ease); z-index: 9999;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.toast.show { bottom: 2rem; }

/* ================== MAP ================== */
.map-wrap {
  width: 100%; height: 350px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.5) brightness(0.95); transition: filter 0.4s ease; }
.map-wrap:hover iframe { filter: grayscale(0) brightness(1); }

/* ================== ANIMATIONS ================== */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.stagger > * {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased; opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* ================== RTL SUPPORT ================== */
body.rtl { direction: rtl; }
body.rtl .nav-link::after { left: auto; right: 50%; transform: translateX(50%); }
body.rtl .lang-dropdown { right: auto; left: 0; }
body.rtl .contact-details { border-right: none; border-left: 1px solid var(--border-glass); }
body.rtl .product-img-wrap.reverse-img { order: 0; }


/* ================== RESTORED CSS (GALLERY, CONTACT, ANIMATIONS, ETC) ================== */

/* ================== GALLERY ================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  aspect-ratio: 4/3;
  border: 1px solid var(--border-glass);
}
.gallery-item.full-width { grid-column: 1 / -1; aspect-ratio: 21/9; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff; font-weight: 600; font-size: 1.1rem;
}
/* ================== GLOBAL REACH CARDS ================== */
.country-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.country-card img {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ================== CONTACT ================== */
.contact-wrap {
  display: flex;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  overflow: hidden;
}
.contact-details {
  flex: 1; padding: 3rem;
  border-right: 1px solid var(--border-glass);
}
.contact-form-area {
  flex: 1; padding: 3rem;
}
.bg-dark { background: var(--bg-surface-strong); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-input {
  width: 100%; padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 0.95rem;
  transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(166,124,0,0.1); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ================== CERTIFICATES ================== */
.cert-card {
  display: flex; gap: 2rem; align-items: center;
  padding: 2rem;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  margin-bottom: 2rem;
}
.cert-image {
  flex: 0 0 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.cert-image img { width: 100%; height: auto; display: block; }
.cert-info { flex: 1; }

/* ================== PROCESS ================== */
.process-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.process-item {
  display: flex;
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.process-num {
  width: 100px; background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 2.5rem;
  border-right: 1px solid var(--border-glass);
}
.process-details { padding: 2rem; }

/* ================== TOAST ================== */
.toast {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 1rem 2rem;
  font-size: 0.85rem; font-family: var(--font-sans); font-weight: 500;
  transition: bottom 0.5s var(--ease); z-index: 9999;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.toast.show { bottom: 2rem; }

/* ================== MAP ================== */
.map-wrap {
  width: 100%; height: 350px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.5) brightness(0.95); transition: filter 0.4s ease; }
.map-wrap:hover iframe { filter: grayscale(0) brightness(1); }

/* ================== ANIMATIONS ================== */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger > * {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased; opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* ================== RTL SUPPORT ================== */
body.rtl { direction: rtl; }
body.rtl .nav-link::after { left: auto; right: 50%; transform: translateX(50%); }
body.rtl .lang-dropdown { right: auto; left: 0; }
body.rtl .contact-details { border-right: none; border-left: 1px solid var(--border-glass); }
body.rtl .product-img-wrap.reverse-img { order: 0; }

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text .body-lg { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-image-card { max-width: 500px; margin: 0 auto; aspect-ratio: 3/4; }
  .company-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-wrap { flex-direction: column; }
  .contact-details { border-right: none; border-bottom: 1px solid var(--border-glass); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-image-card { aspect-ratio: 1/1; max-width: 350px; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.2rem; }
  .company-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .contact-details, .contact-form-area { padding: 2rem; }
  .testimonial-card { padding: 2rem; }
  .testimonial-text { font-size: 1.2rem; }
  .stat-pill { min-width: calc(50% - 0.5rem); padding: 1.2rem; }
  .stat-num { font-size: 2rem; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-badge { bottom: 1rem; left: 1rem; padding: 0.7rem 1rem; }
  .hero-badge .badge-value { font-size: 1.2rem; }
  .stat-pill { min-width: 100%; }
  .stats-row { gap: 0.6rem; }
  .btn { padding: 0.8rem 1.5rem; font-size: 0.75rem; }
}


/* ================== GEMINI CHATBOT ================== */
.chatbot-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chatbot-fab:hover { transform: scale(1.1); }
.chatbot-fab svg { width: 30px; height: 30px; }

.chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 500px;
  max-height: 80vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.4);
}
.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header h3 { font-size: 1.1rem; margin: 0; }
.chatbot-close { cursor: pointer; }
.chatbot-close svg { width: 20px; height: 20px; }

.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-msg {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}
.chat-msg.bot {
  background: rgba(240, 242, 245, 0.8);
  color: #1a1d23;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.chat-msg.user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-input {
  display: flex;
  padding: 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: #fff;
}
.chatbot-input input {
  flex: 1;
  border: none;
  background: rgba(240, 242, 245, 0.8);
  padding: 0.8rem 1rem;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}
.chatbot-input button {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0 0.5rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-input button svg { width: 24px; height: 24px; }

/* Chatbot typing dots animation */
.typing-dots span {
  animation: typingBlink 1.4s infinite both;
  font-size: 1.5rem;
  line-height: 1;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBlink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* Mobile chatbot adjustments */
@media (max-width: 768px) {
  .chatbot-window {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 90px;
    height: 60vh;
  }
}

/* ================== AESTHETIC LANGUAGE SELECTOR ================== */
.lang-selector { position: relative; display: flex; align-items: center; }
.lang-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.navbar.scrolled .lang-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1d23;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}
.navbar.scrolled .lang-btn:hover {
  background: rgba(148, 107, 61, 0.1); /* var(--accent) at 10% */
  border-color: var(--accent);
  color: var(--accent);
}
.lang-btn svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.lang-selector:hover .lang-btn svg { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: 120%; right: 0;
  width: max-content; min-width: 280px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur-heavy); -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg); padding: 0.8rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  opacity: 0; visibility: hidden;
  transform: translateY(10px) scale(0.95); transform-origin: top right;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem;
}
.lang-selector:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang-option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.8rem; font-size: 0.85rem; font-weight: 500;
  color: #3d4350; border-radius: var(--radius-md);
  transition: all 0.2s ease; text-decoration: none;
}
.lang-option:hover, .lang-option.active {
  background: rgba(148, 107, 61, 0.12); color: var(--accent);
}
.lang-code {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  background: #f0f2f5; color: #6b7280;
  padding: 0.2rem 0.4rem; border-radius: 4px;
  transition: all 0.2s ease;
}
.lang-option:hover .lang-code, .lang-option.active .lang-code {
  background: var(--accent); color: #fff;
}

/* Language Spinner */
.lang-btn.loading svg:first-child {
  animation: spin 1s linear infinite;
  opacity: 0.5;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}
