/* ============================
   CUSTOM CARD CAROUSEL - FIXED
   ============================ */

/* Wrapper must NOT clip navigation arrows */
.ccc-carousel-wrapper {
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

/* Main carousel track */
.ccc-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 25px;
  padding: 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  z-index: 2;
}
.ccc-carousel::-webkit-scrollbar { display: none; }

/* Slide styling */
.ccc-slide {
  position: relative;
  flex: 0 0 350px;
  height: 550px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ccc-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* Title, description, button */
.ccc-slide-title {
  position: absolute;
  top: 20px;
  left: 0px;
  margin: 0;
  color: #fff;
  font-family: Inter, Helvetica, sans-serif;
  font-weight: 700!important;
  font-size: 25px;
  line-height:1.1;
  max-width: 80%;
  text-transform: capitalize;
  text-align:left;
}

.ccc-slide-desc {
  position: absolute;
  top: 80px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
  max-width: 85%;
  font-family: Inter, Helvetica, sans-serif;
  font-weight:300;
}

.ccc-slide-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 0 13px;
  background-color: transparent;
  color: #fff;
  font-weight: 400;
  border-radius: 100px;
  border: 1px solid #FFFFFF;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: Inter, Helvetica, sans-serif;
  font-size:30px;
}

.ccc-slide-btn:visited, .ccc-slide-btn:active {
	color:#FFFFFF;
	}

.ccc-slide-btn:hover {
  background-color: #33B24A;
  color:#FFFFFF;
  /*transform: translateY(-2px);*/
  border: 1px solid #33B24A;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .ccc-carousel {
    gap: 15px;
    padding: 10px;
  }
  .ccc-slide {
    flex: 0 0 220px;
    height: 380px;
  }
  .ccc-slide-title { font-size: 1.3rem; margin-left:0; text-align:left; line-height:1.1;}
  .ccc-slide-desc { font-size: 1.5rem; }

   .ccc-slide-btn {
	font-size:26px;
	padding:0px 10px;
	}
	}
	

/* ============================
   NAVIGATION BUTTONS
   ============================ */

.ccc-carousel-container {
  position: relative;
  width: 100%;
  z-index: 10;
}

.ccc-nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-top: 15px;
  position: relative;
  z-index: 1000;
}

.ccc-nav {
  background: transparent;
  color: #cccccc;
  border: 2px solid #cccccc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  margin-left: 8px;
  flex-shrink: 0;
}

.ccc-nav:hover {
  background: rgba(204, 204, 204, 0.15);
  color: #cccccc;
  border-color: #cccccc;
  transform: scale(1.05);
}

.ccc-nav:focus {
  outline: none;
  box-shadow: none;
}

/* Fix for icon clicks */
.ccc-nav i {
  pointer-events: none;
}

/* Force icon color */
.ccc-nav i,
.ccc-nav svg {
  color: #cccccc !important;
}
