:root {
  --primary-orange: #FD7911;
  --secondary-orange: #FDAF18;

  --gray-primary: #4F5665;
  --black-text: #252432;


  --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: #F6F6F6;
  --gray-light: #f2f2f2;


  /* gradients */
  --orange-gradient: linear-gradient(
    to top,
    var(--primary-orange),
    var(--secondary-orange)
  );



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

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

}


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



html {
  scroll-behavior: smooth;
}

body {
  padding-top: var(--header-height);
  font-family: "Hind Siliguri", serif;
}

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


.gradient-text {
  background: var(--orange-gradient);
  -webkit-background-clip: text; /* For Safari/Chrome */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* For Safari/Chrome */
  color: transparent; /* Fallback */
}



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

.heading-subtext {
  font-size: 15px;
  color: var(--gray-primary);
  text-align: center;
  font-weight: 400;
  max-width: 50%;
}


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

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

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


.custom-container {
  width: 80%;
  max-width: 1000px;
}



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

::-webkit-scrollbar-track {
  background: var(--secondary-orange);
}

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

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



/* header and nav */

.custom-navbar {
    position: fixed;
    top: 20px; /* gap above */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-height: 60px;
    background-color: var(--gray); /* light bg like screenshot */
    border-radius: 50px; /* pill shape */
    transition: max-height 0.35s ease-in-out, border-radius 0.35s ease-in-out; /* Animate both properties */
    padding: 5px;

}

.custom-navbar:has(.navbar-toggler:not(.collapsed)) {
  max-height: 500px;
  border-radius: 30px;
}



.custom-navbar.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 .fa-bars {
  color: var(--white);
  font-size: 1.4rem;
  display: none;
}

.contact-nav-item {
  display: none;
}











/* buttons */
.button-container {
  text-align: center;
}


/* --- BASE BUTTON STYLES --- */


.custom-btn {
  background: var(--orange-gradient);
  border-radius: 50px;
  border: none;
  outline: none;
  width: 166px;
  height: 45px;  
  color: white;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: 500;
  
  cursor: pointer;
  position: relative; 
  overflow: hidden;   
  z-index: 1;        
  display: flex;      
  justify-content: center; 
  align-items: center;     

  /* Transitions */
  transition: color 0.4s ease-in-out;
}

/* --- OUTLINE VERSION BASE--- */
.custom-btn.outline {
  background: white;
  color: var(--primary-orange);
  border: 1.3px solid transparent;
  background-image: linear-gradient(white, white), var(--orange-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 5px 15px; 
  width: 150px;

}

/* --- HOVER EFFECT FOR SOLID BUTTON (Shine / Gloss) --- */
.custom-btn:not(.outline)::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  /* z-index is not needed here as the base button's z-index handles it */
}

.custom-btn:not(.outline):hover::before {
  left: 100%;
}

/* --- HOVER EFFECT FOR OUTLINE BUTTON (Border Sweep Fill) --- */
.custom-btn.outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--orange-gradient);
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: -1; /* Place it behind the text */
}

.custom-btn.outline:hover {
  color: white; /* Change text color on hover */
}

.custom-btn.outline:hover::before {
  transform: translateX(0); /* Slide the background in */
}






.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(--primary-orange);
  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(--black-text);
  font-weight: 500;
  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(--black-text);
}

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



/* hero section */
.hero-wrapper {
  gap: 2rem;
}

.hero-text {
  flex: 1 1 50%;
  min-width: 0;
  align-self: center;
  
}

.hero-text .custom-btn {
  margin-top: 2rem;
}

.hero-text .custom-btn:hover img {
  transition: transform 0.3s ease-in-out;
  transform: translateX(5px);
}

.hero-text .custom-btn:not(:hover) img {
  transition: transform 0.3s ease-out;
  transform: translateX(0px);
}

.hero-text .title {
  font-size: 3rem;
  color: var(--black-text);
  font-weight: 600;
}

.hero-text .subtitle {
  font-size: 1rem;
  color: var(--black-text);
}

.hero-slider {
  flex: 1 1 50%;
  max-width: 380px;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(-50%) translateY(0px);
  }
  50% {
    transform: translateY(-50%) translateY(-15px);
  }
}

