/********** Template CSS **********/

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.fw-medium {
  font-weight: 500;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--bs-dark);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
  position: relative;
  padding: 0 0 10px 10px;
  z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
  font-size: 60px;
  line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  left: 0;
  bottom: 0;
  border-radius: 35px;
  transition: 0.5s;
  z-index: -1;
}

.icon-box-primary::before {
  background: var(--bs-red);
  opacity: 0.8;
}

.icon-box-light::before {
  background: var(--bs-light);
}

/*** Navbar ***/
.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 20px 0;
  color: var(--bs-dark);
  font-size: 18px;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-red);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .sticky-top {
  }

  .navbar {
    height: 68px;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(3, 27, 78, 0.3);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  background-color: var(--bs-red);
  border: 15px solid var(--bs-red);
}

@media (max-width: 767.98px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/8.webp) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-white);
}

/*** Features ***/

/*** About ***/
.about-fact {
  width: 220px;
  height: 220px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/*** Service ***/
.container-service {
  position: relative;
}

.container-service::before {
  position: absolute;
  content: "";
  background: var(--bs-light);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
  z-index: -1;
}

.service-item {
  position: relative;
  height: 100%;
  padding: 45px 30px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.service-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: 0.5s;
  background: var(--bs-primary);
}

.service-item:hover::before {
  height: 100%;
  top: 0;
}

.service-item * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
  color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
  background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
  color: var(--bs-white) !important;
}

.serviceBox {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
  margin-bottom: 21px;
}
.serviceBox .service-icon {
  width: 78px;
  height: 78px;
  border-radius: 3px;
  background: #fff;
  margin: 0 auto;
  position: absolute;
  top: -34px;
  left: 0;
  right: 0;
  z-index: 1;
  transition: all 0.3s ease-out 0s;
}
.serviceBox:hover .service-icon {
  transform: rotate(45deg);
}
.serviceBox .service-icon span {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 3px;
  background: #b42b00;
  font-size: 30px;
  color: #fff;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: all 0.3s ease-out 0s;
}
.serviceBox .service-icon span i {
  transition: all 0.3s ease-out 0s;
}
.serviceBox:hover .service-icon span i {
  transform: rotate(-45deg);
}
.serviceBox .service-content {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  padding: 55px 15px;
  position: relative;
  height: 260px;
}
.serviceBox .service-content:before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  margin: 0 auto;
  position: absolute;
  top: -37px;
  left: 0;
  right: 0;
  z-index: -1;
  transition: all 0.3s ease-out 0s;
}
.serviceBox:hover .service-content:before {
  transform: rotate(45deg);
}
.serviceBox .title {
  font-size: 17px;
  font-weight: 500;
  color: #00072e;
  text-transform: uppercase;
  margin: 0 0 25px 0;
  position: relative;
  transition: all 0.3s ease-out 0s;
}
.serviceBox:hover .title {
  color: #b42b00;
}
.serviceBox .description {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 0;
}
.serviceBox .read-more {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e7e7e7;
  font-size: 14px;
  color: #c4c2c2;
  margin: 0 auto;
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
  transition: all 0.3s ease-out 0s;
}
.serviceBox .read-more:hover {
  border: 1px solid #b42b00;
  color: #b42b00;
  text-decoration: none;
}
.serviceBox.green .service-icon span {
  background: #b42b00;
}
.serviceBox.blue .service-icon span {
  background: #b42b00;
}
.serviceBox.orange .service-icon span {
  background: #b42b00;
}
.serviceBox.green:hover .title {
  color: #b42b00;
}
.serviceBox.blue:hover .title {
  color: #b42b00;
}
.serviceBox.orange:hover .title {
  color: #b42b00;
}

