/********** Template CSS **********/
:root {
    --primary: #2b58a3;
    --secondary: #a7cf44;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);

}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(9, 30, 62, .85); */
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/banner-buff.png) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/boffin/bgh.png) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius: 100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.team-item img {
    height: 280px;
    width: 100%;
}


.price-item img {
    height: 280px;
    width: 100%;
}

.bg-offer {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/boffin/bg2.png) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/boffin/bg11.png) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85));
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85));
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}


.statistic {
    position: relative;
    overflow: hidden;
}

.statistic-item {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.statistic-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.statistic-item i {
    font-size: 50px;
    color: #091E3E;
    margin-bottom: 15px;
}

.statistic-counter {
    font-size: 42px;
    font-weight: 700;
    color: #a7cf44;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.counter-name {
    font-size: 18px;
    color: #6c757d;
    font-weight: 500;
}

@media (max-width: 768px) {
    .statistic-counter {
        font-size: 32px;
    }

    .counter-name {
        font-size: 16px;
    }

    .statistic-item {
        padding: 20px 15px;
    }
}


.modal-body {
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 1px;
    right: 100px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 18px;
    line-height: 1;
    z-index: 10;
}


/* ////////// */
.divisions-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
}

.divisions-section h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.divisions-section p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #004080;
}

.catalogue-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.catalogue-item {
  max-width: 250px;
  width: 100%;
  text-align: center;
  flex: 1 1 calc(25% - 30px); /* 4 columns */
}

.catalogue-item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.catalogue-item img:hover {
  transform: scale(1.05);
}

.catalogue-item h3 {
  margin-top: 10px;
  font-size: 16px;
  color: #003366;
  font-weight: 600;
  text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .catalogue-item {
    flex: 1 1 calc(33.33% - 30px); /* 3 columns */
  }
}

@media (max-width: 768px) {
  .catalogue-item {
    flex: 1 1 calc(50% - 30px); /* 2 columns */
  }
}

@media (max-width: 480px) {
  .catalogue-item {
    flex: 1 1 100%; /* 1 column on small screens */
  }

  .divisions-section h2 {
    font-size: 22px;
  }

  .divisions-section p {
    font-size: 16px;
  }
}

.catalogue-button {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 20px;
  background-color: #003366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.catalogue-button:hover {
  background-color: #0055aa;
  transform: translateY(-2px);
}


/* inner page  */
  .card-container {
  display: flex;
 
  gap: 20px;
  flex-wrap: wrap;
   padding: 0 40px; /* Adjust as needed (left & right) */

}

.card {
  width: 32%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  height: 367px;
  object-fit: cover;
  display: block;
}

.card-number {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 3px #000;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
}

.card-content {
  padding: 16px;
}

.card-content h4 {
  background: #779b14;
  color: #fff;
  display: inline-block;
  padding: 6px 12px;
  font-size: 16px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.card-content a {
  font-weight: bold;
  color: #00443f;
  text-decoration: none;
}

@media (max-width: 992px) {
  .card {
    width: 48%;
  }
}

@media (max-width: 600px) {
  .card {
    width: 100%;
  }
}



