.section-container {
    display: none;
}

.g-new-product-pricing-table-wrapper-title{
    display: none;
}

.g-redirect-table-btns-div{
    display: none;
}

.g-datacenters-backdrop {
  background-image: linear-gradient(55deg, #000 16%, #0000001e 100%), 
                    url('/assets/img/offers/dcloud2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  animation: moveBackground 40s ease-in-out infinite alternate;
}


.g-new-product-pricing-table-data-span{
  color: white;
    font-weight: 700;
    font-size: 23px;
}

.g-h1-size {
    font-size: 42px;
}

/* Keyframes for slow up-down animation */
@keyframes moveBackground {
  0% {
    background-position: center top;
  }
  100% {
    background-position: center bottom;
  }
}


.main-content__text {
  position: relative;
}

.main-content__text img {
  position: absolute;
  left: 900px;
  flex-wrap: wrap;
  top: 120px;
  transform: translateY(-50%);
  width: 466px;
}

@media (max-width: 1318px) {
  .main-content__text img {
  position: absolute;
  left: 600px;
  flex-wrap: wrap;
  top: 160px;
  transform: translateY(-50%);
  width: 466px;
}
}

@media (max-width: 1020px) {
  .main-content__text img {
  position: absolute;
  left: 600px;
  flex-wrap: wrap;
  top: 150px;
  transform: translateY(-50%);
  width: 266px;
}
}

@media (max-width: 923px) {
  .main-content__text img {
  display: none;
}
}




/* ===== Base Table Reset ===== */
.offer .g-new-product-pricing-table {
  width: 100%;
  border-collapse: collapse;
  display: block;
}

/* Hide table headers visually */
.offer .g-new-product-pricing-table-thead {
  display: none;
}

/* ===== Turn rows into offer cards ===== */
.offer .g-new-product-pricing-table-tbody {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

@media (max-width: 1110px) {
  .offer .g-new-product-pricing-table-tbody {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}
}

@media screen and (max-width: 888px){
    .offer .price::before {
      content:none;
        font-weight: 600;
    }
}

.offer .g-new-product-pricing-table-tbody-row {
  position: relative;
  background: #061238;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Hover animation */
.offer .g-new-product-pricing-table-tbody-row:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(193, 33, 7, 0.3);
}

/* ===== Special Offer Label ===== */
.offer .g-new-product-pricing-table-tbody-row::before {
  content: var(--before-text-of-row);
  position: absolute;
  top: 20px;
  right: -40px;
  background: #c12107;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 40px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.coupon-dark-code-section{
  display: flex;
    justify-content: center;
    color: #2899ff !important;
      font-weight: 700 !important;
    align-items: center;
    gap: 15px;
}

.old-price-row{
  font-weight: 700;
    color: #c12107 !important;
    font-size: 15px !important;
    text-decoration: line-through !important;
}

.coupon-dark-copy-button {
  background: #fff !important;
    padding: 7px 10px;
    border: 1px dashed;
    font-size: 18px;
}

.coupon-dark-copy-button i {
font-family: 'FontAwesome'; 
    font-weight: 900; 
    color: #000;
}

/* ===== Data Cells Styling ===== */
.offer .g-new-product-pricing-table-data {
  border: none !important;
  padding: 6px 0;
  font-size: 0.95rem;
  color: white;
}

@media screen and (max-width: 888px){
    .offer .g-new-product-pricing-table-data {
  border: none !important;
  padding: 6px 0;
  font-size: 0.95rem;
  color: white;
}
}



.offer .g-new-product-pricing-table-data.price {
  font-weight: 700;
  color: #c12107;
  font-size: 1.3rem;
  margin-top: 12px;
}



@media screen and (max-width: 1110px) {
    .g-new-product-pricing-table-tbody {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        justify-items: center;
        gap: 60px !important;
        margin-top: 50px;
        padding: 20px;
        margin: 10px;
    }
  }
/* ===== Buttons Styling ===== */
.offer .g-new-product-pricing-table-data-btn {
  background: #3083ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  transition: 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offer .g-new-product-pricing-table-data-btn:hover {
  background: #005ae0;
  transform: scale(1.05);
}

/* ===== Title / Caption ===== */
.offer .g-new-product-pricing-table-caption {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
      width: max-content;            /* Increase width */
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}



/* ===== Show header labels inside each card ===== */
.offer .g-new-product-pricing-table-thead {
  display: none; /* Still hidden since we’ll add headers manually via CSS */
}

.offer .g-new-product-pricing-table-tbody-row {
  display: grid;
  grid-template-columns: 1fr; /* Vertical stacking */
  gap: 8px;
}



.offer .g-new-product-pricing-table-tbody-row td {
  display: flex;
  flex-direction: row; /* Label and value side by side */
  align-items: center;
  gap: 6px; /* <— creates space between label and value */
  font-size: 16px;
  color: #fff !important;
}


/* Label for each data cell using nth-child */
.offer .g-new-product-pricing-table-tbody-row td:nth-child(1) {
    display: flex;
    flex-direction: column;
    font-size: 20px;
}
.offer .g-new-product-pricing-table-tbody-row td:nth-child(1)::before {

  font-weight: 600;
  color: #fff;
}
.offer .g-new-product-pricing-table-tbody-row td:nth-child(2)::before {
  content : "RAM: ";
  font-weight: 600;
  color: #fff;
}
.offer .g-new-product-pricing-table-tbody-row td:nth-child(3)::before {
  content : "Storage: ";
  font-weight: 600;
  color: #fff;
}
.offer .g-new-product-pricing-table-tbody-row td:nth-child(4)::before {
  content : "Bandwidth: ";
  font-weight: 600;
  color: #fff;
}



/* Make label and value sit side by side */
.offer .g-new-product-pricing-table-tbody-row td {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 6px;
}

/* ===== Responsive Design ===== */

/* Medium Screens: 2 cards per row */
@media (max-width: 1024px) {
  .offer .g-new-product-pricing-table-tbody {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Screens: 1 card per row */
@media (max-width: 600px) {
  .offer .g-new-product-pricing-table-tbody {
    grid-template-columns: 1fr;
  }

  .offer .g-new-product-pricing-table-tbody-row {
    padding: 18px;
  }

  .offer .g-new-product-pricing-table-tbody-row::before {
    font-size: 0.65rem;
    top: 10px;
    right: -30px;
  }
}
