/*body {
    background: linear-gradient(135deg, rgba(235, 245, 255, 0.9), rgba(255, 255, 255, 0.8));
    font-family: 'Arial', sans-serif;
}*/

body {
    background: linear-gradient(135deg,  /*#f0f0f0 #F5F6F7*/ #33414E );
    font-family: 'Arial', sans-serif;
    color: black;
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 20px;
    color: white;
}

.btn {
    border-radius: 8px;
}

.btn-primary {
    background-color: /*#007bff #002A58*/ #007DB8;
    border: none;
    color: white;
}

.btn-success {
    background-color: #28a745;
    border: none;
    color: white;
}

/* Buttons */
.btn-custom {
    background-color: #3498db;
    border: none;
    color: #fff;
    padding: 8px 15px; /* Compact button size */
    font-size: 14px; /* Reduced font size */
    border-radius: 6px; /* Reduced border-radius */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #2980b9;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img.logo {
  width: 48px ;
  height: 48px;
  object-fit :contain;
  display: block;
}

.full-width-section {
  width: 100vw;
  background-color: /*#2c3e50*/ #F8F9FA ;
  padding: 60px 20px;
  box-sizing: border-box;
  color: black ;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.slider-section {
  width: 100vw;
  background: #F8F9FA; /* Dark blue */
  padding: 60px 20px;
  box-sizing: border-box;
  color: black ;
}

.simple-slider {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 100px;
}

.simple-slider .slide {
  display: none;
  text-align: center;
  margin: 0 auto;
  
}

.simple-slider .slide.active {
  display: block;
}

.simple-slider img {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.simple-slider h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.simple-slider p {
  font-size: 1rem;
  color: #444;
  max-width: 500px;
  margin: 0 auto;
}
.simple-slider {
    background: #F8F9FA;
    color: black;
}

.simple-slider p {
    color: #444;
}

/*dots*/
.dots {
  text-align: center;
  margin-top: 20px;
}

.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #666;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dots span.active {
  background:   #b3b3b3;
}

/*Own pop-up alert */
/* Animation keyframes */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom alert overlay */
.custom-alert {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);

    /* Center the alert content */
    justify-content: center;
    align-items: center;
}

/* Alert content with animation */
.custom-alert-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    animation: fadeInScale 0.4s ease;
    text-align: center;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Alert message */
#alertMessage {
    color: #333;
    font-size: 18px;
    margin-top: 10px;
}

/* Icon styling */
.alert-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Disabled button style */
#startSurveyBtn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Conjoint pricing study styles*/

.deployment-service-image {
  padding-top: 30px;
  padding-bottom: 30px;
  height: 350px;
  display: flex; 
  justify-content: center;
}


.card {
  background-color: #c9d8df;
  margin: 20px;
  height: 160px;
  width: 200px;
  justify-content: center;
}



.card-body h5 {
   /* solid line */
  padding-bottom: 10px;          /* space between text and line */
  margin-bottom: 10px;    
  justify-content: center;       /* space between line and price */
}

.card-name {
  
  border-bottom: 1px solid #000; /* solid line */
}

.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

.alert-box {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.alert-box-name {
  margin: 20px 20px;
  text-align: center;
  font-size: 30px;
  
}

/* Base button */
.alert-box button {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font: 600 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, #33414E, #33414E); /* blue */
  box-shadow: 0 6px 16px rgba(15, 32, 68, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 200ms ease;
}

/* Hover / Active */
.alert-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.alert-box button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Focus (keyboard) — accessible outline */
.alert-box button:focus-visible {
  outline: 3px solid #f59e0b;     /* amber ring */
  outline-offset: 2px;
}

/* Disabled state (optional) */
.alert-box button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(20%);
}
 /* Container animation for the whole step */
  #step-container {
    transform-origin: center center;
    will-change: transform, opacity;
  }

  .enter-animate {
    animation: stepScaleIn 500ms cubic-bezier(.2, .8, .2, 1) both;
  }

  @keyframes stepScaleIn {
    from { opacity: 0; transform: scale(0.96); filter: blur(1px); }
    to   { opacity: 1; transform: scale(1);    filter: blur(0); }
  }

  /* Optional: small exit animation (used if you enable the swap helper below) */
  .exit-animate {
    animation: stepScaleOut 160ms ease both;
  }
  @keyframes stepScaleOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.98); }
  }

/* ---------------------------------------------
  BASE STYLE — COLORS 
--------------------------------------------- */
.card.option {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28) !important; /* first code */
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* keep subtle hover transition style */
  transition: transform 220ms ease,
              box-shadow 220ms ease,
              background-color 220ms ease,
              border-color 220ms ease;
  will-change: transform;
}

/* ---------------------------------------------
  HOVER 
  --------------------------------------------- */
.card.option:hover {
  transform: translateY(-6px) scale(1.04);

  background:  #c9d8dfc9 !important;
  border-color: rgba(255, 255, 255, 0.45) !important;

  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.18),
    0 0 22px rgba(255,255,255,0.12);
}

/* ---------------------------------------------
  ACTIVE — SHAPE
--------------------------------------------- */
.card.option:active {
  transform: translateY(-2px) scale(1.02);
}

/* ---------------------------------------------
  FOCUS (unchanged)
--------------------------------------------- */
.card.option:focus-visible {
  outline: 3px solid rgba(255,255,255,0.7);
  outline-offset: 3px;
}

/* ---------------------------------------------
  CARD FADE-IN ANIMATION
--------------------------------------------- */
#step-container.enter-animate .card-deck .card {
  animation: cardFadeIn 500ms ease both;
}
#step-container.enter-animate .card-deck .card:nth-child(1) { animation-delay: 40ms; }
#step-container.enter-animate .card-deck .card:nth-child(2) { animation-delay: 80ms; }
#step-container.enter-animate .card-deck .card:nth-child(3) { animation-delay: 120ms; }
#step-container.enter-animate .card-deck .card:nth-child(4) { animation-delay: 160ms; }

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------
  REDUCED MOTION 
--------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .enter-animate, .exit-animate,
  #step-container.enter-animate .card-deck .card {
    animation: none !important;
  }
  .card.option {
    transition: none !important;
  }
  .card.option:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}