body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  scroll-behavior: smooth;
}

.header {
  background-color: #1e1e1e;
  padding: 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2em;
  color: #00d1ff;
}

.navbar a {
  margin: 0 15px;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #00d1ff;
}


.section {
  padding: 60px 20px;
  text-align: center;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-box {
  background: #1e1e1e;
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 0 10px #000;
  transition: transform 0.3s;
}

.service-box:hover {
  transform: scale(1.05);
}

.service-box img {
  width: 100%;
  border-radius: 8px;
}

button {
  background-color: #00d1ff;
  color: #121212;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #00aacc;
}

.modal {
  display: none;
  position: fixed;
  align-items: center;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.modal-content {
  background: #1e1e1e;
  color: #fff;
  margin: 0.5% auto;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  animation: fadeIn 0.5s ease-out;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.close {
  float: bottom;
  font-size: 29px;
  cursor: pointer;
  color: #ccc;
}

.review-slider {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px;
}

.review {
  background: #1e1e1e;
  padding: 20px;
  min-width: 300px;
  border-radius: 10px;
  flex: 0 0 auto;
  box-shadow: 0 0 5px #000;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 15px;
}

input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
}

.footer {
  background: #1e1e1e;
  text-align: center;
  padding: 20px;
}

.social-icons img {
  width: 24px;
  margin: 0 10px;
  filter: invert(1);
}

/* Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.reviews-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  animation: slideFade 2s ease-in-out;
}

.review-card {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 10px #000;
  animation: fadeInUp 1s ease-in-out;
}

.review-card img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-bottom: 10px;
}

.review-card h3 {
  margin: 5px 0;
  color: #00d1ff;
}

.review-card .stars {
  color: gold;
  font-size: 1.2em;
  margin-bottom: 10px;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Hero Section */
.carousel-section {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(15, 15, 15, 0.85));
  z-index: 1;
}

.carousel-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  animation: fadeInUp 1.5s ease forwards;
}

.carousel-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #00d1ff;
}

.carousel-text p {
  font-size: 1.5rem;
  color: #ccc;
}

.carousel-text .highlight {
  color: #ffffff;
  font-weight: 600;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Keyframe */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Text */
@media (max-width: 768px) {
  .carousel-text h2 {
    font-size: 2rem;
  }

  .carousel-text p {
    font-size: 1.2rem;
  }
}





/* Enable scrolling for modal content */
/* .modal-content {
  max-height: 80vh; 
  overflow-y: auto; 
  padding: 20px;
  background: #1a1a1a; 
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.2); 
} */

/* Optional: Custom scrollbar styling (for WebKit browsers) */
/* .modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #00bfff;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: #333;
} */


/* Base modal styling */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-height: 80vh;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  z-index: 1000;
  border-radius: 10px;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
  display: none;
}

.modal.show {
  display: block;
}

/* Scrollbar for modal (optional) */
.modal::-webkit-scrollbar {
  width: 6px;
}
.modal::-webkit-scrollbar-thumb {
  background: #00bfff;
  border-radius: 8px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .modal {
    width: 90%;
    padding: 15px;
  }
}
