/* GENERAL SETUP */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('../fonts/LibreBaskerville-Italic.woff2') format('woff2'),
        url('../fonts/LibreBaskerville-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('../fonts/InterTight-Regular.woff2') format('woff2'),
        url('../fonts/InterTight-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter Tight', sans-serif !important;
  font-size: 18px !important;
}

.emphasized-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
}

:root {
    --primary: #198754;
    --bg: #d1e7dd;
    --blue: #1e90ff;
    --white: #ffffff;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
  }

.bg-theme-primary {
    background-color: var(--primary);
}

.bg-theme-bg {
    background-color: var(--bg);
}

.text-theme-primary {
    color: var(--primary);
    /*font-family:'Merriweather',serif;*/
}

.text-theme-secondary {
    color: var(--white);
}

/* TEXT */
.emphasis {
    font-weight: bold;
}

.motto {
    display: inline-block;
    width: 100%;
}

.tagline {
    font-weight: bold;
}

.tagline-wrapper {
    margin-top: -60px;
    z-index: 10;
    position: relative;
  }

/* CAROUSEL */
#main-carousel .carousel-item {
    height: 650px;
}

#main-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    bottom: 0;
    top: 0;
  }

  .text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  }

  @media (max-width: 768px) {
    .carousel-caption h2 {
      font-size: 1.8rem;
    }

    .carousel-caption p {
      font-size: 1rem;
    }
  }

/* .carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    width: 80%;
}

.carousel-caption h5 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
} */

.icon-circle {
    width: 48px;
    height: 48px;
  }

/* CARDS */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.card:hover, .projectImg:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    animation-duration: 300ms;
}

/* TESTIMONIALS */
.star-rating {
    display: flex;
    gap: 5px;
}

.star {
    width: 30px;
    height: 30px;
}

.testimonial-section {
    background-color: var(--primary);
    padding: 50px 0 100px;

    @media only screen and (max-width: 767px) {
        padding: 70px 0 115px;
    }
}

.testimonial-wrapper {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 35px;
    height: 100%;
    font-size: 18px;
}

.testimonial-wrapper p {
    color: #808695;
}

.testimonial-section #testimonial-carousel .carousel-indicators {
    margin-bottom: -30px;
}

.testimonial-section #testimonial-carousel {
    position: relative;
}

#testimonial-carousel {
    [class*="col-"] {
        margin-bottom: 30px;
      }

    .carousel-control-prev,
    .carousel-control-next {
        margin: 0 auto;
        width: 150px;
        font-size: 22px;
        text-transform: uppercase;
        font-weight: 800;
        color: white;

        @media only screen and (max-width: 479px) {
            font-size: 16px;
            width: 100px;
        }
    }

    .carousel-control-prev {
        left: -150px;

        @media only screen and (max-width: 479px) {
            left: -100px;
        }
    }

    .carousel-control-next {
        right: -150px;

        @media only screen and (max-width: 479px) {
            right: -100px;
        }
    }
}

@media (min-width: 1200px) {
  .image-second {
    order: 2 !important;
  }
  .text-first {
    order: 1 !important;
  }
}

.contact-btn-wrapper {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1050;
    }

    .contact-btn {
      background-color: var(--primary);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 0;
      width: 60px;
      height: 60px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: width 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .contact-btn:hover {
      width: 260px;
    }

    .contact-icon {
      font-size: 24px;
      flex-shrink: 0;
      margin-left: 12px;
      margin-right: 12px;
    }

    .contact-details {
      opacity: 0;
      max-width: 0;
      overflow: hidden;
      transition: opacity 0.3s ease, max-width 0.3s ease;
      white-space: nowrap;
      color: white;
    }

    .contact-btn:hover .contact-details {
      opacity: 1;
      max-width: 180px;
      margin-right: 18px;
    }

     .image-card {
      position: relative;
      overflow: hidden;
      border-radius: 15px;
      height: 200px;
      transition: transform 0.3s;
    }

    .image-card img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      display: block;
    }

    .image-card:hover {
      transform: scale(1.02);
    }

    .overlay-text {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 10px;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      text-align: center;
      font-size: 1.25rem;
    }