.serviceBox:hover .read-more {
  border: 1px solid #b42b00;
  color: #b42b00;
}
.serviceBox.green:hover .read-more {
  border: 1px solid #b42b00;
  color: #b42b00;
}
.serviceBox.blue:hover .read-more {
  border: 1px solid #b42b00;
  color: #b42b00;
}
.serviceBox.orange:hover .read-more {
  border: 1px solid #b42b00;
  color: #b42b00;
}

@media (max-width: 576px) {
  .bg-red img {
    width: 60px; /* Smaller image size for mobile */
    padding: 10px; /* Reduced padding for mobile */
  }

  .bg-red h3 {
    font-size: 1rem; /* Smaller text size for mobile */
  }
}

/** FAQ **/
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  margin: 10px 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.accordion:after {
  content: "\002B";
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
/** FAQ End **/

/*services*/
.quantum {
  text-align: center;
  color: #000000;
  padding-bottom: 40px;
}
.quantum img {
  height: 300px;
  padding-bottom: 30px;
}

/*services end*/

/*** Contact ***/
@media (min-width: 992px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 991.98px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0px;
    top: 50%;
    left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

/*** Footer ***/
.footer {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/7.webp);
  background-size: cover;
}

@media (min-width: 992px) {
  .footer::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.copyright a {
  color: var(--bs-white);
}

.copyright a:hover {
  color: var(--bs-primary);
}

.counters {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.circle {
  width: 200px;
  height: 200px;
  background-color: #004080;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.circle1 {
  background-color: #b42b00;
}

.circle2 {
  background-color: #fff;
  border: 2px solid #8b8b8b;
  color: #8b8b8b;
}

.circle3 {
  background-color: #00072e;
}

.title {
  color: white;
  font-size: 18px;
  margin: 0;
  text-align: center;
}

.number {
  color: white;
  font-size: 36px;
  margin: 0;
  font-weight: bold;
}

.cbds {
  color: #00072e;
}

.breadcrumb {
  display: flex;
  border-radius: 10px;
  margin: auto;
  text-align: center;
  top: 50%;
  width: 100%;
  height: 40px;
  transform: translateY(-50%);
  z-index: 1;
  justify-content: center;
}

.breadcrumb__item {
  height: 100%;
  background-color: white;
  color: #8a91ac;
  font-family: "Oswald", sans-serif;
  border-radius: 7px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transform: skew(-21deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
  margin: 5px;
  padding: 0 40px;
  cursor: pointer;
}

.breadcrumb__item:hover {
  background: #b42b00;
  color: #fff;
}

.breadcrumb__inner {
  display: flex;
  flex-direction: column;
  margin: auto;
  z-index: 2;
  transform: skew(21deg);
}

.breadcrumb__title {
  font-size: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@media all and (max-width: 1000px) {
  .breadcrumb {
    height: 35px;
  }

  .breadcrumb__title {
    font-size: 11px;
  }
  .breadcrumb__item {
    padding: 0 30px;
  }
}

@media all and (max-width: 710px) {
  .breadcrumb {
    height: 30px;
  }
  .breadcrumb__item {
    padding: 0 20px;
  }
}

.News-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  margin-bottom: 20px;
  height: 280px;
}

.News-card p {
  font-size: 18px;
  margin: 15px 10px;
  color: #00072e;
  text-align: left;
}

.News-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 15px 10px;
  color: #b42b00;
  text-align: left;
}

.News-card span {
  display: block;
  text-align: left;
  font-size: 12px;
  color: #777;
  margin: 10px;
}

.article {
  padding-bottom: 80px;
}

.article-content {
  padding: 20px;
}

.article h1 {
  font-size: 24px;
  font-weight: 600;
  color: #b42b00;
}

.article p,
.article ul {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.article img {
  max-width: 700px;
  height: 300px;
  margin: 10px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: rgba(50, 50, 93, 0.2) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.2) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.2) 0px -2px 6px 0px inset;
}

.back a{
  color: #b42b00;
  display: flex;
  justify-content: end;
  font-size: x-large;
}

.back a:hover{
  color: #00072e;
}