.hero-moving-element {
  left: -120px;
  top: 65%;
  transform: translateY(-50%);
  z-index: 10;
  animation: floatUpDown 5s ease-in-out infinite;
 

}




/* banners */
.still-have-questions {
  height: 6rem;
  border-radius: 100px;
  background: 
  linear-gradient(to right, #FCEE21 -152%, #FF0000 182%),
  linear-gradient(to left, #FF0000 0%, #FFB912 32%),
  linear-gradient(to right, #FF0000 0%, #FCEE21 55%);
  color: var(--white);
  padding: 1em 2em;
}


.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 < 992px) {

  .navbar-collapse .nav-item .nav-link {
    color: var(--primary-orange);
  }
  .navbar-collapse {
  padding-top: 1em;
  padding-bottom: 1em;
}


.navbar-collapse .nav-item {
  width: 100%;
  text-align: center;
  margin-top: 1em;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

.navbar-collapse .button-nav-item {
  display: none;
}

.navbar-collapse .contact-nav-item {
  display: block;
}
}

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


/* accordions */
.accordion-button {
  color: var(--black-text);
  font-weight: 500;
  background-color: var(--gray);
  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(--primary-orange);
  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-container .custom-btn {
  background: white;
  color: var(--primary-orange);
}

.faq-container .custom-btn:hover {
  background: var(--orange-gradient);
  color: var(--white);
}

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



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


.faq-bg .know-more p {
  color: white;
}


.faq-bg > .glass-div {
    border-radius: 12px;
    height: 50%;
    width: 100%;
    margin: 1em;
    padding: 1em;
  

   /* From https://css.glass */
  background: rgba(255, 255, 255, 0);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.3px);
  -webkit-backdrop-filter: blur(3.3px);
  border: 1px solid rgba(255, 255, 255, 0.51);
  
}

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

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

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


/* modal */
.modal i {
  z-index: 1;
  color: var(--primary-orange);
  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;
  border: none;
  border-radius:20px;
}

.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: 30px;
  background-color: var(--gray);
  padding: 1em;
  min-height: 15rem;
}

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


.tab-pane-awards {
  background-color: var(--white);
  border: none;
  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-link {
  background-color: var(--gray-light);
  height: 3rem;
  border-radius: 40px;
  padding: 2em 0.5em 2em 0.5em;
  overflow: hidden;
}

.hero-links {
  border-radius: 30px;
  width: 150px;
  position: relative;
  z-index: 2;
}

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



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

.hero-links:hover img {
  filter: brightness(0) invert(1);
}


.hero-links:hover .icon-circle {
  background-color: transparent;
}


.icon-circle {
  background-color: #FFF8EC;    
  border-radius: 50%;           
  width: 50px;                 
  height: 50px;                 
  display: flex;             
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out;
  margin-right: 8px;
}

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


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


.hero-links.mobile .icon-circle  {
  height: 40px;
  width: 40px;
  margin-right: 5px;
}

.hero-links.mobile {
  width: 105px;
}

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

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

}


.hero-links img {
  height: 20px;
  width: 20px;
  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;
  height: 55px;
  border-radius: 30px;
}

.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(--primary-orange);
}

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



/* 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: 100%;
  padding: 0.5em;
  border: none;
  border-radius: 50px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: 1px solid #D9DBE9;
}


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




/* Fancy Cards / Packages */

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

.fancy-cards-container  {
  width : unset;
}



/* Fancy Cards with flip support */
.fancy-cards {
  height: 23rem;
  width: 19rem;
  border-radius: 20px;
  background-color: var(--gray-light);
  display: flex;
  flex-direction: column;
  padding: 1.5em;
  cursor: pointer;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.fancy-cards:hover {
  scale: 1.1;
}


/* Card Faces */
.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  top: 0;
  left: 0;
  padding: 1em;
  background-color: var(--gray-light);
}

.card-front {
  z-index: 2;
}

.card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

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

/* Info icon styling */
.info-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 18px;
  color: var(--gray-primary);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.info-icon:hover {
  color: var(--primary-orange);
  scale: 1.2;
}

/* Card back specific styling */
.card-back .features {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0.5em;
  margin-top: 1em;
  flex: 1;
  overflow-y: auto;
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

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

.card-back .features p {
  margin: 0;
  font-weight: 300;
}

/* Hide scrollbar for card back */
.card-back {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

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

.fancy-cards .pack-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black-text);
}

.fancy-cards .pack-speed {
  color: var(--orange-gradient);
  font-size: 12px;
  font-weight: 600;
  
}



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

.fancy-cards .footer-details {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  color: var(--black-text);
  border-bottom: 2px solid #D9D9D9;
}

.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;
  font-size: 0.9rem;
  color: var(--black-text);
  margin-top: 10px;
  gap: 0.5em;
}


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

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

