* {
    /* border: 1px solid red; */
    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* aos fade-up, fade-down, fade-left, fade-right, zoom-in, zoom-out, flip-left, flip-right */

:root {
    --swiper-navigation-size: 0 !important;
}

html,
body {
    overflow-x: hidden;
}

.nav-link.active {
    background: none !important;
    font-weight: 700;
    color: var(--bs-dark) !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    border-radius: 0 !important;
    border-bottom: 3px solid var(--bs-dark);
}

.go-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
}

.go-to-top:hover {
  background-color: #212529;
  box-shadow: 0 0 15px rgb(255, 255, 255);
}

.herosection {
    width: 100%;
    height: clamp(250px, 300px, 400px);
    position: relative;
}

.primarySwiper.herosection{
    height: clamp(250px, 300px, 400px);
}

.primarySwiper {
    height: 80vh;
    width: 100%;
}

.primarySwiper .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.primarySwiper .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.primarySwiper .slide-content {
    position: absolute;
    z-index: 2;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.primarySwiper .slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.primarySwiper .slider-nagination {
    position: absolute;
    height: fit-content !important;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* gap: 10px; */
    z-index: 10;
}

.primarySwiper .swiper-button-next,
.primarySwiper .swiper-button-prev {
    position: static !important;
    min-width: 40px !important;
    min-height: 40px !important;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primarySwiper .swiper-button-next::after,
.primarySwiper .swiper-button-prev::after {
    display: none !important;
}

.primarySwiper .swiper-button-next i,
.primarySwiper .swiper-button-prev i {
    font-size: 20px;
    color: #fff;
}

/* Pagination bullets */
.primarySwiper .swiper-pagination {
    position: static !important;
    display: flex;
    gap: 6px;
    margin: 0 1rem;
}

.primarySwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.442) !important;
    opacity: 1;
}

.primarySwiper .swiper-pagination-bullet-active {
    background: #fff !important;
}

.aboutus-section {
    position: relative;
    display: flex;
    justify-content: center;
    height: max-content;
}

.overlap-portion {
    max-width: 80%;
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

.impact-section {
    /* height: 300px; */
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    /* or use Bootstrap's rounded-* class */
}

.impact-section .content {
    position: relative;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../images/slider-image1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 2;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card:hover .card-img-top img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.card-img-top img {
    transition: transform 0.3s ease;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #0dcaf0;
    /* Bootstrap info color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.card-desc-bottom {
    width: 85%;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.testimonialSwiper {
    padding: 40px 0;
    height: 420px;
}

.testimonialSwiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.testimonialSwiper .swiper-pagination {
    bottom: 10px !important;
}

.brandSwiper {
    padding: 20px 0;
}

.brandSwiper .swiper-slide {
    width: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brandSwiper .swiper-slide img {
    max-width: 100px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brandSwiper .swiper-slide img:hover {
    filter: grayscale(0%);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--bs-light);
    font-size: 16px;
    color: var(--bs-light);
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.aboutus-secondSection .custom-card {
    min-height: 200px;
    position: relative;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 8px 8px 16px #666666,
        -8px -8px 16px #ffffff;
    color: var(--bs-dark);

}

.custom-card .custom-cardLabel {
    color: var(--bs-primary);
    font-weight: 800;
}

.custom-card p::before {
    content: "“";
    font-size: 25px
}

.custom-card p::after {
    content: "”";
    font-size: 25px
}

.project-section {
    width: 90%;
    box-shadow: 2px 5px 10px gray;
}

.project-section .project-image {
    filter: drop-shadow(2px 2px 5px gray);
}

.project-image {
    height: fit-content;
    width: 100%;
    margin-top: -50px;
    margin-left: 0;
}

@media (min-width: 992px) {
    .project-image {
        height: 80%;
        margin-top: 0;
        margin-left: -60px;
    }
}

.gallery-item {
    cursor: pointer;
    overflow: hidden !important;
    height: 200px;
}

.gallery-item .overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}
#lightboxModal .prev, #lightboxModal .next{
    height: 50px;
    width: 50px;
}

#lightboxImage {
    height: 90vh;
    width: calc(100% - 150px);
    object-fit: contain;
}
#lightboxModal.show {
  background-color: rgba(0, 0, 0, 0.8); /* Darker backdrop */
}

.portfolio-filters li.filter-active {
  background-color: #007bff;
  color: white;
}

/* Base card style */
.info-card {
  border-color: #6c757d; /* Bootstrap secondary */
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Title and icon initial colors */
.info-card .card-title,
.info-card .icon-color {
  color: var(--bs-dark);
  transition: color 0.4s ease;
}

/* Hover state: change border, text and icon color */
.info-card:hover {
  border-color: var(--bs-light); /* Bootstrap primary */
  color: var(--bs-light);
  box-shadow: 0 0 20px rgba(13, 110, 253, 0.2);
  background-color: var(--bs-dark);
  cursor: pointer;
}

.info-card:hover .card-title,
.info-card:hover .icon-color {
  color: var(--bs-light);
}

/* Glossy shine overlay using ::before */
.info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.29);
  filter: blur(10px);
  transform: rotate(25deg);
  pointer-events: none;
}

/* On hover, animate the gloss shine */
.info-card:hover::before {
  animation: shine 0.8s forwards;
}

/* Keyframes for gloss shine animation */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}