:root {
  --page-container: 140px;
  --dark-brown: #2c1510;
  --dark-yellow: #d5a368;
  --light-color: #f3ecdc;
  --bottom-header-height: 97px;
  --section-padding-top: 80px;
  --section-padding-bottom: 80px;
  /* fonts */
  /* Scale Range: 375px -> 1440px */
  --fs-64: clamp(2.25rem, 1.26rem + 2.63vw, 4rem);
  /* Min: 36px | Max: 64px */
  --fs-48: clamp(2rem, 1.648rem + 1.5vw, 3rem);
  /* Min: 32px | Max: 48px */
  --fs-42: clamp(1.75rem, 1.44rem + 1.31vw, 2.625rem);
  /* Min: 28px | Max: 42px */
  --fs-36: clamp(1.625rem, 1.405rem + 0.94vw, 2.25rem);
  /* Min: 26px | Max: 36px */
  --fs-32: clamp(1.5rem, 1.32rem + 0.75vw, 2rem);
  /* Min: 24px | Max: 32px */
  --fs-28: clamp(1.3125rem, 1.158rem + 0.66vw, 1.75rem);
  /* Min: 21px | Max: 28px */
  --fs-26: clamp(1.1875rem, 1.03rem + 0.66vw, 1.625rem);
  /* Min: 19px | Max: 26px */
  --fs-24: clamp(1.125rem, 0.99rem + 0.56vw, 1.5rem);
  /* Min: 18px | Max: 24px */
  --fs-20: clamp(1rem, 0.91rem + 0.38vw, 1.25rem);
  /* Min: 16px | Max: 20px */
  --fs-18: clamp(0.875rem, 0.79rem + 0.38vw, 1.125rem);
  /* Min: 14px | Max: 18px */
  --fs-16: clamp(0.8125rem, 0.746rem + 0.28vw, 1rem);
  /* Min: 13px | Max: 16px */
  /* local */
  --team-box-margin-top: -64px;
}

@media screen and (max-width: 1500px) {
  :root {
    --page-container: 60px;
    --section-padding-top: 50px;
    --section-padding-bottom: 50px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --page-container: 20px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --page-container: 16px;
    --section-padding-top: 30px;
    --section-padding-bottom: 30px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
}

ul {
  list-style: none;
  padding-inline-start: 0;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background-color: transparent;
}

input {
  line-height: normal;
}

button,
input {
  outline: none;
  padding: 0px;
}

.list-styles {
  padding-inline-start: 1.3em;
  list-style: disc;
}

img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Raleway", sans-serif;
}

.page-container {
  padding-inline: var(--page-container);
}

.base-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  color: var(--dark-brown);
  font-size: 16px;
  font-weight: 600;
  outline: none;
  transition: all 0.4s;
  cursor: pointer;
  border-radius: 55px;
  text-align: center;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 170px;
}

@media screen and (max-width: 767px) {
  .base-btn {
    min-width: unset;
    padding: 11px 20px;
    width: 100%;
    font-size: 14px;
  }
}

.base-btn img {
  transition: all 0.4s;
}

.light-btn {
  border: 1px solid var(--light-color);
  background: var(--light-color);
  color: var(--dark-brown);
}

.light-btn:hover {
  border: 1px solid var(--dark-brown);
  background: var(--dark-brown);
  color: var(--light-color);
}

.light-btn:hover img {
  filter: invert(100%) brightness(200%);
}

.brown-btn {
  border: 1px solid var(--dark-brown);
  background: var(--dark-brown);
  color: var(--light-color);
}

.brown-btn img {
  filter: invert(100%) brightness(200%);
}

.brown-btn:hover {
  background: var(--light-color);
  color: var(--dark-brown);
}

.brown-btn:hover img {
  filter: none;
}

.transparent-btn {
  border: 1px solid var(--dark-brown);
  background: transparent;
  color: var(--dark-brown);
}

.transparent-btn:hover {
  background: var(--dark-brown);
  color: var(--light-color);
}

.transparent-btn:hover img {
  filter: invert(100%) brightness(200%);
}

.dark-yellow-btn {
  border: 1px solid var(--dark-yellow);
  background: var(--dark-yellow);
  color: #fff;
}

.dark-yellow-btn img {
  filter: brightness(0) invert(1);
}

.dark-yellow-btn:hover {
  border: 1px solid var(--dark-yellow);
  background: #fff;
  color: var(--dark-yellow);
}

.dark-yellow-btn:hover img {
  filter: brightness(0);
}

.loader {
  position: fixed;
  width: 100vw;
  height: 100dvh;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.loader-container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
}

.loader-container .loader-img {
  width: 350px;
  height: 350px;
}

.loader-container .loader-img img {
  -o-object-fit: contain;
  object-fit: contain;
}

p:empty {
  min-height: 20px;
}

.decorated-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.decorated-heading::before,
.decorated-heading::after {
  content: "";
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 2px;
  background-color: var(--dark-yellow);
}

.header {
  position: relative;
  z-index: 2;
}

.header .right-side {
  display: flex;
  gap: 12px;
}

.header .menu-close-icon {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
}

@media screen and (min-width: 1601px) {
  .header .center-side {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header .center-side .nav-item {
    visibility: visible !important;
    opacity: 1 !important;
    transform: unset;
  }

  .header .menu-button,
  .header .decorated-circle,
  .header .menu-close-icon {
    display: none;
  }
}

@media screen and (max-width: 1600px) {
  .header .center-side {
    position: fixed;
    inset: var(--page-container);
    z-index: 11;
    pointer-events: auto;
    touch-action: auto;
  }

  .header .center-side .decorated-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200dvh;
    height: 200dvh;
    border-radius: 50%;
    background: var(--light-color);
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
    pointer-events: none;
    will-change: transform;
  }

  .header .center-side .nav-items {
    flex-direction: column;
  }
}

.top-header {
  background: var(--light-color);
  padding-bottom: calc(var(--bottom-header-height) / 2);
}

.bottom-header {
  width: 100%;
  top: 100%;
  background: transparent;
  border-bottom: 1px solid #FFF;
  transition: .3s all ease-in-out;
}

.bottom-header-content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 14px;
  background: transparent;
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 19px;
}

@media screen and (max-width: 992px) {
  .top-header-content {
    align-items: flex-start;
    gap: 14px;
  }
}

.top-header-content .right-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-header-content .right-side .divider {
  width: 1px;
  flex: 0 0 1px;
  height: 20px;
  background: rgba(44, 21, 16, 0.5);
}

.header-contact-items {
  display: flex;
  gap: 24px;
}

@media screen and (max-width: 1300px) {
  .header-contact-items {
    gap: 10px;
  }

  .header-contact-items p {
    display: none;
  }
}

.header-contact-items .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--dark-brown);
}

.header-contact-items .contact-item p {
  color: inherit;
}
.login-btn,
.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-brown);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.login-btn{
  padding: 6px 24px;
  border-radius: 100px;
}
@media screen and (max-width: 448px) {
  .login-btn{
    padding: 6px 12px;
  }
  .search-btn p {
    display: none;
  }
}

.social-links {
  display: flex;
  gap: 8px;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
}

.nav-items .nav-item a {
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}
.nav-items .nav-item .dropdown-menu a {
  color: var(--dark-brown);
  background: none !important;

}
.nav-items .nav-item .dropdown-toggle-split{
  color:white;
}
@media screen and (max-width: 1600px) {
  .nav-items .nav-item .dropdown-toggle-split,
  .nav-items .nav-item a{
    color: var(--dark-brown);
  }
}
.nav-items .nav-item a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  width: 100%;
  height: 1px;
  background-color: var(--dark-yellow);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.nav-items .nav-item .dropdown-toggle-split:hover,
.nav-items .nav-item:has(.dropdown-toggle-split:hover) .nav-link ,
.nav-items .nav-item a:hover + .dropdown-toggle-split ,
.nav-items .nav-item a:hover {
  color: var(--dark-yellow);
}

.nav-items .nav-item a:hover::before {
  transform: scaleX(1);
}
.nav-items .nav-item .dropdown-toggle-split.show{
  border:none;
}
.nav-items .nav-item .dropdown-toggle-split.show,
.nav-items .nav-item:has(.dropdown-toggle-split.show) .nav-link ,
.nav-items .nav-item a.active + .dropdown-toggle-split ,
.nav-items .nav-item.active a {
  color: var(--dark-yellow);
  
}

.nav-items .nav-item.active a::before {
  transform: scaleX(1);
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Cairo;
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
}

.banner {
  height: 880px;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 767px) {
  .banner {
    height: calc(100dvh - 116px);
  }
}

.banner .banner-video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.banner .banner-video::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(44, 21, 16, 0.46) 0%, rgba(44, 21, 16, 0.61) 100%);
}

.banner .banner-video img,
.banner .banner-video video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

.banner-slider {
  width: 100%;
  height: 100%;
}

.banner-slider-pagination.swiper-pagination-bullets {
  position: absolute;
  bottom: 0;
  margin-inline-start: 40px;
  display: flex;
  flex-direction: column;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 2;
}

.banner-slider-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  width: auto;
  height: auto;
  margin: 0px;
  background: none;
  opacity: 1;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-18);
  font-weight: 500;
  padding-inline-start: 15px;
  border-left: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  line-height: 2;
  transition: all 0.4s;
}

.banner-slider-pagination.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
  border-color: var(--dark-yellow);
  color: var(--dark-yellow);
}

.scroll-box {
  transform: rotate(180deg);
  position: absolute;
  bottom: 0;
  inset-block-start: 40px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  writing-mode: vertical-rl;
}

.scroll-box p {
  transform: rotate(180deg);
  gap: 20px;
  color: var(--light-color);
  font-size: var(--fs-20);
  font-weight: 400;
  letter-spacing: 11.6px;
}

.scroll-box .line {
  width: 2px;
  height: 132px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(153, 153, 153, 0.6) 100%);
}

@media screen and (max-width: 991px) {
  .scroll-box {
    inset-block-start: 20px;
  }

  .scroll-box p {
    letter-spacing: unset;
  }

  .scroll-box .line {
    height: 40px;
  }
}

.banner-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-slide .banner-slide-content {
  max-width: calc(1000px + var(--page-container));
  padding-inline: var(--page-container);
}

