/* =========================================================
   RESPONSIVE LUXURY CATERING THEME (SAHARA ENTERPRISES)
   ========================================================= */

:root {
  --primary-emerald: #073627;
  --dark-emerald: #042117;
  --gold-accent: #cfa83b;
  --gold-gradient: linear-gradient(135deg, #e5c365 0%, #b89127 100%);
  --light-bg: #f9f8f5;
  --white: #ffffff;
  --text-dark: #222222;
  --text-muted: #666666;
  --font-heading: 'Cinzel', serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  width: 100%;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.w {
  width: 90%;
  max-width: 1240px;
  margin: auto;
}

/* 1. TOP BAR */
.top-bar {
  background: var(--dark-emerald);
  color: #d2ddd8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(207, 168, 59, 0.25);
}

.top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info span {
  margin-right: 18px;
}

.top-info a:hover, .top-social a:hover {
  color: var(--gold-accent);
}

/* 2. HEADER (NORMAL DURING HERO, FIXED GLASS AFTER HERO) */
header {
  background: var(--white);
  position: relative; /* Hero ke dauran normal scroll hoga */
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
}

/* Fixed Glass Effect - Triggered only after Hero Section */
header.header-fixed-glass {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  box-shadow: 0 8px 30px rgba(4, 33, 23, 0.14) !important;
  border-bottom: 1px solid rgba(207, 168, 59, 0.3) !important;
  animation: slideDownHeader 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownHeader {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 !important;
  position: relative;
  transition: padding 0.3s ease;
}

header.header-fixed-glass .hd {
  padding: 6px 0 !important;
}

/* Logo Sizing */
.brand.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 64px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  transition: height 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
}

header.header-fixed-glass .site-logo {
  height: 52px !important;
}

.brand:hover .site-logo {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 62px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Burger Button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 100%;
  height: 3px;
  background: var(--primary-emerald);
  border-radius: 2px;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin: 0 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--primary-emerald);
  transition: 0.3s ease;
  letter-spacing: 0.3px;
}

nav a:hover, nav a.on {
  color: var(--gold-accent);
}

/* 3. HERO BANNER */
.hero-banner {
  position: relative;
  min-height: 80vh;
  background: url('images/01-hero-catering-hero-1600.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(7, 54, 39, 0.78) 0%, rgba(4, 33, 23, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 820px;
  padding: 40px 10px;
}

.luxury-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
  margin-bottom: 15px;
  border: 1px solid rgba(207, 168, 59, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  animation: softPulse 3s infinite alternate ease-in-out;
}

@keyframes softPulse {
  0% {
    box-shadow: 0 0 10px rgba(207, 168, 59, 0.2);
    border-color: rgba(207, 168, 59, 0.3);
  }
  100% {
    box-shadow: 0 0 22px rgba(207, 168, 59, 0.55);
    border-color: rgba(207, 168, 59, 0.8);
  }
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroHeadingReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.hero-content p {
  font-size: 1.08rem;
  color: #e5ede9;
  margin-bottom: 30px;
  font-weight: 300;
  opacity: 0;
  animation: heroFadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.65s;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.85s;
}

@keyframes heroHeadingReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroFadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.btn.sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}

.btn.gold {
  position: relative;
  overflow: hidden;
  background: var(--gold-gradient);
  color: #1a1a1a;
  border: 1px solid var(--gold-accent);
  box-shadow: 0 4px 15px rgba(207, 168, 59, 0.25);
}

.btn.gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg);
  animation: goldShimmer 4.5s infinite ease-in-out;
}

@keyframes goldShimmer {
  0%, 60% { left: -120%; }
  100% { left: 180%; }
}

.btn.gold:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(207, 168, 59, 0.45),
              0 0 15px rgba(243, 216, 136, 0.4);
}

.btn.gold:active {
  transform: translateY(-1px) scale(0.98);
}

.btn.outline {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--white);
  color: var(--white);
  transition: color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.btn.outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn.outline:hover {
  color: var(--primary-emerald);
  transform: translateY(-4px);
  border-color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn.outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn.em {
  background: var(--primary-emerald);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(7, 54, 39, 0.2);
}

.btn.em:hover {
  transform: translateY(-4px);
  background: var(--gold-gradient);
  color: #121212;
  box-shadow: 0 12px 26px rgba(207, 168, 59, 0.35);
}

.btn.wa {
  background: #25d366;
  color: #fff;
  border: none;
}

/* 4. STATS FLOATING BAR */
.stats-wrapper {
  position: relative;
  margin-top: -45px;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--gold-accent);
}

.stat-card {
  padding: 22px 15px;
  text-align: center;
  border-right: 1px solid #f0f0f0;
}

.stat-card:last-child { border-right: none; }

