/* ============================================
   ОРМК — Modern Premium Stylesheet
   University Book Catalog
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1a3dde;
  --primary-light: #4f6df5;
  --primary-dark: #0e2699;
  --accent: #00c6fb;
  --accent2: #005bea;
  --bg: #f0f4f8;
  --bg-dark: #0a0e27;
  --card: #ffffff;
  --text: #1a1a2e;
  --text-light: #64748b;
  --border: #e2e8f0;
  --glass: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(26,61,222,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --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', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 1px 30px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  padding: 8px 40px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.log_p img {
  height: 48px;
  transition: transform 0.3s ease;
}

.log_p img:hover {
  transform: scale(1.05);
}

.site-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: var(--text);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 999px;
  transition: var(--transition);
  position: relative;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(26, 61, 222, 0.06);
}

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

.nav a:hover::after {
  width: 60%;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(0,0,0,0.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1a4e 35%, #0e2699 70%, #1a3dde 100%);
  padding: 140px 20px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 198, 251, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(79, 109, 245, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(0, 91, 234, 0.1) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00c6fb;
  box-shadow: 0 0 12px rgba(0,198,251,0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #00c6fb, #005bea, #4f6df5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 48px;
  font-weight: 400;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00c6fb, #4f6df5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Parallax Geometric Shapes ---- */
.parallax-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  transition: transform 0.1s linear;
  will-change: transform;
}

.shape-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,198,251,0.12), rgba(79,109,245,0.06));
  top: 15%;
  left: 8%;
  animation: shapeBob 6s ease-in-out infinite;
}

.shape-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.08);
  top: 25%;
  right: 12%;
  animation: shapeBob 8s ease-in-out 1s infinite;
}

.shape-square {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(79,109,245,0.08);
  bottom: 20%;
  left: 15%;
  transform: rotate(45deg);
  animation: shapeRotate 12s linear infinite;
}

.shape-dots {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 8%;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
  background-size: 16px 16px;
  animation: shapeBob 7s ease-in-out 0.5s infinite;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(0,198,251,0.06);
  top: 70%;
  left: 5%;
  animation: shapeBob 9s ease-in-out 2s infinite;
}

.shape-cross {
  width: 50px;
  height: 50px;
  top: 10%;
  right: 25%;
  animation: shapeRotate 15s linear infinite reverse;
}

.shape-cross::before,
.shape-cross::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}

.shape-cross::before {
  width: 100%;
  height: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.shape-cross::after {
  width: 8px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

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

@keyframes shapeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   SEARCH SECTION
   ============================================ */
.search-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 20px 60px;
}

.search-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid rgba(255,255,255,0.8);
}

.search-box-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  text-align: center;
}

.search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-row select,
.search-row input {
  padding: 14px 18px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.search-row select:focus,
.search-row input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,61,222,0.1);
  background: #fff;
}

.search-row select {
  width: 200px;
  cursor: pointer;
}

.search-row input {
  flex: 1;
  min-width: 250px;
}

.filter-label {
  display: none;
}

.search-button {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(26,61,222,0.3);
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,61,222,0.4);
}

.search-button:active {
  transform: translateY(0);
}

/* ============================================
   FEATURES / ABOUT SECTION
   ============================================ */
.features-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(26,61,222,0.06);
  border-radius: 999px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(26,61,222,0.08), rgba(0,198,251,0.08));
  color: var(--primary);
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   BOOKS SECTION (SWIPER)
   ============================================ */
.books-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg), #e8eef6);
}

.last {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  color: var(--text);
  padding: 0;
  margin-bottom: 40px;
}

.swiper-container {
  padding: 20px 0 50px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.swiper-slide {
  text-align: center;
  padding: 24px 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: auto;
  transition: var(--transition);
  perspective: 800px;
}

.swiper-slide:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.swiper-slide a {
  text-decoration: none;
}

.book-img {
  max-width: 160px;
  height: 220px;
  object-fit: cover;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease;
  display: block;
}

.swiper-slide:hover .book-img {
  transform: rotateY(-5deg) scale(1.03);
}

.book-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 4px;
  line-height: 1.4;
}

.book-author {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary) !important;
  width: 44px !important;
  height: 44px !important;
  background: var(--card);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px !important;
  font-weight: bold;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0a0e27, #1a1a4e, #0e2699);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,198,251,0.06) 0%, transparent 60%);
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #00c6fb, #005bea);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0,198,251,0.3);
  transition: var(--transition);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,198,251,0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 30px;
  font-family: 'Inter', sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.footer-column p,
.footer-column a,
.footer-column li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 6px;
  display: block;
  line-height: 1.7;
}

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

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer .logo {
  max-width: 80px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   DROPDOWN
   ============================================ */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a {
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border-radius: 999px;
  transition: var(--transition);
}

.dropdown > a:hover {
  color: var(--primary);
  background: rgba(26,61,222,0.06);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 240px;
  z-index: 1000;
  opacity: 0;
  border: 1px solid var(--border);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-content a {
  padding: 12px 20px;
  display: block;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(26,61,222,0.04);
  color: var(--primary);
  padding-left: 26px;
}

.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   BOOK LISTS (all_books / faculty_books)
   ============================================ */
.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 80px auto 0;
}

.book-item {
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.book-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   INTRO FALLBACK (for pages using .intro)
   ============================================ */
.intro {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1a4e 35%, #0e2699 70%, #1a3dde 100%);
  padding: 120px 20px 60px;
  text-align: center;
  color: #fff;
}

.intro h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00c6fb, #4f6df5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 10px 16px;
  }

  .logo {
    margin-bottom: 0;
  }

  .site-title {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 16px;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--card);
    padding: 10px 0;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
    border-radius: 0;
  }

  .nav a::after {
    display: none;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    transform: none;
    opacity: 1;
    display: none;
    border-radius: 0;
    border: none;
  }

  .dropdown-content.show {
    display: block;
    transform: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 16px 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .search-box {
    padding: 20px;
  }

  .search-row {
    flex-direction: column;
  }

  .search-row select,
  .search-row input {
    width: 100% !important;
    min-width: unset;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .swiper-slide {
    padding: 16px;
  }

  .book-img {
    max-width: 130px;
    height: 180px;
  }
}

@media (max-width: 425px) {
  .header {
    padding: 8px 12px;
  }

  .log_p img {
    height: 38px;
  }
}
