:root {
  --purple-nav: #862baeff;
  --purple-primary: #a20ff0ff;
  --purple-dark: #5e0097ff;
  --purple-light: #ead3ffff;
  --purple-text: #862baeff;
  --purple-text-dark: #3c0a56ff;
  --deep-purple: #3F0677;
  --deep-purple-two: #420075;

  --yellow-primary: #ffe127ff;
  --yellow-light: #ffffe2;
  --white: #ffffffff;
  
  --gray-primary: #a3a5a8ff;
  --gray-light: #f2f2f2;



  --header-height: 4rem;
  --lang-switch-size: 30px;

  --bkash: #df156b;
  --nagad: #f49020;
  --rocket: #8b3493;
  --ssl: #a20ff3;

}


/* reset */
* {
  font-weight: 400;
  font-style: normal;
}


html[lang="bn"] :not(.fa-solid, .fas, .fa-brands) {
  font-family: "Hind Siliguri", serif;
}

html:not([lang="bn"]) :not(.fa-solid, .fas, .fa-brands) {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: var(--header-height);
}

ul,
li,
a {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

p {
  margin: 0px;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.ddn-container {
  width: 70%;
  max-width: 1000px;
}


.heading {
  font-size: 1.5rem;
  color: var(--purple-text);
  text-align: center;
  font-weight: 600;
}

.margin-top {
  margin-top: 5rem;
}

.font-english {
  font-family: "Poppins", sans-serif !important;
}

.font-bangla {
  font-family: "Hind Siliguri", serif !important;
}




/* Scrollbar */
/* For WebKit-based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--purple-light);
}

::-webkit-scrollbar-thumb {
  background: var(--purple-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-dark);
}



/* header and nav */
header {
  background-color: var(--purple-nav);
  height: var(--header-height);
  transition: background-color 0.3s, backdrop-filter 0.3s;
}

header.scrolled {
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  background-color: rgba(2, 1, 1, 0);
}

.offcanvas {
  height: 100vh; 
  width: 100%;
}

.navbar-nav {
  height: 3.5rem;
}


.navbar-nav .nav-item a {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 300;
}

header.scrolled .navbar-nav:not(.offcanvas-body) .nav-item a {
  color: black;
}


header.scrolled .navbar .offcanvas-body .nav-item a {
  color: #808080;
}

header.scrolled .navbar .fa-bars {
  color: black;
}


header.scrolled .navbar-nav .nav-item a:hover,
header.scrolled  .navbar-nav .nav-item a.active {
  color: var(--deep-purple);

}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a.active {
  color: var(--yellow-primary);
}


.navbar .fa-bars {
  color: var(--white);
  font-size: 1.4rem;
  display: none;
}


.navbar .offcanvas-header {
  background-color: var(--purple-nav);
  height: var(--header-height);
}

.navbar .offcanvas-body .nav-item a {
  font-weight: 400;
  color: #808080;
  font-size: 1rem;
}

.navbar .offcanvas-body .nav-item{
  border-bottom: 1.5px solid #dcdbe1;
  width: 80%;
  text-align: center;
}

.mobile-nav-app-download {
  background-color: var(--purple-nav);
  display: flex;
  align-items: center;
  padding: 0.5em 0.2em 0.5em 0.2em;
  border-radius: 5px;
  width: 120px;
  height: 40px;
  justify-content: space-around;
  color: var(--white);
  font-size: 12px;

}

.mobile-nav-app-download img {
  height: 25px;
  width: 25px;
  margin: 0px 3px 5px 0px;

}





/* buttons */

.language-toggle {
  display: flex;
  width: 60px;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  background: var(--deep-purple);
  cursor: pointer;
  user-select: none;
}

.language-slider {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--yellow-primary);
  transition: transform 0.3s ease-in-out;
}

.language-toggle.bn-active .language-slider {
  transform: translateX(0);
}

.language-toggle.en-active .language-slider {
  transform: translateX(100%);
}

.language-option {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  position: relative;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px;
}

.bn-active #bn-option,
.en-active #en-option {
    color: black; 
}


.navbar .offcanvas-body .language-toggle {
  background-color: var(--gray-light);
  width: 120px;
  height: 40px;
  color: var(--white);
  font-size: 12px;
}

.navbar .offcanvas-body .language-slider {
  background-color: var(--purple-nav);
}

.navbar .offcanvas-body .language-option {
  color: var(--gray-primary);
}

.navbar .offcanvas-body .bn-active #bn-option,
.en-active #en-option {
  color: var(--white);
}

.rounded-btn {
  background-color: var(--purple-primary);
  border-radius: 20px;
  padding: 0.3em 1em 0.3em 1em;
  outline: none;
  border: none;
  font-size: 1rem;
}

.rounded-btn a {
  color: var(--white);
}

.square-btn {
  background-color: var(--white);
  border: none;
  outline: none;
  border-radius: 5px;
  font-size: 1rem;
  padding: 0.3em 1em 0.3em 1em;
  font-weight: 600;
  color: var(--purple-primary);

}


.toggle-container {
  display: flex;
  align-items: center;
  background-color: var(--gray-light);
  border-radius: 50px;
  position: relative;
  width: 10rem;
  height: 1.6rem;
  box-sizing: border-box;
  overflow: hidden;
}

.toggle-container.mobile {
  border-radius: 5px;
  height: 30px;
}


.toggle-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--purple-primary);
  border-radius: 50px;
  transition: transform 0.3s ease;
}

.toggle-container.mobile .toggle-background {
  border-radius: 5px;
}

.toggle-option {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: var(--gray-dark);
  transition: color 0.3s;
}

.toggle-container input[type="radio"] {
  display: none;
}

.toggle-container input[type="radio"]:nth-child(1):checked~.toggle-background {
  transform: translateX(0);
}

.toggle-container input[type="radio"]:nth-child(2):checked~.toggle-background {
  transform: translateX(100%);
}

.toggle-container input[type="radio"]:nth-child(1):checked~label:nth-of-type(1) {
  color: var(--white);
}

.toggle-container input[type="radio"]:nth-child(2):checked~label:nth-of-type(2) {
  color: var(--white);
}

.toggle-container input[type="radio"]:nth-child(1):checked~label:nth-of-type(2) {
  color: var(--gray-primary);
}

