@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* =====================
   CSS Custom Properties
===================== */
:root {
  --earth: #c2410c;
  --earth-dark: #431407;
  --earth-light: #fff7ed;
  --earth-accent: #d97706;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --glow-earth: 0 0 30px rgba(194, 65, 12, 0.35);
  --glow-accent: 0 0 30px rgba(217, 119, 6, 0.35);
}

/* =====================
   Scroll Progress Bar
===================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--earth-dark), var(--earth), var(--earth-accent));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(194, 65, 12, 0.6);
}

/* =====================
   Custom Cursor
===================== */
.custom-cursor {
  width: 12px;
  height: 12px;
  background: var(--earth);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s var(--transition-spring), height 0.3s var(--transition-spring), background 0.3s ease;
  mix-blend-mode: multiply;
  will-change: transform;
}
.custom-cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(194, 65, 12, 0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s var(--transition-spring), height 0.3s var(--transition-spring), border-color 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}
.cursor-hover .custom-cursor { width: 20px; height: 20px; background: var(--earth-accent); }
.cursor-hover .custom-cursor-ring { width: 56px; height: 56px; border-color: rgba(217, 119, 6, 0.5); }

/* =====================
   Tab Panel Styles
===================== */
.tab-panel { display: none; }
.tab-panel.active { display: flex; animation: fadeIn 0.4s ease-out; }

/* Inactive Tab Style */
.tab-link { background-color: #f1f1f1; color: #8c533e; }
.tab-link:hover { background-color: #e2e2e2; }
.tab-link.active { background-color: #e68a1d; color: #ffffff; border-bottom: 3px solid #9a3412; }

/* =====================
   Layout
===================== */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; cursor: none; }
@media (hover: none) { body { cursor: auto; } .custom-cursor, .custom-cursor-ring { display: none; } }

/* =====================
   Lenis Smooth Scroll
===================== */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* =====================
   Hero Slider
===================== */
.hero-slide { transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth); }
.slide-content > * { transition: all 0.7s var(--transition-expo); opacity: 0; transform: translateY(28px); }
.hero-slide.active-slide .slide-content > * { opacity: 1; transform: translateY(0); }
.hero-slide.active-slide .slide-content > *:nth-child(1) { transition-delay: 0.1s; }
.hero-slide.active-slide .slide-content > *:nth-child(2) { transition-delay: 0.22s; }
.hero-slide.active-slide .slide-content > *:nth-child(3) { transition-delay: 0.34s; }
.hero-slide.active-slide .slide-content > *:nth-child(4) { transition-delay: 0.46s; }

/* =====================
   Ken Burns Effect
===================== */
.ken-burns { transition: transform 12s ease-out; transform: scale(1); }
.active-slide .ken-burns { transform: scale(1.12); }

/* =====================
   fish crab images Bubbles
===================== */
@keyframes swimLeftToRight {
            0%, 100% { transform: translate(0px, 0px) rotate(-12deg); }
            50% { transform: translate(40px, -20px) rotate(-5deg); }
        }
        @keyframes swimRightToLeft {
            /* scaleX(-1) keeps the image flipped horizontally */
            0%, 100% { transform: scaleX(-1) translate(0px, 0px) rotate(-6deg); }
            50% { transform: scaleX(-1) translate(40px, 20px) rotate(-12deg); }
        }
        .fish-swim-1 { animation: swimLeftToRight 12s ease-in-out infinite; }
        .fish-swim-2 { animation: swimRightToLeft 15s ease-in-out infinite; }
/* =====================
   Scroll Reveal — Multi-Style
===================== */
.reveal         { opacity: 0; transform: translateY(50px);  transition: opacity 0.9s var(--transition-expo), transform 0.9s var(--transition-expo); }
.reveal-left    { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s var(--transition-expo), transform 0.9s var(--transition-expo); }
.reveal-right   { opacity: 0; transform: translateX(60px);  transition: opacity 0.9s var(--transition-expo), transform 0.9s var(--transition-expo); }
.reveal-scale   { opacity: 0; transform: scale(0.85);       transition: opacity 0.8s var(--transition-expo), transform 0.8s var(--transition-expo); }
.reveal-rotate  { opacity: 0; transform: rotate(-8deg) scale(0.9); transition: opacity 0.8s var(--transition-expo), transform 0.8s var(--transition-expo); }

.reveal.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0,0); }
.reveal-scale.active  { opacity: 1; transform: scale(1); }
.reveal-rotate.active { opacity: 1; transform: rotate(0deg) scale(1); }

