@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --bg-color: #000;

  --btn-color: #fdfdfd; /* button color*/
  --btn-bg: blue; /* button bg color*/

  --primary-text-color: blue;
  --header-link-hover: blue;
  --input-hover-bd-color: blue;
  --primary-blue: #0066cc;
  --secondary-blue: #003366;
  --accent-blue: #00a3ff;
  --main-black: #151515;
  --dark-gray: #222;
  --medium-gray: #444;
  --light-gray: #f9f9f9;
  --gradient-dark: linear-gradient(
    135deg,
    var(--main-black),
    var(--secondary-blue)
  );
  --gradient-light: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-blue)
  );
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  color: white;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}

.heading_service {
  font-size: 80px;
  margin: 20px auto;
}
.sub_heading {
  font-size: 30px;
  margin: 20px auto;
}

@media screen and (max-width: 768px) {
  .heading_service {
    font-size: 40px;
  }
}

.ripple-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ripple-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1; /* Ensures the overlay appears below the content */
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
}

h1 {
  font-size: 3rem;
}
.mail_button {
  margin: 20px auto;

  width: max-content;
  border-radius: 60px;
  background: linear-gradient(
    45deg,
    blue,
    rgb(134, 134, 255)
  ); /* Modern green gradient */
  font-size: 20px;
  padding: 12px 24px;
  border: none;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-transform: uppercase; /* Adds a modern touch */
  font-weight: 600; /* Makes text stand out */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4); /* Subtle shadow */
  transition: all 0.3s ease; /* Smooth transitions */
  cursor: pointer;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.mail_button:hover {
  background: linear-gradient(
    45deg,
    rgb(134, 134, 255),
    blue
  ); /*/* Lighter green on hover */
  color: white;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.6); /* Deeper shadow on hover */
  transform: translateY(-3px); /* Slight lift effect */
}

.what_is {
  text-align: center;
  margin: 40px;
}

.heading {
  text-align: left;
  font-size: 57px;
  margin: 20px auto;
}

.row_development {
  display: flex;
  flex-direction: row;
}

.detail_of_heading {
  /* margin-top: 40%; */
  width: 100%;
  font-size: 21px;
  line-height: 1.5;
  text-align: left;
}
.all_together {
  width: 60%;
  margin: auto;
}

.row_development img {
  margin: 20px auto;
  width: 40%;
}
@media screen and (max-width: 768px) {
  .row_development {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .row_development img {
    width: 90%;
  }
  .heading {
    text-align: center;
    font-size: 28px;
  }
  .what_is {
    text-align: center;
    margin: 18px;
  }
  .all_together {
    width: 100%;
  }
}

.form_submit {
  height: 35px;
  width: 50%;
  margin: 80px auto;
  opacity: 0.7;
  font-size: 20px;
  cursor: pointer;
  font-weight: 700;
  opacity: 1;
  margin: 10px auto !important;
  background-color: #007bff;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.form_submit:hover {
  transform: scale(1.05);
  color: #fff;
}

input {
  width: 100%;
  height: 30px;
  padding: 20px;
  display: flex;
  margin: 20px auto;
  flex-direction: row;
  border: none;
  border-radius: 10px;
  outline: none;
  text-align: left;
  font-size: 20px;
  /* font-weight: 700; */
  color: #000;
}
textarea {
  margin: 15px auto;
  padding: 20px;
  pointer-events: auto;

  border-radius: 10px;
  color: #000;
  width: 100%;
  height: 100px;
  border: none;
  outline: none;
  text-align: left;
  font-size: 20px;
  /* font-weight: 700; */
  resize: none;
  /* opacity: 0.3; */
}
/* button {
  height: 35px;
  width: 50%;
  margin: 80px auto;
  opacity: 0.7;
  font-size: 20px;
  cursor: pointer;
  font-weight: 700;
} */
.inputbox {
  width: 100%;

  margin: 6px 0;

  height: 35px;

  border-radius: 20px;

  padding: 0 10px;
}
::placeholder {
  font-size: 20px;
}
form {
  width: 100%;
  height: 100%;
  padding: 20px 40px;
  z-index: 1;
}

h2 {
  text-align: center;
  margin-top: 40px;
  font-size: 38px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}
.container {
  /* border: 1px solid grey; */
  border-radius: 20px;
  background: rgba(4, 4, 4, 0.308);
  /* box-shadow: 0 5px 1px rgb(243, 236, 236); */
  text-align: center;
  width: 555px;
  height: 450px;
  z-index: 2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--main-black);
  color: white;
  line-height: 1.6;
}

.container-service {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
  color: white;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-light);
  border-radius: 2px;
}

section {
  padding: 100px 0;
}