.toggle-container input[type="radio"]:nth-child(2):checked~label:nth-of-type(1) {
  color: var(--gray-primary);
}



/* banners */
.still-have-questions {
  height: 7rem;
  padding: 1em;
  background-color: var(--deep-purple-two);
  background-image: url("../backgrounds/dots.svg");
  background-repeat: repeat;
  background-size: 50% auto;
  background-position: top;
  background-blend-mode: overlay;
  border-radius: 10px;
  color: var(--white);
}

.still-have-questions .square-btn {
  background-color: var(--purple-primary);
  color: var(--white);
  font-size: 1.2rem;
}

.common-banner img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.common-banner h1 {
  color: var(--white);
  font-weight: bold;
  font-family: "Poppins", sans-serif !important;
  min-width: 300px;
}

.common-banner-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(60, 32, 107, 0.6);
  display: flex;
}

@media (width < 991px) {
  .common-banner img {
    height: 190px;
  }
}


/* accordions */
.accordion-button {
  color: var(--deep-purple); 
  font-weight: 500;
  background-color: var(--gray-light);
  border-radius: 10px;
  box-shadow: none;
}

.accordion-body {
  color: var(--gray-primary);
  font-weight: 300;
}

.accordion-item:first-of-type>.accordion-header .accordion-button,  .accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
  border-radius: 10px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--purple-primary);
  color: var(--white); 
  border: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Focus shadow */
}

.accordion-item {
  border: none; /* Remove default border */
  margin-bottom: 1rem; /* Add spacing between items */
}

.accordion-header {
  display: flex;
  justify-content: space-between;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(10%) sepia(100%) saturate(1000%) hue-rotate(260deg) brightness(50%) contrast(100%);
  
}

.accordion-button:not(.collapsed)::after {
  filter: invert(86%) sepia(100%) saturate(748%) hue-rotate(1deg) brightness(103%) contrast(102%);
  
}


/* faq */
.faq-bg {
  background-image: url("../backgrounds/faq-bg-new.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  height: 100%;
  height: 500px;
  padding: 1em;
}

.faq-bg .know-more {
  color: var(--white);
}

.faq-bg .know-more h2 {
  font-weight: 600;
}

.faq-bg .know-more a {
  color: var(--purple-primary);
  background-color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-bg .know-more a:hover {
  color: var(--white);
  background-color: var(--purple-primary);
}

.faq-bg > .glass-div {
  border-radius: 12px;
  height: 50%;
  width: 100%;
  margin: 1em;
  padding: 1em;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  background-color: rgba(2, 1, 1, 0); 
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-bg .icons-container h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0px;
  color: var(--white);
}

.faq-bg .icons-container p {
  font-size: 0.8rem;
  color: #dcdcdc;
}

.faq-bg .icons-container img {
  width: 40px;
  height: 40px;
  margin-right: 0.5em;
}

/* modal */
.modal i {
  z-index: 1;
  color: var(--purple-primary);
  right: 0;
  margin: 0.5em;
  font-size: 1.5rem;
}
.modal-content {
  background-color: var(--gray-light);
  margin: 1em;
}
.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 20rem;
}

.modal-body h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1em 0;
  color: var(--purple-text);
 
}

.modal-body img {
  max-width: 200px;
  max-height: 200px;
}

#whyUsModal .modal-content {
  background-color: #feffef;
  border: 2px solid var(--yellow-primary);
  border-radius: 15px;
}

#whyUsModal img {
  height: 50px;
  width: 50px;
}

#whyUsModal .modal-body {
  height: auto;
}



.bkash-modal  {
  background-color: var(--white);
  border-radius: 15px;
  border: none;
}


.bkash-header {
  background-color: #e3106d;
  padding: 0.7em;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.bkash-header .modal-title {
  font-weight: 300;
}

.bkash-modal .btn-close {
  color: white;
}
.bkash-modal a {
  text-decoration: underline;
  text-underline-offset: 5px;
}


.bkash-modal .modal-body {
  height: auto;
}


.bkash-modal input {
  background-color: var(--gray-light);
  border: none;
  border-radius: 8px;
  padding: 0.8em;
  width: 100%;
  margin: 0.5em 0em 1em 0em;
  color: #a4a4a4;
  transition: all 0.1s ease;
}


.bkash-modal input::placeholder {
  font-weight: 300;
}

.bkash-modal input:focus {
  background-color: var(--yellow-light);
  outline: 1px solid var(--yellow-primary);
}


.bkash-modal .square-btn {
  background-color: #e3106d;
  padding: 0.5em;
  color: var(--white);
  font-size: 1rem;
}

.bkash-modal .square-btn i {
  color: white;
  font-size: 0.8rem;
  margin: 0px;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

.bkash-modal .square-btn:hover i {
  transform: translateX(3px);
}




#sslPaymentModal .bkash-header {
  background-color: var(--ssl);
}

#sslPaymentModal .bkash-modal .square-btn {
  background-color: var(--ssl);
}


#nagadPaymentModal .bkash-header {
  background-color: var(--nagad);
}

#nagadPaymentModal .bkash-modal .square-btn {
  background-color: var(--nagad);
}



#notificationModal .modal-content {
  border: none;
}


#notificationModal .modal-body img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
}

#notificationModal .modal-body {
  height: auto;
}

#notificationModal  i {
  background: white;
  padding: 0.1em 0.2em 0.1em 0.2em;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#notificationModal i:hover {
  transform: scale(1.1);
}


/* awards */
.awards {
  border-radius: 40px;
  background-color: var(--gray-light);
  padding: 1em;
  min-height: 20rem;
}

.awards .toggle-container {
  background-color: var(--white);
}


.tab-pane-awards {
  background-color: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 1em;
}


.awards-slider img,
.certificates-slider img {
  width: 90px;
  height: 80px;
}

.splide__slide img {
  max-width: 100%;
  height: auto;
}

.awards .toggle-container {
  width: 12rem;
}


/* hero section */


/* .hero-cards {
  margin: 0.5em 0em 0.5em 0em;
  position: relative;
  background: url("/static/backgrounds/hero-gradient.png");
  background-color: #f2f0faff;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  border-radius: 10px;
  height: 25rem;
  padding: 0.5em;
  overflow: hidden;
}


.hero-cards img {
  position: absolute;
  top: 1rem;
  right: 0;
  width: 25rem;
  height: auto;
} */


