
/* Hero Area */
#top {
    margin-bottom: 0;
}

.swiper-slide {
    min-height: 611px;
}

.text h2 {
    color: #000;
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.2;
}

.subhead-hero {
    color: #000;
    font-size: 17px;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.75;
    display: block;
    padding-bottom: 10px;
}

#combined-form p {
    color: #e5e5e5;
    font-weight: 700;
    font-size: 15px;
}

#combined-form p span {
    background: #D43707;
    border-radius: 5px;
    padding: 1px 6px;
}

#user-email,
#user-name,
#company-name {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.anti-btn {
    box-shadow: none;
    margin: 15px 0 0 10px !important;
    border-radius: 50px;
    min-width: auto;
    font-size: 16px;
    padding: 15px 25px;
    border: 2px solid #f36e45;
    font-weight: 600;
    background: #fff;
    color: #f36e45;
    transition: all 200ms ease-out;
    box-shadow: none !important;
}

.anti-btn:hover {
    background: #F36E45;
    color: #fff;
    transform: translate(0px, -1px) scale(1.01, 1.01);
}

.locations-section {
  width: 100%;
  background: #fff7f5;
  padding: 40px 0;
}

.locations-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.locations-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.location-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.location-btn {
  font-family: Poppins;
  padding: 10px 25px;
  background: none;
  font-weight: 600;
  color: #f36e45;
  cursor: pointer;
  border-radius: 50px;
  border: 2px solid #f36e45;
  text-decoration: none;
}

/* ACTIVE LOCATION */
.location-btn.active {
  background: #f36e45;
  color: #fff;
}

/* optional hover */
.location-btn:hover {
  background: #f36e45;
  color: #fff;
}

/********************************** Built for Performance and Scale ********************************/

.affiliate-section {
  padding: 100px 20px 50px 20px;
}

.affiliate-section p {
    color: #000;
}

.affiliate-heading {
  text-align: left;
  font-size: 35px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.affiliate-image-wrap {
  display: flex;
  justify-content: center;
}

.affiliate-image {
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.affiliate-features {
  width: 100%;
}

.affiliate-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.affiliate-feature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.affiliate-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 7px;
}

.affiliate-feature-title {
  margin: 0 0 5px;
  font-weight: 600;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .affiliate-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .affiliate-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .affiliate-icon {
    margin-bottom: 10px;
  }
}

/********************************** Datacenter Attributes ********************************/

#best-choice {
    background: #fff;
    position: unset !important;
    pointer-events: none;
    padding: 50px 0px;
}

#best-choice h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.grid-4 {
    text-align: center;
}

.grid-4 .item ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.grid-4 .item ul li {
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.item img {
    margin-bottom: 10px;
}

/********************************** Our Infrastructure ********************************/
#photo-slider {
  padding: 64px 0px;
  background: #f5f5f3;
  text-align: center;
  overflow: hidden;
}
 
.slider-header {
  margin-bottom: 36px;
}
 
.slider-header h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #111;
  margin-bottom: 8px;
}
 
.slider-header p {
  font-size: 15px;
  color: #888;
  font-weight: 300;
  letter-spacing: 0.2px;
}
 
/* ─── Slider ─── */
.slider-container {
  position: relative;
  margin: auto;
}
 
.slider-track-wrapper {
  overflow: hidden;
  border-radius: 16px;
}
 
.slider-track {
  display: flex;
  gap: 14px;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.slider-track img {
  width: calc(25% - 10.5px);
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  height: 260px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease,
              filter 0.45s ease;
  filter: saturate(0.92);
}
 
.slider-track img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  filter: saturate(1.05);
}
 
.slider-track img:active {
  transform: translateY(-1px) scale(0.99);
  transition-duration: 0.12s;
}

/* Replace these rules */

.slider-track .img-wrap {
  width: calc(25% - 10.5px);
  flex-shrink: 0;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.slider-track .img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s ease;
  filter: saturate(0.92);
}

.slider-track .img-wrap:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1.03);
}

.slider-track .img-wrap:active img {
  transform: scale(1.03);
  transition-duration: 0.15s;
}
     
/* ─── Arrow Buttons ─── */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.slider-btn svg {
  width: 18px;
  height: 18px;
  stroke: #333;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
 
.slider-btn:hover {
  background: #f36e45;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transform: translateY(-50%) scale(1.08);
}
 
.slider-btn:hover svg {
  stroke: #fff;
}
 
.slider-btn:active {
  transform: translateY(-50%) scale(0.96);
  transition-duration: 0.1s;
}
 
.slider-btn.disabled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}
 
.prev { left: -23px; }
.next { right: -23px; }
 
