/* Scoped CSS for #gallery */
#gallery {
  margin: 50px 0;
}

#gallery .section-title {
  text-align: center;
  margin-bottom: 30px;
}

#gallery .section-title h3 {
  font-size: 24px;
  color: #333;
}

#gallery .section-title h3 span {
  color: #007bff; /* Accent color */
}

#gallery .section-title p {
  font-size: 16px;
  color: #666;
}

/* Gallery Layout */
#gallery .row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Add spacing between items */
  justify-content: center;
}

#gallery .gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery .gallery-item img {
  width: 300px;
  height: 220px;
  display: block;
  transition: transform 0.3s ease;
}

#gallery .gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

#gallery .gallery-item img:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (min-width: 768px) {
  #gallery .col-md-3 {
    flex: 0 0 23%; /* Adjust to fit 4 items per row */
    max-width: 23%;
  }
  #gallery .gallery-item img {
  width: 370px;
  height: 220px;
  display: block;
  transition: transform 0.3s ease;
}
}

@media (max-width: 767px) {
  #gallery .col-sm-6 {
    flex: 0 0 47%; /* Adjust to fit 2 items per row */
    max-width: 47%;
  }
  #gallery .gallery-item img {
  width: 370px;
  height: 220px;
  display: block;
  transition: transform 0.3s ease;
}
}

@media (max-width: 480px) {
  #gallery .col-sm-6 {
    flex: 0 0 100%; /* Single column layout for smaller screens */
    max-width: 100%;
  }
  #gallery .gallery-item img {
  width: 370px;
  height: 220px;
  display: block;
  transition: transform 0.3s ease;
}
}

/* Add spacing between gallery items */
#gallery .container {
  padding: 0 15px;
}

.accordion-section {
            max-width: 800px;
            margin: auto;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        .accordion-item {
            border-bottom: 1px solid #ddd;
        }
        .accordion-header {
            padding: 15px;
            background: #f8f9fa;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .accordion-header:hover {
            background: #eaeaea;
        }
        .accordion-content {
            padding: 15px;
            display: none;
            font-size: 16px;
            color: #555;
        }
        .accordion-content img {
            max-width: 100%;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        .icon {
            transition: transform 0.3s ease;
        }
        .icon.rotate {
            transform: rotate(90deg);
        }


       
/* Slider container */
.slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

/* Flex container for the slides */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual slide */
.slide {
    min-width: 100%;
    cursor: pointer;
    position: relative;
}

/* Image inside the slide */
.slide img {
    width: 100%;
    height: 515px;
    display: block;
    border-radius: 10px;
}

/* Title overlay on the image */
.other-title {
    position: absolute;
    bottom: 20px;
    left: 490px;
    font-size: 24px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

/* Navigation buttons (prev/next) */
.navigation-btns {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal background */
.content-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 1000;
}

/* Modal active class to show it */
.content-modal.active {
    display: flex;
}

/* Modal content box */
.content-box {
    background: #ffffff;
    color: #000;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content-box h2 {
    margin-bottom: 10px;
}

.content-box p {
    margin-bottom: 20px;
}

.close-btn {
    cursor: pointer;
    background-color: #ff4757;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}
@media (max-width: 480px) {
    .slide img {
        width: 100%;
        height: 330px;
        display: block;
        border-radius: 10px;
        position: relative;
    }

    /* Title overlay on the image */
    .other-title {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 18px;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.6);
        padding: 10px 15px;
        border-radius: 5px;
        font-weight: bold;
        text-align: center;
        white-space: nowrap;
    }

    .slider-container {
        margin: 10px auto;
        padding: 0 10px;
        position: relative;
    }

    .content-box {
        padding: 15px;
    }

    .close-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .nav-btn {
        font-size: 18px;
        padding: 8px 16px;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .slide img {
        width: 100%;
        height: 330px;
        display: block;
        border-radius: 10px;
        position: relative;
    }

    /* Title overlay on the image */
    .other-title {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 18px;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.6);
        padding: 10px 15px;
        border-radius: 5px;
        font-weight: bold;
        text-align: center;
        white-space: nowrap;
    }

    .slider-container {
        margin: 10px auto;
        padding: 0 10px;
        position: relative;
    }

    .content-box {
        padding: 15px;
    }

    .close-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .nav-btn {
        font-size: 18px;
        padding: 8px 16px;
    }
}

        .floating_btn {
    position: fixed;
    bottom: 73px;
    left: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    z-index: 1000;
  }
 
  .floating_btn1 {
    position: fixed;
    bottom: 174px;
    left: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    z-index: 1000;
  }
 
  @keyframes pulsing {
    to {
      box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
  }
  
  .contact_icon {
    background-color: #42db87;
    color: #fff;
    width: 60px;
    height: 60px;
    font-size:30px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translatey(0px);
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 #42db87;
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
    
  }
  .contact_icon1 {
    background-color: #dc3545;
    color: #fff;
    width: 60px;
    height: 60px;
    font-size:30px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translatey(0px);
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 #dc3545;
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
  }

  @media screen and (max-width: 768px){
    .floating_btn1 {
      left: 5px;
      bottom: 47%;
     
    }
    .floating_btn {
      left: 5px;
      bottom: 37%;
    }
    .contact_icon1{
      width: 45px;
      height: 45px;
      font-size: 22px;
    }
    .contact_icon{
      width: 45px;
      height: 45px;
      font-size: 22px;
    }
  }
  /* General Styles */




/* Default styling for larger screens */
.logo-image {
    height: 98px;
    position: relative;
    top: -35px;
}

/* For screens smaller than 768px (e.g., tablets and small desktops) */
@media (max-width: 768px) {
    .logo-image {
        height: 75px;
        top: 4px;
    }
}

/* For screens smaller than 480px (e.g., mobile phones) */
@media (max-width: 480px) {
    .logo-image {
        height:135px;
        top:-40px;
        left:-25px;
        }
}
