@font-face {
  font-family: "caros-light";
  src: url(../fonts/caros/Caros-Light.otf) format("truetype");
}
@font-face {
  font-family: "caros-bold";
  src: url(../fonts/caros/Caros-Bold.otf) format("truetype");
}
:root {
  --heading-font: "caros-bold";
  --heading-font-weight: bolder;
  --heading-letter-spacing: -2px;
  --sub-heading-letter-spacing: -1px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-image: url("../images/bg/Images.png");
  overflow-x: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "caros-light";
}

/* Glassmorphism for navbar-container only on selected pages */
body.glass-header .navbar-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  z-index: 10;
}

/* Make sure the page content behind the header is visible */
body.glass-header header {
  position: absolute; /* or fixed if you want it to stay on top when scrolling */
  top: 0;
  left: 0;
  width: 100%;
  background: transparent; /* ensure transparency */
}

/*=========================================================================
===========================================================================
=========================SECTION 1==========================================*/
/* Container for the marquee section to provide padding and layout */
.marquee-section {
  padding-top: 1rem;
  padding-bottom: 5rem;
  width: 100%;
}
.marquee-wrapper {
  background-image: url("../images/customers/fotopia-hero-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 97%;
  border-radius: 30px;
}

/* Styles for the hero text and buttons on the left */
.hero-content {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  text-align: left;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: var(--heading-font-weight);
  font-family: var(--heading-font);
  letter-spacing: var(--heading-letter-spacing);
  line-height: 0.9;
  color: #fff;
}

.hero-content h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 1rem;
  color: #ccc;
}

/* Styles for the marquee container on the right */
.marquee-container {
  position: relative;
  height: 630px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Styles for each vertical marquee column */
.marquee-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Define the animation for downward vertical scrolling */
@keyframes marquee-scroll-down {
  0% {
    transform: translateY(-50%);
  } /* Start at the duplicated content to create a seamless loop */
  100% {
    transform: translateY(0);
  }
}

/* Define the animation for upward vertical scrolling */
@keyframes marquee-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.marquee-down {
  animation: marquee-scroll-down 20s linear infinite;
}

.marquee-up {
  animation: marquee-scroll-up 20s linear infinite;
}

/* Styles for the individual logo containers (circles) */
.logo-circle {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
  border-radius: 50%;
  width: 130px; /* Adjust size as needed */
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2rem; /* Spacing between logos */
}

.logo-circle img {
  max-width: 60%;
  max-height: 60%;
  display: block;
}

.section-title {
  margin-top: 5%;
  text-align: left;
  font-size: 1rem;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
}
.section-desc {
  color: #ffffff;
  line-height: 1;
  font-weight: lighter !important;
  font-family: "caros-light";
  opacity: 0.9;
  margin-top: 5%;
  text-align: left;
}
.red-text {
  color: #f15852 !important;
  font-weight: bold !important;
}

.slider-content-wrap p {
  margin-top: 2%;
  /* border: 3px solid green; */
  line-height: 1;
  color: white;
  font-weight: lighter;
  text-align: left;
}

.button-wrapper {
  margin-top: 5%;
  display: flex;
  gap: 30px;
}

.button-wrapper button {
  position: relative;
  height: 45px;
  width: 200px;
  border-radius: 50px;
  border: 1px solid black;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  background: white;
  color: black;
  padding-right: 30px;
  border: none;
  font-weight: bold;
}

/* Pseudo-element for the gradient background */
.button-wrapper button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(241, 88, 82, 1) 10%,
    rgba(229, 65, 102, 1) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 50px;
  border: none;
}

/* Show the gradient on hover */
.button-wrapper button:hover::before {
  opacity: 1;
  border: none !important;
  border: none;
  color: white !important;
}

.button-wrapper button {
  position: relative;
  display: block;
  border: none;
}

.button-wrapper button::after {
  content: "\2197";
  position: absolute;
  bottom: 0;
  right: 1;
  color: #f15852;
  margin-left: 10px;
  font-size: 16px;
  transition: transform 0.3s ease-out;
  z-index: 3;
  font-size: 30px;
}
.button-wrapper button:hover::after {
  color: white;
}
.button-wrapper button:hover {
  color: white !important;
}

/* ===================== DEFAULT (Large desktops, ≥1400px) ===================== */
/* .hero-content h1 {
  font-size: 3.5rem;
} */

/* .section-desc {
  font-size: 1.25rem;
} */

.marquee-container {
  height: 650px;
  gap: 60px;
}

.logo-circle {
  width: 140px;
  height: 140px;
}

/* ===================== Laptops (1200px – 1399px) ===================== */
@media (max-width: 1399px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .section-desc {
    font-size: 1.125rem;
  }

  .marquee-container {
    height: 600px;
    gap: 50px;
  }

  .logo-circle {
    width: 120px;
    height: 120px;
  }
}

