* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Poppins";
  src: url("font/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Poppins-Bold";
  src: url("font/Poppins-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Poppins-Black";
  src: url("font/Poppins-Black.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  margin: auto;
  padding: 0;
  max-width: 700px;
}

h1 {
  font-family: "Poppins-Black", Arial, sans-serif;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins-Bold", Arial, sans-serif;
}

p,
li,
a,
span,
blockquote {
  font-family: "Poppins", Arial, sans-serif;
}

/* dashboard  */
body {
  background-color: #f8f9fa;
  font-family: "Poppins", sans-serif;
}

.main-content {
  padding: 20px;
}

.balance-card {
  background: linear-gradient(135deg, #0b5d00 0%, #28a745 100%) !important;
  position: relative;
  overflow: hidden;
  color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.service-box {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
  background: #f1f1f1;
}

.pay-btn {
  width: 100%;
  padding: 12px;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

.pay-btn:hover {
  opacity: 0.8;
}

.dark-mode {
  background: #333 !important;
  color: white !important;
}

/* .dark-mode .balance-card,
.dark-mode .service-box,
.dark-mode .list-group-item {
  background: #222 !important;
  color: white !important;
} */

/* .............. */
.greent {
  color: #0b5d00;
}

.background-img {
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.95)
    ),
    url(/assets/img/hero3.webp);
}
.btn-success,
.card-header {
  background-color: #0b5d00;
  outline: none;
}

.btn-danger {
  background-color: #e0010d;
  outline: none;
}
.bg-white {
  background: green;
  transition: 1.5s ease-in;
}
.bg-white.scrolled {
  background: red;
}

.round {
  height: 140px;
  width: 140px;
  border-radius: 50%;
  margin: auto;
}

.red {
  /* color: #e0010d; */
  color: #80eb72;
}
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.7)
  );
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  color: #067419;
}

@keyframes marquee {
  100% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-50%);
  }
}
/**************************about section ***************/

img {
  max-width: 100%;
  height: auto;
}
section {
  padding: 60px 0;
  /* min-height: 100vh;*/
}

.sec-title {
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

.sec-title .title {
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 24px;
  color: #000066;
  font-weight: 500;
  margin-bottom: 15px;
}

.sec-title h2 {
  position: relative;
  display: block;
  font-size: 40px;
  line-height: 1.28em;
  color: #222222;
  font-weight: 600;
  padding-bottom: 18px;
}

.sec-title h2:before {
  position: absolute;
  content: "";
  left: 0px;
  bottom: 0px;
  width: 50px;
  height: 3px;
  background-color: #d1d2d6;
}

.sec-title .text {
  position: relative;
  font-size: 16px;
  line-height: 26px;
  color: #848484;
  font-weight: 400;
  margin-top: 35px;
}

.sec-title.light h2 {
  color: #ffffff;
}

.sec-title.text-center h2:before {
  left: 50%;
  margin-left: -25px;
}

.about-section {
  position: relative;
  padding: 120px 0 70px;
}

.about-section .sec-title {
  margin-bottom: 45px;
}

.about-section .content-column {
  position: relative;
  margin-bottom: 50px;
}

.about-section .content-column .inner-column {
  position: relative;
  padding-left: 30px;
}

.about-section .text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 26px;
  color: #848484;
  font-weight: 400;
}

.about-section .list-style-one {
  margin-bottom: 45px;
}

.about-section .btn-box {
  position: relative;
}

.about-section .btn-box a {
  padding: 15px 50px;
}

.about-section .image-column {
  position: relative;
}

.about-section .image-column .text-layer {
  position: absolute;
  right: -110px;
  top: 50%;
  font-size: 325px;
  line-height: 1em;
  color: #ffffff;
  margin-top: -175px;
  font-weight: 500;
}

.about-section .image-column .inner-column {
  position: relative;
  padding-left: 80px;
  padding-bottom: 0px;
}
.about-section .image-column .inner-column .author-desc {
  position: absolute;
  bottom: 16px;
  z-index: 1;
  background: #ff6600;
  padding: 10px 15px;
  left: 115px;
  width: calc(100% - 152px);
  border-radius: 50px;
}
.about-section .image-column .inner-column .author-desc h2 {
  font-size: 1em;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  margin: 0;
}
.about-section .image-column .inner-column .author-desc span {
  font-size: 0.8em;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  display: block;
  font-weight: 400;
}
.about-section .image-column .inner-column:before {
  content: "";
  position: absolute;
  width: calc(50% + 80px);
  height: calc(100% + 160px);
  top: -80px;
  left: -3px;
  background: transparent;
  z-index: 0;
  border: 44px solid #000066;
}

