body {
  background-image: url(/patternpad-2025-04-24-14-30-18.png);
}

.causel img {
  width: 100%;
}

.content {
  margin-top: 2rem;
  text-align: center;
}

.content p {
  font-size: 24px;
  font-weight: 700;
}
.content h2 {
  font-size: 44px;
  font-weight: 500;
}

.box_content {
  margin-top: 3rem;
  text-align: start;
  border: 1px solid gray;
  padding: 20px;
  /* box-shadow: 10px 10px black; */
  border-left: none;
  border-top: none;
  border-radius: 20px;
  background-color: #6a7e5f;
}

.box_content p {
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  color: #fff;
}
.box-p {
  font-size: 24px !important;
}

.franchise-section {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.franchise-card {
  background: #fff;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.franchise-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.franchise-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 10px;
}

.franchise-card p {
  font-size: 16px;
  line-height: 1.5;
  padding: 0 10px 20px;
}

/* Responsive for Tablets */
@media (max-width: 992px) {
  .franchise-section {
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive for Mobiles */
@media (max-width: 576px) {
  .franchise-card h2 {
    font-size: 18px;
  }

  .franchise-card p {
    font-size: 14px;
  }
  .franchise-card img {
    width: 90%;
    margin: auto;
    height: 300px;
  }
}

@media (min-width: 320px) and (max-width: 425px) {
  .content h1 {
    font-size: 24px;
  }

  .content p {
    font-size: 14px;
  }

  .box_content {
    height: 400px;
  }

  .box_content p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Container Flex Settings */
.f-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
.c-header {
  display: block;
  width: 100%;
  /* margin-bottom: 1rem; */
}

/* Title - Responsive Font */
.u-a5 {
  font-family: Arial, sans-serif;
  font-size: 24px; /* Responsive */
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Eyebrow - Subheading */
.u-b4 {
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  font-weight: 400;
  color: #fff;
}

a {
  text-decoration: none;
  cursor: pointer;
}

/* Media Wrapper */
.u-media-wrapper {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  height: 0;
}
.u-media-wrapper.u-media-wrapper--16-9 {
  padding-bottom: 56.25%;
}

/* Gradient Overlay */
.c-gradient-overlay {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 49% 50%,
    rgba(2, 21, 25, 0.3),
    rgba(2, 21, 25, 0.6)
  );
}

/* Carousel Core */
.c-mouse-vertical-carousel {
  position: relative;
  overflow: hidden;
}

/* List */
.c-mouse-vertical-carousel__list {
  width: 100%;
  position: absolute;
  left: 0;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 1;
}

/* List Item */
.c-mouse-vertical-carousel__list-item a {
  display: block;
  /* padding: 1rem 0rem; */
  padding-left: 55%;
  padding-bottom: 25px;
}

/* Eyebrow inside item */
.c-mouse-vertical-carousel__eyebrow {
  position: relative;
  /* padding-bottom: 0.75rem; */
}
.c-mouse-vertical-carousel__eyebrow span {
  position: absolute;
  left: -2rem;
  top: 0.1rem;
  font-size: 14px;
}

/* Title inside item */
.c-mouse-vertical-carousel__title {
  max-width: 450px;
}

/* Background Images */
.js-carousel-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* RESPONSIVE FIXES */

@media (max-width: 768px) {
  .c-mouse-vertical-carousel__list-item a {
    padding-left: 5%;
    padding-bottom: 15px;
    /* text-align: center; */
  }

  .c-mouse-vertical-carousel__eyebrow span {
    position: static;
    display: block;
    margin-right: 15px;
    font-size: 12px;
    /* margin-bottom: 0.25rem; */
  }

  .c-mouse-vertical-carousel__title {
    max-width: 100%;
  }
  .u-a5 {
    font-size: 16px !important;
    padding-left: 45%;
    /* line-height: 1.3; */
  }

  .u-b4 {
    font-size: 12px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .u-a5 {
    font-size: 12px !important;
    /* line-height: 1.3; */
  }

  .u-b4 {
    font-size: 8px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .c-mouse-vertical-carousel__list-item a {
    padding: 1rem 0rem;
    padding-bottom: 0px;
  }
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 50px; /* increase this to push buttons further apart */
  z-index: 1000;
  pointer-events: none;
}
li {
  list-style-type: none;
}

.prev-btn {
  margin-right: 40px; /* add space between the buttons */
}

.next-btn {
  margin-left: 40px;
}
.prev-btn,
.next-btn {
  background-color: rgb(58, 125, 125);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  pointer-events: all; /* enable clicks */
  border-radius: 5px;
  z-index: 1001;
}

.carousel-container {
  width: 100%;
  max-width: 1200px;
  height: 450px;
  position: relative;
  perspective: 1000px;
  margin-top: 80px;
  margin: auto;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
  position: absolute;
  width: 450px;
  height: 300px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
  z-index: 10;
  transform: scale(1.1) translateZ(0);
}

.card.center img {
  filter: none;
}

.card.left-2 {
  z-index: 1;
  transform: translateX(-400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.left-2 img {
  filter: grayscale(100%);
}

.card.left-1 {
  z-index: 5;
  transform: translateX(-200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.left-1 img {
  filter: grayscale(100%);
}

.card.right-1 {
  z-index: 5;
  transform: translateX(200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.right-1 img {
  filter: grayscale(100%);
}

.card.right-2 {
  z-index: 1;
  transform: translateX(400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.right-2 img {
  filter: grayscale(100%);
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
}

.member-info {
  text-align: center;
  margin-top: 40px;
  transition: all 0.5s ease-out;
}

.member-name {
  color: #6f7b63;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.member-name::before,
.member-name::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 100px;
  height: 2px;
  background: #6f7b63;
}

.member-name::before {
  left: -120px;
}

.member-name::after {
  right: -120px;
}

.member-role {
  color: #848696;
  font-size: 1.5rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 0;
  margin-top: -15px;
  position: relative;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(8, 42, 123, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #6f7b63;
  transform: scale(1.2);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #6f7b63;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  border: none;
  outline: none;
  padding-bottom: 4px;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
  left: 20px;
  padding-bottom: 15px;
}

.nav-arrow.right {
  right: 20px;
  padding-bottom: 15px;
}

@media (max-width: 480px) {
  .carousel-container {
    height: 320px;
    padding: 0 10px;
  }

  .card {
    width: 260px;
    height: 160px;
    border-radius: 12px;
  }

  .card.left-2 {
    transform: translateX(-160px) scale(0.7) translateZ(-200px);
  }

  .card.left-1 {
    transform: translateX(-80px) scale(0.85) translateZ(-100px);
  }

  .card.right-1 {
    transform: translateX(80px) scale(0.85) translateZ(-100px);
  }

  .card.right-2 {
    transform: translateX(160px) scale(0.7) translateZ(-200px);
  }

  .member-name {
    font-size: 1.5rem;
  }

  .member-role {
    font-size: 1rem;
  }

  .member-name::before,
  .member-name::after {
    width: 30px;
  }

  .member-name::before {
    left: -40px;
  }

  .member-name::after {
    right: -40px;
  }

  .nav-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .dots {
    gap: 6px;
    margin-top: 30px;
  }

  .dot {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .carousel-container {
    height: 360px;
  }

  .card {
    width: 300px;
    height: 180px;
  }

  .card.left-2 {
    transform: translateX(-220px) scale(0.8) translateZ(-250px);
  }

  .card.left-1 {
    transform: translateX(-110px) scale(0.9) translateZ(-100px);
  }

  .card.right-1 {
    transform: translateX(110px) scale(0.9) translateZ(-100px);
  }

  .card.right-2 {
    transform: translateX(220px) scale(0.8) translateZ(-250px);
  }

  .member-name {
    font-size: 1.8rem;
  }

  .member-role {
    font-size: 1.1rem;
  }

  .member-name::before,
  .member-name::after {
    width: 40px;
  }

  .member-name::before {
    left: -55px;
  }

  .member-name::after {
    right: -55px;
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .dots {
    gap: 8px;
    margin-top: 40px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .carousel-container {
    height: 400px;
  }

  .card {
    width: 400px;
    height: 250px;
    border-radius: 16px;
  }

  .card.left-2 {
    transform: translateX(-280px) scale(0.8) translateZ(-250px);
  }

  .card.left-1 {
    transform: translateX(-140px) scale(0.9) translateZ(-100px);
  }

  .card.right-1 {
    transform: translateX(140px) scale(0.9) translateZ(-100px);
  }

  .card.right-2 {
    transform: translateX(280px) scale(0.8) translateZ(-250px);
  }

  .member-name {
    font-size: 2.2rem;
  }

  .member-role {
    font-size: 1.3rem;
  }

  .member-name::before,
  .member-name::after {
    width: 60px;
  }

  .member-name::before {
    left: -80px;
  }

  .member-name::after {
    right: -80px;
  }

  .nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .dots {
    gap: 8px;
    margin-top: 50px;
  }

  .dot {
    width: 11px;
    height: 11px;
  }
}
@media (min-width: 768px) and (max-width: 850px) {
  .carousel-container {
    height: 370px;
  }

  .card {
    width: 320px;
    height: 200px;
    border-radius: 14px;
  }

  .card.left-2 {
    transform: translateX(-240px) scale(0.8) translateZ(-250px);
  }

  .card.left-1 {
    transform: translateX(-120px) scale(0.9) translateZ(-100px);
  }

  .card.right-1 {
    transform: translateX(120px) scale(0.9) translateZ(-100px);
  }

  .card.right-2 {
    transform: translateX(240px) scale(0.8) translateZ(-250px);
  }

  .member-name {
    font-size: 2rem;
  }

  .member-role {
    font-size: 1.1rem;
  }

  .member-name::before,
  .member-name::after {
    width: 45px;
  }

  .member-name::before {
    left: -60px;
  }

  .member-name::after {
    right: -60px;
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .dots {
    gap: 8px;
    margin-top: 40px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}
@media (max-width: 680px) {
  .carousel-container {
    height: 300px;
    padding: 0 10px;
  }

  .card {
    width: 240px;
    height: 150px;
    border-radius: 10px;
  }

  .card.left-2 {
    transform: translateX(-150px) scale(0.7) translateZ(-200px);
  }

  .card.left-1 {
    transform: translateX(-75px) scale(0.85) translateZ(-100px);
  }

  .card.right-1 {
    transform: translateX(75px) scale(0.85) translateZ(-100px);
  }

  .card.right-2 {
    transform: translateX(150px) scale(0.7) translateZ(-200px);
  }

  .member-name {
    font-size: 1.4rem;
  }

  .member-role {
    font-size: 0.95rem;
  }

  .member-name::before,
  .member-name::after {
    width: 25px;
  }

  .member-name::before {
    left: -35px;
  }

  .member-name::after {
    right: -35px;
  }

  .nav-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .dots {
    gap: 5px;
    margin-top: 30px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}
@media (max-width: 400px) {
  .carousel-container {
    height: 240px;
    padding: 0 6px;
  }

  .card {
    width: 280px;
    height: 200px;
    border-radius: 8px;
  }

  .card.left-2 {
    transform: translateX(-110px) scale(0.6) translateZ(-150px);
  }

  .card.left-1 {
    transform: translateX(-55px) scale(0.75) translateZ(-80px);
  }

  .card.right-1 {
    transform: translateX(55px) scale(0.75) translateZ(-80px);
  }

  .card.right-2 {
    transform: translateX(110px) scale(0.6) translateZ(-150px);
  }

  .member-name {
    font-size: 1.1rem;
  }

  .member-role {
    font-size: 0.8rem;
  }

  .member-name::before,
  .member-name::after {
    width: 18px;
  }

  .member-name::before {
    left: -26px;
  }

  .member-name::after {
    right: -26px;
  }

  .nav-arrow {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }

  .dots {
    gap: 3px;
    margin-top: 20px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 260px;
    padding: 0 8px;
  }

  .card {
    width: 250px;
    height: 170px;
    border-radius: 10px;
  }

  .card.left-2 {
    transform: translateX(-130px) scale(0.65) translateZ(-180px);
  }

  .card.left-1 {
    transform: translateX(-65px) scale(0.8) translateZ(-80px);
  }

  .card.right-1 {
    transform: translateX(65px) scale(0.8) translateZ(-80px);
  }

  .card.right-2 {
    transform: translateX(130px) scale(0.65) translateZ(-180px);
  }

  .member-name {
    font-size: 1.2rem;
  }

  .member-role {
    font-size: 0.85rem;
  }

  .member-name::before,
  .member-name::after {
    width: 20px;
  }

  .member-name::before {
    left: -30px;
  }

  .member-name::after {
    right: -30px;
  }

  .nav-arrow {
    width: 20px;
    height: 20px;
    font-size: 1rem;
  }

  .dots {
    gap: 4px;
    margin-top: 25px;
  }

  .dot {
    width: 7px;
    height: 7px;
  }
  .nav-arrow {
    width: 25px !important;
    height: 25px !important;
  }
}
/* Visibility control */
@media (max-width: 900px) {
  .js-carousel {
    display: none;
  }
  .mobile-carousel {
    display: block;
  }
}

@media (min-width: 901px) {
  .mobile-carousel {
    display: none;
  }
}

/* Mobile Carousel Layout */
.mobile-carousel {
  position: relative;
  width: 90%;
  margin:  auto;
  height: 50vh; /* full height on mobile */
  overflow: hidden;
  background-color: #000;
}

/* fallback for tablets */
@media (min-width: 600px) and (max-width: 900px) {
  .mobile-carousel {
    height: 400px;
  }
}

.mobile-carousel-list {
  position: relative;
  height: 100%;
}

.mobile-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

/* Add brightness dimming with pseudo-overlay */
.mobile-carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* darkness overlay */
  z-index: 1;
}

.mobile-carousel-item.active {
  opacity: 1;
  z-index: 2;
}

/* Overlay Content (above the dark layer) */
.mobile-carousel-overlay {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  text-align: center;
  color: #fff;
  width: 90%;
  z-index: 3; /* above the dark overlay */
}

.mobile-carousel-overlay p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.mobile-carousel-overlay span {
  font-weight: bold;
  margin-right: 5px;
  color: #fff;
}

.mobile-carousel-overlay h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}
