/*------------------------------------------------------------------
 * template Name: emyUI - Multipurpose UI Kit for Web Hosting providers with WHMCS Template
 * Author: coodiv (nedjai mohamed) (nbames.mohamed@gmail.com)
 * Author URI: https://coodiv.net/
 * Author URI: https://themeforest.net/user/coodiv
 * Description: A Bootstrap Responsive Domain & Web Hosting Template + WHMCS template
 * Bootstrap v4.5 (http://getbootstrap.com)
 * Love Our work & support team? 😍 Buy us a coffee! https://ko-fi.com/coodiv
 * Copyright 2022 coodiv.
 -------------------------------------------------------------------*/

.carousel {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  background: #fff;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 0px; /* space between logos */
  animation: scroll 80s linear infinite;
}

.carousel img {
  height: 35px;
  margin: 0 30px;
  opacity: 0.2; /* Low opacity by default */
  transition: all 0.3s ease;
  filter: grayscale(100%); /* Make them gray by default */
}

/* When hovering a specific logo, highlight it */
.carousel img:hover {
  opacity: 1; /* Full opacity */
  filter: grayscale(0); /* Remove grayscale */
}


@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-track {
    gap: 20px;
  }
  .carousel img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .carousel-track {
    gap: 20px;
  }
  .carousel img {
    height: 35px;
  }
}

