
  
  @media (min-width: 550px) and (max-width: 991px) {
  .service_section .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .counter-section .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


@media (max-width: 991px) and (min-width: 550px) {
  .recent-projects .projects-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 550px) {
  .recent-projects .projects-grid {
    grid-template-columns: 1fr; /* 1 column for mobile devices */
  }
}

/* Media Query for Tablets (550px to 991px) */
@media (max-width: 991px) and (min-width: 550px) {
    .row.pb-3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; /* Align items nicely */
    }

    .col-lg-4 {
        flex: 0 0 48%; /* 2 columns for tablets */
        max-width: 48%;
    }
}

/* Media Query for Mobile (Below 550px) */
@media (max-width: 550px) {
    .col-lg-4 {
        flex: 0 0 100%; /* 1 column for mobile devices */
        max-width: 100%;
    }
}


/* Blogs Section Style */

.blog-item img {
  transition: .5s;
}

.blog-item:hover img {
  transform: scale(1.2);
}

.blog-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(rgba(68, 66, 90, 0), #44425a);
  z-index: 1;
}

/* Mobile View */
@media (max-width: 576px) {
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}





/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 50px;
    display: none; /* Hidden by default */
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    text-align: center;
    z-index: 1000; /* Ensure it's on top of other elements */
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    background-color: #0056b3;
    cursor: pointer;
}

.back-to-top i {
    font-size: 20px; /* Icon size */
}


.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  line-height: 60px;
  transition: box-shadow 0.3s;
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

.whatsapp-button:hover {
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4);
}


  /* Floating Inquiry Button */
    #inquiryBtn {
      position: fixed;
      right: 30px;
      bottom: 100px;
      background-color: #28a745;
      color: white;
      padding: 15px;
      border-radius: 50%;
      font-size: 16px;
      border: none;
      cursor: pointer;
      z-index: 1000;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    #inquiryBtn:hover {
      background-color: #218838;
    }