.ddn-badge {
  background-color: var(--purple-light);
  color: var(--purple-text);
  border-radius: 20px;
  font-size: 1em;
  padding: 0.5em;
  text-align: center;

}

.ddn-badge span {
  background-color: var(--white);
  border-radius: 20px;
  padding: 0.2em 0.3em 0.2em 0.3em;
  display: inline-block;
  width: 40px;
  margin-right: 2px;
  text-align: center;
}

.hero-tagline {
  color: var(--purple-text-dark);
  font-size: 40px;
  z-index: 1;
}





.hero-link {
  background-color: var(--gray-light);
  height: 3rem;
  border-radius: 10px;
  padding: 1.8em 0.5em 1.8em 0.5em;
  overflow: hidden;
}

.hero-links {
  padding: 0.2em 1em 0.2em 1em;
  border-radius: 8px;
  width: 110px;
  position: relative;
  z-index: 2;
}

.hero-link .active-bg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 90%;
  width: 0;
  background: var(--purple-primary);
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease;
}



.hero-links:hover p {
  color: var(--white);
}

.hero-links:hover img {
  filter: none;

}

.hero-links.mobile:hover {
  background: var(--purple-primary);
}


.hero-links p {
  margin-top: 5px;
  font-size: 12px;
  color: var(--gray-primary);
  transition: color 0.8s ease-in-out;
}

.hero-link.mobile p {
  font-size: 10px;
}

.hero-links.mobile img {
  height: 20px;
  width: 15px;

}


.hero-links img {
  height: 20px;
  width: 20px;
  filter: invert(76%) sepia(6%) saturate(120%) hue-rotate(177deg) brightness(10%) contrast(10%);
  transition: filter 0.7s ease-in-out;
}

.hero-links-container-mobile {
  display: none;
}


.hero-link-splide {
  padding: 0.5em;
  background-color: var(--gray-light);
  position: relative;
  border-radius: 10px;
}

.hero-link-splide .fa-angles-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  font-size: 1.2rem;
  margin-right: 0.5rem;
  color: var(--purple-primary);
}

#hero-link-next.disabled {
  color: var(--gray-primary);
}


/* cache servers */

.cache-servers {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--purple-primary);
  border-radius: 10px;
  padding-top: 3rem;
  padding: 1em;
  text-align: center;
  position: relative;
}

.cache-servers h1 {
  margin-top: -30px;
  background-color: var(--white);
  padding: 0 20px;
  color: var(--purple-text);
  font-weight: 600;
  font-size: 1.5rem;
  z-index: 1;
}

.cache-servers img {
  height: 50px;
  width: 130px;
}


/* custom tabs */
.custom-tabs .nav-link {
  background-color: var(--gray-light);
  color: var(--purple-text);
  font-weight: 500;
  border-radius: 10px;
  width: 120px;
  padding: 0.4em;
  transition: all 0.3s ease-in-out;
}

.custom-tabs .nav-link:hover {
  transform: scale(1.2);
}

.custom-tabs .nav-link.active {
  background-color: var(--purple-primary);


}

.custom-tabs .nav-link:hover {
  transition: all 0.3s ease-in-out;
}


/** Custom Select **/
.dropdown-container {
  position: relative;

}

select.custom-dropdown {
  width: 160px;
  padding: 0.5em;
  border: none;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--white);
  color: var(--deep-purple);
  cursor: pointer;
  outline: none;
  line-height: 1.5;
  text-align: center;
}


.dropdown-container::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  background-image: url("../icons/arrow-down.svg");
  background-size: contain;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
}






/* Fancy Cards  */
/* Wrapper for 3D perspective */
.fancy-cards-wrapper {
  perspective: 1000px;
}

/* Fancy Cards with flip support */
.fancy-cards {
  height: 23rem;
  width: 19rem;
  border-radius: 20px;
  background-image: url("../backgrounds/rounded-gradient.png");
  background-position: 99% 5%;
  background-size: 120px 120px;
  background-color: var(--gray-light);
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out;
  transform: scale(0.85) rotateY(0deg);
  transform-style: preserve-3d;
  position: relative;

}


.fancy-cards .card-front .go-back-text {
  color: var(--deep-purple);
  border-bottom: 1.5px solid var(--deep-purple);
  margin-bottom: 0.5em;
  transition: all 0.3s ease;
}


.fancy-cards .card-back .go-back-text {
  color: var(--white);
  border-bottom: 1.5px solid var(--white);
  margin-bottom: 0.5em;
  transition: all 0.3s ease;
}

.fancy-cards .go-back-text:hover {
  transform: scale(1.1);
}

/* Card Faces */
.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  top: 0;
  left: 0;
}
.card-front {
  z-index: 2;
  transform-style: preserve-3d;
}
.card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  background-color: var(--purple-dark); 
  overflow-y: scroll;
  transform-style: preserve-3d;
}

 /* Hide scrollbar for all browsers */
 .fancy-cards .card-back {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
  overflow-y: -moz-scrollbars-none; /* Firefox */
}

.fancy-cards .card-back::-webkit-scrollbar {
  display: none;  /* Safari and Chrome */
}



/* Flip effect */
.fancy-cards.flipped {
  transform: scale(0.85) rotateY(180deg);
}

/* Hover effect (maintaining flip rotation) */
.fancy-cards:not(.flipped):hover {
  transform: scale(0.9) rotateY(0deg);
}
.fancy-cards.flipped:hover {
  transform: scale(0.9) rotateY(180deg);
}

.fancy-cards.flipped .info-icon.purple {
  display: none;
}

.fancy-cards.flipped .info-icon.white {
  display: block;
}

.fancy-cards.flipped .ddn-badge {
  background-color: #862bae;
  color: var(--yellow-primary);
}

.fancy-cards.flipped .rounded-btn {
  background-color: var(--white);
  color: var(--purple-text);
}

/* Original Fancy Cards CSS */

.fancy-cards .info-icon {
  height: 25px;
  width: 25px;
}

.fancy-cards .info-icon.white {
  display: none;
}

.fancy-cards:hover .info-icon.purple {
  display: none;
}

.fancy-cards:hover .info-icon.white {
  display: block;
}

