.fancy2_bg{background-color: #eeeeee3d;}
.fancy-bg{background-image: url(../images/gallery_bg.png);background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;background-color: #eeeeee1f;
  width: 100%;
  height: auto;}
  .fancy_bg1{background-image: url(../images/Faunfacts-bg.png);background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;background-color: #eeeeee1f;
  width: 100%;
  height: auto;}
.banner_bg{background-image: url(../images/service.webp);background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 600px;}
  .banner_rbg{height: 100%;
  background: rgba(0, 0, 0, 0.6);display: flex;
  justify-content: flex-start;
  align-items: center;}
    .page-banner-cont {
   position: relative;
   z-index: 5;
}
.page-banner-cont h2 {
   font-size: 52px;
   color: #fff;
   padding-bottom: 15px;font-weight: bold;
}
.page-banner-cont .breadcrumb {
   margin: 0;
   background: none;
   padding: 0;
}
.page-banner-cont .breadcrumb .breadcrumb-item {
   color: #ffc600;
   font-size: 18px;
   font-weight: 600;
   margin-bottom: 2px;
}
.page-banner-cont .breadcrumb .breadcrumb-item a {
   color: #fff;
}
.page-banner-cont .breadcrumb-item + .breadcrumb-item::before {
   color: #fff;
   content: "/";
   font-size: 18px;
}
         /* service */
.services_detail .container{position: relative;z-index: 1;}
.service_tab ul li a {border: 1px solid #e4e4e4 !important;width: 100%;font-size: 18px !important;font-weight: 400 !important;padding:19px 30px;position: relative;margin-top: 12px;border-radius: 0 !important;text-align: center;display: flex;
  justify-content: flex-start;
  align-items: center;}
.nav-pills .nav-link {
   font-weight: bold !important;
   font-size: 17px !important;
   color: #000 !important;
}
.service_tab ul li a.active {background: #ffe14f !important;
  border-color: #ffe14f !important;
  color: #000 !important;display: flex;
  justify-content: flex-start;
  align-items: center;font-size: 17px !important;
  font-weight: bold !important;}
.Construction_img img{object-fit: cover;}
.Construction_img{height: 500px;}

.header  h3{font-weight: 600;
  font-size: 20px;}
/* dtert */
/* === Service Boxes Styling === */
.service-box {
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

/* Gradient border hover effect */
.service-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #FF8A3C, #FFE14F);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.4s ease;
  opacity: 0;
  z-index: -1;
}

/* Icon styling */
.service-box .icon {
  font-size: 45px;
  background:#ffe14f;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Headings */
.service-box h4 {
  font-family: "Teko", sans-serif;
  font-size: 28px;
  letter-spacing: 0.5px;
  color: #222;
  margin-bottom: 15px;
}

/* Paragraph */
.service-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  min-height: 120px;
}

/* Read More button */
.service-box .read-more {
  display: inline-block;
  margin-top: 10px;
  color: #666;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.service-box .read-more::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #FF8A3C, #FFE14F);
  transition: width 0.3s ease;
}

.service-box .read-more:hover::after {
  width: 100%;
}

/* === Hover Effects === */
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.service-box:hover::before {
  opacity: 1;
}

.service-box:hover .icon {
  transform: scale(1.1);
}

/* Optional subtle background color alternation */
.service-box.bg-light {
  background: #fafafa;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .service-box {
    margin-bottom: 30px;
  }
}

/* services */
 .services-section {
            max-width: 1400px;
            margin: 0 auto;padding-bottom: 70px;
      
        }
        
        .section-header {
            text-align: center;
            position: relative;padding-top: 45px;
        }
        
        .section-header h2 {
            font-size: 3rem;
            color: var(--dark);
            margin-bottom: 20px;
            font-weight: bold;
            letter-spacing: -1px;
        }
        
.section-header p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  min-height: 86px;
  padding: 20px 122px 20px 122px;
}
        
        .accent-line {
            height: 5px;
            width: 100px;
            background: linear-gradient(135deg, #FF8A3C, #FFE14F);
            margin: 15px auto;
            border-radius: 5px;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 35px;
        }
        
        .service-card {
            background-color: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            position: relative;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .card-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
           background: linear-gradient(135deg, #FF8A3C, #FFE14F);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            font-weight: 800;
            font-size: 1.2rem;
            z-index: 2;
            box-shadow: 0 5px 15px rgba(255, 225, 79, 0.4);
        }
        
        .card-header {
            background-color: #000;
            color: var(--light);
            padding: 30px 25px;
            position: relative;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        
        .card-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(24, 24, 28, 0.9), rgba(24, 24, 28, 0.7));
            z-index: 1;
        }
        
        .card-header h3 {
            font-size: 1.6rem;
            margin-bottom: 10px;
            position: relative;
            z-index: 2;
            font-weight: 700;color: #fff;
        }
        
        .card-header p {
            font-size: 0.95rem;
            opacity: 0.8;
            position: relative;
            z-index: 2;color: #fff;
        }
        
        .card-icon {
            position: absolute;
            bottom: -25px;
            right: 25px;
            width: 60px;
            height: 60px;
            background-color: #ffe14f;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            font-size: 1.5rem;
            z-index: 2;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .card-content {
            padding: 40px 25px 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .service-list {
            list-style-type: none;
            margin-bottom: 25px;
            flex-grow: 1;padding-left: 0;
        }
        
        .service-list li {
            padding: 12px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            padding-left: 30px;
            transition: all 0.3s ease;
        }
        
        .service-list li:hover {
            color: var(--accent);
            transform: translateX(5px);
        }
        
        .service-list li:before {
            content: '✓';
            color: var(--primary);
            position: absolute;
            left: 0;
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        .service-list li:last-child {
            border-bottom: none;
        }
        
        .card-footer {
            margin-top: auto;
            padding-top: 20px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
        
     .btn {
  position: relative;
  overflow: hidden; /* keeps ripple inside button */
  display: inline-block;
  background:#ffe14f;
  color: #000;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}
 .section-header h1 {
                font-size: 2.2rem; font-weight: bold;font-family: "Teko", sans-serif;
            }
            .s_title {
                font-size: 2.2rem; font-weight: bold;font-family: "Teko", sans-serif;
            } 
@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

        
        .card-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0.1;
            z-index: 0;
        }
        
        /* Background patterns for different cards */
        
        
        /* Responsive adjustments */
             @media screen and (min-width:1200px) and   (max-width:1399.98px) {
   .nav-pills .nav-link {
   font-size: 16px !important;
}
        }
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .section-header h1 {
                font-size: 2.2rem; font-weight: bold;
            }
            
            .section-header p {
                font-size: 1.1rem;
            }
        }
        
        /* Animation for cards on load */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .service-card {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }
        
        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }
        .service-card:nth-child(5) { animation-delay: 0.5s; }
        .service-card:nth-child(6) { animation-delay: 0.6s; }
        .service-card:nth-child(7) { animation-delay: 0.7s; }
        .service-card:nth-child(8) { animation-delay: 0.8s; }
        .service-card:nth-child(9) { animation-delay: 0.9s; }