.banner-slide .sub-heading {
  color: var(--dark-yellow);
  font-size: var(--fs-32);
  font-weight: 600;
  justify-content: center;
  margin-bottom: 12px;
}

.banner-slide .main-heading {
  color: #fff;
  font-size: var(--fs-64);
  font-weight: 700;
  letter-spacing: 5px;
  margin-bottom: 14px;
}

.banner-slide .desc {
  color: rgba(243, 236, 220, 0.8);
  font-size: var(--fs-18);
  font-weight: 500;
  margin-bottom: 32px;
}

.banner-slide .base-btn {
  margin-inline: auto;
  width: fit-content;
}

.about-us-section {
  position: relative;
}

.about-us-section .about-us-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.about-us-section .about-us-bg::after {
  content: "";
  opacity: 0.1;
  background: lightgray 50%/cover no-repeat;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-us-section .about-us-bg img,
.about-us-section .about-us-bg video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

.about-us-content {
  display: flex;
  gap: 48px;
  align-items: center;
}

@media screen and (max-width: 1300px) {
  .about-us-content {
    gap: 24px;
    align-items: stretch;
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 767px) {
  .about-us-content {
    gap: 20px;
  }
}

.about-us-content .left-side,
.about-us-content .right-side {
  flex: 1 1 0px;
}
.about-us-content .right-side .left-side{
  display: none;
}
@media (max-width:778px) {

  .about-us-content >.left-side{
    display: none;
  }
  .about-us-content .right-side .left-side{
    display: grid;
    margin-bottom: 20px;
  }
}
.about-us-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 322px 322px;
  gap: 24px;
  position: relative;
}


.about-us-gallery .years-experenice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  padding: 20px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--dark-brown);
  color: var(--light-color);
  text-align: center;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-us-gallery .years-experenice p {
  font-size: 14px;
  font-weight: 500;
}

.about-us-gallery .years-experenice p:first-child {
  font-size: var(--fs-24);
  font-weight: 700;
}

.about-us-gallery .gallery-box {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark-brown);
}

.about-us-gallery .gallery-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: contain;
}

.about-us-gallery .larg-box {
  grid-row: span 2;
}
@media screen and (max-width: 767px) {
  .about-us-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .about-us-gallery .larg-box {
    grid-row: span 1;
  }
  .about-us-gallery .gallery-box{
    height: auto;
  }
  .about-us-gallery .years-experenice {
    top: 20px;
    left: 20px;
    transform: none;
  }
}

.main-section-heading {
  color: #000;
  font-size: var(--fs-42);
  font-weight: 700;
  margin-bottom: 18px;
}

.sub-section-heading {
  color: var(--dark-yellow);
  font-size: var(--fs-20);
  font-weight: 600;
  margin-bottom: 12px;
}

.main-section-desc {
  color: #5b5b5b;
  font-size: var(--fs-18);
  font-weight: 500;
  line-height: 1.3;
}

.section {
  padding-top: var(--section-padding-top);
  padding-bottom: var(--section-padding-bottom);
}

.video-with-text {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-block: 38px;
}

@media screen and (max-width: 767px) {
  .video-with-text {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-block: 20px;
  }
}

.video-thumb {
  flex: 0 0 250px;
  width: 250px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .video-thumb {
    flex: 1;
    align-self: center;
  }
}

.video-thumb .video-thumb-wrapper {
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: relative;
}