.delay-50  { transition-delay: 50ms; }
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-350 { transition-delay: 350ms; }
.delay-400 { transition-delay: 400ms; }
.delay-450 { transition-delay: 450ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* =====================
   Stagger Grid Cards
===================== */
.stagger-grid .product-card-wrap:nth-child(1)  { transition-delay: 0ms;   }
.stagger-grid .product-card-wrap:nth-child(2)  { transition-delay: 80ms;  }
.stagger-grid .product-card-wrap:nth-child(3)  { transition-delay: 160ms; }
.stagger-grid .product-card-wrap:nth-child(4)  { transition-delay: 240ms; }
.stagger-grid .product-card-wrap:nth-child(5)  { transition-delay: 320ms; }
.stagger-grid .product-card-wrap:nth-child(6)  { transition-delay: 400ms; }
.stagger-grid .product-card-wrap:nth-child(7)  { transition-delay: 480ms; }
.stagger-grid .product-card-wrap:nth-child(8)  { transition-delay: 560ms; }

/* =====================
   Premium Product Card
===================== */
.product-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition:
    transform 0.5s var(--transition-expo),
    box-shadow 0.5s var(--transition-expo),
    border-color 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  cursor: none;
}
.product-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.12),
    0 0 0 1.5px rgba(194,65,12,0.25),
    0 0 40px rgba(194,65,12,0.12);
  border-color: rgba(194,65,12,0.2);
}

/* Gradient border glow */
.product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(194,65,12,0) 0%, rgba(217,119,6,0) 50%, rgba(194,65,12,0) 100%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.product-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(194,65,12,0.4), rgba(217,119,6,0.3), rgba(194,65,12,0.4));
}

/* Glass morphism hover overlay */
.product-card-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(194,65,12,0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover .product-card-glass { opacity: 1; }

/* Image wrapper */
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 224px;
  background: #f3f4f6;
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-expo);
  will-change: transform;
}
.product-card:hover .product-card-img-wrap img {
  transform: scale(1.1) translateY(-2px);
}

/* Shine sweep effect */
.product-card-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.25) 50%,
    transparent 70%
  );
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 5;
}
.product-card:hover .product-card-img-wrap::after {
  left: 140%;
}

/* Soft reflection overlay */
.product-card-img-wrap .card-reflection {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 4;
}
.product-card:hover .product-card-reflection { opacity: 1; }

/* Floating action buttons — slide from bottom */
.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.4s var(--transition-expo);
  z-index: 10;
}
.product-card:hover .product-card-actions { transform: translateY(0); }

.product-card-actions .btn-quickview {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  border: 2px solid var(--earth);
  color: var(--earth);
  background: transparent;
  transition: all 0.25s var(--transition-spring);
  cursor: none;
}
.product-card-actions .btn-quickview:hover {
  background: var(--earth);
  color: #fff;
  transform: scale(1.04);
}
.product-card-actions .btn-addcart {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--earth);
  color: #fff;
  border: 2px solid var(--earth);
  transition: all 0.25s var(--transition-spring);
  cursor: none;
}
.product-card-actions .btn-addcart:hover {
  background: var(--earth-dark);
  transform: scale(1.04);
  box-shadow: var(--glow-earth);
}

/* Animated price highlight */
.product-price-wrap { position: relative; display: inline-block; }
.product-price-highlight {
  position: absolute;
  inset: -4px -8px;
  background: rgba(194,65,12,0.08);
  border-radius: 8px;
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 0.4s ease, transform 0.4s var(--transition-spring);
}
.product-card:hover .product-price-highlight { opacity: 1; transform: scaleX(1); }

/* =====================
   Button Interactions
===================== */