.stat-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-emerald);
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* 5. SECTIONS & HEADINGS */
.sec {
  padding: 70px 0;
}

.sec.bg-light {
  background: var(--light-bg);
}

.sec-header {
  margin-bottom: 40px;
}

.sec-header.center {
  text-align: center;
}

.sub-head {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.sec-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--primary-emerald);
}

.sec-header.light h2 {
  color: var(--white);
}

.gold-line {
  width: 50px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 12px auto;
  transition: width 0.8s ease;
}

.reveal-visible .gold-line {
  width: 80px;
}

/* 6. ABOUT SPLIT & STICKY IMAGE */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 45px;
  align-items: center;
}

.about-img-box {
  position: relative;
  overflow: hidden;
}

.about-img-box img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 993px) {
  .about-grid {
    align-items: flex-start;
  }

  .about-img-box.sticky-img {
    position: sticky;
    top: 100px;
    z-index: 10;
    transition: transform 0.4s ease;
  }

  .about-img-box.sticky-img:hover {
    transform: translateY(-5px);
  }
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary-emerald);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 4px;
  border-left: 4px solid var(--gold-accent);
  animation: badgeFloating 4s ease-in-out infinite alternate;
}

@keyframes badgeFloating {
  0% { transform: translateY(0); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
  100% { transform: translateY(-8px); box-shadow: 0 18px 30px rgba(7,54,39,0.35); }
}

.experience-badge b {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: block;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
  font-weight: 600;
  color: var(--primary-emerald);
}

/* 7. MENU CARD TILES */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.menu-box {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.menu-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(7, 54, 39, 0.16),
              0 0 15px rgba(207, 168, 59, 0.18);
  border-color: rgba(207, 168, 59, 0.4);
}

.menu-box .img-wrap {
  position: relative;
  overflow: hidden;
  height: 190px;
}

.menu-box .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
}

.menu-box:hover .img-wrap img {
  transform: scale(1.09) rotate(0.5deg);
  filter: brightness(1.05);
}

/* Image shine swipe on hover */
.menu-box .img-wrap::before,
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  opacity: 0;
}

.menu-box:hover .img-wrap::before,
.event-card:hover::before {
  animation: shineSwipe 0.85s ease;
  opacity: 1;
}

@keyframes shineSwipe {
  100% { left: 125%; }
}

.box-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.box-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary-emerald);
  margin-bottom: 8px;
}

.box-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-grow: 1;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-accent);
  text-transform: uppercase;
  transition: transform 0.35s ease, color 0.35s ease;
}

.menu-box:hover .explore-btn {
  transform: translateX(8px);
  color: #e5c365;
}

/* 8. LIVE COUNTERS (DARK) */
.sec.sec-dark {
  background: var(--dark-emerald);
  color: var(--white);
}

.live-counter-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.counter-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 168, 59, 0.3);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #f0e6c8;
  transition: 0.3s;
}

.counter-item:hover {
  background: var(--gold-gradient);
  color: #111;
  border-color: transparent;
  transform: scale(1.03);
}

/* 9. EVENT GRID */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  background: var(--white);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(7, 54, 39, 0.16),
              0 0 15px rgba(207, 168, 59, 0.18);
  border-color: rgba(207, 168, 59, 0.4);
}

.event-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
}

.event-card:hover img {
  transform: scale(1.09) rotate(0.5deg);
  filter: brightness(1.05);
}

.event-details {
  padding: 22px;
}