.about-section .image-column .image-1 {
  position: relative;
}
.about-section .image-column .image-2 {
  position: absolute;
  left: 0;
  bottom: 0;
}

.about-section .image-column .image-2 img,
.about-section .image-column .image-1 img {
  box-shadow: 0 30px 50px rgba(8, 13, 62, 0.15);
  border-radius: 46px;
}

.about-section .image-column .video-link {
  position: absolute;
  left: 70px;
  top: 170px;
}

/************************end about section  **************
***********************start service section ********/

.card::after {
  display: block;
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: calc(100% - 40px);
  height: 35px;
  background-color: #fff;
  -webkit-box-shadow: 0 19px 28px 5px rgba(64, 64, 64, 0.09);
  box-shadow: 0 19px 28px 5px rgba(64, 64, 64, 0.09);
  content: "";
  z-index: -1;
}
a.card {
  text-decoration: none;
}

.card {
  position: relative;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  -webkit-box-shadow: 0 12px 20px 1px rgba(64, 64, 64, 0.09);
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, 0.09);
}
.card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.box-shadow {
  -webkit-box-shadow: 0 12px 20px 1px rgba(64, 64, 64, 0.09) !important;
  box-shadow: 0 12px 20px 1px rgba(64, 64, 64, 0.09) !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}