.fancy-cards .initiate-checkout {
  background-color: white;
  width: 100%;
  border-radius: 12px;
  height: 75px;
}


.fancy-cards .initiate-checkout p {
  font-size: 1.5rem;
  font-weight: 700;
}

.fancy-cards .initiate-checkout .taka-icon {
  font-size: 1rem;
  font-weight: 600;
}

.fancy-cards .initiate-checkout .month-span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-primary);
}

.fancy-cards .initiate-checkout img {
  transition: transform 0.5s ease-in-out; 
}

.fancy-cards:not(.flipped):hover .initiate-checkout img {
  transform: rotate(360deg);
}


.mobile-packages .splide__pagination {
  bottom: -1.5em;
}


.desktop-packages { display: block; }
.mobile-packages  { display: none; }

@media (max-width: 659.98px) {
  .desktop-packages { display: none; }
  .mobile-packages  { display: block; }
}



.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);
}




/* services section */
.services-section {
  background-color: #FFF8EC;
  background-image: url("/static/images/our-services-bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 700px;
  min-height: 500px;
}

.service-card {
  height: 12rem;
  width: 14rem;
  border-radius: 8px;
  padding: 1em;
  margin: 10px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  overflow: hidden;
  transition: all 0.3s ease-in-out;
}





/* background layer */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.8)
  );

  mix-blend-mode: plus-lighter;
  opacity: 35%;

  border: 1px solid rgba(255,255,255,0.6);

  z-index: 0; /* sits behind text */
  transition: all 0.3s ease-in-out;
}

/* content layer */
.service-card img,
.service-card h1,
.service-card p {
  position: relative;
  z-index: 1; /* keeps text/image above blending */
  color: #000; /* stays readable */
}




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


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

.service-card p {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gray-primary);
  transition: all 0.3s ease-in-out;
  margin-top: 3px;
}



/* service card animation only for screens larger than 600px */
@media (min-width: 601px) {
  .service-card:hover {
    transform: scale(1.1);
    background-color: white;
    opacity: 100%;
  }

  .service-card:hover p {
    margin-top: 4px;
    font-size: 0.7rem;
  }

  .service-card:hover img {
    height: 40px;
    width: 40px;
  }
}









/* 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;
  border-radius: 20px;
  height: 30rem;
  padding: 1.5em;
  background-color: var(--gray);
}

.contact-us-form .form-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black-text);
  margin-bottom: 2rem;
}

.about-user {
  flex: 3;

  padding: 1rem;
}

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



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



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

 input, select {
  background-color: white;
  border: 1px solid #D9DBE9;
  border-radius: 50px;
  padding: 0.5em;
  width: 100%;
  margin: 0.5em 0em 1em 0em;
  color: #a4a4a4;
  transition: all 0.1s ease;
}



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


input::placeholder {
  font-weight: 300;
}


.about-service {
  flex: 1.5;
  background-color: white;
  border-radius: 15px;
  padding: 2em;
  width: 100%;
  transition: all 0.1s ease;
  height: 25rem;
  border: 1px solid #D9DBE9;
}




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


.about-service .dropdown-container::after {
  top: 50%;

}


#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(--gray);
  border: none;
  border-radius: 8px;
  padding: 0.6em;
  margin-top: 1rem;
}

#serviceTabsContent .pack-price {
  font-size: 1.5rem;
  font-weight: 700;
}

#serviceTabsContent .order-pack .pack-name {
  color: var(--black-text);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

#serviceTabsContent  .taka-icon {
    font-size: 1rem;
    font-weight: 600;
}

#serviceTabsContent .month-span {
      font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-primary);
}

#serviceTabsContent .order-pack .pack-speed {
  font-size: 0.9rem;
  font-weight: 500;
}

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

#serviceTabsContent input {
  background-color: var(--white);
  border: 1px solid #D9DBE9;
  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 {
  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 - styled like enterprise why-us section */

