/* ==================== ROOT & VARIABLES ==================== */
html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #00A86B;
  --primary-bg: #00A86B;
  --secondary-color: #20B2AA;
  --secondary-bg: #20B2AA;
  --white: #FFF;
}

/* ==================== BASE STYLES ==================== */
body {
  background-color: #FFF !important;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-size-adjust: 100%;
  font-family: "globalBengali", sans-serif;
  font-weight: 400;
  color: #000;
}

a {
  text-decoration: none !important;
  color: var(--primary-color);
  transition: .3s ease;
}

a:hover {
  color: var(--secondary-color);
}

p {
  font-size: 1.125rem;
}

/* ==================== UTILITY CLASSES ==================== */
.rounded-4 {
  border-radius: .5rem !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.fw-800 {
  font-weight: 800 !important;
}

.fs-7 {
  font-size: .9rem !important;
}

.fs-9 {
  font-size: .75rem !important;
}

/* ==================== BUTTONS & COMPONENTS ==================== */
.btn-site {
  background-color: var(--primary-bg);
  color: #FFF;
  font-size: 18px;
  padding: 7px 25px 7px 25px;
  transition: .3s ease-in;
  border-radius: .35rem;
}

.btn-site:hover {
  background-color: var(--secondary-bg);
  color: #FFF;
}

.text-site {
  color: var(--primary-color);
}

.bg-light {
  background-color: #E8F5E9 !important;
}

.svg {
  display: inline-block;
  background: 0;
  width: 1rem;
  margin-right: .3rem;
}

iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== TOP BAR & MARQUEE ==================== */
.top-bar {
  background-color: var(--primary-color);
  padding: 7px 0;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--white);
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 120s linear infinite;
  transform: translateX(-50%);
  will-change: transform;
}

.marquee-content p {
  display: inline-block;
  margin: 0 1rem;
  font-size: 17px;
  font-weight: 500;
}

