/* =========================================================
   index.css
   Page-specific styles for /index
   Split out of the old monolithic style.css. Rule order is
   unchanged from the original file.
   ========================================================= */

.header-carousel .header-carousel-item {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
  position: relative;
  overflow: hidden;
}
.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -300px;
  right: -300px;
  border-radius: 300px;
}
.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 1200px;
  top: -150px;
  left: 70px;
}
.header-carousel .header-carousel-item::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 1200px;
  top: -150px;
  left: -265px;
}
.header-carousel .header-carousel-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2 !important;
}
.header-carousel .header-carousel-item .carousel-caption {
  position: absolute;
  width: 80%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  justify-content: center;
  padding-top: 30px;
  z-index: 9;
}
@media (max-width: 992px) {
  .header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
  }
  .header-carousel .header-carousel-item .carousel-caption {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 10px;
  }
  .header-carousel-item img {
    height: 700px;
    object-fit: cover;
  }
}
.testimonial .testimonial-carousel {
  position: relative;
}
.serices-1 .serices-1-item {

}
.serices-1 .serices-1-item .serices-1-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.serices-1 .serices-1-item .serices-1-img img {
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-img img {
  transform: scale(1.2);
}
.serices-1 .serices-1-item .serices-1-img::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(68, 210, 246, 0.4);
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-img::after {
  width: 100% !important;
  height: 100% !important;
}
.serices-1 .serices-1-item .serices-1-content {
  position: relative;
}
.serices-1 .serices-1-item .serices-1-content::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-dark);
  transition: 0.5s;
  z-index: 1;
}
.serices-1 .serices-1-item:hover .serices-1-content::after {
  width: 100% !important;
  height: 100% !important;
}
.serices-1 .serices-1-item .serices-1-content .serices-1-content-inner {
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-content .serices-1-content-inner {
  position: relative;
  color: var(--bs-white) !important;
  transition: 0.5s;
  z-index: 2;
}
.serices-1 .serices-1-item:hover .serices-1-content .serices-1-content-inner a.h4 {
  color: var(--bs-white) !important;
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-content .serices-1-content-inner a.h4:hover {
  color: var(--bs-primary) !important;
}
.serices-1 .serices-1-item {

}
.serices-1 .serices-1-item .serices-1-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.serices-1 .serices-1-item .serices-1-img img {
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-img img {
  transform: scale(1.2);
}
.serices-1 .serices-1-item .serices-1-img::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(68, 210, 246, 0.4);
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-img::after {
  width: 100% !important;
  height: 100% !important;
}
.serices-1 .serices-1-item .serices-1-content {
  position: relative;
}
.serices-1 .serices-1-item .serices-1-content::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-dark);
  transition: 0.5s;
  z-index: 1;
}
.serices-1 .serices-1-item:hover .serices-1-content::after {
  width: 100% !important;
  height: 100% !important;
}
.serices-1 .serices-1-item .serices-1-content .serices-1-content-inner {
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-content .serices-1-content-inner {
  position: relative;
  color: var(--bs-white) !important;
  transition: 0.5s;
  z-index: 2;
}
.serices-1 .serices-1-item:hover .serices-1-content .serices-1-content-inner a.h4 {
  color: var(--bs-white) !important;
  transition: 0.5s;
}
.serices-1 .serices-1-item:hover .serices-1-content .serices-1-content-inner a.h4:hover {
  color: var(--bs-primary) !important;
}
.testimonial {
  padding-top: 60px;
  padding-bottom: 60px;
}
.carousel-Clients-bg {
  background: #fff;
  border-radius: 10px;
}
.company-small-text {
  font-size:16px;
  font-weight: bold;
}
.pbmit-ihbox-style-16 {
  display: inline-block;
  padding: 15px;
  position: relative;
  z-index: 1;
}
.pbmit-ihbox-style-16 .pbmit-ihbox-box {
  display: flex;
  align-items: center;
}
.pbmit-ihbox-style-16.why-choose-cards .pbmit-ihbox-box {
  align-items: unset;
}
.pbmit-ihbox-style-16::before {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: #1966b1 !important;
  opacity: 0;
  z-index: -1;
  transition: .5s;
  transform: perspective(400px) rotateX(-90deg);
  transform-origin: top;
  color: #fff !important;
}
.pbmit-ihbox-style-16::hover {
  color: #fff !important;
}
.pbmit-ihbox-style-16 .pbmit-ihbox-icon .pbmit-ihbox-icon-type-text, .pbmit-ihbox-style-16 .pbmit-ihbox-icon .pbmit-icon-type-icon, .pbmit-ihbox-style-16 .pbmit-ihbox-svg .pbmit-ihbox-svg-wrapper {
  width: 70px;
  height: 70px;
  text-align: center;
  font-size: 55px;
  line-height: 110px;
  color: var(--pbmit-global-color);
  background-color: #fff !important;
}
.pbmit-ihbox-style-16 .pbmit-ihbox-svg .pbmit-ihbox-svg-wrapper {
  font-size: 28px;
  line-height: 100px;
  fill: var(--pbmit-global-color);
}
.pbmit-ihbox-style-16 .pbmit-ihbox-icon, .pbmit-ihbox-style-16 .pbmit-ihbox-svg {
  margin-right: 22px;
}
.pbmit-ihbox-style-16 .pbmit-element-title {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .pbmit-ihbox-style-16 .pbmit-element-title {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 8px;
  }
}
.pbmit-ihbox-style-16 .pbmit-element-heading, .pbmit-ihbox-style-16 .pbmit-element-subtitle {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}
.pbmit-mihbox-hover-active .pbmit-ihbox-style-16 .pbmit-ihbox-icon .pbmit-ihbox-icon-type-text, .pbmit-ihbox-style-16:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-type-text, .pbmit-mihbox-hover-active .pbmit-ihbox-style-16 .pbmit-ihbox-icon .pbmit-icon-type-icon, .pbmit-ihbox-style-16:hover .pbmit-ihbox-icon .pbmit-icon-type-icon, .pbmit-mihbox-hover-active .pbmit-ihbox-style-16 .pbmit-ihbox-svg .pbmit-ihbox-svg-wrapper, .pbmit-ihbox-style-16:hover .pbmit-ihbox-svg .pbmit-ihbox-svg-wrapper {
  background-color: rgba(var(--pbmit-global-color-rgb), 0.2);
  background-image: linear-gradient(to left, #ab7aa526, #849ee54d);
}
.pbmit-ihbox-style-16, .pbmit-ihbox-style-16::before, .pbmit-ihbox-style-16 .pbmit-ihbox-icon-wrapper.pbmit-ihbox-icon-type-image img, .pbmit-ihbox-style-16 .pbmit-ihbox-icon-wrapper.pbmit-ihbox-icon-type-text, .pbmit-ihbox-style-16 .pbmit-ihbox-icon-wrapper .pbmit-icon-type-icon, .pbmit-ihbox-style-16 .pbmit-ihbox-svg .pbmit-ihbox-svg-wrapper {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}
.pbmit-ihbox-style-16, .pbmit-ihbox-style-16 .pbmit-ihbox-svg .pbmit-ihbox-svg-wrapper {
  transition: all 0.5s ease 0s;
}
.pbmit-ihbox-style-16, .pbmit-ihbox-style-16 .pbmit-ihbox-svg .pbmit-ihbox-svg-wrapper {
  transition: all 0.5s ease 0s;
  background: #011c30;
}
.pbmit-ihbox-style-16 .pbmit-ihbox-icon-wrapper {
  font-size: 45px;
  line-height: 100px;
}
.pbmit-ihbox-style-16:hover::before {
  transform: perspective(400px) rotateX(0deg);
  opacity: 1;
}
.pbmit-ihbox-style-16 .pbmit-ihbox-icon .pbmit-icon-type-icon {
  box-shadow: 0px 2px 40px 0px rgb(0 0 0 / 5%);
  border-radius: 100px;
}
.pbmit-ihbox-style-16 .pbmit-ihbox-icon-wrapper img {
  max-width: 100px;
  height: 100px;
}
.pbmit-ihbox-style-16 .pbmit-ihbox-btn {
  margin-top: 15px;
}
.pbmit-ihbox-style-17 .pbmit-element-title {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 15px;
}
.pbmit-text-color-white .pbmit-ihbox-style-17 .pbmit-element-title {
  color: var(--pbmit-blackish-color);
}
.wrapper1 {
  max-width: 100%;
}
/* =====================================
   GALLERY
===================================== */
.section-padding { padding: 30px 0; background: #f4f8fa; }
.home-heading-center-wrapper { text-align: center; margin-bottom: 24px; }
.home-heading-center { font-family: "Roboto", Arial, sans-serif; font-size: clamp(30px, 3vw, 42px); font-weight: 700; color: #0A1650; line-height: 1.15; text-align: center; margin: 0; }
.custom-bento-gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 12vw; gap: 8px; max-width: 100%; }
.bento-item { position: relative; border-radius: 8px; overflow: hidden; background-color: #111; }
.bento-item.tall { grid-row: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.3s ease; }
.bento-item a { display: block; width: 100%; height: 100%; }
.bento-item:hover img { transform: scale(1.07); filter: brightness(0.80); }
.bento-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,9,26,0.45), transparent); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.bento-item:hover::after { opacity: 1; }

@media (max-width: 1200px) { .custom-bento-gallery { grid-auto-rows: 14vw; } }
@media (max-width: 991px)  { .custom-bento-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 24vw; } }
@media (max-width: 575px)  { .custom-bento-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 34vw; } }

.future-padding {
  padding-top:150px !important;
  padding-bottom: 100px !important;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {

}
.home-page-testimonials {
  height: 270px;
}
@media (max-width: 768px) {
  .home-page-testimonials {
    height: auto;
  }
}

/* ---------------------------------------------------------
   Moved out of index.php (was an inline <style> block)
   --------------------------------------------------------- */

                            .small-alert {
                                padding: 8px 12px !important;
                                
                                margin-top: 10px;
                            }
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
/* ==========================================
   CUSTOM GALLERY LIGHTBOX (POPUP)
========================================== */
.gallery-modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 999999; /* Sit on top of everything including navbar */
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.85); /* Black with opacity */
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh; /* Prevents it from touching the top/bottom */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
    color: #ffca05; /* Changes to yellow on hover */
    text-decoration: none;
    cursor: pointer;
}