/* Main Section Styles */
.speed-calculator-section {
  background-image: 
    url('/static/backgrounds/circular-gradient.svg'),
    url('/static/backgrounds/circular-gradient.svg');
  background-position: 
    left center,
    right 40%;
  background-repeat: no-repeat, no-repeat;
  background-size: 50% 200%, 50% 200%;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* Frosted Glass Container */
.speed-calculator-container {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  position: relative;
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
}

/* Content layer */
.speed-calculator-container > * {
  position: relative;
  z-index: 1;
}

.calculator-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1em;
  margin-top: 2rem;
}

/* Calculator Card Styles - matching enterprise pills */
.calculator-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1em 0.8em;
  border-radius: 9999px;
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out;
  height: 80px;
}

/* Background layer with plus-lighter effect */
.calculator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.8)
  );
  mix-blend-mode: plus-lighter;
  opacity: 100%;
  border: 1px solid rgba(255,255,255,0.6);
  z-index: 0;
  transition: all 0.3s ease-in-out;
}

/* Content layer */
.calculator-card .icon-container,
.calculator-card .right-content,
.calculator-card .text-container,
.calculator-card .counter {
  position: relative;
  z-index: 1;
}

.calculator-card:hover {
  transform: scale(1.05);
}

.calculator-card .icon-container {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;

}

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

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

.calculator-card .text-container {
  margin-bottom: 8px;
}

.calculator-card .text-container p {
  font-weight: 600;
  color: var(--black-text);
  font-size: 0.9rem;
  margin: 0;
}

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

.calculator-card .counter button {
  background: #FFF8EC;
  color: var(--primary-orange);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.calculator-card .counter button:hover {
  transform: scale(1.1);
  background: var(--primary-orange);
}

.calculator-card .counter button:hover img {
  filter: brightness(0) invert(1);
}

.calculator-card .counter input {
  width: 30px;
  height: 5px;
  text-align: center;
  font-size: 1rem;
  border: none;
  background: transparent;
  color: var(--gray-primary);
  font-weight: 600;
  outline: none;
  margin: 0px;
}

/* Button and dropdown styles */


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

.speed-calculator-container .calculate-button:not(:disabled):hover {
  transform: scale(1.05);
  background-color: var(--black-text);
  cursor: pointer;
}

.calculator-card-info {
  color: var(--black-text);
  text-align: center;
}

.calculator-dropdown {
  background-color: rgba(255, 255, 255, 0.8) !important;
  color: var(--gray-dark) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  backdrop-filter: blur(5px);
}

/* Mobile styles */
@media (max-width: 767px) {
  .speed-calculator-section {
    min-height: auto;
    background-image: url('/static/backgrounds/circular-gradient.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 500% 150%;
    padding: 2em 0.5em;
  }
  
  .speed-calculator-container {
    padding: 1rem;
  }
  
  .calculator-card-grid {
    grid-template-columns: 1fr;
    gap: 0.8em;
  }
  
  .calculator-card {
    padding: 0.8em 0.5em;
    height: 60px;
  }
  
  .calculator-card .icon-container {
    width: 50px;
    height: 50px;
    padding: 0.8em;
  }
  
  .calculator-card .icon-container img {
    height: 28px;
    width: 28px;
  }
  
  .calculator-card .text-container p {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .speed-calculator-container {
    padding: 3rem;
  }
}

/* Modal styles */
.calculator-modal .modal i {
  color: var(--primary-orange);
}

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

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

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

.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(--black-text);
}

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

.calculator-modal .pack p {
  color: var(--black-text);
}

.calculator-modal .square-btn {
  background-color: var(--primary-orange);
  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-image: url("/assets/backgrounds/footer-2.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.footer-container {
  border-radius: 30px;
  color: var(--black-text);
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  padding: 2em 3em 2em 3em;

}


.footer-container .footer-text {
  max-width: 35ch;
  color: var(--black-text);
  font-size: 15px;
}

.footer-container .social-link img {
  height: 50px;
  width: 50px;
  transition: transform 0.3s ease-in-out; /* apply transition always */
}

.footer-container .social-link img:hover {
  transform: scale(1.1);
}




.footer-container .nav-link {
  font-size: 15px;
  color: var(--black-text);
}

.footer-container .nav-link:hover {
  color: var(--primary-orange);
  transition: all 0.3s ease-in-out;
}

.footer-container a {
  color: var(--black-text);
}




/* Media Qs */

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

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


@media (width < 1200px) {

  .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;
  }

  .heading-subtext {
    max-width: 100%;
  }

  .contact-us-form .form-heading  {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1em;
    width: 100%;
  }

  /* nav */

  .desktop-nav {
    display: none;
  }

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


}


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

  .custom-navbar {
    padding: 10px;
  }
}


@media (width < 1100px) {

  .rounded-btn,
  .square-btn {
    font-size: 0.8rem;
  }
}


@media (width < 900px) {

  .hero-moving-element {
    width: 120px;
    left: -90px;
    
  }

  .custom-container {
    width: 80%;
  }



  .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) {
  .custom-container {
    width: 95%;
  }

  .mobile-hide {
    display: none;
  }



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


  
  /* hero section */
  
  .hero-text .title {
    font-size: 2.5rem;
  }
  .hero-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-slider {
    max-width: 350px;
  }

  .hero-moving-element {
    width: 120px;
    left: -90px;

  }


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

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


 


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


  /* banner */
  .still-have-questions {
    height: 4rem;
    padding: 0.5em 1em;
  }

  .still-have-questions .custom-btn {
    width: 120px;
    height: 35px;
    font-size: 12px;
  }

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

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

  }





}




