@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=SUSE&display=swap');


body {
  margin: 0px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #444;
  font-family: 'Suse';
}

p {
  color: #444;
  font-family: 'poppins';
}

.primary-bg {
  background-color: #FC2222;
}

.primary-text {
  color: #FC2222;
}

.secondary-bg {
  background-color: #06111b;
}

.secondary-text {
  color: #06111b;
}

.header-top {
  font-weight: 500;
  color: #666;
}

.carousel-caption1 {
  position: absolute;
  bottom: 30%;
  width: 40%;
}
.carousel-caption1 h1,
.carousel-caption1 p {
  color: #fff;
}

.img {
  width: 100%;
  height: 700px;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(50%);
}

.zoom-hover {
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.zoom-hover:hover {
  transform: scale(1.1);
}

.bg-img {
  background-image: url("../assets/service-bg.jpg");
  background-repeat: no-repeat;        
  background-size: cover;              
}

.bg-services-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  color: #fff;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.bg-services-img div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  box-shadow: 0px 2px 4px 0px rgba(100, 100, 100, 0.15);
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  padding: 16px;
  gap: 15px;
  border-radius: 4px;
}
.bg-services-img div a {
  text-decoration: none;
  color: #fff;
}

.searchBar {
  width: 100%;
  background-color: #eee;
  border: 2px solid #eee;
  border-radius: 6px;
  padding: 12px;
  outline: none;
  color: #444;
}
.searchBar:focus {
  border-color: #FC2222;
}

.primary-btn {
  background-color: #FC2222;
  border: 1px solid #FC2222;
  border-radius: 6px;
  padding: 12px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.primary-btn:hover {
  color: #fff;
  opacity: 90%;
}


@media (width < 600px) {
  .img {
    height: 500px;
  }
  .carousel-caption1 {
    width: auto;
    bottom: 20%;
  }
  .header-top {
    display: none;
  }
}
.hiddenLeft {
  opacity: 0;
  filter: blur(3px);
  transform: translateX(-10px);
  transition: all 0.7s ease-in-out;
}

.hiddenRight {
  opacity: 0;
  filter: blur(3px);
  transform: translateX(10px);
  transition: all 0.7s ease-in-out;
}

.hiddenDown {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(-10px);
  transition: all 0.7s ease-in-out;
}

.hiddenLeft:nth-child(2) {
  transition-delay: 200ms;
}

.hiddenLeft:nth-child(3) {
  transition-delay: 400ms;
}

.hiddenLeft:nth-child(4) {
  transition-delay: 600ms;
}

.hiddenLeft:nth-child(5) {
  transition-delay: 800ms;
}

.hiddenLeft:nth-child(6) {
  transition-delay: 1000ms;
}

.hiddenRight:nth-child(2) {
  transition-delay: 200ms;
}

.hiddenRight:nth-child(3) {
  transition-delay: 400ms;
}

.hiddenRight:nth-child(4) {
  transition-delay: 600ms;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translate(0px);
}/*# sourceMappingURL=index.css.map */


@property --progress-value {
  syntax: '<integer>';
  inherits: false;
  initial-value: 0;
}

@keyframes success-progress {
  to { --progress-value: 0; }
}

@keyframes reff-progress {
  to { --progress-value: 100; }
}

@keyframes Accident-progress {
  to { --progress-value: 95; }
}

.progress-bar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  
  /* to center the percentage value */
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-bar::before {
  counter-reset: percentage var(--progress-value);
  content: counter(percentage) '%';
}

.success {
  background: 
    radial-gradient(closest-side, white 79%, transparent 80% 100%),
    conic-gradient(#FC2222 calc(var(--progress-value) * 1%), #d3bbbb 0);
  animation: success-progress 2s 1 forwards;
}

.success::before {
  animation: sucess-progress 2s 1 forwards;
}

.reff {
  background: 
    radial-gradient(closest-side, white 79%, transparent 80% 100%, white 0),
    conic-gradient(#FC2222 calc(var(--progress-value) * 1%), pink 0);
  animation: reff-progress 2s 1 forwards;
}

.reff::before {
  animation: reff-progress 2s 1 forwards;
}

.Accident {
  background: 
    radial-gradient(closest-side, white 79%, transparent 80% 100%, white 0),
    conic-gradient(#FC2222 calc(var(--progress-value) * 1%), pink 0);
  animation: Accident-progress 2s 1 forwards;
}

.Accident::before {
  animation: Accident-progress 2s 1 forwards;
}


progress {
  width: 0;
  height: 0;
}

@media (width < 600px) {
  #navBtn {
    display: none;
  }
}


.btt {
  color: #ffffff;
  background-color: #00855d;
  font-size: 32px;
  line-height: 0;
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.btt.active {
  visibility: visible;
}
.btt:hover {
  color: white;
  background-color: #00865e;
}


/* TESTING CSS */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Gallery card styling */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure images fill the card and maintain aspect ratio */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Ensures the image covers the container, cropping if needed */
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Hover effect for images */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* Caption styling */
.caption {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 16px;
}
.custom-header {
  position: absolute;
  color: #fff;
  width: 40%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
}