.event-details h3 {
  font-family: var(--font-serif);
  color: var(--primary-emerald);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.event-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 10. CALLOUT CTA */
.callout-cta {
  background: linear-gradient(rgba(4, 33, 23, 0.88), rgba(4, 33, 23, 0.88)), url('images/09-wedding-buffet-ban-1000.webp') center/cover;
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.callout-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin-bottom: 12px;
}

.callout-cta p {
  font-size: 1.05rem;
  color: #e0e8e4;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* 11. FOOTER */
footer {
  background: #02140e;
  color: #b5c7c0;
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr;
  gap: 35px;
  padding-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  color: var(--gold-accent);
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gold-accent);
  display: inline-block;
  padding-bottom: 4px;
}

footer a:hover {
  color: var(--gold-accent);
}

.footer-links li {
  list-style: none;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-bottom {
  background: #010d09;
  text-align: center;
  padding: 16px 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: floatWa 3s infinite ease-in-out alternate;
}

@keyframes floatWa {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: translateY(-7px) scale(1.05);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
  }
}

/* 12. SCROLL REVEAL OBSERVER CLASSES */
.reveal-init {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid4 .reveal-init:nth-child(2),
.grid3 .reveal-init:nth-child(2) { transition-delay: 0.12s; }
.grid4 .reveal-init:nth-child(3),
.grid3 .reveal-init:nth-child(3) { transition-delay: 0.24s; }
.grid4 .reveal-init:nth-child(4) { transition-delay: 0.36s; }

/* =========================================================
   13. SUB-PAGE HERO BANNER & TABS FIX (ALL SUB-PAGES)
   ========================================================= */
.page-banner {
  position: relative;
  padding: 100px 15px 90px !important;
  color: #ffffff !important;
  text-align: center;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.page-banner h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  color: #ffffff !important;
  margin: 12px auto !important;
  font-weight: 700 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
  line-height: 1.25 !important;
}

.page-banner .sub-head {
  color: var(--gold-accent) !important;
  letter-spacing: 2.5px;
  font-weight: 700;
  display: inline-block;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.page-banner p {
  color: #f0f5f3 !important;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 15px auto 0 !important;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.page-banner .gold-line {
  margin: 15px auto !important;
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
}

/* Menu Quick Jump Tabs */
.menu-tabs-wrap {
  margin-top: -30px;
  position: relative;
  z-index: 20;
  padding: 0 15px;
}

.menu-tabs {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: #ffffff !important;
  padding: 12px 18px !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(207, 168, 59, 0.35) !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: inline-block !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--primary-emerald) !important;
  background: #f7f5ed !important;
  border: 1px solid rgba(7, 54, 39, 0.08) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  flex-shrink: 0;
}

.tab-btn:hover {
  background: var(--gold-gradient) !important;
  color: #121212 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(207, 168, 59, 0.35);
}

/* Gallery Items */
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(4, 33, 23, 0.95), transparent);
  color: var(--white);
  padding: 20px 16px 12px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  transform: translateY(10px);
  opacity: 0.9;
  transition: 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================================
   14. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================= */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2) {
    border-right: none;
  }
  .stat-card:nth-child(-n+2) {
    border-bottom: 1px solid #f0f0f0;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hd {
    padding: 8px 0 !important;
  }

  .site-logo {
    height: 48px !important;
    max-width: 170px !important;
  }

  header.header-fixed-glass .site-logo {
    height: 42px !important;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  nav.nav-open {
    max-height: 400px;
    padding: 15px 0 20px;
  }

  nav a {
    width: 100%;
    padding: 12px 24px;
    margin: 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
  }

  nav a.nav-cta {
    margin: 15px 24px 5px;
    width: calc(100% - 48px);
    text-align: center;
  }

  /* Main Hero on Mobile */
  .hero-banner {
    min-height: auto;
    padding-top: 55px;
    padding-bottom: 95px;
  }

  .hero-content {
    padding-bottom: 15px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
    animation-duration: 0.9s;
  }

  .hero-content p {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .stats-wrapper {
    margin-top: -30px;
    position: relative;
    z-index: 5;
  }

  /* Sub-page Banner on Mobile */
  .page-banner {
    padding: 70px 15px 75px !important;
  }
  
  .page-banner h1 {
    font-size: 2rem !important;
  }
  
  .page-banner p {
    font-size: 0.92rem !important;
  }

  .menu-tabs-wrap {
    margin-top: -25px;
  }

  .menu-tabs {
    border-radius: 14px !important;
    padding: 10px !important;
  }

  .tab-btn {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
  }

  .gallery-item {
    height: 230px;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .menu-box:hover .img-wrap img,
  .event-card:hover img {
    transform: scale(1.05);
  }

  .about-img-box.sticky-img {
    position: static;
  }
}

/* Small Phones (max-width: 500px) */
@media (max-width: 500px) {
  .site-logo {
    height: 44px !important;
    max-width: 155px !important;
  }

  header.header-fixed-glass .site-logo {
    height: 38px !important;
  }

  .hero-banner {
    padding-top: 45px;
    padding-bottom: 80px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 25px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .stats-wrapper {
    margin-top: 0;
    padding-top: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px;
  }

  .grid4 {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .experience-badge {
    position: static;
    margin-top: 15px;
    display: inline-block;
  }
}
/* =========================================================
   PREMIUM BRANDED PRELOADER (SAHARA ENTERPRISES)
   ========================================================= */
#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at center, #073627 0%, #042117 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
  pointer-events: all;
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Subtle Zoom & Fade for Logo */
.preloader-logo {
  height: 75px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 16px;
  animation: preloaderLogoPulse 1.4s ease-out forwards;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

@keyframes preloaderLogoPulse {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Tagline */
.preloader-tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 22px;
  opacity: 0;
  animation: preloaderFadeUp 0.8s ease forwards 0.3s;
}

@keyframes preloaderFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slim Gold Animated Progress Indicator */
.preloader-bar {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px rgba(229, 195, 101, 0.8);
  animation: preloaderFill 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

@media (max-width: 768px) {
  .preloader-logo {
    height: 58px;
    max-width: 190px;
  }
  .preloader-tagline {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }
}