/* Colocation Page */

/********************************** Hero Area ************************************/

.hero-area {
    margin: 0;
    max-width: 100%;
    gap: 0.1rem;
    align-items: center;
}

.hero-area div:first-child {
    padding-right: 2rem;
}

.right {
    margin-top: 0 !important;
}

.hero-head {
    background: #F36E45;
    border-radius: 5px;
    padding: 2px 8px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.right h2 {
    color: #000000;
    font-size: 65px;
    margin-top: 10px;
    line-height: 1.15;
    font-weight: 900;
}

.right p {
    font-size: 17px;
    color: #000000;
    padding-bottom: 0;
}

.hero-features {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    max-width: 600px;
    display: block;
    margin: 10px 0;
}

.hero-features li {
    margin-bottom: 8px;
}

.hero-features li:last-child {
    margin-bottom: 0px;
}

.hero-features li i {
    color: #f36e45;
    margin-right: 10px;
}

.hero-price {
    margin-top: 15px;
}

.hero-price span:first-child {
    font-size: 15px;
    color: #000000;
}

.hero-price span:last-child {
    font-size: 40px;
    color: #000000;
    font-weight: 700;
}

.hero-price span:last-child sup {
    font-size: 50%;
    vertical-align: super;
    margin-right: 2px;
    font-weight: 400;
}

.hero-price span:last-child span {
    font-size: 40%;
    font-weight: 400;
}

.hero-btn {
    background: #F36E45;
    box-shadow: none !important;
    margin: 10px 0 0 0;
    border-radius: 10px;
    min-width: auto;
    font-size: 16px;
    padding: 15px 17px;
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.hero-btn:hover {
    transform: translate(0px, -1px) scale(1.01);
    cursor: pointer;
}

.hero-area div:last-child img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/********************************** Configure Colocation ************************************/

.colo-config {
  padding: 40px 0;
  font-family: Poppins;
}

.colo-config h2 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 34px;
  font-weight: 700;
  color: #000;
  @media (max-width: 640px) {
    font-size: 35px !important;
}
}

.colo-config .subtitle {
  text-align: center;
  color: #f36e45;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.period-selector {
  padding: 10px 40px 10px 20px;
  border: 2px solid #F36E45;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 20px;
  font-family: "Poppins";
  background: white;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23F36E45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}


.price-toggle-container {
    text-align: center;
    margin: 20px 0;
}

/******************* Half Rack Capsule Placement *******************/

.half-toggle-capsule {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: #ffffff;
    border-radius: 30px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 1px solid #ddd;
    font-size: 13px;
    font-weight: 600;
}

.switch-ios.switch-small {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 16px;
}

.switch-ios.switch-small input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-ios.switch-small .slider-ios {
    position: absolute;
    inset: 0;
    background-color: #d3d3d3;
    border-radius: 20px;
    transition: 0.2s;
    cursor: pointer;
}

.switch-ios.switch-small .slider-ios:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: 2px;
    top: 2px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: 0.2s;
}

.switch-ios.switch-small input:checked + .slider-ios {
    background-color: #f36e45;
}

.switch-ios.switch-small input:checked + .slider-ios:before {
    transform: translateX(16px);
}

/********************************** Table ************************************/

.config-price {
    margin: 10px auto;
}

.config-price span:first-child {
    font-size: 15px;
    color: #333;
}

.config-price span:last-child {
    font-size: 26px;
    color: #333;
    font-weight: 700;
}

.config-price span:last-child sup {
    font-size: 50%;
    vertical-align: super;
    margin-right: 2px;
    font-weight: 600;
}

.config-price span:last-child span {
    font-size: 40%;
    font-weight: 600;
}

.pricing__table {
  display: flex;
  margin: 30px 30px 90px 30px;
  font-family: Poppins;
  border-radius: 24px;
  border: 1px solid #ddd;
  @media (max-width: 640px) {
    margin: 60px 15px;
  }
  .pt__title {
    max-width: 25%;
    flex: 1;
    @media (max-width: 991px) {
      max-width: 50%;
    }
    .pt__title__wrap {
      position: relative;
      flex: 1;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      font-size: 1.2rem;
      line-height: 1.4;
      text-align: center;
      @media (max-width: 991px) {
        font-size: 1.3rem;
      }
      .pt__row {
        &:first-child {
          border-bottom: 0;
        }
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 15px !important;
        font-weight: 500;
        min-height: 70px;
        padding-left: 16px;
        padding-right: 16px;
        border-bottom: 1px solid rgba(73, 72, 74, .1);
        text-align: left;
        align-items: flex-start;
        @media (max-width: 991px) {
          padding-left: 32px;
          padding-right: 32px;
        }
        @media (max-width: 640px) {
          padding-left: 15px;
          padding-right: 15px;
          font-size: 14px;
        }
      }
    }
  }
  .pt__option {
    position: relative;
    flex: 1;
    @media (max-width: 991px) {
      max-width: 50%;
    }
    .pt__option__mobile__nav {
      position: absolute;
      z-index: 1;
      top: 0%;
      bottom: auto;
      left: 0%;
      right: auto;
      display: none;
      justify-content: space-between;
      width: 100%;
      @media (max-width: 991px) {
        z-index: 2;
        top: 30px;
        display: flex;b
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        justify-content: space-between;
        width: 110%;
        margin-left: -5%;
      }
      .mobile__nav__btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        color: #fff;
        border-radius: 50%;
        background-color: #f36e45;
        transition: .25s;
        &:hover {
          background-color: #ff997a;
        }
        &.swiper-button-disabled {
          background-color: #c0beb6;
          pointer-events: none;
        }
        svg {
          width: 16px;
          color: #faf7f2;
        }
      }
    }
    .pt__option__slider {
      @media (max-width: 991px) {
        overflow: hidden;
      }
    }
    .pt__option__item {
      flex: 1;
      width: auto;
      max-width: 33.3333%;
      margin-right: 0;
      @media (max-width: 991px) {
        width: 100%;
        max-width: none;
        flex: none;
      }
      .pt__item {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
        @media (max-width: 991px) {
          border: 1px solid #ddd;
          background-color: #fafafa;
          border-radius: 0 24px 24px 0;
          border: 0;
          border-left:  1px solid #ddd;
        }
        &.recommend {
          background-color: #fff3f0;
        }
        &.recommend-1 {
          background-color: #f5f5f5;
        }
        .pt__item__wrap {
          flex: 1;
          flex-direction: column;
          justify-content: flex-start;
          align-items: flex-start;
          text-align: center;
          padding: 30px 0 0 0;
          font-size: 1.375rem;
          line-height: 1.4;
          position: relative;
          @media (max-width: 991px) {
            font-size: 1.3rem;
          }
        }
        .pt__row {
          display: flex;
          flex-direction: column;
          justify-content: center;
          min-height: 70px;
          padding-left: 16px;
          padding-right: 16px;
          font-size: 16px;
          font-weight: 500;
          border-bottom: 1px solid rgba(73, 72, 74, .1);
          &:first-child {
            border-bottom: 0;
            font-size: 25px;
            font-weight: 700;
          }
          &:last-child {
            display: inline-flex;
            padding: 20px 15px;
            align-items: center;
            border-bottom: 0;
              }
              @media (max-width: 576px) {
                padding: 4px 20px;
              }
            }
          }
          @media (max-width: 640px) {
            font-size: 14px;
            font-weight: 400;
          }
        }
      }
    }
  }
}


