/* ====================================
   HOME TESTIMONIAL CAROUSEL
==================================== */

.home-testimonials .elementor-testimonial__text,
.home-testimonials .elementor-testimonial-content {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-testimonials .elementor-testimonial__name,
.home-testimonials .elementor-testimonial-name {
    margin-top: 20px;
}
.rotate-icon .elementor-icon {
    transition: transform 0.3s ease;
}

.rotate-icon:hover .elementor-icon {
    transform: rotate(75deg);
}


/* Vertical accent line on big heading */ .big-heading { border-left: 5px solid white; padding-left: 15px; margin-left: 0; font-weight: 700; text-transform: uppercase; }

.glass-box .elementor-icon-box-wrapper {
    background: rgba(91, 91, 91, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
       padding: 30px 25px;
}

.glass-box .elementor-icon-box-wrapper:hover {
    transform: translateY(-10px) scale(1.04);
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px);

    box-shadow: 
        0 20px 50px rgba(0,0,0,0.5),
        0 0 30px rgba(167,166,170,0.3);

    border-radius: 16px;
}


    .custom-horizontal-timeline {
      background: transparent;
      padding: 10px 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }
    
    /* Timeline container */
    .custom-horizontal-timeline ol {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
      width: 90%;
      margin: 0 auto;
      padding: 0;
      position: relative;
        list-style: none;
    }
    
    /* Timeline bars */
    .custom-horizontal-timeline ol li {
      position: relative;
      flex: 1;
      height: 8px;
      background: pink;
      border-radius: 4px;
    }
    
    /* Circle indicator */
    .custom-horizontal-timeline ol li::after {
      content: "";
      position: absolute;
      top: 50%;
      left: -1px;
      width: 20px;
      height: 20px;
      background: #fff;
      border-radius: 50%;
      transform: translateY(-50%);
      z-index: 1;
    }
    
    /* 🎨 Card Styling */
    .custom-horizontal-timeline ol li div {
      position: absolute;
      left: 50%;
      transform: translateX(-50%); /* Always centered */
      background: black;
      border: 1px solid #616161;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      padding: 24px 28px;
      border-radius: 12px;
      min-width: 240px;
      min-height: 150px;
      text-align: center;
      transition: all 0.3s ease;
      transform-origin: center center;
    }
    .custom-horizontal-timeline ol li div {
      transform-origin: center center;
    }
    
    .custom-horizontal-timeline ol li div:hover {
      border-color: #7543C0;
      transform: translateX(-50%) scale(1.05); /* scale in place, no shift */
    }
    
    
    /* === Card position (up/down) === */
    .custom-horizontal-timeline ol li:nth-child(odd) div {
      bottom: calc(100% + 30px);
    }
    .custom-horizontal-timeline ol li:nth-child(even) div {
      top: calc(100% + 30px);
    }
    
    /* Arrow indicators */
    .custom-horizontal-timeline ol li div::before {
      content: "";
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      border-style: solid;
    }
    .custom-horizontal-timeline ol li:nth-child(odd) div::before {
      bottom: -10px;
      border-width: 10px 10px 0 10px;
      border-color: white transparent transparent transparent;
    }
    .custom-horizontal-timeline ol li:nth-child(even) div::before {
      top: -10px;
      border-width: 0 10px 10px 10px;
      border-color: transparent transparent white transparent;
    }
    
    /* Step colors */
    .custom-horizontal-timeline ol li:nth-child(1) { background-color: #fb923c; }
    .custom-horizontal-timeline ol li:nth-child(2) { background-color: #7dd3fc; }
    .custom-horizontal-timeline ol li:nth-child(3) { background-color: #a3e635; }
    .custom-horizontal-timeline ol li:nth-child(4) { background-color: #a78bfa; }
    .custom-horizontal-timeline ol li:nth-child(5) { background-color: #fb7185; }
    .custom-horizontal-timeline ol li:nth-child(6) { background-color: #34d399; }
    
    /* Text styles */
    .custom-horizontal-timeline h3 {
      font-size: 18px;
      font-weight: 700;
      color:white;
      margin: 6px 0;
    }
    .custom-horizontal-timeline p {
      font-size: 15px;
      color: white;
      margin: 6px 0 0;
    }
    
    /* Responsive view */
    @media (max-width: 768px) {
      .custom-horizontal-timeline ol {
        flex-direction: column;
        align-items: center;
        gap: 80px;
        width: 100%;
        margin: 0 auto;
      }
    
      .custom-horizontal-timeline ol li {
        position: relative;
        width: 4px;
        background: #fff;
        height: auto;
        min-height: 120px;
      }
    
      /* Center the dot */
      .custom-horizontal-timeline ol li::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
      }
    
      /* === Center cards === */
      .custom-horizontal-timeline ol li div {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        background: black;
        border: 1px solid #616161;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border-radius: 12px;
        width: 85%;
        max-width: 350px;
        margin: 0 auto;
        padding: 20px;
        text-align: center;
      }
    
      /* Hover (center scaling only) */
      .custom-horizontal-timeline ol li div:hover {
        transform: translateX(-50%) scale(1.05);
      }
    
      /* ✅ Add middle arrow between cards */
      .custom-horizontal-timeline ol li:not(:last-child)::before {
        content: "";
        position: absolute;
        bottom: -40px; /* position arrow between cards */
        left: 50%;
        transform: translateX(-50%);
        border-width: 12px 10px 0 10px;
        border-style: solid;
        border-color: #8B4A9E transparent transparent transparent;
        z-index: 2;
      }
    
      /* Remove original arrows from cards */
      .custom-horizontal-timeline ol li div::before {
        display: none;
      }
    
      /* Remove alternating margin offsets */
      .custom-horizontal-timeline ol li:nth-child(odd) div,
      .custom-horizontal-timeline ol li:nth-child(even) div {
        margin-left: 0;
        margin-right: 0;
      }
      
    }






.values-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:#1e1c2a;
    border-radius:16px;
    overflow:hidden;
}

.value-card{
    background:#12111a;
    padding:2rem;
    transition:all .3s ease;
}

.value-card:hover{
    background:#161520;
    transform:translateY(-4px);
}

.v-icon{
    width:40px;
    height:40px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1.2rem;
    font-size:18px;
}

.v-icon img{
    width:22px;
    height:22px;
    display:block;
}

.v-icon.purple{
    background:#9b84ff12;
    border:1px solid #9b84ff44;
}

.v-title{
    font-size:22px;
    font-weight:700;
    color:#e8e6f0;
    margin-bottom:6px;
    font-family:"Montserrat",sans-serif;
}

.v-desc{
    font-size:16px;
    font-weight:300;
    color:#fff;
    line-height:1.6;
    font-family:"Poppins",sans-serif;
}

@media (max-width:768px){
    .values-grid{
        grid-template-columns:1fr;
    }
}

/* INPUT FIELDS */
.custom-form .elementor-field{
  font-family:'Poppins', sans-serif;
  border-radius:10px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(155,132,255,0.2);
  padding:12px;
  color:#fff;
  transition:0.3s;
}

/* INPUT FOCUS */
.custom-form .elementor-field:focus{
  border-color:#9B84FF;
  box-shadow:0 0 10px rgba(155,132,255,0.4);
}

/* LABEL */
.custom-form .elementor-field-label{
  font-family:'Montserrat', sans-serif;
  font-weight:600;
  color:#e8e6f0;
}
.custom-form{
  backdrop-filter:blur(12px);
  background:rgba(155,132,255,0.05);
  padding:20px;
  border-radius:16px;
  border:1px solid rgba(155,132,255,0.15);
}