/* ─── Indicators ─── */
.slider-indicators {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
 
.slider-indicator {
  height: 4px;
  width: 52px;
  border-radius: 99px;
  background: rgba(0,0,0,0.08);
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
 
.slider-indicator::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #f36e45;
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.slider-indicator.active {
  width: 72px;
}
 
.slider-indicator.active::after {
  transform: scaleX(1);
}
 
.slider-indicator:hover {
  background: rgba(0,0,0,0.14);
}
 
 
/********************************** Overlay ********************************/
 
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
 
.lightbox.active {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}
 
/* Backdrop */
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
 
.lightbox.active .lb-backdrop {
  opacity: 0.94;
}
 
/* Image Stage */
.lb-stage {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.lb-img-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
}
 
.lb-img-wrapper img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
  transform: scale(0.88) translateY(20px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s ease;
  will-change: transform, opacity;
}
 
.lightbox.active .lb-img-wrapper img {
  transform: scale(1) translateY(0);
  opacity: 1;
}
 
/* Slide-out animation class */
.lb-img-wrapper img.lb-exit {
  transform: scale(0.92) translateY(10px) !important;
  opacity: 0 !important;
  transition: transform 0.3s cubic-bezier(0.5, 0, 0.75, 0),
              opacity 0.25s ease !important;
}
 
/* Slide-in animation class */
.lb-img-wrapper img.lb-enter {
  transform: scale(0.94) translateY(12px);
  opacity: 0;
  transition: none;
}
 
.lb-img-wrapper img.lb-enter-active {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
}
 
/* Close Button */
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
  transition: opacity 0.4s ease 0.2s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              background 0.3s ease;
}
 
.lightbox.active .lb-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
 
.lb-close:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.1) rotate(0deg);
}
 
.lb-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
 
/* Lightbox Nav Arrows */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease 0.15s,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              background 0.3s ease,
              border-color 0.3s ease;
}
 
.lightbox.active .lb-nav {
  opacity: 1;
}
 
.lb-nav:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.1);
}
 
.lb-nav:active {
  transform: translateY(-50%) scale(0.94);
  transition-duration: 0.1s;
}
 
.lb-nav svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
.lb-nav.lb-prev {
  left: 24px;
  transform: translateY(-50%) translateX(-8px);
}
.lb-nav.lb-next {
  right: 24px;
  transform: translateY(-50%) translateX(8px);
}
.lightbox.active .lb-nav.lb-prev {
  transform: translateY(-50%) translateX(0);
}
.lightbox.active .lb-nav.lb-next {
  transform: translateY(-50%) translateX(0);
}
 
/* Counter + Thumbnails Footer */
.lb-footer {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.4s ease 0.25s;
}
 
.lightbox.active .lb-footer {
  opacity: 1;
}
 
/* Thumbnails */
.lb-thumbs {
  display: flex;
  gap: 8px;
}
 
.lb-thumb {
  width: 56px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.4;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(0.5);
}
 
.lb-thumb:hover {
  opacity: 0.75;
  filter: grayscale(0);
  transform: translateY(-2px);
}
 
.lb-thumb.active {
  opacity: 1;
  border-color: #fff;
  filter: grayscale(0);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}
 
.lb-counter {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
}
 
/* ─── Responsive ─── */
@media (max-width: 768px) {
  .slider-track img {
    width: calc(50% - 7px);
    height: 180px;
  }
  .slider-header h2 {
    font-size: 28px;
  }
  .prev { left: 6px; }
  .next { right: 6px; }
  .lb-nav.lb-prev { left: 12px; }
  .lb-nav.lb-next { right: 12px; }
  .lb-stage { width: 92%; }
  .lb-thumb { width: 40px; height: 28px; }
}

/********************************** Responsive Design ********************************/

/* ─── Tablet ─── */
@media (max-width: 1024px) {
  .locations-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .location-row {
    gap: 10px;
  }

  .location-btn {
    padding: 8px 18px;
    font-size: 14px;
  }

  .grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {

  /* Hero */
  .swiper-slide {
    min-height: 450px;
  }

  .text h2 {
    font-size: 42px;
  }

  .subhead-hero {
    font-size: 15px;
  }

  .anti-btn {
    margin: 10px 0 0 0 !important;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Locations bar */
  .locations-section {
    padding: 25px 0;
  }

  .locations-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .locations-title {
    font-size: 16px;
  }

  .location-row {
    gap: 8px;
  }

  .location-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Affiliate / Performance section */
  .affiliate-section {
    padding: 50px 15px 30px 15px;
  }

  .affiliate-heading {
    font-size: 26px;
    text-align: center;
  }

  .affiliate-feature-title {
    font-size: 16px;
  }

  /* Best Choice / Attributes grid */
  #best-choice {
    padding: 30px 0;
  }

  #best-choice h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid-4 .item {
    padding: 0 15px;
  }

  /* Photo slider img-wrap */
  .slider-track .img-wrap {
    width: calc(50% - 7px);
    height: 180px;
  }

  #photo-slider {
    padding: 40px 0 36px;
  }
}

/* ─── Small mobile ─── */
@media (max-width: 480px) {

  .swiper-slide {
    min-height: 400px;
  }

  .text h2 {
    font-size: 32px;
  }

  .subhead-hero {
    font-size: 14px;
  }

  #best-choice h2 {
    font-size: 24px;
  }

  .affiliate-heading {
    font-size: 22px;
  }

  .slider-header h2 {
    font-size: 24px;
  }
}