/* EPYC Landing Page CSS */


/* Hero Area */
#top {
    background-image: url('../img/amd_page.png');
}

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

.text h2 {
    color: #fff;
    font-size: 45px;
    margin-top: 10px;
    line-height: 1.2;
    font-weight: 700;
}

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

#combined-form p {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    max-width: 800px;
    margin-top: 10px;
}

#combined-form span {
    background: #f36e45;
    border-radius: 5px;
    padding: 1px 6px;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

#user-email,
#user-name,
#company-name {
    padding: 10px;
    border: 1px solid #efefef;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    background: #efefef;
}

.btn-1 {
    background: #F36E45;
    box-shadow: none !important;
    margin: 10px 0 0 0;
    border-radius: 10px;
    min-width: auto;
    font-size: 16px;
    padding: 15px 17px;
    margin: 0;
    margin-top: 0 !important;
    border: none;
    color: #fff;
    transition: all 300ms ease-out;
    cursor: pointer;
    font-family: poppins;
}

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

#additional-info {
    display: none;
}

#thank-you-message {
    display: none;
    margin-top: 20px;
    color: #ffffff;
    width: 400px;
    background: #F36E45;
    padding: 10px;
    border-radius: 10px;
}

/* Our Top Servers Section */
.acc-hosting {
    color: #333333;
}

.acc-hosting h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
}

.my-server {
    z-index: 100001;
}

.server-wrap {
    border-radius: 30px;
}

.server-top {
    padding-bottom: 20px !important;
}

.bare-metal {
    color: #fff;
    margin-left: 25px;
    text-align: center;
    font-size: 20px !important;
    border-radius: 30px;
    padding: 5px 0 !important;
    margin-bottom: 20px;
}

.server-top {
    padding-bottom: 0 !important;
}

.server-top h3 {
    color: #333333;
    margin-left: 25px;
    text-align: left;
    font-size: 40px;
}

.specs-server {
    margin-left: 25px;
    text-align: left;
    line-height: 25px;
}

.specs-server span {
    background-color: #ffffff !important;
    border-radius: 20px;
    color: #333333 !important;
    border: thin solid #333333 !important;
    padding: 0 10px !important;
    margin: 0 auto;
    margin-top: 15px;
    margin-right: 6px;
    font-size: 16px !important;
    line-height: 25px;
}

.server-middle {
    box-shadow: none !important;
}

.server-feature {
    display: flex;
    gap: 20px;
}

.feature-left {
    flex: 1;
}

.feature-left li {
    display: flex;
    align-items: center;
    text-align: left;
    background: #F6F6F6;
    border-radius: 15px;
    margin-left: 20px;
    margin-top: 10px;
}

.feature-left li i {
    color: #454545;
    margin: 0 15px;
    font-size: 23px;
}

.feature-right {
    flex: 1;
    line-height: 1;
    margin-top: 0px;
    margin-bottom: 20px;
}

.feature-right li:first-child {
    text-align: left;
    font-size: 13px;
}

.feature-right li {
    text-align: left;
}

.feature-right li i {
    color: #454545;
    margin-right: 10px;
}

.gray-cb {
    list-style-type: none;
    font-weight: 600;
    margin-top: 15px;
    background: #454545;
    color: #ffffff;
    border-radius: 5px;
    padding: 5px 0;
    cursor: pointer;
}

.plus-details {
    display: block;
    list-style-type: none;
    box-shadow: none;
    margin-top: 10px;
}

.plus-details li {
    text-align: left;
    margin-left: 30px;
}

.plus-details li i {
    color: #00c220;
    margin-right: 10px;
}

.server-bottom {
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-bottom p {
    margin-bottom: 0 !important;
}

.custom-server-box {
    border-radius: 30px;
    border: solid #ffd1c8;
    background: #ffeae6;
}

.custom-top {
    margin: 70px 0;
}

.custom-server-box h3 {
    color: #333333;
    text-align: center;
    font-size: 40px;
    line-height: 1.3;
}

.custom-server-box p {
    color: #333333;
    margin: 20px auto;
    text-align: center;
    line-height: 1.5;
    max-width: 80%;
    padding-bottom: 0;
}

.custom-server-box ul {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    max-width: 600px;
    display: block;
    margin: 10px 0;
}

.custom-server-box ul li {
    margin-bottom: 10px;
}

.custom-server-box ul li:last-child {
    margin-bottom: 30px;
}

.custom-server-box ul li i {
    color: #f36e45;
    margin-right: 10px;
}

/* Why choose Tier.Net ... */

#best-choice {
    background: #fff;
    position: unset !important;
}