/* ===================== Medium desktops / Large tablets (992px – 1199px) ===================== */
@media (max-width: 1199px) {
  .hero-content {
    padding: 2rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .button-wrapper {
    justify-content: center;
    gap: 20px;
  }

  .marquee-container {
    height: 500px;
    gap: 35px;
  }

  .logo-circle {
    width: 110px;
    height: 110px;
  }
}

/* ===================== Tablets (768px – 991px) ===================== */
@media (max-width: 991px) {
  .hero-content {
    padding: 1.5rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    margin-top: 10%;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .button-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .marquee-container {
    height: 420px;
    gap: 25px;
  }

  .logo-circle {
    width: 95px;
    height: 95px;
  }
}

/* ===================== Mobiles (576px – 767px) ===================== */
@media (max-width: 767px) {
  .hero-content {
    padding: 1.25rem 1rem;
    text-align: center;
  }

  .hero-content h1 {
    margin-top: 15%;
    font-size: 1.9rem;
  }

  .section-desc {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .button-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .button-wrapper button {
    font-size: 0.9rem;
  }

  .marquee-container {
    height: 360px;
    gap: 18px;
  }

  .logo-circle {
    width: 80px;
    height: 80px;
  }
  .button-wrapper button::after {
      top: 7px !important;
        right: 153px !important;
        font-size: 20px;
  }
}

/* ===================== Extra small phones (<576px) ===================== */
@media (max-width: 575px) {
  .hero-content {
    padding: 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    margin-top: 23%;
  }

  .section-desc {
    font-size: 0.85rem;
  }

  .button-wrapper button {
    max-width: 220px;
    font-size: 0.85rem;
  }

  .marquee-container {
    height: 300px;
    gap: 12px;
  }

  .logo-circle {
    width: 65px;
    height: 65px;
  }

  .logo-circle img {
    max-width: 70%;
    max-height: 70%;
  }
  
}

/*=========================================================================
===========================================================================
=========================SECTION 2==========================================*/
.filter-section {
  padding: 2rem 1rem;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

/* Make <select> look like your pill buttons */
.filter-dropdown {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid #e0e0e0;
  border-radius: 9999px;
  color: #151f26;
  font-weight: 500;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  width: 100%;
  display: block;
  transition: background-color 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7l5 5 5-5' stroke='%23151f26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 20px;
}
.filter-dropdown:hover {
  background-color: #f0f0f0;
}

.content-grid {
  padding: 2rem 1rem;
}

.customer-card {
  background: linear-gradient(
    90deg,
    rgba(32, 46, 66, 1) 0%,
    rgba(47, 82, 132, 1) 100%
  );
  color: #fff;
  border-radius: 12px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  /*justify-content: space-between;*/
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  position: relative;
}
/* .customer-card:hover {
  transform: translateY(-5px);
} */

.card-glass-body {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.customer-card .logo {
  text-align: center;
  margin-bottom: 1rem;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.customer-card .logo img {
  display: block;
  margin: 0 auto;
}

.read-more-btn {
  position: relative;
  height: 45px;
  width: 180px;
  border-radius: 50px;
  border: 1px solid black;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgba(241, 88, 82, 1) 10%,
    rgba(229, 65, 102, 1) 100%
  );
  color: white;
  /*padding-right: 30px;*/
  border: none;
  font-weight: bold;
}

/* Pseudo-element for the gradient background */
.read-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 50px;
  border: none;
}

/* Show the gradient on hover */
.read-more-btn:hover::before {
  opacity: 1;
  border: none !important;
  border: none;
  color: white !important;
}

.read-more-btn {
  position: relative;
  display: block;
  border: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.read-more-btn::after {
  content: "\2197";
  position: relative;
  bottom: 0;
  right: 1;
  color: white;
  /*margin-left: 130px;*/
  transform: scaleX(-1);
  font-size: 16px;
  transition: transform 0.3s ease-out;
  z-index: 3;
  font-size: 30px;
}
.read-more-btn:hover::after {
  color: black;
}
.read-more-btn:hover {
  color: black !important;
}

/* Pagination Styling (match image) */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding-left: 0;
}

.pagination li {
  display: inline-block;
}

.pagination .page-link {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 4px 8px;
  transition: color 0.2s ease-in-out;
}

.pagination .page-link:hover {
  color: #ff4b2b;
}

/* Active page underline */
.pagination .active .page-link {
  color: #000;
  border-bottom: 2px solid #ff4b2b;
  padding-bottom: 2px;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

/* Disabled state */
.pagination .disabled .page-link {
  opacity: 0.3;
  pointer-events: none;
}

/* Arrow styling */
.pagination .arrow .page-link {
  font-size: 20px;
  color: #ff4b2b;
}

.card-text {
  line-height: 1;
}