.fancy-cards .card-heading {
  padding: 1em 1em 0.5em 1em;
}

.fancy-cards .w-100 {
  transition: border-radius 0.3s ease-in-out, background-color 0.3s ease-in-out;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.fancy-cards .ddn-badge {
  background-color: var(--yellow-primary);
  color: var(--purple-text);
  font-weight: 600;
  width: 130px;
  margin-top: 0.5em;
  font-size: 0.9rem;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.fancy-cards .rounded-btn {
  color: var(--white);
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.fancy-cards .speed-info {
  margin-top: 1em;
  font-weight: 600;
  color: var(--deep-purple);
  transition: color 0.3s ease-in-out;
}

.fancy-cards .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--purple-primary);
  transition: color 0.3s ease-in-out;
}

.fancy-cards .price span {
  font-size: 1.5rem;
  font-weight: 600;
}

.fancy-cards .card-footer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.fancy-cards .footer-details {
  display: flex;
  justify-content: space-between;
  width: 98%;
  text-align: center;
  font-size: 1.5rem;
  color: var(--deep-purple);
  border-bottom: 1.5px solid var(--gray-primary);
  padding: 0em 0.8em 0.5em 0.8em;
  transition: border 0.3s ease-in-out, color 0.3s ease-in-out;
}

.fancy-cards .footer-details p {
  margin: 0;
  font-weight: 600;
  line-height: 20px;
}

.fancy-cards .footer-details span:not(.fw-bold) {
  font-weight: normal;
  font-size: 0.8rem;
}

.fancy-cards .features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
  font-size: 0.9rem;
  color: var(--deep-purple);
  width: 100%;
  padding: 0.5em;
  transition: color 0.3s ease-in-out;
}


.fancy-cards .features p {
  margin: 0;
  font-weight: 300;
}

.fancy-cards .features p img {
  height: 15px;
  width: 15px;
}

.fancy-cards .card-back .features {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-size: 1rem;
  color: var(--white);
  width: 100%;
  padding: 1.5em;
}

.fancy-cards .card-back .features img {
  height: 20px;
  width: 20px;
  margin-right: 0.5em;
}



.package-mobile-control {
  display: none;
}

.package-mobile-control select.custom-dropdown {
  background-color: var(--purple-primary);
  color: var(--white);
  height: 30px;
  font-size: 0.8rem;
  line-height: 1;
}

.package-mobile-control .dropdown-container::after {
  color: var(--white);
}

/* Fancy Cards Hover Animations */

.fancy-cards:hover .footer-details {
  border-bottom: none;
}

.fancy-cards:hover .w-100 {
  background-color: #a20ff0;
  border-radius: 20px;
}

.fancy-cards:hover {
  cursor: pointer;
  background-color: var(--purple-dark);
}

.fancy-cards:hover .ddn-badge {
  background-color: #862bae;
  color: var(--yellow-primary);
}

.fancy-cards:hover .speed-info,
.fancy-cards:hover .features,
.fancy-cards:hover .footer-details p {
  color: var(--white);
}

.fancy-cards:hover .price {
  color: var(--yellow-primary);
}

.fancy-cards:hover .rounded-btn {
  background-color: var(--white);
  color: var(--purple-text);
 
}

.fancy-cards .rounded-btn:hover {
  transform: scale(1.1);
}



.fancy-cards:hover .card-front .go-back-text {
  color: var(--white);
  border-bottom: 1.5px solid var(--white);
}



/* services section */
.service-card {
  height: 12rem;
  width: 18rem;
  border-radius: 8px;
  padding: 1em;
  z-index: 2;
  overflow: hidden;
  background-image: url("../backgrounds/rounded-gradient.png");
  background-size: 0px 0px;
  background-position: 95% 10%;
  background-repeat: no-repeat;
  transition: all 0.8s ease-in-out;
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}

.services-section-mobile {
  display: none;
}

.service-card.mobile {
  width: 100%;
  height: 8rem;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  background: var(--deep-purple-two);
  background-repeat: no-repeat;
  background-position: 95%;
  gap: 1rem;
  border-radius: 10px;
}

.service-card.mobile img {
  width: 40px;
  height: 40px;
  margin-top: 5px;
}

.service-card.mobile h2 {
  top: 35px;
  right: 8%;

}

.service-card.mobile p {
  max-width: 80%;
  font-size: 0.7rem;
}



.active-service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  background: var(--deep-purple-two);
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease-in-out;

}

.service-card h1 {
  margin: 0px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-purple);
  transition: color 0.3s ease-in-out;
}

.service-card h1::before {
  content: '';
  width: 2px;
  height: 18px;
  background-color: var(--yellow-primary);
  margin-right: 5px;
  margin-bottom: 5px;
  display: inline-block;
  vertical-align: middle;
}

.service-card.mobile h1::before {
  display: none;
}

.service-card h2 {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 45px;
  color: var(--purple-text);
  opacity: 6%;
  font-weight: bolder;
  transition: all 0.3s ease-in-out;
}

.service-card img {
  height: 30px;
  width: 30px;
  transition: all 0.3s ease-in-out;
}

.service-card p {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--gray-primary);
  transition: color 0.3s ease-in-out;
}



/* service card animation */

.service-card:hover,
.service-card.mobile,
.service-card.active {
  background-size: 70px 70px;
}


.service-card.mobile {
  background-image: url("../backgrounds/rounded-gradient.png");

}

.service-card.active h1::before,
.service-card:hover h1::before,
.service-card.mobile h1::before {
  background-color: var(--white);
}

.service-card.active h2,
.service-card:hover h2,
.service-card.mobile h2 {
  opacity: 30%;
}

.service-card.active h1,
.service-card:hover h1,
.service-card.mobile h1 {
  color: var(--white);
}

.service-card.active p,
.service-card:hover p,
.service-card.mobile p {
  color: var(--white);
}

.service-card.active img,
.service-card:hover img,
.service-card.mobile img {
  filter: brightness(0) invert(1);;
}



/* coverage card */