/* Ripple container */
.btn-ripple {
  position: relative;
  overflow: hidden;
  cursor: none;
}
.btn-ripple::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  top: var(--ry, 50%);
  left: var(--rx, 50%);
  transform: translate(-50%, -50%) scale(0);
  transition: width 0s, height 0s, transform 0.6s ease, opacity 0.6s ease;
  opacity: 1;
  pointer-events: none;
}
.btn-ripple.rippling::after {
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

/* Hover glow on primary buttons */
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(194,65,12,0.5), 0 8px 25px rgba(194,65,12,0.35);
  transform: translateY(-2px) scale(1.01);
}
.btn-glow { transition: all 0.3s var(--transition-spring); cursor: none; }

/* Subtle bounce */
.btn-bounce:hover { animation: btnBounce 0.5s var(--transition-spring) forwards; }
@keyframes btnBounce {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-6px); }
  70%  { transform: translateY(-2px); }
  100% { transform: translateY(-4px); }
}

/* =====================
   Icon Micro-Interactions
===================== */
.icon-spin:hover i    { animation: iconSpin 0.5s var(--transition-spring) forwards; }
.icon-pulse:hover i   { animation: iconPulse 0.6s ease infinite; }
.icon-bounce:hover i  { animation: iconBounce 0.5s var(--transition-spring) forwards; }

@keyframes iconSpin   { to { transform: rotate(360deg); } }
@keyframes iconPulse  { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes iconBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* =====================
   Wishlist Heart Pop Animation
===================== */
@keyframes heartPop {
  0%   { transform: scale(1); }
  25%  { transform: scale(0.85); }
  50%  { transform: scale(1.45); }
  70%  { transform: scale(1.25); }
  85%  { transform: scale(1.35); }
  100% { transform: scale(1.2); }
}
@keyframes heartBurst {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
  50%  { box-shadow: 0 0 0 14px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.wishlist-btn i { transition: transform 0.35s var(--transition-spring), color 0.3s ease; cursor: none; }
.wishlist-btn.active i { color: #ef4444; font-weight: 900; animation: heartPop 0.6s var(--transition-spring) forwards; }
.wishlist-btn.heart-burst { animation: heartBurst 0.5s ease-out; }

/* =====================
   Cart Shake Animation
===================== */
@keyframes cartShake {
  0%,100% { transform: rotate(0deg) scale(1); }
  15%      { transform: rotate(-12deg) scale(1.2); }
  30%      { transform: rotate(12deg)  scale(1.2); }
  45%      { transform: rotate(-8deg)  scale(1.15); }
  60%      { transform: rotate(8deg)   scale(1.15); }
  75%      { transform: rotate(-4deg)  scale(1.1); }
  90%      { transform: rotate(4deg)   scale(1.05); }
}
.cart-shake { animation: cartShake 0.6s var(--transition-spring); }

/* =====================
   Cart Pop Animation
===================== */
@keyframes cartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.7); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-pop { animation: cartPop 0.45s var(--transition-spring); }

/* =====================
   Navbar
===================== */
#navbar { transition: all 0.35s var(--transition-smooth); }
#navbar.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: rgba(67, 20, 7, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(67, 20, 7, 0.45), 0 0 0 1px rgba(255,255,255,0.05);
}
#navbar.scrolled .nav-logo { transform: scale(0.9); }
#navbar.scrolled .text-earth-dark,
#navbar.scrolled .text-earth,
#navbar.scrolled .text-gray-600,
#navbar.scrolled .text-gray-500 { color: #fff7ed !important; transition: color 0.3s ease; }
#navbar.scrolled a.group:hover,
#navbar.scrolled button:hover i { color: #d97706 !important; }
#navbar.scrolled span.bg-earth { background-color: #d97706 !important; }
#navbar.scrolled #cart-count { background-color: #d97706 !important; color: #fff !important; }
#navbar.scrolled #wishlist-count { background-color: #d97706 !important; }

/* Nav link hover line animation */
#navbar a[data-page] span.absolute {
  transition: width 0.35s var(--transition-expo);
}

/* =====================
   Toast Notifications
===================== */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: white;
  border-left: 4px solid var(--earth);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 14px 22px;
  border-radius: 14px;
  transform: translateX(130%) scale(0.9);
  transition: transform 0.4s var(--transition-expo), opacity 0.4s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 14px;
  min-width: 260px;
  max-width: 380px;
}
.toast.show { transform: translateX(0) scale(1); }
.toast::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(194,65,12,0.04), transparent);
  pointer-events: none;
}

