:root {
  --primary: #005E32;
  /* Dark Green from catalog */
  --primary-light: #72B13B;
  /* Light Green */
  --secondary: #0072BC;
  /* Blue from RCC logo */
  --accent: #E8771A;
  /* Orange from catalog banners */
  --gold: #D4A373;
  --gold-dark: #b8860b;
  --dark: #0d1410;
  --dark-card: #141f19;
  --light: #F4F7F5;
  --white: #FFFFFF;
  --text-muted: #6b8475;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: #333;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* ===== NAVBAR ===== */
.navbar {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: transform 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.navbar.scrolled {
  background: rgba(13, 20, 16, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 2px solid var(--primary-light) !important;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: grid !important;
    grid-template-columns: 1fr 140px 1fr;
    align-items: center;
    width: 100%;
  }

  .split-nav-left {
    justify-content: flex-end;
    align-items: center;
    margin-right: 30px !important;
    padding: 0;
    display: flex;
    flex-direction: row;
  }

  .split-nav-right {
    justify-content: flex-start;
    align-items: center;
    margin-left: 30px !important;
    padding: 0;
    display: flex;
    flex-direction: row;
  }

  .navbar-brand.mx-auto {
    justify-self: center;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
    background: rgba(13, 20, 16, 0.98);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 14px;
    margin-top: 15px;
    border: 1px solid rgba(114, 177, 59, 0.15);
  }

  .navbar-nav {
    align-items: center;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
    margin: 6px 0;
  }

  .navbar-nav .nav-link {
    display: inline-block;
    padding: 10px 20px !important;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-text {
  color: var(--white) !important;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--primary-light);
}

.nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  padding: 8px 16px !important;
  border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background: rgba(114, 177, 59, 0.2);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background-color: #050c072e;
  /* Premium deep organic dark shade */
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 80px 0 120px;
}

/* Background image disabled in favor of live loop */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  display: none;
  pointer-events: none;
  z-index: 1;
}

/* Dotted overlay pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Top Logo & Title branding */
.hero-top-logo {
  text-align: center;
  margin-bottom: 10px;
}

.hero-top-logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.hero-brand-name {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  color: #f5f5f5;
  /* Premium off-white */
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  letter-spacing: 1px;
}

.hero-cert-bar {
  background: linear-gradient(180deg, #045623 0%, #036b2b 50%, #004916 100%);
  color: #f8f7f7;
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 700;
  text-align: center;
  padding: 6px 24px;
  border-radius: 4px;
  width: fit-content;
  margin: 0 auto 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Slogan styling */
.slogan-hindi-wrap {
  margin-bottom: 25px;
}

.slogan-line {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.slogan-line.line-1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.slogan-line.line-2 {
  font-size: clamp(2.4rem, 5vw, 4.0rem);
  padding-left: 45px;
}

.hero-desc {
  font-size: 1.05rem;
  color: #f1f8e9;
  margin-bottom: 35px;
  max-width: 600px;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== HERO BACKGROUND VIDEO STYLES ===== */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 12, 7, 0.72) 0%, rgba(11, 35, 20, 0.48) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Floating video switcher pill */
.video-control-pill {
  position: absolute;
  bottom: 25px;
  right: 30px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.video-control-pill span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vid-ctrl-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

.vid-ctrl-btn:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* Collage visual layout */
.hero-visual-collage {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin: auto;
  z-index: 2;
}

.collage-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.diamond-photo {
  position: absolute;
  width: 115px;
  height: 115px;
  overflow: hidden;
  transform: rotate(45deg);
  border: 4px solid var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: var(--transition);
  z-index: 5;
}

.diamond-photo:hover {
  transform: rotate(45deg) scale(1.1);
  z-index: 10;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.diamond-photo img {
  width: 150%;
  height: 150%;
  object-fit: cover;
  transform: rotate(-45deg);
  margin-top: -25%;
  margin-left: -25%;
}

/* Staggered staircase positioning */
.diamond-photo.d1 {
  top: 20px;
  left: 10px;
}

.diamond-photo.d2 {
  top: 90px;
  left: 125px;
}

.diamond-photo.d3 {
  top: 170px;
  left: 15px;
}

.diamond-photo.d4 {
  top: 240px;
  left: 125px;
}

/* Green wheat stalk standing tall */
.wheat-stalk-wrapper {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 180px;
  height: 380px;
  z-index: 2;
  overflow: hidden;
  border-radius: 100px 100px 0 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 3.5px solid var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.wheat-stalk-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cute leaf mascot */
.leaf-mascot {
  position: absolute;
  width: 70px;
  height: 80px;
  background: linear-gradient(135deg, #72b13b, #4e8023);
  border-radius: 0 100% 40% 100%;
  transform: rotate(-15deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  bottom: 40px;
  right: 10px;
  z-index: 8;
  border: 2.5px solid var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  animation: float-mascot 3s ease-in-out infinite;
}

@keyframes float-mascot {

  0%,
  100% {
    transform: rotate(-15deg) translateY(0);
  }

  50% {
    transform: rotate(-10deg) translateY(-8px);
  }
}

.mascot-eyes {
  display: flex;
  gap: 8px;
}

.mascot-eye {
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-eye::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
}

.mascot-smile {
  width: 16px;
  height: 8px;
  border-bottom: 2px solid #000;
  border-radius: 0 0 10px 10px;
}

/* Badges style */
.hero-badge-organic {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid var(--white);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  justify-content: center;
  text-align: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
}

.organic-circle {
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.organic-circle i {
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(114, 177, 59, 0.4);
  margin-bottom: 3px;
}

.organic-sub {
  font-size: 0.45rem;
  font-weight: 800;
  opacity: 0.9;
  letter-spacing: 0.2px;
  margin-top: 3px;
}

.hero-badge-since {
  background: var(--white);
  color: #0b3a1f;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 1px;
  padding: 10px 35px;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2.5px solid #72b13b;
  text-transform: uppercase;
}

.hero-badge-tm {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 22px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.tm-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
}

.tm-curve {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid transparent;
}

.tm-curve.c1 {
  border-top-color: #d32f2f;
  transform: rotate(0deg);
}

.tm-curve.c2 {
  border-right-color: #388e3c;
  transform: rotate(120deg);
}

.tm-curve.c3 {
  border-bottom-color: #1976d2;
  transform: rotate(240deg);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}

.btn-custom-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(114, 177, 59, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-custom-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(114, 177, 59, 0.5);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.btn-custom-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-custom-secondary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 114, 188, 0.3);
}

/* Drifting Leaves Container */
.leaf-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.drifting-leaf {
  position: absolute;
  color: var(--primary-light);
  opacity: 0.15;
  font-size: 1.5rem;
  animation: drift linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 105vh, 0) rotate(0deg);
  }

  100% {
    transform: translate3d(100px, -10vh, 0) rotate(360deg);
  }
}

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

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

.section-label {
  color: var(--primary-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  border-radius: 2px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* CATALOG VIEWER CONTAINER */
.catalog-viewer-card {
  background: #f8faf9;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 40px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark);
  padding: 15px 25px;
  border-radius: 14px;
  margin-bottom: 25px;
  color: var(--white);
  flex-wrap: wrap;
  gap: 15px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-tool {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.btn-tool:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

.page-indicator {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.catalog-viewport {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 680px;
  position: relative;
  padding: 20px 10px;
  overflow: hidden;
}

/* 3D BOOK STYLING */
.book-scale-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 2500px;
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

.book {
  position: relative;
  width: 880px;
  /* Double-page width */
  height: 620px;
  /* Portrait aspect ratio height */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  will-change: transform;
  transform: translateZ(0);
}

/* Crease in the center when book is open */
.book.book-open::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.3) 30%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.1) 100%);
  transform: translateX(-50%);
  z-index: 50;
  pointer-events: none;
}

/* Paper/Sheet layout */
.paper {
  position: absolute;
  width: 440px;
  /* Single page width */
  height: 100%;
  top: 0;
  right: 0;
  /* Stack all pages on the right half initially */
  transform-origin: left center;
  /* Pivot around the center spine */
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  cursor: pointer;
  will-change: transform;
  transform: translateZ(0);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  background-color: var(--white);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
  transition: filter 0.3s ease;
}

.front {
  z-index: 2;
  border-radius: 0 8px 8px 0;
}

.back {
  z-index: 1;
  transform: rotateY(180deg);
  /* Flip back side horizontally */
  border-radius: 8px 0 0 8px;
}

.front img,
.back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.15s ease-out;
  will-change: opacity, transform;
  transform: scale(1);
}

.front:hover img,
.back:hover img {
  transform: scale(2.2);
  cursor: crosshair;
}

/* Skeleton Loader style */
.skeleton-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(90deg, #e8ede9 25%, #f4f7f5 37%, #e8ede9 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  transition: opacity 0.3s ease;
}

@keyframes skeleton-loading {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Crease overlay shadow for pages to add 3D depth */
.front::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.back::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

/* Hover effect for page lift visual cue */
.paper:hover .front {
  filter: brightness(1.02);
}

.paper:hover .back {
  filter: brightness(1.02);
}

/* Tablet scaling wrapper query */
@media (max-width: 1199px) and (min-width: 992px) {
  .book-scale-wrapper {
    transform: scale(0.85);
  }

  .catalog-viewport {
    min-height: 580px;
  }
}

/* Flip navigation overlay */
.nav-arrow-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  opacity: 0.3;
  background: rgba(0, 0, 0, 0.02);
}

.nav-arrow-overlay:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

.nav-arrow-overlay.arrow-left {
  left: 0;
  border-radius: 24px 0 0 24px;
}

.nav-arrow-overlay.arrow-right {
  right: 0;
  border-radius: 0 24px 24px 0;
}

.nav-arrow-icon {
  font-size: 2.5rem;
  color: var(--dark);
  background: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav-arrow-overlay:hover .nav-arrow-icon {
  background: var(--primary-light);
  color: var(--white);
  transform: scale(1.1);
}

/* Thumbnail slider */
.thumb-slider-container {
  margin-top: 30px;
  position: relative;
}

.thumb-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 15px 5px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) rgba(0, 0, 0, 0.05);
}

.thumb-track::-webkit-scrollbar {
  height: 6px;
}

.thumb-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.thumb-track::-webkit-scrollbar-thumb {
  background-color: var(--primary-light);
  border-radius: 10px;
}

.thumb-item {
  flex: 0 0 80px;
  height: 110px;
  border-radius: 8px;
  border: 3.5px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  background: var(--white);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.thumb-item.active {
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.thumb-item.highlighted {
  animation: pulse-border 1.5s infinite alternate;
}

@keyframes pulse-border {
  0% {
    border-color: var(--accent);
    box-shadow: 0 0 5px var(--accent);
  }

  100% {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold);
  }
}

/* Catalog Search Box */
.catalog-search-wrap {
  position: relative;
}

.catalog-search-wrap input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 6px 15px 6px 35px;
  color: var(--white);
  font-size: 0.85rem;
  width: 220px;
  transition: var(--transition);
}

.catalog-search-wrap input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-light);
  outline: none;
  width: 280px;
}

.catalog-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Jump-to-page visual flash indicator */
@keyframes border-flash {
  0% {
    outline: 4px solid var(--primary-light);
    outline-offset: 4px;
  }

  50% {
    outline: 10px solid var(--accent);
    outline-offset: 10px;
  }

  100% {
    outline: 0px solid transparent;
    outline-offset: 0;
  }
}

.flash-highlight {
  animation: border-flash 1.8s ease-out 1;
}

/* ===== PRODUCT DIRECTORY ===== */
.directory-section {
  padding: 100px 0;
  background: var(--light);
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

.filter-tabs-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.directory-filter-btn {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.directory-filter-btn:hover,
.directory-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 15px rgba(0, 94, 50, 0.2);
}

.directory-filter-btn.active-insecticide {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.directory-filter-btn.active-fungicide {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.directory-filter-btn.active-herbicide {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #fff;
}

.directory-filter-btn.active-pgr {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.search-box-container {
  max-width: 500px;
  margin: 0 auto 50px;
  position: relative;
}

.search-box-container input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border-radius: 50px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.search-box-container input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 8px 25px rgba(114, 177, 59, 0.15);
}

.search-box-container i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ===== PREMIUM BRAND SELECTION CARDS ===== */
#brandSelectionGrid {
  margin-top: 35px;
}

.brand-card {
  position: relative;
  height: 400px;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: #0d1611;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 25px;
}

.brand-shiv:hover {
  border-color: rgba(146, 224, 90, 0.45);
  box-shadow: 0 30px 60px rgba(4, 50, 15, 0.35), 0 0 40px rgba(146, 224, 90, 0.15);
}

.brand-rudra:hover {
  border-color: rgba(90, 202, 224, 0.45);
  box-shadow: 0 30px 60px rgba(8, 35, 45, 0.35), 0 0 40px rgba(90, 202, 224, 0.15);
}

.brand-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
  z-index: 1;
}

.brand-card:hover .brand-card-bg {
  transform: scale(1.08);
  opacity: 0.8;
}

.brand-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: all 0.5s ease;
}

.brand-shiv .brand-card-overlay {
  background: linear-gradient(360deg, #021a08 0%, rgba(2, 26, 8, 0.8) 45%, rgba(0, 0, 0, 0) 100%);
}

.brand-rudra .brand-card-overlay {
  background: linear-gradient(360deg, #03151c 0%, rgba(3, 21, 28, 0.8) 45%, rgba(0, 0, 0, 0) 100%);
}

.brand-card:hover .brand-card-overlay {
  opacity: 0.95;
}

.brand-card-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(12px);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-card:hover .brand-card-content {
  transform: translateY(0);
}

/* Elegant floating brand logo badge */
.brand-logo-badge {
  position: absolute;
  top: -200px;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-shiv .brand-logo-badge {
  color: #a4f26c;
  border-color: rgba(146, 224, 90, 0.35);
}

.brand-rudra .brand-logo-badge {
  color: #6ce3f2;
  border-color: rgba(90, 202, 224, 0.35);
}

.brand-card:hover .brand-logo-badge {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 30px;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.brand-shiv .brand-badge {
  color: #a4f26c;
  background: rgba(146, 224, 90, 0.12);
  border: 1px solid rgba(146, 224, 90, 0.25);
}

.brand-rudra .brand-badge {
  color: #6ce3f2;
  background: rgba(90, 202, 224, 0.12);
  border: 1px solid rgba(90, 202, 224, 0.25);
}

.brand-card h2 {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.2;
  transition: color 0.3s;
}

.brand-shiv h2 {
  background: linear-gradient(135deg, #ffffff 50%, #c1f996 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-rudra h2 {
  background: linear-gradient(135deg, #ffffff 50%, #a2effa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
  transition: color 0.3s;
}

.brand-card:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* Core divisions list tags */
.brand-division-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.brand-tag-item {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-explore-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  transition: all 0.3s ease;
  width: fit-content;
  position: relative;
}

.brand-explore-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease, background 0.3s ease;
}

.brand-shiv .brand-explore-btn::after {
  background: #a4f26c;
}

.brand-rudra .brand-explore-btn::after {
  background: #6ce3f2;
}

.brand-card:hover .brand-explore-btn {
  gap: 12px;
}

.brand-shiv:hover .brand-explore-btn {
  color: #a4f26c;
}

.brand-rudra:hover .brand-explore-btn {
  color: #6ce3f2;
}

.brand-card:hover .brand-explore-btn::after {
  width: 100%;
}

.brand-card:hover {
  transform: translateY(-8px);
}

/* ===== CIRCULAR CATEGORY CARDS ===== */
.category-card-col {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.category-card {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  width: 170px;
}

.category-card-img-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(114, 177, 59, 0.12) 0%, rgba(4, 86, 35, 0.04) 100%);
  border: 1.5px solid rgba(114, 177, 59, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.category-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px dashed var(--primary-light);
  opacity: 0;
  transform: scale(0.92);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--white);
  transition: transform 0.5s ease;
}

.category-icon-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--white);
  font-size: 1rem;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover .category-card-img-wrap {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(114, 177, 59, 0.22);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-color: transparent;
}

.category-card:hover .category-card-img-wrap::after {
  opacity: 1;
  transform: scale(1.06);
  animation: rotateRing 24s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: scale(1.06) rotate(0deg);
  }

  to {
    transform: scale(1.06) rotate(360deg);
  }
}

.category-card:hover .category-card-img {
  transform: scale(0.96);
}

.category-card:hover .category-icon-badge {
  transform: scale(1.12) rotate(-8deg);
}

.bg-accent {
  background: var(--accent);
}

.bg-secondary {
  background: var(--secondary);
}

.bg-primary-light {
  background: var(--primary-light);
}

.bg-gold-dark {
  background: var(--gold-dark);
}

.bg-spreader {
  background: #008751;
}

.category-card-content {
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.category-card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  transition: color 0.3s;
}

.category-card:hover .category-card-content h3 {
  color: var(--primary-light);
}

.category-card-content p {
  display: none;
}

.category-count {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f1f5f2;
  padding: 4px 12px;
  border-radius: 12px;
  transition: all 0.3s;
  margin: 2px 0 0;
}

.category-card:hover .category-count {
  background: rgba(114, 177, 59, 0.1);
  color: var(--primary-light);
}

/* Back Button styling */
.btn-back-categories {
  background: #f1f5f3;
  border: 1px solid #e1e8e4;
  color: #3d5245;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-back-categories:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(114, 177, 59, 0.2);
}

.fade-in-view {
  animation: fadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* Product Cards */
.product-grid {
  /* Uses standard Bootstrap row gutter spacing to align exactly 4 products per row */
}

.product-card-col {
  transition: var(--transition);
}

.prod-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  padding: 20px 20px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
}

.prod-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.prod-card:hover::before {
  transform: scaleX(1);
}

.prod-image-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: #ffffff;
  /* Blends product image backgrounds perfectly */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.prod-card:hover .prod-image-wrap {
  border-color: rgba(114, 177, 59, 0.18);
}

.prod-card-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.prod-card:hover .prod-card-img {
  transform: scale(1.06);
}

.prod-emoji-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.prod-card:hover .prod-emoji-overlay {
  transform: scale(1.08);
  background: var(--white);
}

.prod-category-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

.cat-insecticide-tag {
  background: rgba(229, 57, 53, 0.08);
  color: var(--accent);
}

.cat-fungicide-tag {
  background: rgba(0, 114, 188, 0.08);
  color: var(--secondary);
}

.cat-herbicide-tag {
  background: rgba(114, 177, 59, 0.08);
  color: var(--primary-light);
}

.cat-pgr-tag {
  background: rgba(226, 180, 59, 0.08);
  color: var(--gold-dark);
}

.cat-spreader-tag {
  background: rgba(0, 135, 81, 0.08);
  color: #008751;
}

.prod-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.prod-formula-desc {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 14px;
  min-height: 40px;
  line-height: 1.4;
}

.prod-pack-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f3;
  border: 1px solid #e1e8e4;
  color: #3d5245;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 20px;
}

.prod-footer-btn {
  margin-top: auto;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.prod-footer-btn:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(114, 177, 59, 0.25);
}

/* Color variations for card borders and hover elements based on category */
.prod-card.insecticide::before {
  background: var(--accent);
}

.prod-card.insecticide:hover {
  border-color: rgba(232, 119, 26, 0.2);
}

.prod-card.insecticide .prod-emoji-wrap {
  background: rgba(232, 119, 26, 0.08);
}

.prod-card.insecticide .prod-footer-btn:hover {
  background: var(--accent);
}

.prod-card.insecticide .prod-footer-btn {
  color: var(--accent);
}

.prod-card.fungicide::before {
  background: var(--secondary);
}

.prod-card.fungicide:hover {
  border-color: rgba(0, 114, 188, 0.2);
}

.prod-card.fungicide .prod-emoji-wrap {
  background: rgba(0, 114, 188, 0.08);
}

.prod-card.fungicide .prod-footer-btn:hover {
  background: var(--secondary);
}

.prod-card.fungicide .prod-footer-btn {
  color: var(--secondary);
}

.prod-card.pgr::before {
  background: var(--gold-dark);
}

.prod-card.pgr:hover {
  border-color: rgba(184, 134, 11, 0.2);
}

.prod-card.pgr .prod-emoji-wrap {
  background: rgba(184, 134, 11, 0.08);
}

.prod-card.pgr .prod-footer-btn:hover {
  background: var(--gold-dark);
}

.prod-card.pgr .prod-footer-btn {
  color: var(--gold-dark);
}

.prod-card.spreader::before {
  background: #008751;
}

.prod-card.spreader:hover {
  border-color: rgba(0, 135, 81, 0.2);
}

.prod-card.spreader .prod-emoji-wrap {
  background: rgba(0, 135, 81, 0.08);
}

.prod-card.spreader .prod-footer-btn:hover {
  background: #008751;
}

.prod-card.spreader .prod-footer-btn {
  color: #008751;
}

/* ===== ABOUT US ===== */
.about-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0d2014, #060e0a);
  color: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

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

.about-lead {
  color: #a3c4b1;
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  line-height: 1.8;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(114, 177, 59, 0.15);
  border-radius: 20px;
  padding: 35px 30px;
  height: 100%;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.about-card:hover {
  background: rgba(114, 177, 59, 0.06);
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.about-card h3 {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.about-card p {
  color: #9db2a6;
  font-size: 0.92rem;
  line-height: 1.7;
}

.about-card ul {
  padding-left: 20px;
  color: #9db2a6;
  font-size: 0.92rem;
  line-height: 1.7;
}

.about-card ul li {
  margin-bottom: 8px;
}

.about-card ul li strong {
  color: var(--white);
}

/* ===== CONTACT US ===== */
.contact-section {
  padding: 100px 0;
  background: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.contact-info-card {
  background: #f8faf9;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-light);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(114, 177, 59, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--primary);
}

/* Form Styling */
.contact-form-wrap {
  background: #f8faf9;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

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

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(114, 177, 59, 0.1);
  outline: none;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--primary-light);
  box-shadow: 0 5px 15px rgba(114, 177, 59, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background: #060e0a;
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 30px;
  border-top: 3px solid var(--primary-light);
  font-size: 0.9rem;
}

.footer-brand-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-brand-title span {
  color: var(--primary-light);
}

.footer-desc {
  line-height: 1.7;
  margin-bottom: 25px;
  color: #9db2a6;
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2.5px;
  background: var(--primary-light);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9db2a6;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  text-align: center;
  color: #6b8475;
}

/* ===== BACK TO TOP & WHATSAPP FLOATING ===== */
.floating-action-btn {
  position: fixed;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 99;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.floating-back-to-top {
  right: 30px;
  background: var(--primary);
  opacity: 0;
  pointer-events: none;
}

.floating-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
}

.floating-whatsapp {
  right: 90px;
  background: #25D366;
}

.floating-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-5px) scale(1.05);
}

/* ===== ZOOM MODAL ===== */
.zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1050;
  justify-content: center;
  align-items: center;
  padding: 20px;
  cursor: zoom-out;
}

.zoom-content-container {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  display: flex;
  gap: 4px;
  cursor: default;
}

.zoom-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  background-color: var(--white);
}

.zoom-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 991px) {
  .hero {
    text-align: center;
    padding: 50px 0 80px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .slogan-line.line-2 {
    padding-left: 0;
  }

  .hero-visual-collage {
    transform: scale(0.95);
    margin: 40px auto 0;
  }

  .hero-stats {
    justify-content: center;
  }

  .catalog-viewport {
    min-height: 640px;
  }

  .nav-arrow-overlay {
    width: 50px;
  }

  .nav-arrow-icon {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .zoom-content-container {
    flex-direction: column;
    overflow-y: auto;
  }

  .floating-whatsapp {
    right: 30px;
    bottom: 90px;
  }

  /* 3D Book scale and mobile stacking overrides */
  .book-scale-wrapper {
    transform: none !important;
  }

  .book {
    width: 100%;
    max-width: 420px;
    height: 590px;
    perspective: none;
    transform: none !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  .paper {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    transform-origin: center center !important;
    display: none;
    z-index: 1 !important;
    box-shadow: none;
    pointer-events: none !important;
    /* Overlays handle page clicking on mobile */
  }

  .paper.active-paper {
    display: block !important;
  }

  .paper.active-paper .front,
  .paper.active-paper .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: visible !important;
    transform: none !important;
    display: none;
    border-radius: 8px !important;
    box-shadow: none;
  }

  .front::after,
  .back::after {
    display: none !important;
  }

  .book.mobile-show-front .paper.active-paper .front {
    display: block !important;
  }

  .book.mobile-show-back .paper.active-paper .back {
    display: block !important;
  }
}

@media (max-width: 575px) {
  .catalog-viewer-card {
    padding: 15px;
  }

  .catalog-toolbar {
    padding: 10px 15px;
  }

  .catalog-search-wrap input {
    width: 100%;
  }
}

.blank-page {
  background: #050c07;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.blank-page-inner {
  width: 90%;
  height: 95%;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
}

/* Catalog Switcher Buttons Styling */
.catalog-switch-btn {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.catalog-switch-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.catalog-switch-btn:hover {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(114, 177, 59, 0.25);
}

.catalog-switch-btn:hover i {
  transform: scale(1.15) rotate(-5deg);
}

.catalog-switch-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 94, 50, 0.3);
}

.catalog-switch-btn.active:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: 0 8px 25px rgba(114, 177, 59, 0.3);
}