.mr-auto,
.mx-auto {
  margin-right: auto !important;
}
.rounded-circle {
  border-radius: 50% !important;
}
.bg-white {
  background-color: #fff !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}
.d-block {
  display: block !important;
}
img,
figure {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.card-text {
  padding-top: 12px;
  color: #8c8c8c;
}

.text-sm {
  font-size: 12px !important;
}
p,
.p {
  margin: 0 0 16px;
}

.card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #000066;
}
.blue {
  color: #000066;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.head-icon {
  margin-top: 15px;
  color: #e0010d;
}

/*************************end service section************************
**************************start testimonial section **************/

figure.snip1390 {
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #000000;
  text-align: center;
  font-size: 16px;
  background-color: #000066;
  padding: 30px;
  background-image: linear-gradient(
    -25deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 30px;
}
figure.snip1390 *,
figure.snip1390 *:before,
figure.snip1390 *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
figure.snip1390 figcaption {
  width: 100%;
}
figure.snip1390 h2,
figure.snip1390 h4,
figure.snip1390 blockquote {
  margin: 0;
}
figure.snip1390 h2,
figure.snip1390 h4 {
  font-weight: 300;
}
figure.snip1390 h2 {
  color: #ffffff;
}
figure.snip1390 h4 {
  color: #a6a6a6;
}
figure.snip1390 blockquote {
  font-size: 1em;
  padding: 45px 20px 40px 50px;
  margin-top: 30px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: inset -1.4px -1.4px 2px rgba(0, 0, 0, 0.3);
  text-align: left;
  position: relative;
}
figure.snip1390 blockquote:before {
  content: "\201C";
  position: absolute;
  font-size: 70px;
  opacity: 0.25;
  font-style: normal;
  top: 0px;
  left: 20px;
}
figure.snip1390 .profile {
  width: 100px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
  border: solid 5px #ff0000;
}

.form-rounded {
  border-radius: 1rem;
}

/*******cta ***********/
.cta {
  background: linear-gradient(0deg, rgb(0, 0, 102), rgba(45, 125, 5, 0)),
    url("../img/building.jpg") fixed center center;
  background-size: cover;
  padding: 120px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #47b2e4;
  border: 2px solid #47b2e4;
}

@media (max-width: 1024px) {
  .cta {
    background-attachment: scroll;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

.bluegradient {
  background: #18152e;
  background: linear-gradient(270deg, #18152e, #000068);
}

.newsletter {
  position: relative;
  bottom: 100px;
  border-radius: 20px;
  background: #18152e;
  background: linear-gradient(270deg, #18152e, #000068);
}
.newsletter h2,
.newsletter p,
footer li,
footer h4,
footer pre {
  color: white;
}
footer li,
footer h4,
footer pre {
  text-align: center;
}
.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

/*****************acordion ***************/

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active1,
.accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: "\002B";
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active1:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* **************end accordion *****/

/* ****************timeline *********/

* {
  box-sizing: border-box;
}

.bodyt {
  background-color: #add8e6;
  font-family: Helvetica, sans-serif;
}

/* The actual timeline (the vertical ruler) */
.timelinet {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timelinet::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.containert {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.containert::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #ff9f55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.leftt {
  left: 0;
}

/* Place the container to the right */
.rightt {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.leftt::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.rightt::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.rightt::after {
  left: -16px;
}

/* The actual content */
.contentt {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timelinet::after {
    left: 31px;
  }

  /* Full-width containers */
  .containert {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .containert::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .leftt::after,
  .rightt::after {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .rightt {
    left: 0%;
  }
}

/*works done */

.containerr {
  position: relative;
  width: 100%;
}

.imagee {
  opacity: 1;
  display: block;
  width: auto;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.containerr:hover .image {
  opacity: 0.3;
}

.containerr:hover .middle {
  opacity: 1;
}

.ctext {
  background-color: #000066;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

/* hover effect for down link icon */
/* Default link styles */
.fixed-bottom .greent {
  color: #28a745; /* Change this to the desired color */
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.fixed-bottom .greent:hover {
  color: #155724; /* Darker shade for hover effect */
  transform: translateY(-3px); /* Slightly lifts the icon */
}

/* Active state (this can be added dynamically by JavaScript) */
.fixed-bottom .greent.active {
  color: #006400; /* Dark green for active state */
}

/* Icon size adjustments */
.fixed-bottom i {
  font-size: 20px; /* Adjust the size of the icons */
}

/* Center the text under the icon */
.fixed-bottom div {
  font-size: 12px;
  color: #333; /* Text color */
  margin-top: 5px;
}

/* Preloader  */
/* Preloader */
.preloader {
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: all;
}

/* Fade out preloader */
.preloader.fade-out {
  opacity: 0.5;
  pointer-events: none;
}

/* Main content */
#main-content {
  opacity: 0;
  transition: opacity 0.6s ease;
}

#main-content.visible {
  opacity: 1;
}

/* Preloader styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Adjust the gap between logo and circle */
}

/* Spinner styles */
.circle-loader {
  animation: rotate 2s linear infinite;
  position: relative;
  width: 100px; /* Increased size */
  height: 100px;
}

.circle-loader svg {
  width: 100%;
  height: 100%;
}

.circle-loader .path {
  stroke: #81b879;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

/* Pulse animation for the logo (Heartbeat effect) */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  20% {
    transform: scale(1.2);
    opacity: 0.8;
  } /* First small beat */
  40% {
    transform: scale(1);
    opacity: 1;
  } /* Return to normal */
  60% {
    transform: scale(1.2);
    opacity: 0.8;
  } /* Second small beat */
  80% {
    transform: scale(1);
    opacity: 1;
  } /* Return to normal */
  100% {
    transform: scale(1);
    opacity: 1;
  } /* End of the pulse cycle */
}

/* Apply the heartbeat effect to the logo */
.logo {
  position: absolute;
  width: 50px; /* Adjust size of your logo */
  animation: pulse 0.9s ease-in-out infinite; /* Adjust timing for heartbeat */
}

/* Keyframes for the spinner */
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 300;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 150, 300;
    stroke-dashoffset: -75;
  }
  100% {
    stroke-dasharray: 270, 300;
    stroke-dashoffset: -270;
  }
}

/* Hide main content initially */
#main-content {
  display: none;
}

/* 
Bottom slide  */

.rrr-container {
  max-width: 400px;
  margin: 20px auto;
  padding: 30px;

  border-radius: 20px;
  /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);*/
}

.form-control {
  border-radius: 15px;
  font-size: 1.1rem;
}

.btn-submit {
  border-radius: 15px;
  font-size: 1.1rem;
  padding: 12px;
}

.header-text {
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 20px;
}

/* Bottom Sheet Styling */
.open-bottom-sheet-btn {
  display: block;
  margin: 50px auto;
  padding: 15px 30px;
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 9999;
}

.bottom-sheet {
  position: fixed;
  left: 50%;
  bottom: -100%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 700px;
  background: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: bottom 0.3s ease-in-out;
  padding: 20px;
  z-index: 1000000000000;
}

.bottom-sheet.active {
  bottom: 0;
}

.bottom-sheet-overlay.active {
  display: block;
}

.bottom-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.bottom-sheet-content {
  margin-top: 20px;
}

.bottom-sheet-content.scroll-area {
  max-height: 40vh;
  /* or try 70vh, depending on how much of the screen you want */
  overflow-y: auto;
  padding-right: 10px;
  /* optional, prevents content from touching the edge when scrollbar appears */
}

.scroll-area::-webkit-scrollbar {
  width: 8px;
}

.scroll-area::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.scroll-area::-webkit-scrollbar-track {
  background: #f1f1f1;
}