/* =====================
   Drawer / Panel
===================== */
#cart-drawer, #wishlist-panel {
  will-change: transform;
  transition: transform 0.45s var(--transition-expo);
}

/* =====================
   Shop Category Buttons
===================== */
.cat-btn {
  background: #f1f5f9;
  color: #475569;
  border: 2px solid transparent;
  transition: all 0.3s var(--transition-spring);
  cursor: none;
  position: relative;
  overflow: hidden;
}
.cat-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--earth);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition-expo);
  z-index: -1;
}
.cat-btn:hover { border-color: var(--earth); color: var(--earth); transform: translateY(-1px); }
.cat-btn.active-cat { background: var(--earth); color: #fff; border-color: var(--earth); box-shadow: 0 4px 15px rgba(194,65,12,0.35); }

/* =====================
   Gallery Filter Buttons
===================== */
.gallery-filter-btn {
  background: #f1f5f9;
  color: #475569;
  border: 2px solid transparent;
  transition: all 0.3s var(--transition-spring);
  cursor: none;
}
.gallery-filter-btn:hover { border-color: var(--earth); color: var(--earth); transform: translateY(-1px); }
.gallery-filter-btn.active-filter { background: var(--earth); color: #fff; border-color: var(--earth); box-shadow: 0 4px 15px rgba(194,65,12,0.35); }

/* =====================
   Lightbox — Enhanced
===================== */
#lightbox {
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#lightbox img {
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--transition-expo);
}
#lightbox:not(.hidden) img { animation: lightboxReveal 0.5s var(--transition-expo) forwards; }
@keyframes lightboxReveal {
  from { opacity:0; transform: scale(0.88); }
  to   { opacity:1; transform: scale(1); }
}

/* =====================
   Star Rating Display
===================== */
.star-filled { color: #f59e0b; }
.star-empty  { color: #d1d5db; }

/* =====================
   Form Focus Ring
===================== */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(194,65,12,0.15);
  border-color: var(--earth) !important;
}

/* =====================
   SVG Wave Dividers
===================== */
.wave-divider { width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }
.wave-divider path { transition: d 0.5s ease; }

/* =====================
   Section Parallax
===================== */
.parallax-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* =====================
   Floating Decorative Blobs
===================== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-orange { background: radial-gradient(circle, #c2410c, #d97706); }
.blob-dark   { background: radial-gradient(circle, #431407, #7c2d12); }
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-15px) scale(1.05); }
  66%       { transform: translate(-10px,10px) scale(0.97); }
}

/* =====================
   Ocean Wave Animated Divider
===================== */
.ocean-wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  background: transparent;
}
.ocean-wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 200%;
  animation: waveScroll 8s linear infinite;
}
.ocean-wave-divider svg:nth-child(2) {
  animation: waveScroll 12s linear infinite reverse;
  opacity: 0.4;
}
@keyframes waveScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================
   Gradient Blur Separator
===================== */
.gradient-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,65,12,0.3), rgba(217,119,6,0.4), rgba(194,65,12,0.3), transparent);
  position: relative;
}
.gradient-separator::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: inherit;
  filter: blur(4px);
  opacity: 0.5;
}

/* =====================
   Wishlist / Cart badge
===================== */
.wishlist-btn.active { color: #ef4444 !important; }
.wishlist-btn.active i { font-weight: 900; }
#navbar.scrolled #wishlist-count { background-color: #d97706 !important; }
.wishlist-btn[data-pid] { cursor: none; }

/* =====================
   Gallery card hover
===================== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: none;
  transition: transform 0.5s var(--transition-expo), box-shadow 0.5s var(--transition-expo);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.gallery-item img {
  transition: transform 0.6s var(--transition-expo);
  display: block;
  width: 100%;
  height: 256px;
  object-fit: cover;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(67,20,7,0.75) 0%, rgba(67,20,7,0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay p { color: white; font-weight: 600; font-size: 14px; transform: translateY(8px); transition: transform 0.4s var(--transition-expo); }
.gallery-item-overlay span { color: rgba(255,255,255,0.7); font-size: 12px; transform: translateY(8px); transition: transform 0.4s var(--transition-expo) 0.05s; }
.gallery-item:hover .gallery-item-overlay p,
.gallery-item:hover .gallery-item-overlay span { transform: translateY(0); }
.gallery-expand-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s var(--transition-spring);
}
.gallery-item:hover .gallery-expand-icon { opacity: 1; transform: scale(1); }

/* =====================
   Section Headings — animated underline
===================== */
.section-heading-underline {
  position: relative;
  display: inline-block;
}
.section-heading-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--earth), var(--earth-accent));
  border-radius: 2px;
  transition: width 0.6s var(--transition-expo);
}
.section-heading-underline.active::after { width: 100%; }