.scroll-section {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

/* Fade effect */
.scroll-section::before,
.scroll-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px; /* Fade width */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.scroll-section::before {
  left: 0;
  background: linear-gradient(to right, #f1f6f8, rgba(241, 246, 248, 0));
}

.scroll-section::after {
  right: 0;
  background: linear-gradient(to left, #f1f6f8, rgba(241, 246, 248, 0));
}

/* Each scrolling row */
.scroll-row {
  display: flex;
  align-items: center;
  gap: 30px;
  animation: scroll-left 15s linear infinite;
  white-space: nowrap;
}

.scroll-row.reverse {
  animation: scroll-right 15s linear infinite;
}

.scroll-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Logo styling */
.scroll-row img {
  width: 150px;
  height: auto;
  flex-shrink: 0;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.scroll-row img:hover {
  transform: scale(1.1);
}

/* Animations */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.offer-badge-web-hosting-tab-1month {
  background-color: #cabdfd; /* Light orange background */
  color: #000000;           /* Bright orange text */
  font-weight: normal;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 7px 7px 0px 0px;       /* Rounded corners */
  /*display: inline-block;*/
  text-align: center;
}
.offer-badge-web-hosting-tab-1year {
  background-color: #e3b4b5; /* Light orange background */
  color: #262727;           /* Bright orange text */
  font-weight: bold;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px 8px 0px 0px;       /* Rounded corners */
  /*display: inline-block;*/
  text-align: center;
}

.offer-badge-web-hosting-tab-3year {
  background-color: #b4e3ca; /* Light orange background */
  color: #262727;           /* Bright orange text */
  font-weight: bold;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px 8px 0px 0px;       /* Rounded corners */
  /*display: inline-block;*/
  text-align: center;
}

.offer-badge-web-hosting-1-month {
  background-color: #d6eff3; /* Light orange background */
  color: #262727;           /* Bright orange text */
  font-weight: bold;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 16px;       /* Rounded corners */
  display: inline-block;
  text-align: center;
}

.offer-badge-web-hosting-1-year {
  background-color: #fff5ec; /* Light orange background */
  color: #ff7b29;           /* Bright orange text */
  font-weight: bold;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 8px;       /* Rounded corners */
  display: inline-block;
  text-align: center;
}

.offer-badge-web-hosting-3-years {
  background-color: #fff5ec; /* Light orange background */
  color: #ff7b29;           /* Bright orange text */
  font-weight: bold;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 8px;       /* Rounded corners */
  display: inline-block;
  text-align: center;
}

    .price-container1 {
      /*display: flex;*/
      align-items: center;
      gap: 10px;
      font-family: DM Sans, sans-serif;
      margin-right: 10px;
    }
    
    
    
    .old-price1 {
      position: relative;
      display: inline-block;
      color: #515d78;
      font-size: 16px;
      font-weight: 400;
      padding: 0 5px; /* small padding to avoid overshoot */
    }
    
    @media (max-width: 1100px){
        .old-price1 {
        font-size: 12px;
        font-weight: 300;
        }
    }

    .old-price1::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 1.5px;   /* thickness of line */
      background: currentColor;
      transform: translateY(-50%);
    }

    .discount-badge1 {
      background-color: #ffd891;
      color: #000000;
      font-weight: 500;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 14px;
    }
    
    @media (max-width: 1100px){
    .discount-badge1 {
      background-color: #ffd891;
      color: #000000;
      font-weight: 300;
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 12px;
    }
    }
    
    .price-container {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: DM Sans, sans-serif;
    }
    
    .old-price {
      position: relative;
      display: inline-block;
      color: #515d78;
      font-size: 16px;
      font-weight: 400;
      padding: 0 5px; /* small padding to avoid overshoot */
    }

    .old-price::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 1.5px;   /* thickness of line */
      background: currentColor;
      transform: translateY(-50%);
    }

    .discount-badge {
      background-color: #ffd891;
      color: #000000;
      font-weight: 500;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 14px;
    }
    
    .custom-btn {
      background-color: #d9f2f5;
      border: 0.1px solid #01516e;
      color: #01516e;
      /*border: none;*/
      padding: 12px 28px;
      font-size: 16px;
      font-weight: bold;
      border-radius: 8px;
      min-width:100%;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .custom-btn:hover {
      background-color: #01516e;
      color: #fff;
    }
    
    .custom-btn-popular {
      background-color: #16a2b9; /* Dark teal */
      /*border: 0.1px solid #16a2b9;*/
      color: #fff; /* White text */
      border: none;
      padding: 12px 28px;
      font-size: 16px;
      font-weight: 500;
      border-radius: 8px;
      min-width:100%;
      cursor: pointer;
      transition: all 0.1s ease;
      position: relative;
      overflow: hidden;
    }

    .custom-btn-popular:hover {
      background-color: #01516e; /* Light blue */
      color: #fff; /* Dark teal text */
      /*border: 0.1px solid #01516e;*/
    }

    /* Loader spinner */
    .btn-loader {
      border: 2px solid #fff;
      border-top: 2px solid #01516e;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      animation: spin 0.8s linear infinite;
      display: none;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    @keyframes spin {
      0% { transform: translate(-50%, -50%) rotate(0deg); }
      100% { transform: translate(-50%, -50%) rotate(360deg); }
    }

    .loading .btn-text {
      visibility: hidden;
    }

    .loading .btn-loader {
      display: block;
    }
    
    
    .button-wrapper {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 20px;
    }
    
    /* Responsive stacking */
    @media (max-width: 999px) {
      .button-wrapper {
        justify-content: start;
        align-items: center;
        margin-left:20px;
      }
    }
    
    /* Responsive stacking */
    @media (max-width: 600px) {
      .button-wrapper {
        flex-direction: row;
        gap: 20px;
      }
    }

    /* Yellow button */
    .btn-yellow {
      background-color: #f4c400;
      color: #000;
      font-weight: bold;
      padding: 12px 30px;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      text-transform: none;
      transition: 0.3s ease;
    }

    .btn-yellow:hover {
      background-color: #f7e399;
    }

    /* Text link with arrow */
    .btn-link {
      font-size: 16px;
      color: #01516e;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: 0.3s ease;
    }

    .btn-link:hover {
      color: #16a2b9;
    }
    
    .pill-above {
      display: inline-block;
      background-color: #f0f6f9; /* light peach background */
      color: #01516e; /* orange text */
      font-weight: normal;
      text-transform: none;
      padding: 8px 20px;
      border-radius: 20px;
      border: none;
      /*cursor: pointer;*/
      font-size: 15px;
      text-decoration: none;
      transition: 0.3s ease;
    }

    .pill-above:hover {
      background-color: #f0f6f9;
    }
    
    
/* solid colored border + subtle shadow */
.pricing-plan.plan-featured{
  border: 2px solid #16a2b9;    /* choose color & thickness */
  box-shadow: 0 6px 18px rgba(11,107,136,0.08);
}

/* Smooth scrolling for modern browsers (anchors + JS scroll methods) */
html {
  scroll-behavior: smooth;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-family: DM Sans, sans-serif;
  font-size: 16px;
  color:#262727;
}

.feature {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Mobile view: stack vertically */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