#best-choice h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.grid-3 {
    text-align: center;
}

.grid-3 .item h4 {
    margin-top: 30px;
}

.grid-3 .item p {
    color: #333;
}

/* Our datacenters */

#datacenters {
    background: #faf9f7;
}

.left-right-text-image {
    padding: 60px 0;
}

.map-tier {
    margin: 0;
    flex-direction: row-reverse;
    align-items: center;
}

.map-container img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.map-pin img {
    width: 100%;
}

.pin-tooltip {
    font-family: Poppins;
}

.right h2 {
    font-size: 40px;
    color: #000000;
    text-align: left;
}

.right p {
    font-size: 15px;
    color: #000000;
}

#location-list {
    font-size: 15px;
    color: #000000;
    list-style: none;
    padding: 0;
}

#location-list li {
    margin-bottom: 8px;
    transition: all 0.2s;
}

#location-list li i {
    color: #f36e45;
    margin-right: 6px;
}


/* Custom Request */

#request-custom {
    margin-top: 100px;
}

.custom-server {
    padding-top: 0;
}

.text-item h2 {
    text-align: center;
    font-size: 40px;
}

.text-item p {
    text-align: center;
}

.disc {
    text-align: center;
    font-size: 10px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .text h2 {
        font-size: 45px;
    }
    
    .swiper-slide {
        min-height: 550px;
    }
}

@media (max-width: 992px) {
    .text h2 {
        font-size: 40px;
        line-height: 1.1;
    }
    
    .text span {
        font-size: 18px;
    }
    
    #combined-form p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #top {
        background-position: 65% center;
    }
    
    .text h2 {
        font-size: 40px;
        text-align: center;
    }
    
    .text span {
        text-align: center;
        margin: 0 auto;
        font-size: 16px;
        max-width: 90%;
    }
    
    #combined-form {
        text-align: center;
    }
    
    #combined-form p {
        font-size: 18px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    #user-email,
    #user-name,
    #company-name {
        max-width: 100%;
    }
    
    #thank-you-message {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .swiper-slide {
        margin: 50px 0;
    }
    
    .text h2 {
        font-size: 40px;
    }
    
    .text span {
        font-size: 16px;
    }
    
    .swiper-slide {
        min-height: 500px;
    }
    
    #combined-form p {
        font-size: 18px;
        max-width: 90%;
        margin: 0 auto;
        line-height: 1.4;
    }
    
    #user-email,
    #user-name,
    #company-name {
        margin-bottom: 15px;
    }
    
    .acc-hosting h2 {
        font-size: 30px;
    }
    
    #best-choice h2 {
        margin-top: 30px;
        font-size: 30px;
    }
    
    .text-item h2 {
        font-size: 30px;
    }
}

@media (max-width: 400px) {
    .swiper-slide {
        margin: 50px 0;
    }
    
    .text h2 {
        font-size: 35px;
    }
    
    .text span {
        font-size: 16px;
    }
    
    #combined-form p {
        font-size: 15px;
        max-width: 90%;
        margin: 0 auto;
        line-height: 1.4;
    }
    
    .acc-hosting h2 {
        font-size: 25px;
    }
    
    #best-choice h2 {
        margin-top: 30px;
        font-size: 30px;
    }
    
    .text-item h2 {
        font-size: 30px;
    }
}

/* Popup Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000000;
}

.modal-content {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    display: flex;
    gap: 1.5rem;
    min-height: 400px;
}

.modal-image {
    flex: 1;
    min-width: 48%;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.modal-body {
    flex: 1;
    padding: 1rem 0 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 0.9rem;
}

.discount-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.discount-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cta-button {
    background: #FF4500;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.cta-button:hover {
    background: #FF6347;
}

.main-heading {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.sub-heading {
    text-align: left;
    color: #666;
}

.benefit-list {
    margin-top: auto;
    padding-left: 1rem;
}

.modal-body > *:not(:last-child) {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: row;
        min-height: auto;
        max-width: 600px;
        display: block;
    }
    
    .modal-image {
        height: 140px;
    }
    
    .modal-body {
        padding-right: 1rem;
    }
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}



/* 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;
}

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

.anti-btn {
    box-shadow: none;
    margin: 15px 0 0 10px !important;
    border-radius: 10px;
    min-width: auto;
    font-size: 16px;
    padding: 15px 17px;
    border: 2px solid #f36e45;
    background: none;
    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);
}


/* HORIZONTAL CARD */