.coverage-card {
  width: 35rem;
  height: 22rem;
  background-color: var(--deep-purple-two);
  border-radius: 10px;
  background-image:
    url("../backgrounds/mesh-svg.svg"),
    url("../backgrounds/rounded-gradient.png"),
    url("../backgrounds/rounded-gradient.png"),
    url("../backgrounds/rounded-gradient.png");

  background-repeat: no-repeat, no-repeat;
  background-size: 200% auto, 30% auto, 15% auto, 10% auto;
  background-position: bottom -15% center, top 8% right 8%, top 50% right 70%, top 90% right 10%;

  background-blend-mode: overlay, normal, normal, normal;

  padding: 1em 1em 1em 5em;
  color: var(--white);
  text-align: center;
  margin-left: 15%;
  align-items: start;
}

.coverage-card img {
  height: 30px;
  width: 30px;
  margin: 1em 0em 1em 0em;
}

.coverage-card h1 {
  font-size: 1.2rem;
  font-weight: 600;
}

.coverage-card p {
  font-size: 0.9rem;
  font-weight: 300;
}


.coverage-card .tilted-image {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -53%);
  left: -10%;
  width: 60%;
  height: 100%;
  overflow: hidden;
}

.coverage-card-buttons {
  width: 400px;
  flex-wrap: wrap;
  padding-left: 3rem;
  justify-content: center;
}


/******** speedtest *********/



.speedometer-section {
  background-color: var(--deep-purple-two);
  overflow: hidden;
}


.ocean {
  height: 10%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--deep-purple-two);
}

.wave {
  background: url("../backgrounds/wave.svg") repeat-x;
  position: absolute;
  top: -198px;
  width: 6400px;
  height: 198px;
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
  top: -175px;
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite, swell 7s ease -1.25s infinite;
  opacity: 1;
}

@keyframes wave {
  0% {
    margin-left: 0;
  }

  100% {
    margin-left: -1600px;
  }
}

@keyframes swell {

  0%,
  100% {
    transform: translate3d(0, -25px, 0);
  }

  50% {
    transform: translate3d(0, 5px, 0);
  }
}



.speedometer-container {
  width: 50%;
  height: 35rem;
  position: relative;
  color: var(--white);
}


.speedometer-text-container {
  width: 50%;
  color: var(--white);
  text-align: left;
  z-index: 5;
}





.speedometer .inner-ring {
  width: 16rem;
  height: 16rem;
  position: absolute;
  top: calc(50% - 9.5rem);
  left: calc(50% - 8rem);
}

.speedometer .inner-ring::before,
.speedometer .inner-ring::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1.5px solid transparent;
  border-top: 1.5px solid var(--white);
  border-right: 1.5px solid var(--white);
  border-radius: 50%;
}

.speedometer .inner-ring::before {
  transform: rotate(-75deg);
}

.speedometer .inner-ring::after {
  transform: rotate(-15deg);
}

.speedometer .outer-ring {
  width: 24rem;
  height: 21rem;
  position: absolute;
  top: calc(50% - 12rem);
  left: calc(50% - 12rem);
  border-radius: 50%;
}

.speedometer .digit-ring {
  position: absolute;
  top: calc(50% - 1.5rem);
  left: 50%;
}

.speedometer .tick {
  width: 0.6rem;
  border-top: 1.5px solid var(--white);
  position: absolute;
  top: calc(50% - 0.075rem);
  left: calc(50% - 0.3rem);
}

.speedometer .tick:nth-child(6n + 1) {
  width: 1.2rem;
  left: calc(50% - 0.6rem);
  border-color: var(--white);
}

.speedometer .digit {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: calc(50% - 0.75rem);
  left: calc(50% - 0.75rem);
  font-weight: bold;
  text-align: center;
  line-height: 1.5rem;
}

.speedometer .details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 16rem;
  height: 16rem;
  position: absolute;
  top: calc(50% - 9.5rem);
  left: calc(50% - 8rem);
}

.speedometer .label {
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.speedometer .speed {
  font-size: 4.5rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.speedometer .speed::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background-color: rgba(187, 0, 205, 0.6);
  box-shadow: 0 0 9rem 4rem rgba(187, 0, 205, 0.5),
    0 0 12rem 5rem rgba(187, 0, 205, 0.4);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.speedometer .unit {
  font-size: 1.2rem;
}

.speedometer .custom-progress {
  width: 16rem;
  height: 16rem;
  position: absolute;
  top: calc(50% - 9.5rem);
  left: calc(50% - 8rem);
  border-radius: 50%;
}

.speedometer .custom-progress::before {
  content: "";
  position: absolute;
  top: -0.15rem;
  left: calc(50% - 0.2rem);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: #f1252e;
  box-shadow: 0 0 2rem 0.8rem rgba(241, 37, 46, 0.3);
}

.speedometer footer {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  position: absolute;
  top: 20rem;
  left: 0;
  right: 0;
  bottom: 0;
}

.speedometer .stat {
  flex-grow: 1;
  width: 0;
  padding: 0.8rem 0;
  text-align: center;
}

.speedometer .stat:not(:last-child) {
  border-right: 1.5px solid rgba(255, 255, 255, 0.05);
}

.speedometer .stat label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.speedometer .stat p {
  font-size: 1.2rem;
  color: #fff;
}



/* more packs */
.more-packs-card {
  background-color: #f2f0fa;
  border: 1px solid var(--purple-primary);
  border-radius: 20px;
  height: 380px;
  width: 280px;
  padding: 1em;
  margin-bottom: 1em;
}

.more-packs-card .info {
  line-height: 1;
}

.more-packs-card .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--purple-primary);
  transition: color 0.3s ease-in-out;
}

.more-packs-card .price span {
  font-size: 1.5rem;
  font-weight: 600;
}

.more-packs-card .speed {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--deep-purple);
}

.more-packs-card li {
  margin: 0.5em;
  color: var(--deep-purple);
  font-weight: 300;
}


.more-packs-card li img {
  height: 20px;
  width: 20px;
}


.more-packs-card .rounded-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5em;
  color: var(--white);


}





/* why us section */

.why-us-card {
  width: 280px;
  height: 80px;
  background-color: var(--gray-light);
  border-radius: 10px;
  transition: all 0.5s ease;
  border: 1.5px solid var(--gray-light);
  padding: 0.5em;
  margin-bottom: 1em;
}

.why-us-card:hover {
  background-color: var(--yellow-light);
  border: 1.5px solid var(--yellow-primary);
}

.why-us-card img {
  height: 40px;
  width: 40px;
  margin-right: 0.8em;
}