@media (max-width: 550px) {
    #inquiryBtn {
         bottom: 70px;
          right: 10px;
    }
    .back-to-top{
        right: 10px;
        bottom: 20px;
    }
}

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

    /* Modal Content */
    .modal-content {
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      width: 80%;
      max-width: 500px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    /* Close Button */
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }

    /* Form Styles */
    .form-container {
      display: flex;
      flex-direction: column;
    }

    .form-container input,
    .form-container textarea {
      margin: 10px 0;
      padding: 10px;
      font-size: 16px;
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .form-container button {
      padding: 10px 20px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .form-container button:hover {
      background-color: #0056b3;
    }
	
	
.overlay {
  display: flex;
  justify-content: center; /* Center the icons horizontally */
  align-items: center; /* Vertically align the icons if needed */
  gap: 15px; /* Adjust spacing between icons */
}

.overlay a {
  font-size: 25px; /* Set font size for icons */
  color: white; /* Set icon color to white */
  text-decoration: none; /* Remove underline from links */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
  margin-bottom:10px;
}

.overlay a:hover {
  color: #0077b5; /* Change color on hover */
}

/* Frequently Asked Questions */

.faq-container {
            display: flex;
            width: 100%;
            height: 500px;
        }

        /* Left image section */
        .faq-image {
            flex: 1;
            background-image: url('your-image-url.jpg');
            background-size: cover;
            background-position: center;
        }

        /* Right FAQ section */
        .faq-content {
            flex: 1;
            padding: 50px;
            background-color: #1e1e1e;
            overflow-y: auto;
        }

        .faq-content h1 {
            color: #fefefe;
            font-size: 32px;
            margin-bottom: 30px;
        }

        .faq-item {
            margin-bottom: 15px;
            background-color: #333;
            border-radius: 8px;
            overflow: hidden;
        }

        .faq-question {
            font-size: 18px;
            font-weight: 600;
           /* background: linear-gradient(90deg, #ff7e5f, #feb47b); */
			background-color:#007bff;
            padding: 15px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s ease;
        }

        .faq-question i {
            transition: transform 0.3s ease;
        }

        .faq-question.active i {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            background-color: #222;
            padding: 0 15px;
            transition: max-height 0.3s ease;
        }

        .faq-answer p {
            padding: 15px 0;
            font-size: 16px;
            color: #aaa;
            line-height: 1.6;
        }

        /* Responsive */
        @media screen and (max-width: 768px) {
            .faq-container {
                flex-direction: column;
            }

            .faq-image {
                height: 300px;
            }

            .faq-content {
                padding: 20px;
            }
        }


  /* Adjust iframe height for mobile and tablet views */
  @media (max-width: 767px) {
    .map_container iframe {
      height: 300px;
    }
  }
  
  /* Add some spacing between form and map on mobile */
  @media (max-width: 767px) {
    .form_container, .map_container {
      margin-bottom: 30px;
    }
  }
  
  /* Ensure iframe takes full height for desktop/laptop */
  .map_container {
    height: 450px;
  }
  
  
  /*Price Section */
  
   .pricing-header {
            text-align: center;
            margin: 2rem 0;
            font-size: 2.5rem;
            font-weight: bold;
        }

        .card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none;
            border-radius: 1rem;
            margin: 1rem;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
        }

        .card-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .card-price {
            font-size: 2rem;
            color: #007bff;
            margin: 1rem 0;
        }

        .card-features {
            list-style-type: none;
            padding: 0;
        }

        .card-features li {
            margin: 0.5rem 0;
            font-size: 0.9rem;
        }

        .pay-now-btn {
            margin-top: 1rem;
        }

        /* Gradient backgrounds for cards */
        .card1 {
            background: linear-gradient(135deg, #ffafbd, #ffc3a0);
        }

        .card2 {
            background: linear-gradient(135deg, #86e3ce, #fbc2eb);
        }

        .card3 {
            background: linear-gradient(135deg, #fbc2eb, #fa99dc);
        }

        .card4 {
            background: linear-gradient(135deg, #a6c1ee, #fbc2eb);
        }

        .card5 {
            background: linear-gradient(135deg, #ffecd2, #fcb69f);
        }

        .card6 {
            background: linear-gradient(135deg, #ff9a9e, #fad0c4);
        }

        @media (max-width: 768px) {
            .card {
                flex: 0 0 100%; /* 1 card on mobile */
            }
        }

        @media (min-width: 769px) and (max-width: 992px) {
            .card {
                flex: 0 0 48%; /* 2 cards on tablet */
            }
        }

        @media (min-width: 993px) {
            .card {
                flex: 0 0 30%; /* 3 cards on desktop */
            }
        }


.slider_section .detail-box {
    color: #00204a;
    position: relative; /* Required for z-index */
     width: 83%;
     height: 330px;
     margin-left: 80px;
    
}
    
  @media (min-width: 320px) and (max-width: 430px) {
   .slider_section .detail-box {
      margin-top:200px;
     margin-left: 15px;
  }
}

 @media (min-width: 430px) and (max-width: 767px) {
   .slider_section .detail-box {
      margin-top:480px;
     margin-left: 35px;
  }
}

    
    /* General styles for mobile view */
@media (max-width: 767px) {
  .slider_section .carousel-inner {
    padding: 20px 10px;
  }

  .slider_section .carousel-item .container {
    padding: 0 15px;
  }

  .slider_section .carousel-item .detail-box h2 {
    font-size: 22px;
  }

  .slider_section .carousel-item .detail-box h1 {
    font-size: 24px;
  }

  .slider_section .carousel-item .detail-box p {
    font-size: 16px;
  }

  .slider_section .carousel-item .detail-box .btn-box a {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Make image box and detail box stack vertically */
  .slider_section .carousel-item .row {
    display: flex;
    flex-direction: column;
  }

  .slider_section .carousel-item .col-md-6 {
    width: 100%;
    text-align: center;
  }

  .slider_section .carousel-item .img-box {
    margin-top: 20px;
  }

  .slider_section .img-box img {
    max-width: 100%;
    height: auto;
  }
}



/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

section.portfolio {
  background-color: #f8f9fa;
}

h2 {
  color: #333;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Filter Menu */
.filter-menu {
  margin-bottom: 2rem;
}

.filter-menu .btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.filter-menu .btn:hover {
  background-color: #0056b3;
}

.filter-menu .btn.active {
  background-color: #28a745;
}

/* Portfolio Items */
#portfolio-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.project-item {
  flex: 1 1 calc(33.333% - 15px);
  box-sizing: border-box;
}

.project-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 15px;
  text-align: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.card .btn {
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.card .btn:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 991px) {
  .project-item {
    flex: 1 1 calc(50% - 15px);
  }
}

@media (max-width: 767px) {
  .project-item {
    flex: 1 1 100%;
  }
}