/********************************** Tier 3 Datacenters ************************************/
.map-container {
    position: relative;
    display: inline-block;
}

.map-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2;
}

.map-pin:hover {
    transform: scale(1.1);
    z-index: 1000;
}

.pin-tooltip {
    position: absolute;
    background: #F36E45;
    color: white;
    padding: 5px 7px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1001;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
}

.location-highlight {
    font-weight: 700;
    color: #F36E45 !important;
    transform: translateX(5px);
    transition: all 0.2s ease;
}

.pin-highlight {
    filter: drop-shadow(0 0 8px rgba(243,110,69,0.5));
    z-index: 10;
}

#location-list li:hover {
    font-weight: 700;
    color: #F36E45 !important;
    cursor: pointer;
}

.map-pin img {
    transition: transform 0.2s ease;
    z-index: 1
}

/* Info cards */ 
.info-cards-container {
    position: absolute;
    left: calc(55% + 20px);
    top: 0;
    width: 240px;
    z-index: 10000;
    pointer-events: none;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-title {
    color: #F36E45 !important;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-bullets li {
    position: relative;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    list-style: none;
}

.card-bullets li:before {
    color: #F36E45;
    position: absolute;
    left: 0;
    font-size: 18px;
    line-height: 1;
}

/********************************** Colocation Types ************************************/

.equip-section {
  padding: 80px 0;
  background: #ffffff;
}

.equip-container {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
}

.equip-section h2 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 34px;
  font-weight: 700;
  color: #000;
  @media (max-width: 640px) {
    font-size: 35px !important;
}
}

.equip-section .subtitle {
  text-align: center;
  color: #333;
  font-size: 14px;
  margin-bottom: 50px;
}

.equip-left {
  flex: 1;
}

.equip-accordion .acc-item {
  border-top: 1px solid #ddd;
  padding: 18px 0;
  cursor: pointer;
}

.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-header h3 {
  font-size: 20px;
  font-weight: 500;
  color: #111;
  margin: 0;
}

.acc-icon {
  font-size: 28px;
  font-weight: 300;
  color: #666;
  transition: 0.3s;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  font-size: 13px;
  transition:
      max-height 0.38s cubic-bezier(0.25, 0.1, 0.25, 1),
      opacity 0.28s ease,
      transform 0.38s ease;
}

.acc-item.active .acc-body {
  opacity: 1;
  transform: translateY(0);
}

.acc-item.active .acc-icon {
  transform: rotate(45deg);
  color: #000;
}

.equip-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.equip-illustration {
  transform: translateY(-40px);
}

/* Mobile */
@media (max-width: 900px) {
  .equip-container {
    flex-direction: column;
    text-align: center;
  }

  .equip-right img {
    width: 300px;
  }

  .acc-header {
    justify-content: center;
    gap: 10px;
  }
  
  .equip-illustration {
    transform: translateY(0px);
  }
}


/********************************** FAQs ************************************/

.faq-layout {
  display: flex;
  justify-content: center; /* 👈 center horizontally */
}

.faq-content {
  flex: none;
  width: 100%;
  max-width: 900px;
  text-align: center;
}


.faq-title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 30px;
  @media (max-width: 640px) {
    font-size: 35px !important;
}
}

.faq {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0;
}

.faq-question {
  font-family: Poppins;
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  text-align: left;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer p {
  margin-top: 12px;
  font-size: 15px;
  color: #555;
  text-align: left;
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}


/********************************** Datacenters ************************************/
#top1 {
    background-image: url('../img/infra_hero.png');
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    margin-bottom: 80px;
}

.swiper-slide-1 {
    min-height: 611px;
}

.text-1 h2 {
    color: #333;
    font-size: 45px;
    margin-top: 10px;
    line-height: 1.2;
    font-weight: 700;
    @media (max-width: 640px) {
    font-size: 35px !important;
}
}

.subhead-hero-1 {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    max-width: 800px;
    display: block;
}