/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
/*
 * Responsive Server Services Page
 * All styles are scoped to .sa-page.
 * Safe to embed in an existing website without global element styling.
 */

/*-----------------------------------
    1 - Added custom Pricing table code
------------------------------------*/

/* =====================================
   TECHNOLOGY PARTNERS SECTION
===================================== */

/* =========================================
   DREAMWEBHOSTS VPS PRICING TABLE
========================================= */

.dwh-vps-section {
    --dwh-primary: #142B55;
    --dwh-secondary: #244A80;
    --dwh-blue: #68cef5;
    --dwh-green: #159B68;

    padding: 65px 20px;
    background: #F5F7FB;
    font-family: inherit;
    box-sizing: border-box;
}

.dwh-vps-section * {
    box-sizing: border-box;
}

/* HEADER */

.dwh-vps-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 35px;
}

.dwh-vps-label {
    display: inline-block;
    background: #E8EEF8;
    color: var(--dwh-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.dwh-vps-heading h2 {
    color: var(--dwh-primary);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin: 0 0 12px;
}

.dwh-vps-heading p {
    color: #69778C;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* OS SWITCH */

.dwh-os-switch {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 40px;
}

.dwh-os-btn {
    border: 1px solid #D8E0EC;
    background: #fff;
    color: var(--dwh-primary);
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.dwh-os-btn:hover,
.dwh-os-btn.active {
    background: var(--dwh-primary);
    border-color: var(--dwh-primary);
    color: #fff;
}

/* PRICING GRID */

.dwh-vps-grid {
    max-width: 1280px;
    margin: auto;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.dwh-vps-grid.active {
    display: grid;
}

/* PRICING CARD */

.dwh-vps-card {
    position: relative;
    background: #fff;
    border: 1px solid #E1E7F0;
    border-radius: 10px;
    padding: 30px 20px 22px;
    display: flex;
    flex-direction: column;
    transition: .25s ease;
}

.dwh-vps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(20,43,85,.10);
    border-color: var(--dwh-secondary);
}

.dwh-vps-card.dwh-featured {
    border: 2px solid var(--dwh-blue);
    box-shadow: 0 8px 25px rgba(245,158,11,.10);
}

/* BADGES */

.dwh-discount {
    display: inline-block;
    width: fit-content;
    background: #FFF3DB;
    color: #A45D00;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: .5px;
    margin-bottom: 15px;
}

.dwh-popular {
    position: absolute;
    top: -13px;
    right: 15px;
    background: var(--dwh-blue);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 7px 12px;
    border-radius: 30px;
}

/* PLAN DETAILS */

.dwh-vps-card h3 {
    color: var(--dwh-primary);
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 6px;
}

.dwh-plan-desc {
    color: #7B8798;
    font-size: 12px;
    margin: 0;
    min-height: 20px;
}

/* PRICE */

.dwh-price {
    margin: 22px 0 20px;
}

.dwh-price del {
    display: block;
    color: #98A2B3;
    font-size: 15px;
    margin-bottom: 3px;
}

.dwh-price strong {
    color: var(--dwh-primary);
    font-size: clamp(27px, 2.4vw, 34px);
    font-weight: 850;
    letter-spacing: -1px;
}

.dwh-price span {
    color: #7B8798;
    font-size: 13px;
}

/* ORDER BUTTON */

.dwh-order-btn {
    display: block;
    text-align: center;
    background: var(--dwh-blue);
    color: #fff !important;
    text-decoration: none !important;
    padding: 13px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.dwh-order-btn:hover {
    background: var(--dwh-primary);
    color: #fff !important;
}

/* FEATURES */

.dwh-feature-title {
    color: var(--dwh-primary);
    font-size: 13px;
    font-weight: 800;
    padding: 20px 0 12px;
    border-bottom: 1px solid #E9EDF3;
}

.dwh-feature-list {
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
    flex-grow: 1;
}

.dwh-feature-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: #58677D;
    font-size: 12px;
    line-height: 1.5;
    border-bottom: 1px solid #F1F3F7;
}

.dwh-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--dwh-green);
    font-size: 13px;
    font-weight: 900;
}

/* FOOTER */

.dwh-vps-footer {
    text-align: center;
    color: #69778C;
    font-size: 13px;
    margin: 30px auto 0;
    max-width: 750px;
    line-height: 1.7;
}

/* TABLET */

@media (max-width: 1100px) {
    .dwh-vps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 750px;
        gap: 22px;
    }

    .dwh-price strong {
        font-size: 34px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .dwh-vps-section {
        padding: 45px 14px;
    }

    .dwh-vps-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 25px;
    }

    .dwh-vps-card {
        padding: 28px 22px 22px;
    }

    .dwh-vps-heading h2 {
        font-size: 26px;
    }

    .dwh-os-btn {
        padding: 11px 22px;
    }

    .dwh-price strong {
        font-size: 36px;
    }
}

/*-----------------------------------
    1 - Added custom css code
------------------------------------*/

.custom-badge {
    display: inline-block;
    background-color: #e8f7ef;
    color: #269b69;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    line-height: 1.3;
}

.sa-page {
  --sa-blue: #35a9ed;
  --sa-blue-dark: #218fd4;
  --sa-green: #9acb35;
  --sa-text: #424b50;
  --sa-muted: #7d898f;
  --sa-soft: #f5f7f8;
  width: 100%;
  max-width: 100%;
  color: var(--sa-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow: hidden;
  isolation: isolate;
}
.sa-page,
.sa-page *,
.sa-page *::before,
.sa-page *::after { box-sizing: border-box; }

.sa-page img,
.sa-page svg { max-width: 100%; }
.sa-page a { text-decoration: none; }
.sa-page button { font: inherit; }
.sa-container {
  width: min(100% - 64px, 1240px);
  margin-inline: auto;
}

/* Benefits */
.sa-benefits {
  background: #fff;
  padding: clamp(48px, 6vw, 82px) 0;
}
.sa-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 76px);
}
.sa-benefit { min-width: 0; }
.sa-benefit-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 17px;
}
.sa-benefit-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #527078;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sa-benefit h3 {
  margin: 0 0 10px;
  color: #414b50;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.35;
  font-weight: 600;
}
.sa-benefit p {
  margin: 0 0 18px;
  color: var(--sa-muted);
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.8;
}
.sa-small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 19px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(90deg, #37b6e9, #6476ef);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 9px #00000012;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sa-small-button:hover { transform: translateY(-2px); box-shadow: 0 5px 13px #00000018; }

/* Pricing */
.sa-pricing {
  background: #f5f6f7;
  padding: clamp(48px, 5vw, 70px) 0 clamp(54px, 6vw, 78px);
}
.sa-section-heading {
  margin: 0 auto clamp(30px, 3vw, 42px);
  text-align: center;
}
.sa-section-heading h2 {
  margin: 0 0 8px;
  color: #3f484d;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 500;
}
.sa-section-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: #899399;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
}
.sa-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  width: min(100%, 1050px);
  margin: 0 auto;
  align-items: stretch;
}
.sa-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e9eb;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 18px #172b3a0d;
  transition: transform .22s ease, box-shadow .22s ease;
}
.sa-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px #172b3a16;
}
.sa-plan-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 245px;
  padding: 30px 18px 24px;
}
.sa-server-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  color: #45575c;
  font-size: 45px;
  line-height: 1;
}
.sa-server-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #45575c;
  stroke-width: 1.3;
  stroke-linecap: round;
}
.sa-cloud-icon { color: #39b9d9; }
.sa-plan-card h3 {
  margin: 0 0 7px;
  color: #626bd3;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}
.sa-plan-price {
  margin: 0 0 17px;
  color: #3f494e;
  line-height: 1.2;
}
.sa-plan-price strong { font-size: clamp(23px, 2vw, 28px); font-weight: 500; }
.sa-plan-price span { color: #899399; font-size: 14px; }
.sa-plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 40px;
  padding: 9px 20px;
  border-radius: 24px;
  background: var(--sa-green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.sa-plan-button:hover { background: #85b927; transform: translateY(-1px); }
.sa-popular {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--sa-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.sa-plan-features {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 20px 14px 23px;
  background: linear-gradient(125deg, #42b6f4, #299de9);
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
}
.sa-plan-features li { padding: 5px 0; }

/* Testimonials: 3 cards on desktop, 2 on tablet, 1 on mobile */
.sa-testimonials {
  background: #fff;
  padding: clamp(48px, 5vw, 70px) 0;
}
.sa-review-heading { margin-bottom: 28px; }
.sa-review-heading h2 { font-size: clamp(23px, 2vw, 29px); }
.sa-review-shell {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 48px;
}
.sa-review-viewport { width: 100%; overflow: hidden; }
.sa-review-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  transition: transform .5s ease;
  will-change: transform;
}
.sa-review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  padding: 24px 20px 22px;
  border: 1px solid #edf0f1;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 5px 18px #172b3a0a;
}
.sa-review-stars {
  margin-bottom: 8px;
  color: #f2b943;
  letter-spacing: 3px;
  font-size: 16px;
}
.sa-review-card h3 {
  margin: 0;
  color: #414b50;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}
.sa-review-role {
  margin: 3px 0 12px;
  color: #8c969b;
  font-size: 13px;
}
.sa-review-copy {
  min-height: 78px;
  margin: 0 auto 18px;
  color: #69757b;
  font-size: 14px;
  line-height: 1.75;
}
.sa-review-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border: 3px solid #e4f2d7;
  border-radius: 50%;
  color: #fff;
  background: #72a65a;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 7px #00000015;
}
.sa-avatar-two { background: #319eb8; }
.sa-avatar-three { background: #b49a69; }
.sa-avatar-four { background: #8b76b8; }
.sa-review-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #e1e7e9;
  border-radius: 50%;
  background: #fff;
  color: #59666d;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 3px 10px #0000000d;
}
.sa-review-arrow:hover { border-color: var(--sa-blue); background: var(--sa-blue); color: #fff; }
.sa-review-prev { left: 0; }
.sa-review-next { right: 0; }
.sa-review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.sa-review-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5dadd;
  cursor: pointer;
}
.sa-review-dot.is-active { width: 23px; border-radius: 9px; background: var(--sa-blue); }

/* Large laptop / small desktop */
@media (max-width: 1024px) {
  .sa-container { width: min(100% - 48px, 1000px); }
  .sa-benefit-grid { gap: 34px; }
  .sa-plan-grid { gap: 18px; }
  .sa-review-card { flex-basis: calc((100% - 20px) / 2); }
}

/* Tablet */
@media (max-width: 767px) {
  .sa-container { width: min(100% - 40px, 680px); }
  .sa-benefits { padding: 44px 0; }
  .sa-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
  .sa-benefit:last-child { grid-column: 1 / -1; max-width: calc(50% - 14px); }
  .sa-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 650px; }
  .sa-plan-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .sa-plan-top { min-height: 225px; }
  .sa-review-shell { padding-inline: 40px; }
  .sa-review-card { flex-basis: calc((100% - 18px) / 2); padding-inline: 16px; }
  .sa-review-copy { min-height: 100px; }
}

/* Mobile */
@media (max-width: 540px) {
  .sa-page { font-size: 15px; }
  .sa-container { width: calc(100% - 32px); }
  .sa-benefits { padding: 38px 0 42px; }
  .sa-benefit-grid { grid-template-columns: 1fr; gap: 26px; }
  .sa-benefit,
  .sa-benefit:last-child {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 14px;
    max-width: none;
    grid-column: auto;
  }
  .sa-benefit-icon { grid-row: 1 / span 3; width: 46px; height: 46px; margin: 0; }
  .sa-benefit h3 { margin: 0 0 6px; font-size: 17px; }
  .sa-benefit p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }
  .sa-small-button { min-height: 36px; padding: 7px 16px; font-size: 12px; }
  .sa-pricing { padding: 40px 0 46px; }
  .sa-section-heading { margin-bottom: 25px; }
  .sa-section-heading h2 { font-size: 24px; }
  .sa-section-heading p { font-size: 14px; }
  .sa-plan-grid { grid-template-columns: 1fr; width: min(100%, 380px); gap: 20px; }
  .sa-plan-card:last-child { grid-column: auto; width: 100%; }
  .sa-plan-top { min-height: 220px; padding: 25px 16px 20px; }
  .sa-plan-features { padding: 17px 12px 20px; font-size: 14px; }
  .sa-testimonials { padding: 40px 0 44px; }
  .sa-review-heading { margin-bottom: 20px; }
  .sa-review-shell { padding-inline: 30px; }
  .sa-review-track { gap: 0; }
  .sa-review-card { flex-basis: 100%; padding: 22px 18px; }
  .sa-review-copy { min-height: 0; font-size: 14px; }
  .sa-review-arrow { width: 30px; height: 30px; font-size: 14px; }
  .sa-review-prev { left: -1px; }
  .sa-review-next { right: -1px; }
}
@media (max-width: 360px) {
  .sa-container { width: calc(100% - 24px); }
  .sa-review-shell { padding-inline: 25px; }
  .sa-benefit { grid-template-columns: 42px minmax(0, 1fr); column-gap: 10px; }
  .sa-benefit-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-page *,
  .sa-page *::before,
  .sa-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