@keyframes marquee {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee-content:hover {
  animation-play-state: paused;
}

/* ==================== NAVBAR ==================== */
.navbar-light .navbar-nav .nav-link {
  color: var(--primary-color) !important;
  font-size: 16px;
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
}

.navbar {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
  padding: 1rem 0;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 0;
  white-space: nowrap;
}

.navbar-brand img {
  height: 45px;
}

.navbar-light .navbar-toggler {
  background-color: var(--primary-bg);
  box-shadow: none;
  outline: 0;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.3em;
  height: 1.7em;
}

/* ==================== BANNER ==================== */
.banner {
  position: relative;
  padding: 55px 0;
  background-image: url("../../images/network.webp");
  background-size: cover;
  background-position: center;
  color: #FFF;
}

.banner:before {
  background: linear-gradient(180deg, #2D2E87CC 0, #2D2E8729 100%);
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.banner .container {
  position: relative;
  z-index: 2;
}

.banner .container h1 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==================== GRADIENT BACKGROUNDS ==================== */
.bg-gradient-primary {
  background-image: linear-gradient(186deg, #50D878 5.6%, #00A86B 95.3%);
}

.bg-gradient-secondary {
  background-image: linear-gradient(90deg, var(--secondary-bg) 0, #FBA20887 100%);
}

.bg-site-primary {
  background-color: var(--primary-bg);
}

.bg-site-secondary {
  background-color: var(--secondary-bg);
}

/* ==================== HOME SECTION ==================== */
.home-img {
  background: url("../../images/top-bg.webp") no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  max-height: 500px;
}

.home-img:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(217deg, #2D2E872B 22%, #22201d 100%);
  z-index: 1;
}

.home-img .top-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  height: 100%;
}

.home-img .top-content .display-3 {
  font-weight: 600;
}

/* ==================== HOME TABS ==================== */
.home-tabs .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.home-tabs .container span {
  display: inline-flex;
  background: var(--secondary-bg);
  color: #FFF;
  text-align: center;
  padding: 6px 12px;
  border-radius: 25px;
  transition: .45s ease-in-out;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.home-tabs .container span:hover {
  background: var(--primary-bg);
  cursor: pointer;
}

.home-tabs .container span:first-child {
  margin-left: 0;
}

.home-tabs .container span:last-child {
  margin-right: 0;
}

/* ==================== HOME POINTS ==================== */
.home-points h2 {
  font-size: 2rem;
  text-align: center;
}

.home-points .points .card {
  background-color: rgba(0, 168, 107, 0.1);
  border-color: #ddd;
}

.home-points .points .card h4 {
  color: #00A86B;
  font-weight: 600;
}

.home-points .points i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* ==================== ADV SECTION ==================== */
.adv .card {
  padding: 2rem 2.5rem;
  border-radius: 1rem;
}

.adv .img_sp2 img {
  width: 45%;
  right: 0;
  transform: rotate(15deg) translateY(-20%);
}

.adv .text h3 {
  font-size: 2.5rem;
}

.adv .text .badge {
  font-size: 18px;
  padding-top: .6rem !important;
  padding-bottom: .6rem !important;
}

/* ==================== PACKAGES ==================== */
.packages .card {
  padding: 2rem 1.5rem;
  color: #FFF;
  border-radius: 1rem;
}

/* ==================== CONNECTION ==================== */
.connection .new-cnc {
  background-color: rgb(0, 168, 107, 0.1);
  padding: 4.5rem 3rem;
}

.connection .cnc-cntr {
  width: 65px;
  height: 65px;
  line-height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-bg);
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: #FFF;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* ==================== THREE IMAGES ==================== */
.thr-imgs .card {
  height: 320px;
}

.thr-imgs .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .7s ease-out;
}

.thr-imgs .card:hover img {
  transform: scale(1.1);
}

.thr-imgs .card .card-footer {
  background-color: var(--primary-bg);
  color: #FFF;
  text-align: center;
  font-size: 1.4rem;
}

/* ==================== FOOTER ==================== */
.ftr ul {
  padding: 0;
  margin: 0;
}

.ftr ul li {
  display: block;
}

.ftr ul li a {
  display: block;
  padding: 4px 0;
  font-size: 1.2rem;
}

.ftr .btrc {
  width: 75%;
  margin: auto;
  display: block;
}

.ftr .members img.flex-img {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding: 0 3px;
}

/* ==================== FTP SERVER ==================== */
.ftp_server a {
  display: block;
  padding: 8px 3px;
  background-color: var(--primary-bg);
  color: #FFF;
  text-align: center;
  font-size: 1.5rem;
  border-radius: .4rem;
  font-weight: 600;
  transition: .3s ease-out;
}

.ftp_server a:hover {
  background-color: var(--secondary-bg);
  color: #000;
}

/* ==================== CONTACT ==================== */
.contact iframe {
  height: 100%;
}

.contact .card i {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  text-align: center;
  color: var(--secondary-bg);
  font-size: 1.7rem;
  background-color: #FFF;
  display: block;
}

/* ==================== REVIEWS ==================== */
.reviews .card {
  background-color: rgb(0, 168, 107, 0.09);
}

.reviews .card h6 {
  color: var(--primary-color);
}

/* ==================== OFFCANVAS ==================== */
.offcanvas .navbar-nav .nav-link.active,
.offcanvas .navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
}

/* ==================== MEDIA QUERIES ==================== */
@media (min-width: 1400px) {
  .container {
    min-width: 1140px !important;
  }
}

@media (max-width: 1366px) {
  .container {
    min-width: 90% !important;
  }

  .connection .new-cnc {
    padding: 2.5rem 2rem;
  }

  .home-img {
    max-height: 400px;
  }
}

@media (max-width: 1080px) {
  .desktop-menu {
    display: none !important;
  }

  .home-img {
    max-height: 300px;
  }

  .home-img .top-content {
    padding: 0;
  }

  .home-img .top-content h1.display-3 {
    font-size: calc(1.2rem + 3.3vw);
  }

  .home-tabs .container {
    justify-content: start;
    gap: 5px;
  }

  .home-tabs .container span {
    padding: 3px 12px;
  }

  .home-points h2.w-50 {
    width: 100% !important;
    font-size: 2rem;
  }

  .support p.w-50 {
    width: 100% !important;
  }

  .ftr .logoftr {
    height: 150px;
    display: block;
    margin: auto;
  }

  .ftr .btrc {
    height: 150px;
    width: auto;
  }
}