/* Services Banner Section */
.services-banner {
  position: relative;
  height: 50vh; /* fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('your-banner-image.jpg') center/cover no-repeat;
  background-attachment: fixed; /* parallax feel */
  color: #fff;
  overflow: hidden;
}

.services-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 32, 39, 0.7), rgba(32, 58, 67, 0.7), rgba(44, 83, 100, 0.7));
}

.services-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 15px;
}

/* Title Animation */
.services-banner-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(40px);
  animation: bannerFadeUp 1s ease forwards;
}

/* Subtitle Animation */
.services-banner-subtitle {
  font-size: 1.3rem;
  margin-top: 15px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(40px);
  animation: bannerFadeUp 1s ease 0.5s forwards;
}

/* Keyframes */
@keyframes bannerFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .services-banner-title {
    font-size: 2.2rem;
  }
  .services-banner-subtitle {
    font-size: 1rem;
  }
}


/* ##### Services Icons Row ##### */
.services-icons {
  background: #fff;
}

.services-icons .service-item {
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.services-icons .service-item .icon {
  font-size: 40px;
  color: #000;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.services-icons .service-item h6 {
  font-weight: 600;
  color: #333;
  margin: 0;
}

.services-icons .service-item:hover {
  transform: translateY(-5px);
}

.services-icons .service-item:hover .icon {
  color: darkgrey;
}

        
        .header {
            text-align: center;
            margin-bottom: 40px;
            animation: fadeInDown 0.8s ease-out;
        }
        
        .header h1 {
            color: darkgray;
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 700;
            margin: 10px;
            text-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        
        .header p {
            color: rgba(255,255,255,0.9);
            font-size: clamp(1rem, 2.5vw, 1.2rem);
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns */
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .product-card {
            perspective: 1000px;
            height: 380px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .product-card:nth-child(1) { animation-delay: 0.1s; }
        .product-card:nth-child(2) { animation-delay: 0.2s; }
        .product-card:nth-child(3) { animation-delay: 0.3s; }
        .product-card:nth-child(4) { animation-delay: 0.4s; }
        .product-card:nth-child(5) { animation-delay: 0.5s; }
        
        .card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transform-style: preserve-3d;
            cursor: pointer;
        }
        
        .product-card:hover .card-inner {
            transform: rotateY(180deg);
        }
        
        .card-front, .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            backface-visibility: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
            overflow: hidden;
        }
        
        .card-front {
            background: rgba(245,245,245,0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(128,128,128,0.3);
        }
        
        .card-back {
            background: linear-gradient(135deg, #5a5a5a 0%, #3c3c3c 50%, #2c2c2c 100%);
            backdrop-filter: blur(10px);
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 25px;
            color: white;
            border: 1px solid rgba(128,128,128,0.2);
        }
        
        .product-image {
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Changed to contain for better mobile display */
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 10px; /* Added padding around images */
        }
        
        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            padding: 20px;
            transform: translateY(100%);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .product-card:hover .image-overlay {
            transform: translateY(0);
        }
        
        .product-title {
            color: white;
            font-size: clamp(1.1rem, 2.5vw, 1.4rem);
            font-weight: 600;
            margin-bottom: 5px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }
        
        .product-price {
            color: #e0e0e0;
            font-size: clamp(1.2rem, 2.8vw, 1.3rem);
            font-weight: 700;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }
        
        .back-content {
            text-align: center;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 20px;
        }
        
        .back-title {
            font-size: clamp(1.3rem, 3vw, 1.6rem);
            font-weight: 700;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
            color: white;
        }
        
        .back-price {
            font-size: ;
            font-weight: 800;
            color: #e0e0e0;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .buy-now-btn {
            padding: 10px;
            background: linear-gradient(135deg, #6a6a6a 0%, #4a4a4a 50%, #2c2c2c 100%);
            color: white;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50px;
            font-size: clamp(0.9rem, 2.2vw, 1rem);
            font-weight: 600;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 6px 25px rgba(0,0,0,0.4);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            width: 100%;
            max-width: 200px;
            margin: 0 auto;
            display: block;
        }
        
        .buy-now-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }
        
        .buy-now-btn:hover::before {
            left: 100%;
        }
        
        .buy-now-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.6);
            background: linear-gradient(135deg, #fff 0%, #d5d4d4 50%, #b7b7b7 100%);
            color: #000 !important;
            font-weight: 700;
            border-color: rgba(255,255,255,0.5);
        }
        
        .show-more-container {
            text-align: center;
            margin-top: 30px;
            animation: fadeIn 0.8s ease-out 0.5s both;
        }
        
        .show-more-btn {
            padding: 15px 40px;
            background: linear-gradient(135deg, #6a6a6a 0%, #4a4a4a 100%);
            color: white;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50px;
            font-size: clamp(1rem, 2.5vw, 1.1rem);
            font-weight: 600;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .show-more-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
            transform: translate(-50%, -50%);
        }
        
        .show-more-btn:hover::after {
            width: 300px;
            height: 300px;
        }
        
        .show-more-btn:hover {
            background: linear-gradient(135deg, #8a8a8a 0%, #6a6a6a 100%);
            border-color: rgba(255,255,255,0.5);
            transform: translateY(-3px);
        }
        
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* Tablet View - 3 columns */
        @media (max-width: 1024px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
        }
        
        /* Mobile View - 2 columns */
        @media (max-width: 768px) {

            
            .products-grid { 
                grid-template-columns: repeat(2, 1fr);
                gap: 15px; 
            }
            
            .product-card { 
                height: 250px; 
            }
            
            .card-back { 
                padding: 15px; 
            }
            
            .product-image img {
                padding: 5px;
            }
            
            .image-overlay {
                padding: 15px;
            }
        }
        
        /* Small Mobile - 2 columns maintained */
        @media (max-width: 480px) {
          ..hero-banner h1{
            font-size: 18px;
          }
            
            .products-grid { 
                gap: 12px; 
            }
            
            .product-card { 
                height: 220px; 
            }
            
            .card-back { 
                padding: 12px; 
            }
            
            .back-content {
                gap: 12px;
            }
            .back-price, .back-title {
                font-size: 16px;
            }
        }
        
        /* Extra Small Mobile - Still 2 columns */
        @media (max-width: 360px) {
            .products-grid { 
                gap: 10px; 
            }
            
            .product-card { 
                height: 200px; 
            }
            
            .back-content { 
                gap: 10px; 
            }
        }


/* CTA Section */
.cta-section {
  height: 60vh;
  background: linear-gradient(135deg, #1a1a1a, #333333);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 10%, transparent 70%);
  animation: rotateBg 15s linear infinite;
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #25d366;
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  color: #000 !important;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.7);
}

/* Magnetic Hover Effect */
/* .cta-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #fff 15%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-btn:hover::after {
  opacity: 1;
  color: #000 !important;
  animation: magnetic 1.2s ease infinite;
}

@keyframes magnetic {
  0% { transform: translate(0,0); }
  25% { transform: translate(5px, -5px); }
  50% { transform: translate(-5px, 5px); }
  75% { transform: translate(5px, 5px); }
  100% { transform: translate(0,0); }
} */
