/* General Body Styling */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(360deg, rgb(0, 0, 0) 0%, rgb(22, 6, 6) 100%);
}

/* Fix vertical gap between sections */
section,
div,
footer {
  margin: 0;
  padding: 0;
}

/* Specifically fix spacing below Touch Solutions (assumed .contact-info or similar) */
.contact-info,
.touch-section,
.about-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Services Section */
.services {
  background: linear-gradient(to right, #4b8099, #68b0c9, #1e7498);
  padding: 40px 20px;
  text-align: center;
  margin-top: 0 !important;
}

/* Header inside services */
.services-header {
  width: 100%;
  margin-bottom: 20px;
}

#text {
  color: #ffffff;
  font-size: 1.8rem;
  margin: 0;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.btn-group button {
  background-color: #003cff;
  width: 250px;
  height: 60px;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 8px rgba(255, 255, 255, 0.2);
}

.btn-group button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* Navigation Buttons */
.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.controls button {
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.controls button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Discount Form */
.discount-form-container {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 500px;
  max-width: 90%;
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

.discount-form h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.discount-form label {
  display: block;
  font-size: 14px;
  margin-top: 10px;
}

.discount-form input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.discount-form button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: #ff0000;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.discount-form button:hover {
  background: #df4545;
  color: #000000;
}

/* Blog Section */
.blog-reviews-section {
  background: radial-gradient(circle at center, #0a0c3f, #000000);
  padding: 60px 20px;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #00ffff;
  font-weight: bold;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.blog-card,
.review-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover,
.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.review-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease-in-out;
  color: #e0f7fa;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.review-card h3 {
  color: #00ffff;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.review-card p {
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.review-card:hover {
  background: linear-gradient(135deg, #00ffff33, #00777755);
  transform: scale(1.05);
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.3);
}

.review-card:hover h3,
.review-card:hover p {
  color: #ffffff;
  text-shadow: 0 0 10px #00ffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-group button {
    font-size: 12px;
  }

  .discount-form-container {
    right: 10px;
    bottom: 80px;
  }

  #floating {
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 1000;
  }

  .float-btn {
    padding: 10px 14px;
    font-size: 10px;
  }

  .discount-form h2 {
    font-size: 16px;
  }

  .discount-form button {
    font-size: 14px;
  }

  .controls button {
    font-size: 20px;
    padding: 8px 10px;
  }

  .column,
  .review {
    width: 100%;
    margin-bottom: 20px;
  }
}
/* High-DPI screens (Retina displays) */
@media (-webkit-min-device-pixel-ratio: 2), 
       (min-resolution: 192dpi) {
    .contact-form input, 
    .contact-form textarea {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .contact-container,
    .contact-info {
        background: rgba(255,255,255,0.92);
    }

    .contact-form input, 
    .contact-form textarea {
        background: #f7fbff;
        color: #333;
    }
  }

      /* Service Card Grid and Animation */
      .service-card-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
        margin: 40px 0 20px 0;
    }
    .service-card {
        background: rgba(255,255,255,0.08);
        border-radius: 18px;
        box-shadow: 0 4px 20px rgba(0,255,255,0.08);
        border: 2px solid rgba(0,255,255,0.13);
        padding: 28px 18px 22px 18px;
        max-width: 320px;
        min-width: 260px;
        flex: 1 1 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.35s cubic-bezier(.21,1.02,.73,1), box-shadow 0.35s, background 0.35s;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
    .service-card img {
        width: 100px;
        height: 100px;
        object-fit: contain;
        border-radius: 12px;
        margin-bottom: 18px;
        background: #fff2;
        box-shadow: 0 2px 10px rgba(0,255,255,0.08);
    }
    .service-card h3 {
        color: #00ffff;
        margin: 10px 0 8px 0;
        font-size: 1.2rem;
        font-weight: bold;
        letter-spacing: 0.5px;
        text-align: center;
    }
    .service-card p {
        color: #e0f7fa;
        font-size: 1rem;
        margin-bottom: 16px;
        text-align: center;
    }
    .service-card .desc-btn {
        margin-top: auto;
        background: #062536;
        color: #fff;
        border-radius: 8px;
        font-weight: bold;
        transition: background 0.3s, color 0.3s, transform 0.2s;
    }
    .service-card:hover {
        background: linear-gradient(135deg, #00ffff33, #00777755);
        transform: scale(1.07) translateY(-8px) rotateX(-1deg);
        box-shadow: 0 0 30px 0 #00ffff99, 0 0 60px 0 #00ffff33;
        border-color: #00ffff;
        z-index: 2;
    }
    .service-card:hover h3,
    .service-card:hover p {
        color: #fff;
        text-shadow: 0 0 10pxrgb(0, 0, 0);
    }
    .service-card:hover .desc-btn {
        background: #00ffff;
        color: #062536;
        transform: scale(1.08);
        box-shadow: 0 4px 16px #00ffff44;
    }
    @media (max-width: 1100px) {
        .service-card-container {
            gap: 18px;
        }
        .service-card {
            max-width: 45vw;
            min-width: 180px;
        }
    }
    @media (max-width: 900px) {
        .service-card-container {
            gap: 12px;
        }
        .service-card {
            max-width: 90vw;
            min-width: 140px;
        }
    }
    @media (max-width: 700px) {
        .service-card-container {
            flex-direction: column;
            align-items: center;
        }
        .service-card {
            width: 90vw;
            max-width: 350px;
        }
    }

    /* High-DPI screens (Retina displays) */
    @media (-webkit-min-device-pixel-ratio: 2), 
      (min-resolution: 192dpi) {
        .contact-form input, 
        .contact-form textarea {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
    }
    
     /* Dark mode support */
     @media (prefers-color-scheme: dark) {
         .contact-container,
         .contact-info {
             background: rgba(255,255,255,0.92);
         }
     
         .contact-form input, 
         .contact-form textarea {
             background: #f7fbff;
             color: #333;
         }
       }