.why-us-card .text {
  color: var(--purple-primary);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}

.why-us-card .text .subtext {
  color: var(--gray-primary);
  font-size: 0.8rem;
  font-weight: 400;
}




/* contact us */

.contact-us-form {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  height: 32rem;
  padding: 1em;
}

.about-user {
  flex: 3;

  padding: 1rem;
}

.about-user div:first-of-type {
  justify-content: space-between;
}

.about-service {
  flex: 2;
  padding: 1rem;
}


.contact-us-form label {
  color: var(--deep-purple);
  font-weight: 500;
}

.contact-us-form .custom-dropdown {
  background-color: var(--gray-light);
  text-align: left;
  padding: 0.5 0em 0.5em 0.5em;
  margin: 0.5em 0em 0.5em 0em;

}

.contact-us-form .dropdown-container {
  margin-bottom: 1em;
}

.contact-us-form input {
  background-color: var(--gray-light);
  border: none;
  border-radius: 8px;
  padding: 0.5em;
  width: 100%;
  margin: 0.5em 0em 1em 0em;
  color: #a4a4a4;
  transition: all 0.1s ease;
}



.contact-us-form input:invalid:not(:placeholder-shown) {
  border: 1px solid red;
}


.contact-us-form input::placeholder {
  font-weight: 300;
}

.contact-us-form input:focus {
  background-color: var(--yellow-light);
  outline: 1px solid var(--yellow-primary);
}

.about-service {
  background-color: var(--gray-light);
  border-radius: 15px;
  padding: 1em;
  width: 100%;
  transition: all 0.1s ease;
  height: 29rem;
}


.about-service .square-btn {
  background-color: var(--purple-primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.5em;
  width: 100%;
  margin: 0.5em 0em 0em 0em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.about-service .square-btn:hover {
  background-color: var(--purple-dark);
}



.about-service h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--deep-purple);
  text-align: left;
}

#serviceTabs button {
  font-size: 0.8rem;
  background-color: var(--white);
  border: none;
  border-radius: 15px;
  padding: 0.2rem 0.4rem 0.2rem 1rem;
  margin: 0.1rem 0;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--white);
  width: 49%;
  color: var(--deep-purple);
  font-weight: 400;
}

#serviceTabs button.active {
  border: 1px solid var(--yellow-primary);
}

#serviceTabs button::before {
  content: '';
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--yellow-primary);
  position: absolute;
  left: 0;
  margin-left: 0.5em;
  top: 50%;
  transform: translateY(-50%);
}

#serviceTabs button.active::before {
  background-color: var(--yellow-primary);
}

#serviceTabsContent .tab-pane {
  background-color: var(--yellow-light);
  border: 1px solid var(--yellow-primary);
  border-radius: 10px;
  padding: 0.5em;
  margin-top: 1rem;
}

#serviceTabsContent .order-pack .pack-name {
  color: var(--deep-purple);
}

#serviceTabsContent .order-pack .pack-price {
  color: var(--purple-primary);
  font-size: 1.2rem;
  font-weight: bold;
}

#serviceTabsContent .order-pack .pack-speed {
  color: var(--deep-purple);
  font-size: 0.9rem;
  font-weight: bold;
}

#serviceTabsContent label {
  font-size: 0.8rem;
}

#serviceTabsContent input {
  background-color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.4em;
  width: 100%;
  color: #a4a4a4;
  transition: all 0.1s ease;
  font-size: 0.8rem;
  margin: 0.2em 0em 0em 0em;

}

#serviceTabsContent .custom-dropdown {
  background-color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.4em;
  width: 100%;
  color: #a4a4a4;
  transition: all 0.1s ease;
  font-size: 0.8rem;
}

#serviceTabsContent .dropdown-container {
  margin-bottom: 0px;
}


/* speed calculator css */
.calculator-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
}

.calculator-cards-container .square-btn {
  background: var(--purple-primary);
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 5px;
  cursor: no-drop;
  transition: all 0.3s ease-in-out;
}

.calculator-cards-container .square-btn[disabled] {
  background: var(--gray-light);
  color: var(--gray-primary);
  cursor: no-drop;
}


.calculator-card-info {
  color: var(--deep-purple);
  font-size: small;
}

.calculator-cards-container .calculate-button:not(:disabled):hover {
  transform: scale(1.1);
  background-color: var(--deep-purple);
  cursor: pointer;
}

.calculator-card-grid .calculator-card {
  display: flex;
  align-items: center;
  background: var(--gray-light);
  padding: 0.5em;
  border-radius: 10px;
  text-align: left;
  width: 100%;
}

.calculator-card-grid .icon-container {
  background: white;
  padding: 1em;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.calculator-card-grid .icon-container img {
  height: 35px;
  width: 35px;
}

.calculator-card-grid .right-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.calculator-card-grid .text-container {
  font-size: 1rem;
  color: var(--gray-primary);
  margin-bottom: 10px;
}

.calculator-card-grid .text-container p {
  border-bottom: 1px solid var(--gray-primary);
  text-underline-offset: 5px;
  font-size: 0.9rem;
}

.calculator-card-grid .counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calculator-card-grid .counter button {
  background: white;
  color: var(--purple-primary);
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out; 
}

.calculator-card-grid .counter button img {
  height: 10px;
  width: 10px;
}

.calculator-card-grid .counter button:hover {
  transform: scale(1.2);
}

.calculator-card-grid .counter input {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  border: none;
  background: transparent;
  color: var(--gray-primary);
  font-weight: 400;
  outline: none;
}

.calculator-dropdown  {
  background-color: var(--gray-light) !important;
  color: var(--gray-dark) !important;
}




.calculator-modal .modal i {
  color: var(--purple-nav);
}

.calculator-modal  .modal-body {
  height: 14rem;
}


.calculator-modal  h1 {
  font-size: 1.5rem;
  color: var(--purple-nav);
}

.calculator-modal  p {
  font-size: 1.2rem;
  color: var(--gray-primary);
}

.calculator-modal .pack {
  width: 80%;
  height: 100px;
  background-color: var(--yellow-light);
  border-radius: 10px;
  border: 1.5px solid var(--yellow-primary);
  padding: 1em;
  color: var(--purple-nav);
}



.calculator-modal  .pack img {
  height: 30px;
  width: 30px;
  margin-right: 10px;
}

.calculator-modal .pack p {
  color: var(--purple-nav);
}

.calculator-modal .square-btn {
  background-color: var(--purple-nav);
  color: var(--white);
}


/* speed calculator css */


/* download our app */
.download-our-app {
  background-color: var(--gray-light);
  padding: 2em 2em 0em 2em;
  border-radius: 20px;
  margin: 0.4em;
}

.download-our-app .image-section, .download-our-app .text-section {
  flex: 1;
}

.download-our-app .image-section img {
  width: 50%;
  height: auto;
}
.download-our-app h1 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--deep-purple);
}

