.hero-section {
  background: #4285f4;
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero-section p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.services-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    180deg,
    rgba(0, 180, 219, 0.05) 0%,
    transparent 100%
  );
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #005f73, #0a9396);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 60px;
  padding: 0 20px;
}

.tab-button {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 180, 219, 0.1);
  padding: 15px 35px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
  color: #005f73;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 180, 219, 0.1);
}

.tab-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #4285f4;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.tab-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(66, 133, 244, 0.2);
  border-color: rgba(66, 133, 244, 0.3);
}

.tab-button:hover::before {
  left: 0;
}

.tab-button:hover {
  color: white;
}

.tab-button.active {
  background: #4285f4;
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(66, 133, 244, 0.4);
}

.tab-button.active::before {
  left: 0;
}

/* Content Area */
.content-area {
  min-height: 700px;
  position: relative;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content.active .service-items {
  display: grid;
  gap: 60px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 180, 219, 0.05);
  position: relative;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #4285f4;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.service-item:hover::before {
  transform: scaleX(1);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 180, 219, 0.1);
}

.service-item:nth-child(even) {
  grid-template-columns: 2fr 1fr;
}

.service-image {
  background: #4285f4;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.service-image::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-20px, -20px) rotate(180deg);
  }
}

.service-image i {
  font-size: 4.5rem;
  color: white;
  z-index: 3;
  position: relative;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  position: relative;
}

.service-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #4285f4;
  border-radius: 2px;
}

.service-content h3 {
  font-size: 2rem;
  background: linear-gradient(135deg, #005f73, #0a9396);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.service-content p {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1.1rem;
  font-weight: 400;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
}

.service-features li {
  color: #4a5568;
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #0a9396, #005f73);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(10, 147, 150, 0.3);
}

.service-features li::after {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 6px;
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
}

.service-features li:hover {
  color: #2d3748;
  transform: translateX(5px);
}

.service-button {
  display: inline-block;
  background: #4285f4;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.service-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0083b0, #005f73);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.service-button:hover::before {
  left: 0;
}

.service-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(66, 133, 244, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }

  .service-content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }

  .hero-section h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .services-section {
    padding: 60px 0;
  }

  .category-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .tab-button {
    width: 280px;
    text-align: center;
    padding: 12px 30px;
    font-size: 0.8rem;
  }

  .service-item,
  .service-item:nth-child(even) {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-content {
    padding: 30px 20px;
  }

  .service-content h3 {
    font-size: 1.6rem;
  }

  .service-image {
    min-height: 250px;
  }

  .service-image i {
    font-size: 3rem;
  }

  .service-features li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .tab-button {
    width: 100%;
    max-width: 250px;
  }

  .service-content {
    padding: 25px 15px;
  }

  .service-content h3 {
    font-size: 1.4rem;
  }
}