.video-thumb .video-thumb-wrapper .video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.decorated-list {
  list-style: none;
  padding-inline-start: 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.decorated-list li {
  position: relative;
  padding-inline-start: 32px;
}

.decorated-list li::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("../../horse/img/decorated-list-icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.gallery-carousel-container {
  margin-top: 68px;
}

.gallery-carousel-container .swiper-wrapper {
  transition-timing-function: linear !important;
}

.history-show-case {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-container {
  display: flex;
  gap: 35px;
}

@media screen and (max-width: 991px) {
  .history-container {
    flex-direction: column;
    gap: 20px;
  }
}

.history-container .left-side {
  flex: 0 0 390px;
}

@media screen and (max-width: 991px) {
  .history-container .left-side {
    flex: 1;
  }
}

.history-container .left-side .base-btn {
  margin-top: 32px;
}

@media screen and (max-width: 991px) {
  .history-container .left-side .base-btn {
    margin-top: 20px;
  }
}

.history-container .right-side {
  min-width: 0;
  flex-grow: 1;
}

.history-slider .history-slide {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.history-slider .history-slide:nth-child(even) {
  flex-direction: column-reverse;
}

.history-slider .history-slide:nth-child(even) .line-with-marker .marker::before {
  bottom: 0px;
  top: unset;
}

.history-slider .history-slide:nth-child(even) .history-slide-desc {
  flex-direction: column-reverse;
}

.history-slider .history-slide-desc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-slider .history-slide-img img {
  border-radius: 16px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.history-slider .history-slide-img,
.history-slider .history-slide-desc {
  padding-inline-end: 35px;
  height: 202px;
}

@media screen and (max-width: 767px) {

  .history-slider .history-slide-img,
  .history-slider .history-slide-desc {
    padding-inline-end: 20px;
  }
}
@media screen and (max-width: 550px) {

  .history-slider .history-slide-img,
  .history-slider .history-slide-desc {
    height: auto;
  }
  .history-slider .history-slide-img{
    height: 200px;
  }
}
.history-slider .line-with-marker {
  width: 100%;
  height: 2px;
  background-color: var(--dark-yellow);
  position: relative;
}

.history-slider .line-with-marker .marker {
  position: absolute;
  width: 12px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--dark-yellow);
  margin-inline-start: 40%;
  top: 0px;
  transform: translate(-50%, -50%);
}

.history-slider .line-with-marker .marker::before {
  content: "";
  display: block;
  width: 2px;
  height: 70px;
  background: linear-gradient(90deg, var(--Color-2, #d5a368) 0%, rgba(213, 163, 104, 0.5) 100%);
  position: absolute;
  margin-inline-start: 5px;
  top: 6px;
}

.history-slider .history-slide-desc {
  overflow-y: auto;
}

.history-slider .history-slide-desc .year {
  color: #000;
  font-size: var(--fs-32);
  font-weight: 700;
  margin-bottom: 12px;
}

.history-slider .history-slide-desc .desc {
  color: #5b5b5b;
  font-size: var(--fs-18);
  font-weight: 500;
}

.text-cetnered {
  text-align: center;
  justify-content: center;
  margin-inline: auto;
}

.horses-section,
.gallery-section,
.early-years-section,
.veterinary-section,
.contact-details-section {
  position: relative;
}

.section-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.section-bg::after {
  content: "";
  opacity: 0.1;
  background: lightgray 50%/cover no-repeat;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section-bg img,
.section-bg video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

.horses-content {
  display: none;
  animation: fadeEffect 0.8s;
  gap: 60px;
}

@media screen and (max-width: 1100px) {
  .horses-content {
    flex-direction: column;
    gap: 20px;
  }
}

.horses-content.active {
  display: flex;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.horses-slider-container {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

@media screen and (max-width: 1100px) {
  .horses-slider-container {
    margin-bottom: 20px;
    gap: 8px;
  }
}

.horses-slider {
  min-width: 0;
  flex-grow: 1;
}

.horses-slide {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.horses-slide .horses-slide-wrapper {
  width: 100%;
  height: 178px;
  padding: 0px;
  opacity: 0.5;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s;
  margin-bottom: 12px;
}

.horses-slide .horses-slide-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: inherit;
}

.horses-slide .horses-name {
  color: #5b5b5b;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: 700;
  transition: color 0.4s;
}

.horses-slide.active .horses-slide-wrapper {
  padding: 4px;
  opacity: 1;
  border: 2px solid var(--dark-yellow);
}

.horses-slide.active .horses-name {
  color: var(--dark-brown);
}

.horses-desc-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 38px;
}

.horses-desc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1c1c1c;
  font-size: var(--fs-24);
  font-weight: 600;
}

.horses-desc-item .icon {
  flex: 0 0 55px;
  aspect-ratio: 1/1;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.horses-desc-item p {
  color: inherit;
}

.horses-content .horses-content-img,
.horses-content .horses-content-desc {
  flex: 1 1 0px;
}

.horses-content-img {
  height: 547px;
  border-radius: 12px;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.horses-content-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: inherit;
}

.events-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  margin-block: 48px;
}

@media screen and (max-width: 1100px) {
  .events-boxes {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-block: 20px;
  }
}

.events-box {
  width: 100%;
}

.events-box:hover .card-img .date {
  background-color: var(--dark-yellow);
}

.events-box:hover .card-img img {
  transform: scale(1.1);
}

.events-box .card-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  gap: 24px;
  border-radius: 8px;
  background: rgba(243, 236, 220, 0.5019607843);
  overflow: hidden;
}

@media screen and (max-width: 992px) {
  .events-box .card-wrapper {
    gap: 14px;
  }
}

@media screen and (max-width: 575px) {
  .events-box .card-wrapper {
    flex-direction: column;
  }
}

.events-box .card-img {
  flex: 1 0 40%;
  position: relative;
  overflow: hidden;
  max-width: 40%;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.events-box .card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s ease-out;
}

.events-box .card-img .date {
  position: absolute;
  top: 0px;
  margin-top: 10px;
  margin-inline-start: 10px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px;
  border-radius: 55px;
  background-color: var(--dark-brown);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.8s ease-out;
}

.events-box .card-content {
  padding: 20px;
  padding-inline-start: 0px;
}

@media screen and (max-width: 992px) {
  .events-box .card-content {
    padding: 12px;
    padding-inline-start: 0px;
  }
}

@media screen and (max-width: 575px) {
  .events-box .card-content {
    padding: 12px;
  }
  .events-box .card-img{
    max-width: 100%;
  }
}

.events-box .card-heading {
  color: #000;
  font-size: var(--fs-24);
  font-weight: 700;
  margin-bottom: 12px;
}

.events-box .card-desc {
  color: #5b5b5b;
  font-size: var(--fs-18);
  font-weight: 500;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.events-box .base-btn {
  margin-top: 28px;
}


.gallery-grid {
  width: 100%;
  aspect-ratio: 277/102;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 28px;
}

@media screen and (max-width: 992px) {
  .gallery-grid {
    aspect-ratio: unset;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

.gallery-grid .gallery-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-grid .gallery-img:nth-child(7n+1) {
  grid-column: span 2;
}

.gallery-grid .gallery-img:nth-child(7n+2) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid .gallery-img:nth-child(7n+7) {
  grid-column: span 2;
}

.gallery-grid .gallery-img:hover .gallery-overlay {
  opacity: 1;
}

.gallery-grid .gallery-img .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(44, 21, 16, 0.5);
  border: 1px solid var(--dark-brown);
  transition: opacity 0.5s;
}
.gallery-grid .gallery-img .gallery-overlay  .circular-btn{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.5s;
}
.gallery-grid .gallery-img .gallery-overlay  .circular-btn:hover{
  background: var(--dark-brown);
  color: var(--dark-yellow);
}
.gallery-grid .gallery-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.heading-with-btns {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 48px;
}

.heading-with-btns .main-section-heading {
  margin-bottom: 0px;
}

.news-slider-navigation {
  display: flex;
  gap: 15px;
}

@media screen and (max-width: 991px) {
  .heading-with-btns .right-side{
    flex:1 1 100%;
    display:flex;
    justify-content:center
  }
  .news-slider-navigation {
    gap: 8px;
  }
}
@media screen and (max-width: 448px) {
  .heading-with-btns{
    flex-direction: column;
    align-items:center;
    text-align:center;
  }
  .heading-with-btns .left-side .sub-section-heading{
    justify-content:center;
  }
}
.news-slider-navigation .slide-navigation {
  transition: opacity 0.2s;
}

@media screen and (max-width: 991px) {
  .news-slider-navigation .slide-navigation {
    width: 30px;
  }
}

.news-slider-navigation .slide-navigation.swiper-button-disabled {
  opacity: 0.5;
}

.slide-navigation.disabled {
  opacity: 0.5;
}

.news-card {
  width: 100%;
  height: auto;
}

.news-card:hover .card-img .date {
  background-color: var(--dark-yellow);
}

.news-card:hover .card-img img {
  transform: scale(1.1);
}

.news-card .card-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(243, 236, 220, 0.5019607843);
  overflow: hidden;
}

.news-card .card-img {
  width: 100%;
  height: 297px;
  position: relative;
  overflow: hidden;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.news-card .card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  transition: transform 0.8s ease-out;
}

.news-card .card-img .date {
  position: absolute;
  bottom: 0px;
  inset-inline-end: 0px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px 14px;
  border-radius: 8px 0 0 0;
  background: var(--dark-brown);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.8s ease-out;
}

.news-card .card-content {
  padding-top: 20px;
  padding-bottom: 28px;
  padding-inline: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card .card-heading {
  color: #000;
  font-size: var(--fs-24);
  font-weight: 700;
  margin-bottom: 12px;
}

.news-card .card-desc {
  color: #5b5b5b;
  font-size: var(--fs-18);
  font-weight: 500;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card .base-btn {
  margin-top: auto;
}

.video-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-popup-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.video-popup-overlay .popup-video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-popup-overlay .close {
  position: absolute;
  top: 20px;
  inset-inline-end: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.prevent-scroll {
  overflow: hidden;
  height: 100%;
}

.slider-navigation .slide-navigation {
  flex-shrink: 0;
  min-width: 20px;
}

.inner-banner {
  position: relative;
  overflow: hidden;
}

.inner-banner .inner-banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 0;
}

.inner-banner .inner-banner-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(44, 21, 16, 0.4) 0.09%, rgba(44, 21, 16, 0.8) 99.9%);
}

.inner-banner .inner-banner-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.inner-banner .inner-banner-content {
  padding-top: calc(var(--bottom-header-height) / 2);
  height: 394px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.inner-banner .heading {
  color: #fff;
  font-size: var(--fs-48);
  font-weight: 600;
}

.page-nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.page-nav .page-nav-wrapper {
  border-radius: 8px 8px 0 0;
  background: #fff;
  padding-top: 18px;
  padding-inline: 18px;
}

@media screen and (max-width: 1300px) {
  .page-nav .page-nav-wrapper {
    padding-top: 8px;
    padding-inline: 8px;
  }
}

.page-nav .page-nav-wrapper .page-nav-content {
  display: flex;
  padding: 20px 24px;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  background: var(--dark-brown);
  color: #f3ecdc;
  font-size: var(--fs-20);
  font-weight: 600;
  flex: 0 0 auto;
  min-width: max-content;
}
.page-nav .page-nav-wrapper .page-nav-content ,
.page-nav .page-nav-wrapper .page-nav-content  span {
  flex-shrink: 0;
  white-space: nowrap;
}

.page-nav .page-nav-wrapper .page-nav-content  span {
  display: inline-block;
  flex: 0 0 auto;
  width: -webkit-max-content;
  width: max-content;
  white-space: nowrap;
}
.page-nav .page-nav-wrapper .page-nav-content a {
  color: #f3ecdc;
}

.page-nav .page-nav-wrapper .page-nav-content a:hover {
  color: #bab4a7;

}

@media screen and (max-width: 1300px) {
  .page-nav .page-nav-wrapper .page-nav-content {
    padding: 12px;
  }
}

.page-nav .page-nav-wrapper .page-nav-content .divider {
  flex: 0 0 24px;
  width: 24px;
  height: 2px;
  background: var(--dark-yellow);
}

@media screen and (max-width: 1300px) {
  .page-nav .page-nav-wrapper .page-nav-content .divider {
    flex: 0 0 12px;
    width: 12px;
  }
}

.legacy-reimagined-section {
  position: relative;
}

.legacy-reimagined-section .legacy-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.legacy-reimagined-section .legacy-bg::after {
  content: "";
  opacity: 0.1;
  background: lightgray 50%/cover no-repeat;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.legacy-reimagined-section .legacy-bg img,
.legacy-reimagined-section .legacy-bg video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

.gallery-1-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

@media screen and (max-width: 1300px) {
  .gallery-1-wrapper {
    gap: 20px;
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

.gallery-1-wrapper .left-side,
.gallery-1-wrapper .right-side {
  flex: 1 1 0px;
}

.gallery-1 {
  display: flex;
  gap: 16px;
  width: 100%;
  aspect-ratio: 808/495;
}

.gallery-1 .gallery-box {
  overflow: hidden;
  border-radius: 12px;
  flex-grow: 1;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.gallery-1 .gallery-box.larg-box {
  flex-grow: 2;
}

.gallery-1 .gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 1300px) {

  .veterinary-section .gallery-1-wrapper,
  .future-plans-section .gallery-1-wrapper {
    flex-direction: column;
  }

  .brief-introduction-section .gallery-3-wrapper {
    flex-direction: column-reverse;
  }
}

.gallery-2-wrapper {
  display: flex;
  gap: 40px;
}

@media screen and (max-width: 1300px) {
  .gallery-2-wrapper {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
}

.gallery-2-wrapper .left-side,
.gallery-2-wrapper .right-side {
  flex: 1 1 0px;
}
.gallery-2-wrapper .right-side .text-box{
  overflow: hidden;
}

.gallery-2 {
  display: grid;
  gap: 16px;
  width: 100%;
  height: 100%;
  aspect-ratio: 824/683;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-template-areas: "top-left  top-left top-right" "top-left  top-left top-right" "top-left  top-left top-right" "bottom-left bottom-right bottom-right" "bottom-left bottom-right bottom-right";
}

.gallery-2 .gallery-box {
  overflow: hidden;
  border-radius: 12px;
  flex-grow: 1;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.gallery-2 .gallery-box.top-left {
  grid-area: top-left;
}

.gallery-2 .gallery-box.top-right {
  grid-area: top-right;
}

.gallery-2 .gallery-box.bottom-left {
  grid-area: bottom-left;
}

.gallery-2 .gallery-box.bottom-right {
  grid-area: bottom-right;
}

.gallery-2 .gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.text-box {
  padding: 20px 16px;
  border-radius: 8px;
  position: relative;
}

.text-box:not(:last-child) {
  margin-block: 18px;
}

.text-box .box-bg-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.text-box .box-bg-img img,
.text-box .box-bg-img video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

.text-box .box-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 8px;
}

.text-box .box-heading {
  color: var(--dark-brown);
  font-size: var(--fs-20);
  font-weight: 700;
}

.text-box .box-desc {
  color: var(--dark-brown);
  font-size: var(--fs-18);
  font-weight: 500;
}

.vision-box {
  background: rgba(221, 215, 200, 0.5294117647);
}

.mission-box {
  background: rgba(44, 21, 16, 0.5);
}

.mission-box .box-heading {
  color: #fff;
}

.mission-box .box-desc {
  color: #fff;
}

@media screen and (max-width: 1300px) {
  .guiding-path-section .gallery-2-wrapper {
    flex-direction: column-reverse;
  }
}

.gallery-history {
  display: grid;
  gap: 16px;
  width: 100%;
  aspect-ratio: 830/1020;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(7, 1fr);
  grid-template-areas: "top-left  top-left top-right" "top-left  top-left top-right" "top-left  top-left top-right" "center-left  center-right center-right" "center-left  center-right center-right" "bottom-left bottom-left bottom-right" "bottom-left bottom-left bottom-right";
}

.gallery-history .gallery-box {
  overflow: hidden;
  border-radius: 12px;
  flex-grow: 1;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.gallery-history .gallery-box.top-left {
  grid-area: top-left;
}

.gallery-history .gallery-box.top-right {
  grid-area: top-right;
}

.gallery-history .gallery-box.center-left {
  grid-area: center-left;
}

.gallery-history .gallery-box.center-right {
  grid-area: center-right;
}

.gallery-history .gallery-box.bottom-left {
  grid-area: bottom-left;
}

.gallery-history .gallery-box.bottom-right {
  grid-area: bottom-right;
}

.gallery-history .gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.foundation-gallery {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

@media screen and (max-width: 1300px) {
  .foundation-gallery {
    gap: 20px;
  }
}

.foundation-gallery-card {
  display: flex;
  gap: 60px;
}

.foundation-gallery-card:nth-child(even) {
  flex-direction: row-reverse;
}

.foundation-gallery-card:nth-child(even) .line-with-marker .marker::before {
  transform: rotate(-90deg);
}

.foundation-gallery-card:not(:last-child) .card-desc,
.foundation-gallery-card:not(:last-child) .card-gallery {
  padding-bottom: 48px;
}

@media screen and (max-width: 1500px) {

  .foundation-gallery-card:not(:last-child) .card-desc,
  .foundation-gallery-card:not(:last-child) .card-gallery {
    padding-bottom: 24px;
  }
}

.foundation-gallery-card .line-with-marker {
  flex: 0 0 2px;
  height: auto;
  background-color: var(--dark-yellow);
  position: relative;
}

.foundation-gallery-card .line-with-marker .marker {
  position: absolute;
  width: 12px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--dark-yellow);
  top: 50%;
  transform: translate(-50%, -50%);
}

.foundation-gallery-card .line-with-marker .marker::before {
  content: "";
  display: block;
  width: 2px;
  height: 50px;
  background: linear-gradient(90deg, var(--Color-2, #d5a368) 0%, rgba(213, 163, 104, 0.5) 100%);
  position: absolute;
  margin-inline-start: 5px;
  top: 6px;
  transform: rotate(90deg);
  transform-origin: top;
}

.foundation-gallery-card .card-gallery {
  display: flex;
  gap: 12px;
  flex: 1 1 0px;
}

.foundation-gallery-card .gallery-img {
  flex: 1 1 0px;
  border-radius: 12px;
  height: 376px;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.foundation-gallery-card .gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: linear-gradient(0deg, rgba(44, 21, 16, 0.1) 0%, rgba(44, 21, 16, 0.1) 100%);
}

.foundation-gallery-card .card-desc .heading {
  color: var(--dark-yellow);
  font-size: var(--fs-32);
  font-weight: 700;
  margin-bottom: 12px;
}

.foundation-gallery-card .card-desc .desc {
  color: #5b5b5b;
  font-size: var(--fs-18);
  font-weight: 500;
}

.foundation-gallery-card .card-desc,
.foundation-gallery-card .card-gallery {
  flex: 1 1 0px;
}

@media screen and (max-width: 1300px) {
  .foundation-gallery-card {
    gap: 20px;
    flex-direction: column !important;
  }

  .foundation-gallery-card:last-child .line-with-marker {
    display: none;
  }

  .foundation-gallery-card .line-with-marker {
    flex: 0 0 1px;
    width: 50%;
    margin-inline: auto;
    order: 3;
  }

  .foundation-gallery-card .line-with-marker .marker {
    width: 8px;
    inset-inline-start: 50%;
  }

  .foundation-gallery-card .line-with-marker .marker::before {
    display: none;
  }

  .foundation-gallery-card .card-gallery {
    order: 2;
  }

  .foundation-gallery-card .card-desc,
  .foundation-gallery-card .card-gallery {
    padding-bottom: 0px !important;
  }
}

.read-more {
  color: var(--dark-brown);
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.breeding-program-gallery.foundation-gallery .gallery-img {
  height: 216px;
}

@media screen and (max-width: 1300px) {
  .beginning-section .gallery-2-wrapper {
    flex-direction: column-reverse;
  }
}

.services-clinic-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  grid-template-rows: 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media screen and (max-width: 1300px) {
  .services-clinic-gallery {
    margin-top: 24px;
  }
}

.services-clinic-box {
  height: 365px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.services-clinic-box .box-img {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.services-clinic-box .box-img::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(213, 163, 104, 0.24) 0%, rgba(44, 21, 16, 0.64) 100%);
}

.services-clinic-box .box-img img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-clinic-box .box-content {
  position: absolute;
  bottom: 0px;
  padding: 16px;
  width: 100%;
}

.services-clinic-box .box-content .desc {
  color: #fff;
  font-size: var(--fs-26);
  font-weight: 700;
  text-align: center;
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  grid-template-rows: 1fr;
  gap: 20px;
}

.team-box {
  margin-top: calc(-1 * var(--team-box-margin-top));
}

.team-box .box-wrapper {
  padding: 20px;
  border-radius: 8px;
  background: var(--light-color);
}

.team-box .box-img {
  height: 362px;
  margin-top: var(--team-box-margin-top);
  margin-bottom: 14px;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.team-box .box-img img {
  width: 100%;
  height: 100%;
}

.team-box .name {
  color: var(--dark-brown);
  text-align: center;
  font-size: var(--fs-24);
  font-weight: 700;
}

.team-box .title {
  color: var(--dark-yellow);
  text-align: center;
  font-size: var(--fs-20);
  font-weight: 700;
}

.contact-details-wrapper {
  display: flex;
  gap: 39px;
  margin-top: 48px;
}

@media screen and (max-width: 1300px) {
  .contact-details-wrapper {
    margin-top: 24px;
  }
}

@media screen and (max-width: 992px) {
  .contact-details-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

.contact-details-wrapper .map-wrapper {
  width: 100%;
  height: 667px;
}

@media screen and (max-width: 992px) {
  .contact-details-wrapper .map-wrapper {
    height: 60dvh;
  }
}

.contact-details-items {
  display: flex;
  flex-direction: column;
  padding-inline-start: 0px;
  list-style: none;
  gap: 24px;
  max-width: 397px;
  width: 100%;
}

@media screen and (max-width: 992px) {
  .contact-details-items {
    max-width: 100%;
    gap: 16px;
    padding: 0
  }
}

.contact-details-item .item-wrapper {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(213, 163, 104, 0.5);
  background: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 767px) {
  .contact-details-item .item-wrapper {
    gap: 12px;
    padding: 18px;
  }
}
.contact-details-item .item-wrapper .item-icon{
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 4px;
  background: var(--dark-yellow);
}
.contact-details-item .item-title {
  color: var(--dark-brown);
  font-size: var(--fs-24);
  font-weight: 700;
}

.contact-details-item .item-desc {
  color: #0f0f0f;
  font-size: var(--fs-16);
  font-weight: 400;
}

.privacy-policy-section h1 {
  color: var(--dark-yellow);
  font-size: var(--fs-36);
  font-weight: 700;
  margin-bottom: 24px;
}

.privacy-policy-section h2 {
  color: var(--Color-3, #008fa6);
  font-size: var(--fs-32);
  font-weight: 700;
  margin-block: 24px;
}

.privacy-policy-section h3 {
  color: var(--dark-brown);
  font-size: var(--fs-28);
  font-weight: 700;
  margin-block: 24px;
}

.privacy-policy-section p {
  color: #000;
  font-size: var(--fs-24);
  font-weight: 400;
}

.studbooks-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 48px;
  -moz-column-gap: 35px;
  column-gap: 35px;
  margin-block: 48px;
}

@media screen and (max-width: 1300px) {
  .studbooks-items {
    margin-block: 24px;
    gap: 35px;
    grid-template-columns: 1fr;
  }
}

.studbooks-item .item-wrapper {
  border-radius: 4px;
  background: rgba(243, 236, 220, 0.5);
  padding: 18px;
  height: 100%;
}

.studbooks-item .item-img {
  width: 129px;
  flex: 0 0 129px;
  height: 141px;
  margin-top: -42px;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.studbooks-item .item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
}

.studbooks-item .item-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

@media screen and (max-width: 767px) {
  .studbooks-item .item-header {
    flex-direction: column;
  }
  .studbooks-item .item-img{
    width: 100%;
    height: 200px;
  }
}

.studbooks-item .item-header-content {
  width: 100%;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .studbooks-item .item-header-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
.studbooks-item .item-header-content .base-btn{
  text-wrap: nowrap;
 }
.studbooks-item .item-body {
  color: #5b5b5b;
  font-size: var(--fs-18);
  font-style: normal;
  font-weight: 500;
}

.studbooks-item .item-title {
  color: #000;
  font-size: var(--fs-24);
  font-weight: 700;
}

.studbooks-item .item-subtitle {
  color: var(--dark-yellow);
  font-size: var(--fs-20);
  font-weight: 600;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.pagination-wrapper .pagination-item {
  width: 50px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  cursor: pointer;
  color: #000;
  text-align: center;
  font-size: var(--fs-18);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-wrapper .pagination-item.active {
  background-color: var(--dark-yellow);
  color: #fff;
}

.gallery-search,
.events-search {
  display: flex;
  gap: 10px;
  border-radius: 12px;
  padding: 11px 19px;
  background: rgba(243, 236, 220, 0.3);
  margin-bottom: 34px;
}

.gallery-search .base-btn,
.events-search .base-btn {
  border-radius: 8px;
}

@media screen and (max-width: 991px) {

  .gallery-search,
  .events-search {
    flex-direction: column;
    margin-bottom: 24px;
    padding: 0px;
  }
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
}

.search-input-wrapper input {
  width: 100%;
  outline: none;
  padding: 16px;
  padding-inline-start: 46px;
  border: 1px solid rgba(0, 0, 0, 0.2196078431);
  border-radius: 8px;
  background: transparent;
  color: #000;
  font-size: var(--fs-20);
  font-weight: 500;
}

.search-input-wrapper img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-inline-start: 16px;
}

.search-btns {
  display: flex;
  gap: 10px;
}

.horse-type-btn {
  height: 100%;
  padding: 14px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  color: #000;
  text-align: center;
  font-size: var(--fs-20);
  font-weight: 500;
  transition: all 0.3s;
}

.horse-type-btn.active {
  border-color: var(--dark-yellow);
  color: var(--dark-yellow);
}

.news-blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.news-blogs-header .main-section-heading {
  margin-bottom: 0px;
}

@media screen and (max-width: 1300px) {
  .news-blogs-header {
    flex-direction: column;
    align-items: stretch;
  }
}

@media screen and (max-width: 767px) {
  .news-blogs-header .base-btn {
    width: -moz-fit-content;
    width: fit-content;
  }
}

.news-blogs-input-wrapper {
  display: flex;
  gap: 10px;
  padding-block: 6px;
  padding-inline: 16px;
  border-radius: 12px;
  border: 1px solid rgba(87, 87, 87, 0.2);
  background: #fff;
  min-width: 571px;
}

@media screen and (max-width: 1300px) {
  .news-blogs-input-wrapper {
    min-width: 100%;
  }
}

.news-blogs-input-wrapper input {
  width: 100%;
  outline: none;
  border: none;
  background: transparent;
  color: #000;
  font-size: var(--fs-20);
  font-weight: 500;
}

.news-blogs-input-wrapper .base-btn {
  border-radius: 8px;
}

.news-blogs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  grid-template-rows: 1fr;
  gap: 20px;
}

.news-blogs-cards {
  margin-top: 48px;
  margin-bottom: 30px;
}

@media screen and (max-width: 1300px) {
  .news-blogs-cards {
    margin-block: 24px;
  }
}

@media (max-width: 778px) {
  .news-blogs-cards {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

.news-details-container,
.event-details-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}

@media screen and (max-width: 1300px) {

  .news-details-container,
  .event-details-container {
    flex-direction: column;
  }
}

.news-details-content,
.event-details-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  flex: 1;
  width: 100%;
}

@media screen and (max-width: 1300px) {

  .news-details-content,
  .event-details-content {
    gap: 20px;
  }
}

.news-details-img>img {
  width: 100%;
}

.news-details-img-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-radius: 0 0 8px 8px;
  background: var(--Color-3, #008fa6);
  padding: 24px;
  font-size: var(--fs-20);
  color: #fff;
}

@media screen and (max-width: 767px) {
  .news-details-img-caption {
    flex-direction: column;
    padding: 14px;
    gap: 12px;
  }
}

.news-details-img-caption p {
  color: inherit;
  font-size: inherit;
}

.news-details-img-caption .img-caption-date {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-details-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 25px;
}

.news-details-gallery .gallery-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.latest-news,
.event-summary {
  flex: 0 0 396px;
}

@media screen and (max-width: 1300px) {

  .latest-news,
  .event-summary {
    flex: 1;
    width: 100%;
  }
}

.latest-news-wrapper,
.event-summary {
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(243, 236, 220, 0.5);
}

.latest-news-wrapper .heading,
.event-summary .heading {
  color: #000;
  font-size: var(--fs-24);
  font-weight: 700;
  margin-bottom: 18px;
}

.latest-news-items {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.latest-news-item:not(:last-child) .item-wrapper {
  border-bottom: 1px solid rgba(44, 21, 16, 0.3);
  padding-bottom: 16px;
}

.latest-news-item .item-wrapper {
  display: flex;
  gap: 11px;
}

.latest-news-item .item-img {
  flex: 0 0 111px;
  height: 82px;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.latest-news-item .item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.latest-news-item .title {
  color: #000;
  font-size: var(--fs-16);
  font-weight: 700;
}

.latest-news-item .date {
  display: flex;
  gap: 6px;
  margin-top: 11px;
}

.latest-news-item .date p {
  color: var(--dark-yellow);
  font-size: 14px;
  font-weight: 600;
}

.base-select-wrapper {
  position: relative;
}

.base-select-wrapper .base-select-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  transform: translateY(-50%);
}

.base-select~.select2 {
  height: 100%;
}

.base-select~.select2 .select2-selection {
  padding-inline-start: 35px;
  background-color: transparent;
  height: 100%;
  display: flex;
  align-items: center;
}

.base-select~.select2 .select2-selection__arrow {
  height: 100%;
}

.events-search .base-select-wrapper {
  min-width: 376px;
}

@media screen and (max-width: 767px) {
  .events-search .base-select-wrapper {
    min-width: 100%;
    height: 56px;
  }
}
.events-search .base-select-wrapper .select2-container--default .select2-selection--single .select2-selection__clear{
  display: none;
}
.events-search .select2-selection__rendered {
  color: #000;
  font-size: var(--fs-20);
  font-weight: 500;
}

.events-container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

@media screen and (max-width: 1300px) {
  .events-container {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

.events-container>div {
  flex: 1 1 0px;
}

.events-boxes-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-height: 688px;
  overflow-y: auto;
  padding-inline-end: 2px;
}

.events-boxes-list::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

.events-boxes-list::-webkit-scrollbar-thumb {
  background-color: var(--dark-yellow);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.events-boxes-list::-webkit-scrollbar-thumb:hover {
  background-color: #b0824b;
}

.inline-datepicker {
  width: 100%;
  --adp-padding: 16px;
}

.inline-datepicker .air-datepicker {
  width: 100%;
  background-color: transparent;
  border: none;
}

.inline-datepicker .air-datepicker-cell.-selected- {
  background-color: var(--dark-yellow);
}

.inline-datepicker .air-datepicker-body--day-names {
  margin-bottom: var(--adp-padding);
}

.inline-datepicker .air-datepicker-nav--title,
.inline-datepicker .air-datepicker-nav--title i {
  color: var(--dark-yellow);
  font-size: var(--fs-24);
  font-weight: 600;
}

.inline-datepicker .air-datepicker-body--cells.-days- {
  gap: 16px;
}

.inline-datepicker .air-datepicker-body--day-name,
.inline-datepicker .air-datepicker-cell.-day-,
.inline-datepicker .-month-,
.inline-datepicker .-year- {
  color: #000;
  font-size: var(--fs-20);
  font-weight: 500;
}

.inline-datepicker .air-datepicker-body--day-name.-selected-,
.inline-datepicker .air-datepicker-cell.-day-.-selected-,
.inline-datepicker .-month-.-selected-,
.inline-datepicker .-year-.-selected- {
  color: #fff;
  background: var(--dark-yellow);
}

.calendar-container {
  padding: 24px 4px;
  background: rgba(243, 236, 220, 0.5);
}

.calendar-container .base-btn {
  margin-inline: auto;
  border-radius: 12px;
}

.event-details-img {
  position: relative;
}

.event-details-img>img {
  width: 100%;
}

.event-details-img-caption {
  border-radius: 8px 8px 0 0;
  background: var(--Color-3, #008fa6);
  padding: 24px;
  font-size: var(--fs-24);
  font-weight: 700;
  color: #fff;
  width: 100%;
  max-width: 684px;
  position: absolute;
  bottom: 0px;
  inset-inline-start: 0px;
}

@media screen and (max-width: 767px) {
  .event-details-img-caption {
    padding: 14px;
  }
}

.event-details-img-caption p {
  color: inherit;
  font-size: inherit;
}

.event-summary-content {
  margin-block: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(44, 21, 16, 0.3);
}

@media screen and (max-width: 767px) {
  .event-summary-content {
    margin-block: 16px;
    padding-top: 16px;
  }
}

.event-summary-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  color: #000;
  font-size: var(--fs-20);
  font-weight: 600;
}

.event-summary-table td {
  padding: 9px 0;
  border: none;
}

.event-summary-table td:first-child {
  text-align: start;
  padding-inline-end: 9px;
}

.event-summary-table td:last-child {
  text-align: end;
}

.gallery-3-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

@media screen and (max-width: 1300px) {
  .gallery-3-wrapper {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
}

.gallery-3-wrapper .left-side,
.gallery-3-wrapper .right-side {
  flex: 1 1 0px;
}

.gallery-3 {
  display: grid;
  gap: 16px;
  width: 100%;
  aspect-ratio: 829/580;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas: "top-left  top-left top-right" "bottom-left  bottom-left top-right";
}

.gallery-3 .gallery-box {
  overflow: hidden;
  border-radius: 12px;
  flex-grow: 1;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.gallery-3 .gallery-box.top-left {
  grid-area: top-left;
}

.gallery-3 .gallery-box.top-right {
  grid-area: top-right;
}

.gallery-3 .gallery-box.bottom-left {
  grid-area: bottom-left;
}

.gallery-3 .gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.future-plans-section {
  position: relative;
}

/* .innerpage {
  overflow: hidden;
} */

.activities-section {
  position: relative;
}

.activities-section .activities-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.activities-section .activities-container .activities-content-container .activities-content {
  display: none;
  animation: fadeEffect 0.8s;
  gap: 60px;
}

.activities-section .activities-container .activities-content-container .activities-content .events-boxes {
  margin-block: 0;
}

.activities-section .activities-container .activities-content-container .activities-content .events-boxes .events-box .card-img {
  align-self: stretch;
  height: auto;
}

.activities-section .activities-container .activities-content-container .activities-content .events-boxes .events-box .card-desc {
  display: flex;
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box {
  height: 260px;
  width: 100%;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 24px 16px;
  display: flex;
  align-items: flex-end;
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .bg-box {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  z-index: -1;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .bg-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .bg-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(213, 163, 104, 0.3) 0%, rgba(44, 21, 16, 0.8) 100%);
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .previous-box-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 839px;
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .previous-box-body .previous-box-date {
  font-size: var(--fs-24);
  color: #fff;
  font-weight: 700;
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .previous-box-body .previous-box-title {
  font-weight: 600;
  font-size: var(--fs-20);
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .previous-box-body .previous-box-link {
  margin-top: auto;
}

.activities-section .activities-container .activities-content-container .activities-content .previous-box .previous-box-body .previous-box-link .custom-icon {
  width: 24px;
  height: 24px;
}

.activities-section .activities-container .activities-content-container .activities-content.active {
  display: flex;
}

.years-slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(110, 125, 124, 0.5019607843);
}
.years-slider-container .swiper{
  flex:1
}
.years-slider-container .years-slider .swiper-wrapper {
  align-items: center;
}

.years-slider-container .years-slider .years-slide {
  padding: 9px 24px;
  font-size: var(--fs-24);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.3s all ease-in-out;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.years-slider-container .years-slider .years-slide.active {
  font-size: var(--fs-36);
  color: var(--dark-yellow);
  font-weight: 700;
  border-bottom-color: var(--dark-yellow);
}

.custom-section-bg {
  background-color: #fff;
}

.custom-section-bg img {
  opacity: 0.1;
  z-index: 1;
}

.custom-icon {
  display: flex;
}

.custom-icon img {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.previous-events-section {
  position: relative;
}

.previous-events-section .previous-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 21px;
  margin-block: 48px 30px;
}

.previous-events-section .previous-boxes .previous-box {
  height: 532px;
  flex: 1 1 320px;
  max-width: 400px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 24px 16px;
  display: flex;
  align-items: flex-end;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

@media (max-width: 1024px) {
  .previous-events-section .previous-boxes .previous-box {
    height: 460px;
  }
}

.previous-events-section .previous-boxes .previous-box .bg-box {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  z-index: -1;
}

.previous-events-section .previous-boxes .previous-box .bg-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.previous-events-section .previous-boxes .previous-box .bg-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(213, 163, 104, 0.3) 0%, rgba(44, 21, 16, 0.8) 100%);
}

.previous-events-section .previous-boxes .previous-box .previous-box-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.previous-events-section .previous-boxes .previous-box .previous-box-body .previous-box-date {
  font-size: var(--fs-20);
  color: var(--dark-yellow);
}

.previous-events-section .previous-boxes .previous-box .previous-box-body .previous-box-title {
  font-weight: 700;
  font-size: var(--fs-24);
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.previous-events-section .previous-boxes .previous-box .previous-box-body .previous-box-link {
  margin-top: auto;
}

.previous-events-section .previous-boxes .previous-box .previous-box-body .previous-box-link .custom-icon {
  width: 24px;
  height: 24px;
}

.main-section-image {
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  height: 320px;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.main-section-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.subscription-section {
  position: relative;
}

.subscription-form-wrapper {
  display: flex;
  gap: 40px;
}

@media screen and (max-width: 1300px) {
  .subscription-form-wrapper {
    gap: 20px;
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

.subscription-form-wrapper .left-side,
.subscription-form-wrapper .right-side {
  flex: 1 1 0px;
}

.subscription-form-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 42px;
  border-radius: 8px;
  padding: 32px 24px;
  background: var(--light-color);
  height: 100%;
}

.subscription-form-container .subscription-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscription-form-container .subscription-form .form-group .text-label {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.subscription-form-container .subscription-form .form-group .text-input {
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
}

.subscription-form-container .subscription-form .form-group .base-select~.select2 .select2-selection {
  padding: 8px 16px;
  font-size: 14px;
  background: #ffffff;
  border: none;
  border-radius: 12px;
}

.subscription-form-container .subscription-form .form-group .base-select~.select2 .select2-selection__arrow {
  right: 16px;
}

.subscription-form-container .subscription-form .form-row {
  margin-bottom: 0;
  gap: 16px;
}

.subscription-form-container .subscription-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
}

.subscription-form-container .btn-submit-form {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  border-radius: 12px;
  padding-block: 18px;
}

.statistics-section {
  position: relative;
}

.statistics-section .statistics-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 24px;
}

.statistics-section .statistics-wrapper .statistics-icon {
  max-width: 100%;
  display: flex;
}

.statistics-section .statistics-wrapper .statistics-icon.empty-search-result,
.statistics-section .statistics-wrapper .statistics-icon.no-internet {
  width: 120px;
}

.statistics-section .statistics-wrapper .statistics-icon.not-found {
  width: 693px;
}

.statistics-section .statistics-wrapper .statistics-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.statistics-section .statistics-wrapper .statistics-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.statistics-section .statistics-wrapper .statistics-body .statistics-title {
  font-size: var(--fs-32);
  color: var(--dark-brown);
  font-weight: 700;
}

.statistics-section .statistics-wrapper .statistics-body .statistics-message {
  font-size: var(--fs-20);
  color: #5b5b5b;
  font-weight: 500;
}

.search-result-section {
  position: relative;
}

.search-result-section .search-result-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search-result-section .search-result-wrapper .events-search {
  margin-top: 31px;
  margin-bottom: 0;
}

.search-result-section .search-result-wrapper .search-result-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search-result-section .search-result-wrapper .search-result-container .item-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 32px 32px 40px;
  background: var(--light-color);
}

.search-result-section .search-result-wrapper .search-result-container .item-result .item-result-text {
  font-size: var(--fs-24);
  color: var(--dark-brown);
  font-weight: 600;
}

.search-result-section .search-result-wrapper .search-result-container .item-result .item-result-text .search-word {
  color: var(--dark-yellow);
}

.search-result-section .search-result-wrapper .search-result-container .item-result .item-result-link {
  height: 32px;
  width: 32px;
}

.related-book-section {
  position: relative;
}

.related-book-section .header-related-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 1200px) {
  .related-book-section .header-related-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 36px;
  }
}

.related-book-section .header-related-section .right-side .related-book-types {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 1200px) {
  .related-book-section .header-related-section .right-side .related-book-types {
    justify-content: center;
  }
}
@media (max-width: 778px) {
  
  .related-book-section .header-related-section .right-side .related-book-types {
    overflow: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
  }
  .related-book-section .header-related-section .right-side .related-book-types .base-btn{
    flex:1
  }
}

.related-book-section .header-related-section .right-side .related-book-types .base-btn {
  -webkit-text-wrap: nowrap;
  text-wrap: nowrap;
  border: 1px solid var(--dark-yellow);
  border-radius: 12px;
  background-color: transparent;
  color: var(--dark-yellow);
}

.related-book-section .header-related-section .right-side .related-book-types .base-btn:hover,
.related-book-section .header-related-section .right-side .related-book-types .base-btn.active {
  background-color: var(--dark-yellow);
  color: #fff;
}

.related-book-section .related-book-container .content-section {
  display: none;
  animation: fadeEffect 0.8s;
  gap: 60px;
}

.related-book-section .related-book-container .content-section.active {
  display: flex;
}

.related-book-section .related-book-container .content-section .studbooks-item .item-wrapper {
  background-color: #ffffff;
}

.farms-and-history h1 {
  color: var(--dark-yellow);
  font-size: var(--fs-36);
  font-weight: 700;
  margin-bottom: 24px;
}

.farms-and-history h2 {
  color: var(--Color-3, #008fa6);
  font-size: var(--fs-32);
  font-weight: 700;
  margin-block: 24px;
}

.farms-and-history h3 {
  color: var(--dark-brown);
  font-size: var(--fs-28);
  font-weight: 700;
  margin-block: 24px;
}

.farms-and-history p {
  color: #000;
  font-size: var(--fs-24);
  font-weight: 400;
  margin-bottom: 1rem;
}

.farms-and-history .images {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-block: 42px;
}

.farms-and-history .images .wrapper-image {
  flex: 1 1 250px;
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  max-height: 448px;
}

.farms-and-history .images .wrapper-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.horses-page-section {
  position: relative;
}

.horses-page-section .horses-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 78px 21px;
  margin-bottom: 100px;
}

.horses-page-section .horses-container .horse-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 320px;
  max-width: 450px;
  height: 400px;
  position: relative;
}

.horses-page-section .horses-container .horse-card .horse-card-img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}

.horses-page-section .horses-container .horse-card .horse-card-img .horse-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.horses-page-section .horses-container .horse-card .horse-card-img .horse-card-btn {
  border-radius: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  min-width: auto;
  padding: 9px;
  border-bottom-right-radius: 8px;
}

.horses-page-section .horses-container .horse-card .horse-card-img .horse-card-btn img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.horses-page-section .horses-container .horse-card .body-card {
  width: calc(100% - 50px);
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: #fcfaf5;
  translate: 0 40%;
}

.horses-page-section .horses-container .horse-card .body-card .title-card {
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-size: var(--fs-18);
  font-weight: 500;
  color: var(--dark-yellow);
  border-bottom: 1px solid var(--dark-yellow);
}

.horses-page-section .horses-container .horse-card .body-card .horse-name {
  font-size: var(--fs-24);
  font-weight: 700;
}

.horse-details-section {
  position: relative;
}

.pedigree-section {
  position: relative;
}

.pedigree-section #family-tree-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.pedigree-section #family-tree {
  width: 100%;
  min-height: 863px;
}

@media (max-width: 1024px) {
  .pedigree-section #family-tree {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .pedigree-section #family-tree {
    min-height: 300px;
  }
}

.horse-photos-section {
  position: relative;
}

.horse-photos-section .slider-navigation {
  display: flex;
  align-items: center;
  gap: 15px;
}

.horse-photos-section .swiper-button-disabled {
  opacity: 0.5;
}

.horse-photos-section .horse-photos-card {
  height: 612px;
  position: relative;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}
.horse-photos-section .horse-photos-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2C151080;
  transition: .3s all ease-in-out;
  opacity: 0;
}
.horse-photos-section .horse-photos-card:hover::before {
  opacity: 1;
}
.horse-photos-section .horse-photos-card .view-image{
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--dark-yellow);
  border-radius: 50%;
  transition: .3s all ease-in-out;
  opacity: 0;
}
.horse-photos-section .horse-photos-card:hover .view-image{
  opacity: 1;
}
.horse-photos-section .horse-photos-card .view-image img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .horse-photos-section .horse-photos-card {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .horse-photos-section .horse-photos-card {
    height: 200px;
  }
}

.horse-photos-section .horse-photos-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.history-section {
  overflow: hidden;
}

.global-form .form-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 31px;
}

@media screen and (max-width: 992px) {
  .global-form .form-row {
    grid-template-columns: 1fr;
  }
}

.global-form .form-group.show-error .error {
  display: block;
}

.global-form .form-group-wrapper {
  width: 100%;
}

.global-form .text-label {
  color: #3c3c3c;
  font-size: calc(28px * var(--font-scale));
  font-weight: 400;
  line-height: 1.2;
  display: block;
  margin-bottom: 18px;
}

@media screen and (max-width: 992px) {
  .global-form .text-label {
    font-size: calc(24px * var(--font-scale));
    margin-bottom: 14px;
  }
}

.global-form .text-input {
  width: 100%;
  outline: none;
  border-radius: 24px;
  border: 1px solid #000;
  font-size: calc(24px * var(--font-scale));
  padding: 5px 20px;
}

.global-form textarea.text-input {
  height: 134px;
  resize: none;
}

.global-form .error {
  display: none;
  font-size: calc(18px * var(--font-scale));
  color: red;
  margin-top: 2px;
}

.global-form .upload-box {
  width: 100%;
  padding: 20px;
  height: 134px;
  border: 1px solid #000;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.global-form .upload-box input[type=file] {
  display: none;
}

.global-form .upload-box .file-name {
  display: none;
  font-size: calc(24px * var(--font-scale));
  word-break: break-word;
  text-align: center;
}

.whistleblower-form .base-btn {
  width: 100%;
  max-width: 615px;
}

.footer {
  background-color: var(--dark-brown);
  padding-top: 68px;
  padding-bottom: 20px;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 767px) {
  .footer {
    padding-top: 30px;
  }
}

.footer .background-img {
  position: absolute;
  opacity: 0.05;
}

.footer .background-img.top-left {
  inset-inline-start: 0px;
  top: 0;
}

.footer .background-img.top-right {
  inset-inline-end: 0px;
  top: 0;
}

.footer .background-img.bottom-left {
  inset-inline-start: 0px;
  bottom: 0px;
}

.footer .background-img.bottom-right {
  inset-inline-end: 0px;
  bottom: 0px;
}

.footer .background-img.center-left {
  inset-inline-start: 57%;
  top: 50%;
  transform: translateY(-50%);
}

.footer .background-img.center-right {
  inset-inline-start: 21%;
  top: 50%;
  transform: translateY(-50%);
}

.footer .background-img.footer-1 {
  inset-inline-start: 42%;
  top: 0px;
}

.footer .background-img.footer-2 {
  inset-inline-start: 54%;
  top: 0px;
}

.top-footer-content {
  display: flex;
  gap: 50px;
}

.top-footer-content .left-side {
  max-width: 458px;
  flex: 1;
}

.top-footer-content .left-side .footer-desc {
  margin-bottom: 16px;
}

@media screen and (max-width: 992px) {
  .top-footer-content {
    gap: 30px;
    flex-direction: column;
  }

  .top-footer-content .left-side {
    max-width: 100%;
  }
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  flex: 1;
}

@media screen and (max-width: 992px) {
  .footer-columns {
    gap: 25px;
  }
}
.footer-columns-mobile {
  display: none;
}
@media screen and (max-width: 778px) {
  .footer-columns {
    display: none;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column .heading {
  min-height: 50px;
  font-weight: 800;
  color: var(--dark-yellow);
  font-size: var(--fs-20);
  font-weight: 600;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .footer-column .heading {
    min-height: unset;
    margin-bottom: 14px;
  }
}

.footer-logo {
  height: 99px;
  margin-bottom: 32px;
}

.footer-logo img {
  -o-object-fit: contain;
  object-fit: contain;
}

.footer-desc {
  color: #ccbdab;
  font-size: var(--fs-18);
  font-weight: 500;
}

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

.footer-nav-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-nav-items .footer-nav-item {
  color: #ccbdab;
  font-size: var(--fs-18);
  font-weight: 500;
  transition: color 0.4s;
  position: relative;
}

.footer-nav-items .footer-nav-item::before {
  content: "";
  position: absolute;
  top: 100%;
  width: 100%;
  height: 1px;
  background-color: var(--dark-yellow);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.footer-nav-items .footer-nav-item:hover {
  color: var(--dark-yellow);
}

.footer-nav-items .footer-nav-item:hover::before {
  transform: scaleX(1);
}

.footer-copyrights {
  width: 100%;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(204, 189, 171, 0.5);
  text-align: center;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .footer-copyrights {
    margin-top: 30px;
  }
}
@media screen and (max-width: 448px) {
  .footer-copyrights {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer-copyrights-content {
  color: #CCBDAB;
  font-size: 14px;
  font-weight: 500;
}

.footer-copyrights-content .highlight {
  color: var(--dark-yellow);
}

.modal-backdrop {
  display: none;
}

#searchModal {
  z-index: 1111;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);

  &.show {
    opacity: 1;
  }

  .close-search {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 24px;
    height: 24px;
    display: flex;
    z-index: 100;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: brightness(100);
    }
  }

  .modal-dialog {
    pointer-events: all;

    .search-container {
      width: 100%;
    }

    .search-form {
      display: flex;
      align-items: center;
      gap: 16px;
      background: white;
      width: 100%;
      outline: none;
      padding: 16px 24px;
      border-radius: 8px;
      color: #000;
      font-size: var(--fs-20);
      font-weight: 500;

      input {
        width: 100%;
        outline: none;
        color: #000;
        font-size: var(--fs-20);
        font-weight: 500;
        border: none;
        background: transparent;
      }
      button[type="submit"]{
        margin-inline-start: auto;
      }
    }
  }
}


.top-header-content .right-side .search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: .3s all ease-in-out;
  width: 80px;
  overflow: hidden;
  position: relative;
}
.top-header-content .right-side .search-form::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #E0E0E0;
  transition: .3s all ease-in-out;
  opacity: 0;
}
html[dir="rtl"] .top-header-content .right-side .search-form {
  width: 60px;
}

.top-header-content .right-side .search-form:not(:has(input:placeholder-shown)),
.top-header-content .right-side .search-form:hover {
  width: 300px;
  max-width: fit-content;
  overflow: visible;
}
.top-header-content .right-side .search-form:not(:has(input:placeholder-shown))::before,
.top-header-content .right-side .search-form:hover::before {
  opacity: 1;
}
html[dir="rtl"] .top-header-content .right-side .search-form:not(:has(input:placeholder-shown)),
html[dir="rtl"] .top-header-content .right-side .search-form:hover {
  width: 300px;
  max-width: fit-content;
}

.top-header-content .right-side .search-form .base-btn {
  min-width: auto;
  width: fit-content;
  padding: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
}
.top-header-content .right-side .search-form:not(:has(input:placeholder-shown)) .base-btn,
.top-header-content .right-side .search-form:hover .base-btn {
  opacity: 1;
  pointer-events: all;
}
.top-header-content .right-side .search-form input {
  background: none;
  border: none;
  color: #2C1510;
  font-weight: 600;
}

.top-header-content .right-side .search-btn {
  display: none;
}

@media (max-width:778px) {
  .top-header-content .right-side .search-form {
    display: none;
  }
  .top-header-content .right-side .search-btn {
    display: flex;
  }
}

.header-wrapper {
  position: fixed;
  top: 0;
  z-index: 9;
  width: 100%;
}

.header:not(.scrolled) .menu-button{
  filter: grayscale(1) brightness(10);
}
.header.scrolled .bottom-header {
  background: #fefefe;
}
.header.scrolled .bottom-header .bottom-header-content{
  padding-block: 8px;
}
.header.scrolled .nav-items .nav-item a{
  color: var(--dark-brown);
}
.header.scrolled .nav-items .nav-item .dropdown-toggle-split{
  color: var(--dark-brown);
}
.header.scrolled .nav-items .nav-item.active a{
  color:var(--dark-yellow)
}
.header.scrolled .nav-items .nav-item a.active + .dropdown-toggle-split{
  color:var(--dark-yellow)
}
.header.scrolled .language-btn{
  color: var(--dark-brown);
}
.header .bottom-header-content .left-side .logo  .dark-logo{
  display: none;
}
.header.scrolled .bottom-header-content .left-side .logo  .dark-logo{
  display: flex;
}
.header.scrolled .bottom-header-content .left-side .logo  .white-logo{
  display: none;
}
.header .search-btn {
  color: white;
  line-height: normal;
}
.header .login-btn {
  color: var(--dark-yellow);
  border: 1px solid var(--dark-yellow);
  transition: .3s all ease-in-out;
}
.header .search-btn img{
  filter: grayscale(1) brightness(10);
}
.header.scrolled .search-btn img{
  filter: none;
}
.header.scrolled .search-btn {
  color: var(--dark-brown);
}
.header.scrolled .login-btn {
  color: var(--dark-yellow);
  border-color: var(--dark-yellow);
}
.header.scrolled .login-btn:hover,
.header .login-btn:hover {
  background: var(--dark-yellow);
  color: white;
}
.header .logo {
  height: 60px;
  display: flex;
}
.header.scrolled .logo img {
  width: 80px;
}
@media (max-width: 448px) {
  .header .logo img {
    width: 70px;
  }
  .header.scrolled .logo img {
    width: 60px;
  }
}
#galleryModal {
  background:#2f2f2f8f;
  backdrop-filter:blur(6px)
}
#galleryModal .modal-body{
  display:flex;
  justify-content:center;
  min-height: 400px;
}
#galleryModal .modal-body img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.gallery-carousel-container .swiper-slide{
  display: flex;
  position: relative;
  overflow: hidden;
}
.gallery-carousel-container .swiper-slide .bg-slide{
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  display: flex;
  z-index:1;
  opacity:0;
  transition:.3s all ease-in-out;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-carousel-container .swiper-slide .bg-slide a{
  display: flex;
  width: 100%;
  height: 100%;
}
.gallery-carousel-container .swiper-slide:hover .bg-slide{
  opacity:1
}
.gallery-carousel-container .swiper-slide .bg-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery-section{
  padding-block: 24px;
  border: 2px solid;
  border-image: linear-gradient(90deg, #FFFFFF 0%, #D5A368 50%, #FFFFFF 100%) 1;

}
.gallery-carousel-container {
  margin: 0;
}


.events-section {
  background: var(--dark-brown);
}
.events-section .page-container .top-image {
  margin-bottom: 64px;
  height: 519px;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  margin-top: -320px;
}
@media (max-width:778px) {
  .events-section .page-container .top-image {
    margin-top: -180px;
    height: 350px;
    margin-bottom: 32px;
  }
}
.events-section .page-container .top-image video,
.events-section .page-container .top-image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.events-section .page-container .main-section-heading{
  color: white;
}
.events-section .page-container .events-box .card-wrapper{
  flex-direction: column;
  background: transparent;
  gap: 0;
}
.events-section .page-container .events-boxes{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.events-section .page-container .events-box {
  flex: 1 ;
  display: flex;
}

.events-section .page-container .events-box .card-img{
  flex: auto;
  height: 333px;
  max-height: 333px;
  max-width: 100%;
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}
.events-section .page-container .events-box .card-img{
  overflow: hidden;
  border-radius: 12px;
  
}
.events-section .page-container .events-box .card-content{
  padding: 24px 49px;
  text-align: center;
  background-color: #FFFFFF;
  max-width: calc(100% - 64px);
  width: 100%;
  border-radius: 12px;
  margin-top: -60px;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-inline: auto;
  flex: 1;
}
.events-section .page-container .events-box .card-heading{
  font-size: var(--fs-20);
}
.events-section .page-container .events-box .card-desc{
  font-size: 14px;
}
.events-section .page-container .events-box .base-btn{
  margin-top: auto;
}
@media (max-width:1300px) {
  .events-section .page-container .events-box {
    max-width: calc(50% - 12px);
    flex: 1 1 100%;
  }
}
@media (max-width:778px) {
  .events-section .page-container .events-box {
    max-width: 100%;
  }
  .events-section .page-container .events-box .card-content{
    padding: 24px 32px;
    max-width: calc(100% - 48px);
  }
}


.gallery2-section {
  position: relative;
}
.gallery2-section .container-gallery {
  padding-inline-end: 0;
}

.gallery2-section .wrapper-gallery {
  display: flex;
  gap: 32px;
  margin-top: 80px;
  width: 100%;
  overflow: hidden;
}

.gallery2-section .wrapper-gallery .main-gallery-wrapper .header-swiper {
  padding-inline-end: var(--page-container);
}

.gallery2-section .wrapper-gallery .gallery-preview {
  width: 476px;
  flex-shrink: 0;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container {
  flex-direction: column;
  gap: 24px;
  display: none;
  animation: fadeEffect 0.8s;
  position: relative;
  z-index: 2;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container.active {
  display: flex;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video {
  height: 160px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  border: 1px solid var(--dark-yellow);
  border-radius: 120px;
  right: -80px;
  bottom: 160px;
  z-index: 10;
  overflow: hidden;
  transition: .3s all ease-in-out;

}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video.video-played {
  opacity: 0;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container:hover .play-video.video-played {
  opacity: 1;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 0px;
  height: 0px;
  background: var(--dark-yellow);
  border-radius: 120px;
  transition: .3s all ease-in-out;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video:hover:before {
  width: 100%;
  height: 100%;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video img {
  transition: .3s all ease-in-out;
  height: 16px;
  width: 16px;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video .play-icon {
  display: block;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video .pause-icon {
  display: none;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video.video-played .play-icon {
  display: none;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video.video-played .pause-icon {
  display: block;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video:hover img {
  filter: grayscale(1) brightness(10);
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-content {
  flex: 1;
  display: flex;
  border-radius: 12px;
  max-height: 545px;
  overflow: hidden;
  position: relative;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-content video,
.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;

}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-info .title-slide {
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 130%;
}

.gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-info .desc-slide {
  color: #5B5B5B;
  font-weight: 500;
  font-size: 14px;
}

.gallery2-section .wrapper-gallery .gallery-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  width: 60%;
}

.gallery2-section .wrapper-gallery .gallery-details .list-gallery-desc {
  max-width: 463px;
  font-weight: 500;
  font-size: var(--fs-28);
}

.gallery2-section .wrapper-gallery .gallery-details .gallery-desc {
  display: none;
  animation: fadeEffect 0.8s;
  transition: .3s all ease-in-out;
}

.gallery2-section .wrapper-gallery .gallery-details .gallery-desc.active {
  display: flex;
}


.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .header-swiper {
  display: flex;
  justify-content: flex-end;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .header-swiper .gallery-slider-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery {
  width: 100%;
  margin-inline-start: 0;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery .swiper-slide {
  height: 327px;
  width: 210px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery .swiper-slide .slide-content {
  width: 100%;
  height: 240px;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery .swiper-slide .slide-content img,
.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery .swiper-slide .slide-content video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery .swiper-slide .galler-slide-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery .swiper-slide .galler-slide-info .title-slide {
  font-size: var(--fs-18);
  font-weight: 700;
}

.gallery2-section .wrapper-gallery .gallery-details .main-gallery-wrapper .swiper-main-gallery .swiper-slide .galler-slide-info .desc-slide {
  font-size: 14px;
  font-weight: 500;
  color: #5B5B5B;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width:1250px) {
  .gallery2-section .wrapper-gallery {
    flex-direction: column;
  }

  .gallery2-section .wrapper-gallery .gallery-details {
    width: 100%;
  }

  .gallery2-section .container-gallery {
    padding-inline: var(--page-container);
  }

  .gallery2-section .wrapper-gallery .gallery-preview {
    width: 100%;
  }

  .gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video {
    right:  40px;
    left: auto;
    bottom: 120px;
    }
  .gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-content{
    max-height: 300px;
  }
  .gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .play-video{
    height: 80px;
    width: 80px;
  }
  .gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-content video,
  .gallery2-section .wrapper-gallery .gallery-preview .gallery-content-container .gallery-slide-content img {
    object-fit: contain;
  }
  .gallery2-section .wrapper-gallery .gallery-details .list-gallery-desc{
    max-width: 100%;
  }
}

@media (max-width:448px) {
  .search-btns {
    flex-wrap: wrap-reverse;
  }
  .search-btns .base-btn{
    width: auto;
    flex: 1;
  }
  .search-btns #horse-filter-reset{
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}
@media screen and (max-width: 778px) {
  .footer-columns-mobile {
    display: none;
  }
  .footer-columns-mobile .accordion {
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .footer-columns-mobile .accordion-item {
    background: #fff;
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(213, 163, 104, 0.07);
  }

  .footer-columns-mobile .accordion-header {
    margin: 0;
  }

  .footer-columns-mobile .accordion-button {
    background: #fff;
    color: var(--dark-yellow);
    font-size: var(--fs-20);
    font-weight: 600;
    padding: 18px 18px;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    box-shadow: none;
    transition: background .2s;
  }

  .footer-columns-mobile .accordion-button:not(.collapsed) {
    background: var(--light-yellow);
    color: var(--dark-brown);
  }

  .footer-columns-mobile .accordion-button:after {
    content: '\25BC';
    font-size: 1.2em;
    float: right;
    margin-left: auto;
    transition: transform 0.3s;
    background: none;
  }

  .footer-columns-mobile .accordion-button.collapsed:after {
    transform: rotate(-90deg);
  }

  .footer-columns-mobile .accordion-collapse {
    background: transparent;
  }

  .footer-columns-mobile .accordion-body {
    padding: 15px 18px 20px 18px;
    background: #fff9f3;
  }

  .footer-columns-mobile .footer-nav-items {
    gap: 12px;
  }

  .footer-columns-mobile .footer-nav-item {
    color: var(--brown);
    font-weight: 500;
    font-size: 1em;
    text-decoration: none;
    transition: color 0.2s;
    padding: 4px 0;
    display: block;
  }

  .footer-columns-mobile .footer-nav-item:hover {
    color: var(--dark-yellow);
    text-decoration: underline;
  }
  .footer-columns-mobile .accordion-button:after{
    scale: -1;
  }
}

.horse-image-modal {
  display: none;
  background: transparent;
  z-index: 1060;
}

.horse-image-modal.show {
  display: block;
}

.horse-image-modal .image-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 28, 18, 0.8);
  z-index: 1;
  cursor: pointer;
}

.horse-image-modal .image-modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 700px;
  width: 90vw;
  max-height: 80vh;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(18, 14, 6, 0.25);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.horse-image-modal .image-modal-close {
  position: absolute;
  top: -60px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 64px;
  color: #a98446;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
  line-height: 0;
}

.horse-image-modal .image-modal-close:hover {
  color: #856a38;
}

.horse-image-modal #modal-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(34,28,18,0.12);
  object-fit: contain;
  margin: 0 0 14px 0;
}

.horse-image-modal .image-modal-caption {
  color: #624d28;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
  max-width: 95%;
  word-break: break-word;
}

@media (max-width: 767px) {
  .horse-image-modal .image-modal-dialog {
      max-width: 90vw;
      width: 99vw;
  }
  .horse-image-modal #modal-image {
      max-height: 38vh;
      border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .horse-image-modal #modal-image {
      max-height: 30vh;
      border-radius: 8px;
  }
}

.gallery-section .gallery-grid .gallery-img {
  background: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}
.gallery-section .gallery-grid .gallery-img img{
  object-fit: contain;
}


.newsletter {}

.newsletter .form-group {}

.newsletter .form-group .text-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-yellow);
}

.newsletter .form-group .input-wrapper {
  display: flex;
  border-radius: 50px;
  border: 1px solid var(--dark-yellow);
  overflow: hidden;
}

.newsletter .form-group .input-wrapper input {
  background: transparent;
  color: #CCBDAB;
  font-weight: 500;
  font-size: 14px;
  padding: 16px;
  border: none;
  flex: 1;
}

.newsletter .form-group .input-wrapper input::placeholder {
  color: #CCBDAB;
}

.newsletter .form-group .input-wrapper button {
  background-color: var(--dark-yellow);
  font-size: 14px;
  font-weight: 500;
  padding: 16px 20px;
  color: #FFFFFF;
  transition: .3s all ease-in-out;
}

.newsletter .form-group .input-wrapper button:hover {
  background: #b18656;
}
.nav-item.dropdown:hover .dropdown-menu{
  top: 100%;
}
.nav-item.dropdown .dropdown-menu.show{
  transform: none !important;
  top: 100% !important;
}
@media screen and (min-width: 779px) {
  .nav-item.dropdown:hover .dropdown-menu,
  .dropdown-menu:hover{
    display: block;
  }
}
@media screen and (max-width: 778px) {
  .footer-logo{
    display:flex;
      justify-content:center
  }
}
.gallery-search .horse-type-btn, .events-search .horse-type-btn {
  height: auto;
}

.news-ticker-container {
  background: linear-gradient(to right, #fffbe4 0%, #fff 100%);
  padding: 12px;
  border-top: 1px solid #e7ddb8;
  border-bottom: 1px solid #e7ddb8;
  box-shadow: 0 2px 8px rgba(205, 177, 87, 0.08);
  min-height: 48px;
  overflow: hidden;
  width: 100%;
}

.news-ticker-track {
  display: flex;        /* single row, no wrapping */
  flex-wrap: nowrap;
  will-change: transform;
  justify-content: space-between;
}

.news-ticker-text {
  flex-shrink: 0;       /* prevent items from squishing */
  padding: 0 2rem;      /* spacing between items */
  white-space: nowrap;
}
.news-ticker-text a{
  color: var(--dark-yellow);
  transition: .3s all ease-in-out;
}
.news-ticker-text a:hover{
  color: #bb8830;
}
.news-ticker-text:hover {
  color: #bb8830;
  text-decoration: underline;
  animation-play-state: paused;
}

@keyframes news-ticker-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
#horse-filter-reset{
  border: 1px solid rgba(0, 0, 0, 0.22);
}
#horse-filter-reset:hover{
  border-color: var(--dark-yellow);
  color: var(--dark-yellow);
}

.farms-and-history ul{
  list-style:initial
}
.farms-and-history table :is(tr,th,thead,tbody,td){
  border-width: initial;
}
