
/* ==========================================
   BHARTI PUBLICATIONS - HEADER & NAVIGATION
   ========================================== */

:root {
  --brand-red: #b71e23;
  --brand-red-dark: #94171c;
  --header-text: #252525;
  --header-muted: #666666;
  --header-border: #eeeeee;
  --header-white: #ffffff;
  --header-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  /* Allow dropdown menus to extend below the navbar instead of clipping them. */
  overflow: visible;
  z-index: 10000;
  background: var(--header-white);
  font-family: Arial, Helvetica, sans-serif;
}

.site-header a {
  text-decoration: none;
}

.header-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* Top information bar */
.topbar {
  background: #f7f7f7;
  border-bottom: 1px solid #eeeeee;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.topbar-label {
  color: var(--header-muted);
  letter-spacing: 0.2px;
}

.topbar-inner > a {
  color: var(--brand-red);
  transition: color 0.2s ease;
}

.topbar-inner > a:hover {
  color: var(--brand-red-dark);
}

/* Main header row */
.main-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 270px;
}

.brand-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
}

/* Search box */
.header-search {
  flex: 1 1 420px;
  max-width: 480px;
}

.header-search form {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid #dddddd;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease,
              box-shadow 0.2s ease;
}

.header-search form:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(183, 30, 35, 0.08);
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222222;
  font-size: 14px;
}

.header-search input::placeholder {
  color: #888888;
}

.header-search button {
  width: 50px;
  min-width: 50px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--brand-red);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search button:hover {
  background: var(--brand-red-dark);
}

.header-search button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Contact action */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--header-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-action:hover {
  color: var(--brand-red);
}

.header-action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Desktop navigation */
.main-navigation {
  background: var(--brand-red);
  box-shadow: var(--header-shadow);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
}

.nav-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--brand-red-dark);
  color: #ffffff;
}

.dropdown-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

/* Dropdown menus */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
  z-index: 10001;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease,
              transform 0.2s ease,
              visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown.is-open .dropdown-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-panel a {
  display: block;
  padding: 12px 17px;
  color: #333333;
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: #fff2f2;
  color: var(--brand-red);
}

/* Hamburger button: hidden on desktop */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* Keyboard focus */
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid #e8a1a3;
  outline-offset: 3px;
}

