/* 
Theme Name: C3IS Custom theme
Description: 
Version: 1.0.0
Author: C3IS
Author URI: https://code3is.com
*/

@font-face {
  font-family: 'Vancouver';
  src: url('./assets/fonts/Vancouver-2.0.woff2') format('woff2'),
       url('./assets/fonts/Vancouver-2.0.woff') format('woff'),
       url('./assets/fonts/Vancouver-2.0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.vancouver {
  font-family: 'Vancouver';
}

/* --- Slide Animation --- */
.slide-content {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
}

/* Slide Container */
.slide-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 560px;
}

@media (max-width: 640px) {
  .slide-section {
    height: clamp(285px, 90vw, 540px);
  }
  #rightContainer.slide-section {
    height: 200px;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  #rightContainer.slide-section {
    height: 200px;
  }
}

@media (min-width: 1024px) {
  .slide-section {
    height: 500px;
    width: 48%;
  }
}

@media (min-width: 1280px) {
  .slide-section {
    height: min(560px,75vh);
  }
}

/* Animation Keyframes */
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}

.animate-left-in { animation: slideInLeft 0.6s forwards; }
.animate-right-in { animation: slideInRight 0.6s forwards; }
.animate-left-out { animation: slideOutLeft 0.6s forwards; }
.animate-right-out { animation: slideOutRight 0.6s forwards; }



.dot-carousel-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  height: 100px;
  overflow: hidden;
}

.dot-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;

}

/* All dots base style */
.dot-preview {
  position: absolute;
  top: 20px;
  left: 48%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
 
}

.dot-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Previous Dot */

.dot-prev {
  transform: translateX(-80px) scale(0.85);
  opacity: 0.6;
  z-index: 1;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Next Dot */
.dot-next {
  transform: translateX(80px) scale(0.85);
  opacity: 0.6;
  z-index: 2;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Current Dot */
.dot-current {
  transform: translateX(0px) scale(1.2);
  opacity: 1;
  z-index: 3;
  border: 1px solid orange;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

@media (max-width: 640px) {
  .dot-carousel-wrapper{
    height: 75px;
  }
  .dot-preview {
    width: 50px;
    height: 50px;
    left: 43%;
  }
  .dot-prev {
    transform: translateX(-60px) scale(0.8);
  }
  .dot-next {
    transform: translateX(60px) scale(0.8);
  }
  .dot-current {
    transform: translateX(0px) scale(1.1);
  }
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.custom-btn{
  background-image: var(--button-color);
}

.hyphenate {
  hyphens: auto;
  word-break: break-word;
}

/* 1. Label behaves as a custom checkbox container */
.wpcf7-list-item label {
  position: relative;
  padding-left: 26px;
  cursor: pointer;
  font-size: clamp(12px,1vw,16px);
  user-select: none;
  display: inline-block;
   /* Set label text color (adjust as needed) */
   color: #5b5b5b;
}

/* 2. The custom square (replaces .checkmark) */
.wpcf7-list-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: clamp(16px,1vw,19px);
  height: clamp(16px,1vw,19px);
  background-color: #eee;
  border: 1px solid #144734;
  /* border-radius: 4px; */
  transition: 0.3s;
  box-sizing: border-box;
}

/* 3. Checked: change box color */
.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background-color: var(--primary-color, #144734);
  border-color: var(--primary-color, #144734);
}

/* 4. Add checkmark/tick */
.wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 5. Show checkmark when checked */
.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  display: block;
}

/* 6. (Optional) Make sure label's position relative for tick/box */
.wpcf7-list-item label {
  position: relative;
 
}

.wpcf7-list-item{
  margin: 0;
}
.wpcf7-list-item{
  max-width: 700px;
}
.wpcf7-checkbox{
  padding: 0;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0em 0.5em 1em;
    font-size: (12px,1vw,16px);
  /* color: white; */
}
.form-btn input{
margin-bottom: 0px;
background-image: var(--button-color);
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin-bottom: 0px;
 
}

.wpcf7-not-valid-tip{
   font-size: clamp(12px,1vw,16px);
}




input.wpcf7-form-control.wpcf7-submit {
    position: relative;
  background-image:var(--button-color); /* Fallback color */
  /* color: #fff; */
 
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: "Noto Sans", sans-serif;
  cursor: pointer;
  overflow: hidden; /* Needed for ::before to stay within bounds */
  z-index: 1;
  transition: transform 0.5s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 45, 0.2);
}
input.wpcf7-form-control.wpcf7-submit:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 113, 45, 0.2);
}
.wpcf7-spinner{
  flex: none;
}


sup {
    top: -0.3em;
}

/* Card hover effect */
#carousel > div {
  transition: transform 0.3s ease;
  cursor: default;
}
#carousel > div:hover {
  transform: translateY(-5px);
 
}




/* Animations applied via JS */

/* Optional - Smooth transition on carousel container for sliding effect (if implemented) */
#carousel {
  transition: transform 0.5s ease-in-out;
}
#carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(.7,1.7,.26,.94);
  will-change: transform;
}

.carousel-card {
  min-width: 240px;
  max-width: 320px;
  margin: 0 16px 0 0;
  cursor: default;

  padding: 1.5rem;

  color: white;

  user-select: none;
  transition: transform 0.3s ease;
}

.carousel-card:hover {
  transform: translateY(-5px);
}



button {
  user-select: none;
}

.excellence figure{
  border-right: 1px solid white;
 
  margin: 0;
  border-collapse: collapse;
}
.excellence figure:nth-child(1){
  border-left: 0;

}
.excellence figure:nth-child(4){
 border-right: 0;
}


@media (min-width: 768px) and (max-width: 1279px) {
  .excellence figure{
     border-bottom: 1px solid white;
  }
 .excellence figure:nth-child(4){
 border-right: 1px solid white;
}
.excellence figure:nth-child(3){
 border-right: 0;
}
}

@media (max-width: 768px){
  .excellence figure{
     border-bottom: 1px solid white;
  }
.excellence figure:nth-child(2){
  border-right: none;
}
.excellence figure:nth-child(3){
 border-right: 1;
}
.carousel-card{
  margin: 0 8px;
}
}
.stat-box {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.stat-box.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-box img,
.stat-box .counter,
.stat-box p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-box.animate img {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.stat-box.animate .counter {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.stat-box.animate p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.notification-msgs {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; /* Firefox thin scrollbar */
  scrollbar-color: #00712D #f0f0f0; /* Firefox colors */
}

.notification {
  height: 100dvh; /* dynamic viewport height using CSS Logical Viewport units */
}

/* Chrome, Edge, Safari */
.notification-msgs::-webkit-scrollbar {
  width: 12px;              /* Width of the vertical scrollbar */
  height: 12px;             /* Height of the horizontal scrollbar */
}

.notification-msgs::-webkit-scrollbar-track {
  background: #f0f0f0;      /* Track background */
  border-radius: 8px;
}

.notification-msgs::-webkit-scrollbar-thumb {
  background-color: #00712D; /* Thumb color (Green accent) */
  border-radius: 8px;
  border: 3px solid #f0f0f0; /* Adds a padding around thumb */
}

.notification-msgs::-webkit-scrollbar-thumb:hover {
  background-color: #005a21; /* Darker thumb on hover */
}

/* Firefox Scrollbar Styling */
.notification-msgs {
  scrollbar-width: thin;
  scrollbar-color: #00712D #f0f0f0;
}

.underline-class{
  text-decoration: underline;
}