/* =====================
   Value Cards — Premium hover
===================== */
.value-card {
  transition: transform 0.4s var(--transition-expo), box-shadow 0.4s var(--transition-expo), border-color 0.4s ease;
  cursor: none;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 0 1.5px rgba(194,65,12,0.15);
  border-color: rgba(194,65,12,0.15) !important;
}
.value-card .value-icon-wrap {
  transition: background 0.4s ease, transform 0.4s var(--transition-spring);
}
.value-card:hover .value-icon-wrap {
  background: var(--earth) !important;
  color: #fff !important;
  transform: rotate(-8deg) scale(1.1);
}
.value-card:hover .value-icon-wrap i { color: #fff !important; }

/* =====================
   Stats Counter Animation
===================== */
.stat-number {
  display: inline-block;
  transition: transform 0.3s var(--transition-spring);
}
.stat-number:hover { transform: scale(1.08); }

/* =====================
   Back To Top
===================== */
#backToTop {
  cursor: none;
  transition: all 0.4s var(--transition-spring);
}
#backToTop:hover {
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: var(--glow-earth);
}

/* =====================
   Animated Gradient Background
===================== */
.animated-gradient-bg {
  background: linear-gradient(-45deg, #431407, #7c2d12, #c2410c, #d97706);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =====================
   Testimonial / Card Tilt
===================== */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  will-change: transform;
}

/* =====================
   Scroll Progress Dots (for hero)
===================== */
.slider-dot {
  transition: all 0.4s var(--transition-expo);
  cursor: none;
}

/* =====================
   Input / Form Premium
===================== */
.input-premium {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  background: #fff;
}
.input-premium:focus {
  border-color: var(--earth);
  box-shadow: 0 0 0 4px rgba(194,65,12,0.1);
  transform: scale(1.01);
  outline: none;
}

/* =====================
   Footer Social Icon
===================== */
footer a.social-icon {
  transition: transform 0.35s var(--transition-spring), background 0.3s ease, box-shadow 0.3s ease;
  cursor: none;
}
footer a.social-icon:hover {
  transform: translateY(-4px) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(194,65,12,0.4);
}

/* =====================
   Cursor: none for all interactive elements
===================== */
a, button, [onclick], select, input[type="submit"], label { cursor: none; }

/* =====================
   Skeleton loading shimmer
===================== */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmerMove 1.5s infinite;
}
@keyframes shimmerMove {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* =====================
   FAQs
===================== */
.faq-item button { cursor: none; }
.faq-item button i { transition: transform 0.35s var(--transition-spring); }
.faq-item button:hover i { transform: scale(1.2); }
.faq-item .faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s var(--transition-expo), opacity 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}
.faq-item .faq-answer.open {
  max-height: 300px;
  opacity: 1;
  padding: 0 20px 20px;
}

/* =====================
   Page transition overlay
===================== */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--earth-dark);
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.5s var(--transition-expo);
  pointer-events: none;
}
#page-transition.active { transform: translateY(0); pointer-events: all; }
#page-transition.exit   { transform: translateY(-100%); }

/* =====================
   Magnetic button effect zone
===================== */
.magnetic-wrap {
  position: relative;
  display: inline-block;
}

/* =====================
   Reduced motion
===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .custom-cursor, .custom-cursor-ring { display: none; }
  body { cursor: auto; }
  a, button, [onclick], select, input[type="submit"], label { cursor: auto; }
}