@media (max-width: 900px) {

  .my-server.tn-mobile-root { box-sizing: border-box !important; width:100% !important; }

  .my-server.tn-mobile-root .server-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .tn-title {
      font-size: 30px !important;
      margin-left: 0 !important;
  }
  
  /* image containment */
  .my-server.tn-mobile-root .server-image,
  .my-server.tn-mobile-root .tn-image {
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .my-server.tn-mobile-root .server-image img,
  .my-server.tn-mobile-root .tn-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    margin: 0 !important;
  }

  /* inner-grid becomes a three-row layout using grid-areas so limited-offer can span */
  .my-server.tn-mobile-root .inner-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      "specs dc"
      "offer offer"
      "price cta"
    !important;
    gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* make wrapper divs transparent so inner elements can participate in grid */
  .my-server.tn-mobile-root .tn-left,
  .my-server.tn-mobile-root .tn-right,
  .my-server.tn-mobile-root .server-bottom {
    display: contents !important;
  }

  /* place blocks into the areas */
  .my-server.tn-mobile-root .feature-left,
  .my-server.tn-mobile-root .tn-feature-left { grid-area: specs !important; min-width: 0 !important; }

  .my-server.tn-mobile-root .feature-right,
  .my-server.tn-mobile-root .tn-feature-right { grid-area: dc !important; min-width: 0 !important; }

  .my-server.tn-mobile-root .intro-special,
  .my-server.tn-mobile-root .limited-offer,
  .my-server.tn-mobile-root .tn-intro-special {
    grid-area: offer !important;
    width: 100% !important;

    margin: 0 0 12px 0 !important;
    padding: 10px !important;
    text-align: center;
  }

  /* only use tn-price-col and tn-cta-wrap for price placement */
  .my-server.tn-mobile-root .tn-price-col {
    grid-area: price !important;
    min-width: 0 !important;
    text-align: center;
  }
  
  .tn-monthly {
      text-align: center;
  }

  .my-server.tn-mobile-root .tn-cta-wrap {
    grid-area: cta !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center;
    display: flex;
  }

  .my-server.tn-mobile-root .tn-cta-wrap .btn-1 {
    
    box-sizing: border-box !important;
    display: inline-block !important;
  }
  
  .tn-sale-badge {
      margin: 0 auto !important;
  }
  
  .tn-quarterPrice {
      text-align: center;
      margin-top: 0 !important;
  }

  /* lists & children safety */
  .my-server.tn-mobile-root .inner-grid > * { min-width: 0 !important; box-sizing: border-box !important; }
  .my-server.tn-mobile-root .feature-left li,
  .my-server.tn-mobile-root .feature-right li { white-space: normal !important; overflow-wrap: break-word !important; gap: 0px !important; }

  /* remove old inline indent effect on mobile */
  .my-server.tn-mobile-root .bare-metal,
  .my-server.tn-mobile-root .tn-bare-metal,
  .my-server.tn-mobile-root .tn-specs,
  .my-server.tn-mobile-root .tn-feature-left li,
  .my-server.tn-mobile-root .tn-feature-right li,
  .my-server.tn-mobile-root .tn-feature-left ul,
  .my-server.tn-mobile-root .tn-feature-right ul,
  .my-server.tn-mobile-root .tn-price-col,
  .my-server.tn-mobile-root .tn-cta-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  /* safe text wrap rules */
  .my-server.tn-mobile-root .tn-title,
  .my-server.tn-mobile-root .server-content,
  .my-server.tn-mobile-root .tn-bare-metal,
  .my-server.tn-mobile-root .tn-specs {
    max-width: 100% !important;
    word-break: break-word !important;
  }
  
  /* datacenter options as one column (6 rows) */
  .my-server.tn-mobile-root .dc-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 0 !important;
    margin-left: 10px !important;
    box-sizing: border-box !important;
  }
  
  .tn-feature-right p {
      margin-left: 10px !important;
  }
  
  .tn-dc-grid ul li {
      margin-bottom: 12px !important;
      font-size: 14px  !important;
  }

  .my-server.tn-mobile-root .dc-grid > * {
    width: 100% !important;
  }
}

.inner-grid .coupon__wrap {
  grid-column: 1 / -1;
  width: 80% !important;
  margin: 20px auto !important;
}
