
html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
.about-section {
    padding: 8px 0;
    /* background-image: url('images/bgblack.jpg'); */
    background-color: black;
    color: white;
}
.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
.icon-box {
    font-size: 16px;
    color: black;
    background-color:white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: transform 0.5s;
}
.icon-box:hover {
    transform: rotate(5deg);
}
.icon-box i {
    margin-right: 10px;
}
.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}
.about-section h3
{
    color: red;
}
.about-text p {
    font-size: 16px;
    color:white;
}
.counter-section {
    padding: 60px 0;
    background-color: #e9ecef;
}
.counter {
    font-size: 40px;
    font-weight: bold;
    color: #f0654f;
}
.mb-3 {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 9999;
    pointer-events: auto;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Removed infinite animation loop – not needed */
@keyframes stay-visible {
    0% { transform: translateZ(0); }
    100% { transform: translateZ(0); }
}

/* Buttons */
.contact-buttons a {
    display: block;
    margin-bottom: 10px;
    background-color: #25d366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.3s;
    line-height: 1;
    width: 60px;
    height: 60px;
    line-height: 30px;
}

/* Phone-specific color */
.contact-buttons a.phone {
    background-color: #34b7f1;
}

/* Hover effects */
.contact-buttons a:hover {
    background-color: #128C7E;
}
.contact-buttons a.phone:hover {
    background-color: #007BFF;
}

/* ✅ Responsive: Tablet */
@media (max-width: 768px) {
    .contact-buttons a {
        width: 50px;
        height: 50px;
        font-size: 20px;
        padding: 10px;
        line-height: 30px;
    }
}

/* ✅ Responsive: Mobile */
@media (max-width: 480px) {
    .contact-buttons a {
        width: 45px;
        height: 45px;
        font-size: 18px;
        padding: 8px;
        line-height: 28px;
    }
}

/* Prevent wow.js or animate.css from hiding the contact buttons */
.contact-buttons,
.contact-buttons * {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
}

.youtube
{
    background:#fb1505;
}
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    width: 90%;
    max-width: 800px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.popup-content img {
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 5px;
}

.form-section {
    padding: 20px;
    flex: 1;
}

.form-control {
    margin-bottom: 10px;
}
/* 
.btn-grad {background-image: linear-gradient(to right, #EC6F66 0%, #F3A183  51%, #EC6F66  100%)}
.btn-grad {
   margin: 5px;
   padding: 10px 20px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;            
   box-shadow: 0 0 20px #eee;
   border-radius: 10px;
   display: block;
 } */
 .btn-grad {
    background-image: linear-gradient(to right, #2e2d2d 0%, #3b3b3a 51%, #6e6b6b 100%);
    margin: 10px auto;
    padding: 0.6rem 1.2rem;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    width: 100%;
    max-width: 200px;
    font-size: 1rem;
  }
  
  @media (max-width: 480px) {
    .btn-grad {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
    }
  }
  
 .mycontainer {
    display: flex;
    justify-content: center;  /* Horizontally center */
    align-items: center;      /* Vertically center */
               /* Full viewport height */
}
 .btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }

.btn-submit {
    background-color: #f28b82;
    border: none;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
    }

    .popup-content img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .form-section {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 10px;
    }
    .btn-submit {
        width: 100%;
    }
}


@media (max-width: 768px) {
    .swiper-slide {
        height: 60vh; /* Adjust for smaller screens */
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        height: 50vh;
    }
}
.navbar-nav .nav-link {
    position: relative;
    font-size: 16px;
    padding: 10px;
    transition: color 0.3s, transform 0.3s;
}
.navbar-nav .nav-link:hover {
    color: #f28b82;
    transform: scale(1.1);
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 0;
    background-color: #f28b82;
    transition: width 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .swiper-container {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .swiper-container {
        height: 150px;
    }
}

  
  /* Zoom-in effect on image */
  .carousel-item.active img {
    transform: scale(1.1); /* Zoom in */
  }
  
  /* Optional: Zoom-out on hover */
  .carousel-item img:hover {
    transform: scale(1.05); /* Slight zoom out effect when hovered */
  }
  

/* Text Animation on Scroll */
.text-content.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-content {
        font-size: 18px;
        padding: 10px;
    }
}
.flip-box {
    perspective: 1000px;
    height: 150px;
    position: relative;
  }

  .flip-box-inner {
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    height: 100%;
    position: relative;
  }

  .flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }

  .flip-face {
    backface-visibility: hidden;
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 1rem;
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .flip-front i, .flip-back i {
    font-size: 2rem;
    color: #333;
  }

  .flip-front {
    background-color: #ffffff;
  }

  .flip-back {
    transform: rotateY(180deg);
    background-color: #f8f9fa;
  }
  .text-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    max-width: 600px;
    border-radius: 10px;
  }
  
  .project-slider .item {
    position: relative;
  }
  @media (max-width: 768px) {
    h4 {
      font-size: 1.2rem; /* Smaller font size on mobile */
    }
  }
  /* For mobile devices */
@media (max-width: 576px) {
    .table th, .table td {
      font-size: 12px; /* Adjust font size for better readability on small screens */
    }
    .table-responsive {
      padding: 0;
    }
  }
  
  /* For tablet devices */
  @media (max-width: 768px) {
    .table th, .table td {
      font-size: 12px; /* Slightly larger font size for tablets */
    }
  }
/* Mobile specific styles */
@media (max-width: 768px) {
    .video-wrapper iframe {
      width: 94%;  /* Adjust the width to 90% for mobile */
      height: 200px; /* Reduce height for mobile view */
    }
}

  /* Ensure modal padding on mobile */
  .modal-body {
    padding: 0.5rem;
  }

  /* Modal content base */
  .modal-content {
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }

  .modal-header {
    background-image: linear-gradient(to right, #2e2d2d 0%, #3b3b3a 51%, #6e6b6b 100%);

    color: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .btn-close {
    filter: invert(1);
    opacity: 1;
  }

  .form-control {
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
    outline: none;
  }

  .btn-submit {
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    width: 100%;
    transition: background-color 0.3s ease;
    border: none;
  }

  .btn-submit:hover {
    background-color: #094db1;
  }

  .form-check-label {
    font-size: 0.85rem;
    color: #444;
  }

  .form-check-label a {
    color: #0d6efd;
    text-decoration: underline;
  }

  #form-message {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: green;
  }

  /* Media Query for Small Screens */
  @media (max-width: 576px) {
    .modal-dialog {
      margin: 1rem;
    }

    .modal-content {
      padding: 1rem;
    }

    .modal-header, .modal-body {
      padding: 1rem;
    }

    .modal-title {
      font-size: 1.1rem;
    }

    .btn-submit {
      font-size: 0.95rem;
      padding: 10px;
    }
  }
  .modal-header .close span {
    color: white;
    font-size: 1.5rem;
    line-height: 1;
  }
  

  
  


 
  