@media (width < 600px) {
  
  /* Hero section */

  .hero-text .title {
    font-size: 1rem;
  }

  .hero-text .subtitle {
    font-size: 0.8rem;
  }

  .hero-text .custom-btn {
    margin-top: 1em;
    font-size: 10px;
    width: 105px;
    height: 25px;
    padding: 5px 10px;
  }

  .hero-text .custom-btn img {
    width: 5px;
  }

  .hero-moving-element {
    width: 60px;
    left: -45px;

  }

  .heading-subtext {
    max-width: 40ch;
    font-size: 14px;
  }


  /* fancy cards */
  .card-face {
    padding: 0.5em;
  }
  .fancy-cards {
    height: 14rem;
    width: 100%;
    border-radius: 15px;
    background-size: 65px 65px;
    background-position: 98% 10%;
    padding: 0.5em;
  }


  .fancy-cards .pack-title {
    font-size: 1rem;
  }



  .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;
  }

  .fancy-cards .footer-details p {
    line-height: 15px;
    font-size: 12px;
  }

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

  .fancy-cards .features {
    font-size: 0.5rem;
    margin-top: 5px;
  }



  .fancy-cards .initiate-checkout {
    height: 40px;
    border-radius: 8px;
  }

  .fancy-cards .initiate-checkout p {
    font-size: 1.2rem;
  }

  .fancy-cards .initiate-checkout .month-span {
    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;
  }

  .fancy-cards-container {
    width: 100%;
  }

  /* service cards */
  .service-cards {
    padding-top: 3em;
    padding-bottom: 3em;
  }

  .service-card {
    width: 49%;
    height: 10rem;
    margin: 0px;
    margin-bottom: 8px;
  }

  .service-card h1 {
    font-size: 0.7rem;
  }

  .service-card p {
    font-size: 0.6rem;
  }


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

  .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 .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%;
  }


  /* form */
  .contact-us-form {
    padding: 1em;
  }



  /* 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-section {
    background-position: center;
  }

  .footer-container {
    padding: 1.5em;
  }

}


@media (width < 390px) {
  .fancy-cards .initiate-checkout p {
    font-size: 1rem;
  }

  .fancy-cards .initiate-checkout .month-span {
    font-size: 0.5rem;
  }

}