/* Smaller desktop and laptop */
@media (max-width: 1100px) {
  .header-container {
    width: calc(100% - 32px);
  }

  .main-header {
    gap: 22px;
  }

  .brand-logo {
    max-width: 220px;
  }

  .nav-link {
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Tablet and mobile navigation */
@media (max-width: 900px) {
  .main-header {
    min-height: 94px;
    gap: 15px;
  }

  .brand-logo {
    max-width: 200px;
  }

  .brand-logo img {
    max-height: 70px;
  }

  .header-search {
    max-width: none;
  }

  .header-action span {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    display: none;
    box-shadow: none;
    border-top: 1px solid #eeeeee;
  }

  .main-navigation.is-open {
    display: block;
  }

  .nav-inner {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    text-align: left;
    font-size: 14px;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown > .nav-link {
    display: flex;
  }

  .dropdown-panel {
    display: none;
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: #fff7f7;
    transition: none;
  }

  .nav-dropdown.is-open .dropdown-panel {
    display: block;
  }

  .dropdown-panel a {
    padding: 13px 36px;
    border-bottom: 1px solid #f1e1e1;
  }

  .nav-dropdown:hover .dropdown-panel,
  .nav-dropdown:focus-within .dropdown-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .header-container {
    width: calc(100% - 28px);
  }

  .topbar-inner {
    min-height: 35px;
    justify-content: center;
    text-align: center;
  }

  .topbar-label {
    display: none;
  }

  .topbar-inner > a {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .main-header {
    min-height: 80px;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand-logo {
    max-width: 155px;
  }

  .brand-logo img {
    max-height: 56px;
  }

  .header-actions {
    gap: 8px;
    margin-left: auto;
  }

  .header-action svg {
    width: 21px;
    height: 21px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .header-search {
    order: 3;
    flex: 0 0 100%;
  }

  .header-search form {
    min-height: 42px;
  }

  .header-search input {
    height: 40px;
    font-size: 13px;
  }

  .header-search button {
    height: 40px;
    width: 44px;
    min-width: 44px;
  }

  .nav-link {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .header-container {
    width: calc(100% - 20px);
  }

  .brand-logo {
    max-width: 125px;
  }

  .brand-logo img {
    max-height: 48px;
  }

  .header-actions {
    gap: 6px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}



/* =====================================
   HOMEPAGE HERO SLIDER
===================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #17212b;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 18, 28, 0.88) 0%,
        rgba(10, 18, 28, 0.70) 48%,
        rgba(10, 18, 28, 0.18) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 70px;
}

.hero-content {
    max-width: 690px;
    color: #ffffff;
    animation: heroContentIn 0.7s ease both;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 9px 15px;
    border-left: 4px solid #b71e23;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-content h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(34px, 4.2vw, 57px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-content p {
    max-width: 600px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border: 2px solid #b71e23;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.hero-btn-primary {
    background: #b71e23;
    color: #ffffff;
}

.hero-btn-primary:hover {
    border-color: #94181c;
    background: #94181c;
    color: #ffffff;
}

.hero-btn-outline {
    border-color: #ffffff;
    background: transparent;
    color: #ffffff;
}

.hero-btn-outline:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #222222;
}

/* Slider arrows */

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.hero-arrow:hover {
    background: #b71e23;
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

/* Slider dots */

.hero-dots {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.hero-dot.active {
    width: 30px;
    border-color: #b71e23;
    border-radius: 10px;
    background: #b71e23;
}

/* Animation */

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */

@media (max-width: 900px) {
    .hero-slider {
        height: 480px;
    }

    .hero-container {
        padding: 35px 65px;
    }

    .hero-content {
        max-width: 570px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 5vw, 45px);
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .hero-slider {
        height: 490px;
    }

    .hero-slide {
        background-position: 62% center;
    }

    .hero-overlay {
        background: rgba(10, 18, 28, 0.76);
    }

    .hero-container {
        padding: 35px 28px 55px;
    }

    .hero-tag {
        margin-bottom: 16px;
        padding: 8px 11px;
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .hero-content h1 {
        margin-bottom: 17px;
        font-size: 34px;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: fit-content;
        min-height: 45px;
        padding: 11px 18px;
        font-size: 13px;
    }

    .hero-arrow {
        top: auto;
        bottom: 17px;
        width: 35px;
        height: 35px;
        transform: none;
        font-size: 15px;
    }

    .hero-prev {
        left: 16px;
    }

    .hero-next {
        right: 16px;
    }

    .hero-dots {
        bottom: 29px;
        gap: 7px;
    }

    .hero-dot {
        width: 9px;
        height: 9px;
    }

    .hero-dot.active {
        width: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-btn,
    .hero-arrow {
        transition: none;
    }

    .hero-content {
        animation: none;
    }
}



/* =====================================
   POPULAR BOOKS SECTION
===================================== */

.popular-books-section {
    padding: 7px 5px;
    background: #ffffff;
}

.books-container {
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 0 auto;
}

.books-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 38px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #b71e23;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.books-heading h2 {
    margin: 0 0 12px;
    color: #20242a;
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 750;
    line-height: 1.2;
}

.books-heading p {
    max-width: 620px;
    margin: 0;
    color: #707780;
    font-size: 15px;
    line-height: 1.7;
}

.view-all-books {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    padding: 13px 19px;
    border: 1px solid #b71e23;
    border-radius: 3px;
    color: #b71e23;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease;
}

.view-all-books:hover {
    background: #b71e23;
    color: #ffffff;
}



.popular-book-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.popular-book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

/* Book cover */

.book-cover-link {
    position: relative;
    display: flex;
    height: 300px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
    background: #f5f5f5;
    text-decoration: none;
}

.book-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.popular-book-card:hover .book-cover {
    transform: scale(1.045);
}

.book-view-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 11px;
    transform: translateY(8px);
    border-radius: 3px;
    background: #b71e23;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.popular-book-card:hover .book-view-label,
.book-cover-link:focus-visible .book-view-label {
    transform: translateY(0);
    opacity: 1;
}

/* Book information */

.popular-book-info {
    padding: 20px 17px 19px;
}

.book-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #b71e23;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.popular-book-info h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.popular-book-info h3 a {
    color: #222831;
    text-decoration: none;
}

.popular-book-info h3 a:hover {
    color: #b71e23;
}

.book-author {
    margin: 0 0 17px;
    color: #777d85;
    font-size: 13px;
    line-height: 1.6;
}

.book-details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b71e23;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.book-details-link:hover {
    color: #87171b;
}

/* Tablet */

@media (max-width: 1000px) {
   

    .book-cover-link {
        height: 280px;
    }
}

/* Small tablet */

@media (max-width: 700px) {
    .popular-books-section {
        padding: 55px 0;
    }

    .books-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .book-cover-link {
        height: 250px;
        padding: 12px;
    }

    .popular-book-info {
        padding: 16px 13px;
    }
}

/* Mobile */

@media (max-width: 420px) {
    .books-container {
        width: calc(100% - 28px);
    }


    .book-cover-link {
        height: 205px;
        padding: 8px;
    }

    .popular-book-info {
        padding: 13px 10px;
    }

    .popular-book-info h3 {
        font-size: 14px;
    }

    .book-author {
        font-size: 12px;
    }

    .book-details-link {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .popular-book-card,
    .book-cover,
    .book-view-label,
    .view-all-books {
        transition: none;
    }
}



/* =====================================
   CATEGORY HORIZONTAL SLIDER
===================================== */

.category-slider-section {
    padding: 48px 0 42px;
    background: #f7f7f8;
    border-bottom: 1px solid #eeeeee;
}

.category-slider-container {
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 0 auto;
}

.category-slider-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.category-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #b71e23;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.category-slider-heading h2 {
    margin: 0;
    color: #20242a;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 750;
    line-height: 1.3;
}

/* Navigation arrows */

.category-slider-controls {
    display: flex;
    gap: 9px;
    flex-shrink: 0;
}

.category-arrow {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #ffffff;
    color: #292929;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}

.category-arrow:hover:not(:disabled) {
    border-color: #b71e23;
    background: #b71e23;
    color: #ffffff;
}

.category-arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

/* Slider track */

.category-slider-track {
    display: grid;
    grid-auto-columns: calc((100% - 60px) / 4);
    grid-auto-flow: column;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 2px 15px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.category-slider-track::-webkit-scrollbar {
    display: none;
}

/* Individual category */

.category-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    overflow: hidden;
    padding: 20px 18px;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    background: #ffffff;
    color: #20242a;
    text-decoration: none;
    scroll-snap-align: start;
    transition: border-color 0.25s ease,
                background 0.25s ease,
                transform 0.25s ease,
                box-shadow 0.25s ease;
}

.category-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #b71e23;
    content: "";
    transition: height 0.25s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #e5b6b8;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    color: #20242a;
}

.category-card:hover::before {
    height: 100%;
}

.category-number {
    display: inline-flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f9e9ea;
    color: #b71e23;
    font-size: 11px;
    font-weight: 700;
}

.category-name {
    display: block;
    width: 100%;
    color: #222831;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.category-link {
    display: inline-block;
    color: #b71e23;
    font-size: 11px;
    font-weight: 700;
}

/* More categories card */

.category-more-card {
    border-color: #b71e23;
    background: #b71e23;
}

.category-more-card .category-number {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 20px;
}

.category-more-card .category-name,
.category-more-card .category-link {
    color: #ffffff;
}

.category-more-card:hover {
    border-color: #92181c;
    background: #92181c;
}

/* Progress indicator */

.category-progress {
    height: 3px;
    margin-top: 5px;
    overflow: hidden;
    border-radius: 3px;
    background: #e5e5e5;
}

.category-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 3px;
    background: #b71e23;
    transition: width 0.15s ease;
}

/* Tablet */

@media (max-width: 1000px) {
    .category-slider-track {
        grid-auto-columns: calc((100% - 40px) / 3);
        gap: 20px;
    }

    .category-card {
        min-height: 150px;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .category-slider-section {
        padding: 38px 0 30px;
    }

    .category-slider-container {
        width: calc(100% - 28px);
    }

    .category-slider-heading {
        align-items: center;
        margin-bottom: 20px;
    }

    .category-slider-heading h2 {
        font-size: 24px;
    }

    .category-eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .category-arrow {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .category-slider-track {
        grid-auto-columns: 72%;
        gap: 12px;
        padding-bottom: 12px;
    }

    .category-card {
        min-height: 140px;
        padding: 16px;
    }

    .category-name {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-slider-track {
        scroll-behavior: auto;
    }

    .category-card,
    .category-card::before,
    .category-arrow,
    .category-progress-bar {
        transition: none;
    }
}


/* =====================================
   POPULAR BOOKS CAROUSEL
===================================== */

.popular-books-carousel {
    position: relative;
    padding: 0 0;
}

.popular-books-grid {
    display: grid;
    grid-auto-columns: calc((100% - 80px) / 5);
    grid-auto-flow: column;
    gap: 20px;
    overflow-x: auto;
    padding: 5px 2px 18px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.popular-books-grid::-webkit-scrollbar {
    display: none;
}

.popular-book-card {
    min-width: 0;
    scroll-snap-align: start;
}

/* Book cover height for 5 cards */

.book-cover-link {
    height: 265px;
}

/* Carousel arrows */

.books-carousel-arrow {
    position: absolute;
    top: 125px;
    z-index: 5;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #ffffff;
    color: #222222;
    font-size: 15px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.books-carousel-arrow:hover:not(:disabled) {
    border-color: #b71e23;
    background: #b71e23;
    color: #ffffff;
}

.books-carousel-arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

.books-carousel-prev {
    left: -17px;
}

.books-carousel-next {
    right: -17px;
}

/* Tablet: 3 books visible */

@media (max-width: 1000px) {
    .popular-books-grid {
        grid-auto-columns: calc((100% - 40px) / 3);
        gap: 20px;
    }

    .book-cover-link {
        height: 270px;
    }

    .books-carousel-arrow {
        top: 130px;
    }
}

/* Mobile: approximately 2 books visible */

@media (max-width: 650px) {
    .popular-books-grid {
        grid-auto-columns: calc((100% - 12px) / 2);
        gap: 12px;
    }

    .book-cover-link {
        height: 230px;
        padding: 10px;
    }

    .books-carousel-arrow {
        top: 105px;
        width: 34px;
        height: 34px;
    }

    .books-carousel-prev {
        left: -8px;
    }

    .books-carousel-next {
        right: -8px;
    }
}

/* Small mobile */

@media (max-width: 420px) {
    .book-cover-link {
        height: 195px;
    }

    .popular-book-info {
        padding: 13px 10px;
    }

    .popular-book-info h3 {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .popular-books-grid {
        scroll-behavior: auto;
    }
}



/* =====================================
   ABOUT BHARTI PUBLICATIONS
===================================== */

.about-publications {
    padding: 85px 0;
    background: #ffffff;
}

.about-container {
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 0 auto;
}

/* Heading */

.about-heading {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #b71e23;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-heading h2 {
    margin: 0;
    color: #20242a;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 750;
    line-height: 1.2;
}

.about-heading-line {
    width: 62px;
    height: 4px;
    margin: 20px auto;
    border-radius: 5px;
    background: #b71e23;
}

.about-intro {
    margin: 0;
    color: #666e78;
    font-size: 20px;
    line-height: 1.7;
}

/* Main two-column layout */

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 65px;
}

.about-text p {
    margin: 0 0 20px;
    color: #626a73;
    font-size: 17px;
    text-align: justify;
    line-height: 1.5;
}

/* Buttons */

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.about-btn {
    display: inline-flex;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 21px;
    border: 1px solid #b71e23;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
}

.about-btn-primary {
    background: #b71e23;
    color: #ffffff;
}

.about-btn-primary:hover {
    border-color: #92181c;
    background: #92181c;
    color: #ffffff;
}

.about-btn-outline {
    background: #ffffff;
    color: #b71e23;
}

.about-btn-outline:hover {
    background: #b71e23;
    color: #ffffff;
}

/* Highlight cards */

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 21px 19px;
    border: 1px solid #ededed;
    border-radius: 5px;
    background: #ffffff;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.25s ease;
}

.about-highlight-card:hover {
    transform: translateX(7px);
    border-color: #e6b9bb;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.045);
}

.about-highlight-icon {
    display: flex;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #f9e9ea;
    color: #b71e23;
    font-size: 12px;
    font-weight: 800;
}

.about-highlight-card h3 {
    margin: 1px 0 7px;
    color: #252a31;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.about-highlight-card p {
    margin: 0;
    color: #747b83;
    font-size: 13px;
    line-height: 1.7;
}

/* Credentials strip */

.about-credentials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 60px;
    padding: 30px 25px;
    border: 1px solid #eeeeee;
    border-left: 4px solid #b71e23;
    border-radius: 4px;
    background: #fafafa;
}

.about-credential {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 5px 15px;
    text-align: center;
}

.about-credential + .about-credential {
    border-left: 1px solid #e3e3e3;
}

.about-credential strong {
    color: #b71e23;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.3;
}

.about-credential span {
    color: #626a73;
    font-size: 13px;
    line-height: 1.6;
}

/* Tablet */

@media (max-width: 900px) {
    .about-publications {
        padding: 65px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-heading {
        margin-bottom: 38px;
    }

    .about-highlights {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .about-credentials {
        margin-top: 40px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .about-publications {
        padding: 50px 0;
    }

    .about-container {
        width: calc(100% - 30px);
    }

    .about-heading {
        margin-bottom: 30px;
    }

    .about-heading h2 {
        font-size: 30px;
    }

    .about-intro {
        font-size: 15px;
    }

    .about-text p {
        font-size: 14px;
        line-height: 1.85;
    }

    .about-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-btn {
        width: 100%;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-highlight-card {
        padding: 18px 15px;
    }

    .about-credentials {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 35px;
        padding: 10px 18px;
    }

    .about-credential {
        padding: 20px 5px;
    }

    .about-credential + .about-credential {
        border-top: 1px solid #e3e3e3;
        border-left: none;
    }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .about-btn,
    .about-highlight-card {
        transition: none;
    }
}




/* ==================== FOOTER ==================== */

.site-footer {
    background: #17191d;
    color: #d0d2d6;
    font-family: inherit;
    margin-top: 0;
}

.footer-main {
    padding: 70px 24px 55px;
}

.footer-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.8fr 0.9fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
}

.footer-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 3px;
}

.footer-description {
    color: #b9bdc5;
    font-size: 13.5px;
    line-height: 1.9;
    margin: 0 0 23px;
}

.footer-heading {
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin: 0 0 22px;
    padding-bottom: 12px;
    position: relative;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: #b71e23;
}

.footer-heading-spaced {
    margin-top: 30px;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #b9bdc5;
    font-size: 12.5px;
    line-height: 1.8;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.footer-icon {
    color: #e45a5e;
    font-size: 17px;
    flex-shrink: 0;
}

.footer-contact a {
    color: #b9bdc5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #41444b;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease,
                transform 0.2s ease;
}

.footer-socials a:hover {
    background: #b71e23;
    border-color: #b71e23;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 0 13px;
}

.footer-links a {
    display: inline-block;
    color: #b9bdc5;
    font-size: 13px;
    line-height: 1.65;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-newsletter-form label {
    display: block;
    color: #d0d2d6;
    font-size: 12px;
    margin-bottom: 9px;
}

.footer-newsletter-form input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 13px 12px;
    border: 1px solid #41444b;
    border-radius: 5px;
    outline: none;
    background: #22252b;
    color: #fff;
    font: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

.footer-newsletter-form input::placeholder {
    color: #8f949e;
}

.footer-newsletter-form input:focus {
    border-color: #d8494e;
}

.footer-newsletter-form button {
    width: 100%;
    margin-top: 12px;
    padding: 13px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid #b71e23;
    border-radius: 5px;
    background: #b71e23;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-newsletter-form button:hover {
    background: #94171c;
    border-color: #94171c;
}

.newsletter-message {
    min-height: 18px;
    color: #d0d2d6;
    font-size: 12px;
    line-height: 1.6;
    margin: 10px 0 0;
    overflow-wrap: anywhere;
}

.footer-bottom {
    border-top: 1px solid #34373e;
    padding: 20px 24px;
}

.footer-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #aeb2bb;
    font-size: 12.5px;
    line-height: 1.7;
}

.footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 12.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer-back-top span {
    color: #ef6267;
    font-size: 18px;
}

.footer-back-top:hover {
    color: #ef6267;
}

/* Tablet */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 42px 30px;
    }
}

/* Small tablet and large mobile */
@media (max-width: 700px) {
    .footer-main {
        padding: 50px 22px 35px;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 22px;
    }

    .footer-about,
    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-brand {
        font-size: 18px;
    }

    .footer-heading {
        font-size: 13px;
        margin-bottom: 18px;
    }
}

/* Mobile */
@media (max-width: 450px) {
    .footer-main {
        padding: 42px 18px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about,
    .footer-newsletter {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 18px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-description {
        max-width: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-socials a,
    .footer-links a,
    .footer-contact a,
    .footer-back-top,
    .footer-newsletter-form input,
    .footer-newsletter-form button {
        transition: none;
    }
}

/* =========================================
   BHARTI PUBLICATIONS CONTACT PAGE
========================================= */

.bp-contact-page {
  --bp-red: #b71e23;
  --bp-red-dark: #94191e;
  --bp-text: #252525;
  --bp-muted: #6e7076;
  --bp-border: #e9e9ec;
  --bp-soft: #fff6f6;
  background: #fff;
  color: var(--bp-text);
  font-family: inherit;
}

.bp-contact-page *,
.bp-contact-page *::before,
.bp-contact-page *::after {
  box-sizing: border-box;
}

.bp-contact-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Hero */

.bp-contact-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(120deg, #92171c, #b71e23 65%, #ca3438);
}

.bp-contact-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: 5%;
  bottom: -210px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255,255,255,.04),
    0 0 0 70px rgba(255,255,255,.035);
  pointer-events: none;
}

.bp-contact-eyebrow,
.bp-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.bp-contact-eyebrow {
  color: #ffe1e1;
}

.bp-contact-hero h1 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 750;
}

.bp-contact-hero p {
  max-width: 600px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.8;
}

.bp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

.bp-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.bp-breadcrumb a:hover {
  text-decoration: underline;
}

/* Main layout */

.bp-contact-main {
  padding-top: 52px;
  padding-bottom: 75px;
}

.bp-contact-intro {
  margin-bottom: 24px;
}

.bp-section-label {
  color: var(--bp-red);
}

.bp-contact-intro h2,
.bp-contact-heading h2,
.bp-enquiry-header h2 {
  margin: 9px 0 10px;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.3;
  font-weight: 750;
  color: var(--bp-text);
}

.bp-contact-intro p,
.bp-enquiry-header p,
.bp-social-section > p {
  color: var(--bp-muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.bp-contact-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 42px;
}

.bp-contact-card {
  padding: 25px;
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease,
              box-shadow .2s ease;
}

.bp-contact-card:hover {
  border-color: #e7b5b7;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(35, 20, 20, .055);
}

.bp-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  border-radius: 10px;
  background: var(--bp-soft);
  color: var(--bp-red);
  font-size: 23px;
  font-weight: 700;
}

.bp-contact-card h3,
.bp-department-card h3,
.bp-social-section h3 {
  margin: 0 0 10px;
  color: var(--bp-text);
  font-size: 17px;
  font-weight: 750;
}

.bp-contact-card p,
.bp-contact-card a {
  display: block;
  margin: 0 0 7px;
  color: var(--bp-muted);
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.bp-contact-card a,
.bp-contact-detail a {
  color: var(--bp-red);
  text-decoration: none;
}

.bp-contact-card a:hover,
.bp-contact-detail a:hover {
  text-decoration: underline;
}

/* Two-column department and form layout */

.bp-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: start;
  gap: 32px;
}

.bp-contact-heading {
  margin-bottom: 20px;
}

.bp-contact-heading h2 {
  margin-bottom: 0;
}

.bp-department-card {
  display: flex;
  gap: 15px;
  padding: 21px 0;
  border-bottom: 1px solid var(--bp-border);
}

.bp-department-card:first-of-type {
  border-top: 1px solid var(--bp-border);
}

.bp-department-icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--bp-soft);
  color: var(--bp-red);
  font-size: 16px;
  font-weight: 800;
}

.bp-department-content {
  min-width: 0;
  flex: 1;
}

.bp-department-card h3 {
  margin-bottom: 9px;
  font-size: 15px;
}

.bp-contact-detail {
  margin: 7px 0 0;
  color: var(--bp-muted);
  font-size: 12.5px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.bp-detail-label {
  display: block;
  margin-bottom: 2px;
  color: #777;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bp-manager-name {
  margin: 0 0 8px;
  color: var(--bp-muted);
  font-size: 13px;
}

/* Social links */

.bp-social-section {
  padding-top: 26px;
}

.bp-social-section h3 {
  margin-bottom: 6px;
}

.bp-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.bp-social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--bp-border);
  border-radius: 7px;
  color: #414141;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: .2s ease;
}

.bp-social-links a:hover {
  border-color: var(--bp-red);
  background: var(--bp-soft);
  color: var(--bp-red);
}

/* Enquiry form */

.bp-enquiry-panel {
  padding: 30px;
  border: 1px solid var(--bp-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(25, 20, 20, .045);
}

.bp-enquiry-header {
  margin-bottom: 25px;
}

.bp-enquiry-header h2 {
  margin-top: 8px;
}

.bp-contact-form .bp-form-field {
  margin-bottom: 18px;
}

.bp-contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #303030;
  font-size: 12px;
  font-weight: 750;
}

.bp-contact-form input,
.bp-contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #e1e1e5;
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: var(--bp-text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bp-contact-form textarea {
  min-height: 135px;
  resize: vertical;
}

.bp-contact-form input::placeholder,
.bp-contact-form textarea::placeholder {
  color: #a1a1a8;
}

.bp-contact-form input:focus,
.bp-contact-form textarea:focus {
  border-color: var(--bp-red);
  box-shadow: 0 0 0 3px rgba(183, 30, 35, .09);
}

.bp-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 7px;
  background: var(--bp-red);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.bp-submit-button:hover {
  background: var(--bp-red-dark);
}

.bp-submit-button:active {
  transform: translateY(1px);
}

.bp-form-note {
  margin: 13px 0 0;
  color: var(--bp-muted);
  font-size: 11px;
  line-height: 1.7;
}

.bp-form-status {
  margin-top: 12px;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 900px) {
  .bp-contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .bp-enquiry-panel {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .bp-contact-container {
    width: min(100% - 30px, 1180px);
  }

  .bp-contact-hero {
    padding: 45px 0 35px;
  }

  .bp-contact-hero p {
    font-size: 14px;
  }

  .bp-contact-main {
    padding-top: 35px;
    padding-bottom: 45px;
  }

  .bp-contact-top-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 32px;
  }

  .bp-contact-card {
    padding: 20px;
  }

  .bp-department-card {
    gap: 12px;
    padding: 18px 0;
  }

  .bp-enquiry-panel {
    padding: 21px 17px;
    border-radius: 10px;
  }

  .bp-contact-layout {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-contact-page *,
  .bp-contact-page *::before,
  .bp-contact-page *::after {
    transition: none !important;
  }
}