.download-our-app p {
  font-size: 1.8rem;
  color: var(--purple-primary);
  font-weight: 500;
}

.download-our-app .square-btn {
  background-color: var(--purple-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 180px;
  font-weight: 400;
}

.download-our-app .square-btn img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease-in-out;
}


.download-our-app .square-btn:hover  img {
  transform: translateY(-5px);
}

/* download our app */

/* footer */
.footer-section {
  background-color: var(--deep-purple-two);
  background-image: url("../backgrounds/dots.svg");
  background-repeat: repeat;
  background-size: 50% auto;
  background-position: top;
  background-blend-mode: overlay, overlay;
  overflow: hidden;
  margin-top: 10%;

}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 3em 0em 2em 0em;
  gap: 1rem;
}

.footer-section ul li {
  margin-bottom: 0.5em;
}

.footer .footer-logo {
  width: 170px;
}

.footer .social-icons img {
  height: 30px;
  width: 30px;
}


.footer .social-icons img[alt="Google Play"] {
  width: 150px;
  height: 50px;
}

.footer-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.footer a,
.footer p {
  color: var(--white);
  font-family: "Poppins", serif !important;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1em;
  transition: color 0.3s ease-in-out;
}

.footer a:hover,
.footer p:hover {
  color: var(--yellow-primary);
}

.footer-icons {
  height: 20px;
  width: 20px;
}


.footer-box h3 {
  font-size: 1rem;
  border-bottom: 3px solid #a20ff0;
  max-width: 6rem;
  font-weight: 500;
  color: var(--white);
}


.footer .social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer .footer-bottom {

  padding: 0.2em 1em 0.2em 1em;
  z-index: 1;

}


.footer-bottom p {
  font-weight: 500;
  font-size: 1rem;
}



.footer .footer-bottom a img {
  width: 200px;
  height: 60px;
}

.footer .policy-mobile {
  display: none;
}

.footer .policy-mobile a {
  color: var(--white);
  z-index: 1;
}



/* Media Qs */

@media (width > 1200px) {
  .about-service {
    position: relative;
  }

  .about-service .square-btn {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
}


@media (width < 1200px) {
  /* .hero-cards {
    height: 20rem;
  }

  .hero-cards img {
    width: 20rem;
  } */

  .policy-desktop {
    display: none;
  }

  .policy-mobile {
    display: flex !important;
    margin-top: -0.5em;
  }

  .contact-us-form {
    flex-direction: row;
    box-shadow: none !important;
    height: auto;
  }

  .about-user,
  .about-service {
    flex: 1 1 100%;
    padding: 0px;
  }

  .about-service {
    padding: 1em;
    height: auto;
  }

  /* nav */

  .desktop-nav {
    display: none;
  }

  .navbar .fa-bars {
    display: block;
  }

  .navbar-nav .nav-item a {
    color: var(--purple-text);
  }

  .navbar-nav .nav-item a:hover,
    .navbar-nav .nav-item a.active {
      color: var(--purple-text-dark);
    }

}


@media (width > 900px) {
  .coverage-card-buttons .square-btn {
    background-color: var(--purple-primary);
    color: var(--white);
  }
}


@media (width < 1100px ) {
  .rounded-btn,
  .square-btn {
    font-size: 0.8rem;
  }
}


@media (width < 900px) {
  
  .ddn-container {
    width: 80%;
  }
  .footer .footer-bottom p {
    font-size: 0.9rem;
  }

  .footer .footer-bottom a img {
    width: 150px;
    height: 40px;
  }

  .coverage-card {
    width: 100%;
    height: 15rem;
    margin-left: unset;
    align-items: center;
    padding: 1em;
  }

  .coverage-card .tilted-image {
    display: none;
  }

  .coverage-card-buttons {
    width: 350px;
    flex-wrap: wrap;
    padding-left: unset;
  }
  
}



@media (width < 768px) {
  .ddn-container {
    width: unset;
  }

  .mobile-hide {
    display: none;
  }

  /* .hero-cards {
    height: 15rem;
  }

  .hero-cards img {
    width: 15rem;
  } */

  .hero-tagline {
    font-size: calc(1.325rem + .9vw);
  }

  .ddn-badge {
    font-size: 0.8rem;
  }


  select.custom-dropdown {
    font-size: 0.9rem;
    padding: 0.4em;
    border-radius: 6px;
    width: 135px;
  }

  .dropdown-container::after {
    right: 8px;
  }



  .margin-top {
    margin-top: 3rem;
  }

  /* speedometer */
  .speedometer-section {
    padding-top: 3em;
  }
  .speedometer-wrapper {
    flex-direction: column;

  }
  .speedometer-section .custom-shape-divider-top-1735221828 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }
  
  .speedometer-section .custom-shape-divider-top-1735221828 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 38px;
  }
  
  .speedometer-section .custom-shape-divider-top-1735221828 .shape-fill {
    fill: #FFFFFF;
  }
  
  
  .speedometer-section .custom-shape-divider-top-1735221828 svg {
    width: calc(140% + 1.3px);
    height: 81px;
  }
  
  .speedometer-section .custom-shape-divider-bottom-1735221919 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }
  
  .speedometer-section .custom-shape-divider-bottom-1735221919 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 38px;
  }
  
  .speedometer-section .custom-shape-divider-bottom-1735221919 .shape-fill {
    fill: #FFFFFF;
  }
  
  
  .speedometer-section .custom-shape-divider-bottom-1735221919 svg {
    width: calc(140% + 1.3px);
    height: 84px;
  }

  .speedometer-section {
    flex-direction: column;
  }

  .speedometer-container {
    width: 100%;
  }

  .speedometer-text-container {
    width: 100%;
    margin-top: 2em;
  }

  .speedometer-text-container div {
    text-align: center;
  }

  /* download our app  */
  
  .download-our-app h1 {
    font-size: 1.5rem;
  }
  .download-our-app p {
    font-size: 1.2rem;
  }

  .download-our-app .image-section img {
    width: 70%;
      
  }
  /* download our app  */

  /* footer */
  .footer {
    padding: 3em 1em 1em 1em;
    gap: 2rem;
  }

  .footer-box:nth-child(1) {
    width: 100%;
  }

  .footer-box:nth-child(2),
  .footer-box:nth-child(3) {
    width: 30%;
  }

  .footer-box:nth-child(4) {
    width: 100%;
  }

  .footer .footer-logo {
    width: 150px;
  }
  .footer .social-icons img[alt="Google Play"] {
    width: 100px;
    height: 30px;
  }

  .footer .social-icons {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }


  /* banner */
  .still-have-questions {
    height: 4rem;
  }

  .still-have-questions .square-btn {
    font-size: unset;
  }

  .still-have-questions h2 {
    font-size: 1rem;
  }

  .progress-wrap {
    left: 20px;
    bottom: 20px;

  }


   

  
}