/* Hero Section */
.what_is {
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  padding: 120px 0;
}

.row_development {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.all_together {
  flex: 1;
  min-width: 300px;
}

.heading {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: var(--gradient-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.detail_of_heading {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 30px;
}

.what_is img {
  max-width: 50%;
  height: auto;
  object-fit: contain;
  flex: 1;
  min-width: 300px;
  filter: drop-shadow(0 10px 20px rgba(0, 102, 204, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Services Grid */
.services-grid {
  background-color: var(--dark-gray);
  position: relative;
}

.services-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/api/placeholder/1200/600") no-repeat center center;
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(25, 25, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: var(--box-shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(35, 35, 35, 0.9);
  border-color: var(--accent-blue);
}

.service-card img {
  height: 80px;
  margin-bottom: 25px;
  filter: invert(100%) brightness(1.5) drop-shadow(0 0 5px var(--accent-blue));
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-blue);
}

.service-card p {
  color: #d0d0d0;
}

/* Process Timeline */
.development-process {
  background-color: var(--main-black);
  position: relative;
}

.process-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.process-card {
  display: flex;
  gap: 30px;
  position: relative;
}

.process-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-icon i {
  width: 70px;
  height: 70px;
  background: var(--gradient-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-bottom: 10px;
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.4);
  z-index: 2;
}

.progress-line {
  position: absolute;
  top: 70px;
  width: 3px;
  height: calc(100% + 10px);
  background: var(--gradient-light);
  opacity: 0.7;
  z-index: 1;
}

.process-card:last-child .progress-line {
  display: none;
}

.process-content {
  flex: 1;
  padding: 30px;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 15px;
  border-left: 4px solid var(--accent-blue);
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.process-content:hover {
  transform: translateX(10px);
  background: rgba(40, 40, 40, 0.9);
}

.step {
  display: inline-block;
  padding: 5px 15px;
  background: var(--secondary-blue);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.process-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--accent-blue);
}

.process-content p {
  color: #d0d0d0;
  margin-bottom: 15px;
}

.process-details {
  list-style-type: none;
}

.process-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #b0b0b0;
}

.process-details li::before {
  content: "►";
  color: var(--accent-blue);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
}

/* Technologies */
.technologies {
  background-color: var(--dark-gray);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.container-service {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.technologies::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 15%;
  background: linear-gradient(to left, var(--main-black), transparent);
  z-index: 2;
  pointer-events: none;
}

.technologies::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 15%;
  background: linear-gradient(to right, var(--main-black), transparent);
  z-index: 2;
  pointer-events: none;
}

.tech-carousel-wrapper {
  width: 100%;
  overflow: hidden; /* Hide the scrollbar */
  position: relative;
}

.tech-grid {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
  width: fit-content; /* Allow natural width */
  animation: scrollTech 30s linear infinite;
}

@keyframes scrollTech {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-150px * 5 - 40px * 5)
    ); /* Width of 5 items + 5 gaps */
  }
}

.tech-item {
  flex: 0 0 150px; /* Fixed width, no grow or shrink */
  width: 150px;
  height: 150px;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 30px rgba(0, 102, 204, 0.3);
  z-index: 3; /* Ensure hover appears above the gradient overlay */
}

.tech-item img {
  max-width: 80px;
  max-height: 80px;
  filter: brightness(1.5);
}

/* Pause animation on hover */
.tech-grid:hover {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tech-item {
    width: 120px;
    height: 120px;
    padding: 15px;
  }

  .tech-item img {
    max-width: 60px;
    max-height: 60px;
  }

  @keyframes scrollTech {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-120px * 5 - 40px * 5));
    }
  }
} /* CTA Section */
.cta-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.1);
  z-index: 0;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.1);
  z-index: 0;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: #d0d0d0;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.primary-btn {
  background: var(--gradient-light);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 163, 255, 0.3);
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 163, 255, 0.4);
}

.secondary-btn:hover {
  background: rgba(0, 163, 255, 0.1);
  transform: translateY(-5px);
}

/* Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .row_development {
    flex-direction: column-reverse;
    text-align: center;
  }

  .what_is img {
    max-width: 80%;
    margin: 0 auto;
  }

  .heading {
    font-size: 2.5rem;
  }

  .process-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .process-icon {
    margin-bottom: 20px;
  }

  .progress-line {
    height: 0;
    width: 0;
  }

  .process-content {
    width: 100%;
    border-left: none;
    border-top: 4px solid var(--accent-blue);
  }

  .process-content:hover {
    transform: translateY(-10px);
    transform: translateX(0);
  }

  .cta-content h2 {
    font-size: 2.2rem;
  }
}