@media (width < 600px) {
  /* hero */

  /* .hero-cards {
    height: 14rem;
  }

  .hero-cards img {
    width: 14rem;
  } */

  .hero-links-container {
    display: none;
  }

  .hero-links-container-mobile {
    display: block;
  }

  /* cache */
  .cache-servers h1 {
    font-size: 1.2rem;
    margin-top: -25px;
    padding: 0 15px;
  }

  .cache-servers img {
    width: 90px;
  }

  /* fancy cards */
  .fancy-cards {
    height: 18rem;
    width: 12.5rem;

    border-radius: 15px;
    background-size: 65px 65px;
    background-position: 98% 10%;
  }


  .fancy-cards .card-heading {
    padding: 0.8em 0.5em 0em 0.5em;
  }


  .fancy-cards:hover .w-100 {
    border-radius: 15px;
  }

  .fancy-cards .ddn-badge {
    font-size: 0.7rem;
    width: 100px;
    margin-top: 0.3em;
  }

  .fancy-cards .rounded-btn {
    font-size: 0.8rem;
  }

  .fancy-cards .speed-info {
    font-size: 0.8rem;
    margin-top: 0.5em;
  }

  .fancy-cards .price {
    font-size: 1.5rem;
  }

  .fancy-cards .price span {
    font-size: 1rem;
  }

  .fancy-cards .footer-details {
    font-size: 1rem;
    padding: 0.3em;
    width: 96%;
  }

  .fancy-cards .footer-details span:not(.fw-bold) {
    font-size: 0.7rem;
  }

  .fancy-cards .features {
    font-size: 0.6rem;
    padding: 0.5em;
    gap: 0.5em;
  }

  .fancy-cards  .go-back-text {
    font-size: 0.8rem;
  }

  .fancy-cards .card-back .features {
    font-size: 0.7rem;
  }

  .fancy-cards .card-back .features img {
    height: 15px;
    width: 15px;
    margin-right: 0.2em;
  }

  /* price toggle and card navs */
  .price-toggle-box,
  .custom-tabs {
    display: none;
  }

  .package-mobile-control {
    display: flex;
  }

  /* service cards */
  .services-section {
    display: none;
  }

  .services-section-mobile {
    display: block;
  }

  /* more packs */
  .more-packs-card {
    width: 49%;
    padding: 0.5em;
    margin-bottom: 0.5em;
    height: 320px;
  }

  .more-packs-card .price {
    font-size: 1.5rem;
  }

  .more-packs-card .price span {
    font-size: 1.2rem;
  }

  .more-packs-card .speed {
    font-size: 0.8rem;
  }

  .more-packs ul {
    margin-top: 0.5em;
  }

  .more-packs-card li {
    margin: 0.3em;
    font-size: 0.8rem;
  }

  .more-packs-card li img {
    height: 15px;
    width: 15px;
  }

  .more-packs-card .rounded-btn {
    width: 100px;
  }


  /* why us */

  .why-us-card {
    width: 49%;
    height: 60px;
    padding: 0.3em;
    margin-bottom: 8px;
  }

  .why-us-card img {
    height: 30px;
    margin-right: 0.5em;
  }

  .why-us-card .text {
    font-size: 0.8rem;
    line-height: 1;
  }

  .why-us-card .text .subtext {
    font-size: 0.7rem;
  }

  /* contact */
  .about-user div:first-of-type {
    justify-content: center;
    margin-bottom: 1em;
  }
  .about-user div:first-of-type h2 {
    display: none;
  }

  /* speed calculator css */
  .calculator-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5em;
  }

  .calculator-card-grid .calculator-card {
    padding: 0.25em;
    border-radius: 8px;
  }

  .calculator-card-grid .icon-container {
    padding: 0.5em;
    margin-right: 10px;
  }

  .calculator-card-grid .icon-container img {
    height: 30px;
    width: 30px;
  }

  .calculator-card-grid .text-container {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }

  .calculator-card-grid .counter button {
    width: 15px;
    height: 15px;
  }

  .calculator-card-grid .counter button img {
    height: 7px;
    width: 7px;
  }

  .calculator-card-grid .counter input {
    width: 15px;
    font-size: 0.8rem;
  }

  .calculator-card-grid .text-container p {
    font-size: 0.8rem;
  }

  .calculator-modal h1 {
    font-size: 1.2rem;
  }

  .calculator-modal p {
    font-size: 0.9rem;
  }
  
  .calculator-modal .pack {
    height: auto;
    width: 90%;
  }



  /* speed calculator css */

  
  /* download our app  */
  .download-our-app {
    padding: 1em 1em 0em 1em;
  }
  .download-our-app h1 {
    font-size: 1rem;
  }
  .download-our-app p {
    font-size: 0.9rem;
  }

  .download-our-app .square-btn {
    width: 140px;
  }

  /* download our app  */

  /* footer */
  .footer .footer-bottom {
    padding: 0.2em 0.3em 0.2em 0.3em;
  }

  .footer .footer-bottom p {
    font-size: 0.8rem;
  }

  .footer .footer-bottom a img {
    width: 120px;
    height: 40px;
  }
}