/* ===== SERVICES PAGE STYLES ===== */

/* Hero Section */
.services-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(111deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 100%, rgba(237, 221, 83, 1) 100%);
  padding: 120px 0 80px;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-orbs 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.6), transparent);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.6), transparent);
  top: 40%;
  right: -5%;
  animation-delay: 3s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 195, 113, 0.6), transparent);
  bottom: -10%;
  left: 40%;
  animation-delay: 6s;
}

@keyframes float-orbs {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

.services-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.services-hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Service Filter */
.service-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.filter-btn {
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 300px;
  height: 300px;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
  background: white;
  color: var(--primary-color);
}

/* Services Grid Section */
.services-grid-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f7fafc, #ffffff);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* Modern Service Card */
.service-card-modern {
  background: white;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card-modern:hover::before {
  transform: scaleX(1);
}

.service-card-modern:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(34, 193, 195, 0.5);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(111deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 100%, rgba(237, 221, 83, 1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(34, 193, 195, 0.4);
  transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-wrapper {
  transform: rotate(360deg) scale(1.1);
}

/* Color Variations for Icons */
.icon-pink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-blue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-cyan {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-green {
  background: linear-gradient(135deg, #81fbb8 0%, #28c76f 100%);
}

.icon-orange {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.icon-teal {
  background: linear-gradient(135deg, #13547a 0%, #80d0c7 100%);
}

.icon-red {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.icon-indigo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-yellow {
  background: linear-gradient(135deg, #fce38a 0%, #f38181 100%);
}

.service-badge {
  padding: 0.4rem 1rem;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-pink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.badge-blue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.badge-purple {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

.badge-cyan {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.badge-green {
  background: linear-gradient(135deg, #81fbb8 0%, #28c76f 100%);
}

.badge-orange {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.badge-teal {
  background: linear-gradient(135deg, #13547a 0%, #80d0c7 100%);
}

.badge-red {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.badge-indigo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-yellow {
  background: linear-gradient(135deg, #fce38a 0%, #f38181 100%);
  color: #333;
}

.service-card-modern h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card-modern p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-weight: 500;
}

.service-features i {
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, rgba(34, 193, 195, 0.1), rgba(253, 187, 45, 0.1));
  color: #22C1C3;
  border: 2px solid #22C1C3;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background: linear-gradient(111deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 100%, rgba(237, 221, 83, 1) 100%);
  color: white;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(34, 193, 195, 0.4);
  border-color: transparent;
}

.service-btn i {
  transition: transform 0.3s ease;
}

.service-btn:hover i {
  transform: translateX(5px);
}

/* How It Works Section */
.how-it-works-section {
  padding: 100px 0;
  background: white;
  overflow: hidden;
}

.steps-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  position: relative;
  z-index: 2;
}

.step-content {
  flex: 1;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  padding: 2rem;
  border-radius: 20px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-content h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(111deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 100%, rgba(237, 221, 83, 1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 20px rgba(34, 193, 195, 0.3);
  transition: transform 0.3s ease;
}

.step-item:hover .step-icon {
  transform: rotate(360deg) scale(1.1);
}

.step-connector {
  position: absolute;
  left: 39px;
  top: 80px;
  width: 2px;
  height: calc(100% - 160px);
  background: linear-gradient(to bottom, var(--primary-gradient));
  opacity: 0.3;
}

/* CTA Section */
.services-cta-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f7fafc, #ffffff);
}

.cta-box {
  background: linear-gradient(111deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 100%, rgba(237, 221, 83, 1) 100%);
  padding: 5rem 3rem;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(34, 193, 195, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 60%);
  animation: rotate-gradient 15s linear infinite;
}

@keyframes rotate-gradient {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.cta-box>* {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  color: white;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn-gradient {
  background: white;
  color: #22C1C3;
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

.btn-appointment-cta {
  display: inline-block;
  background: white;
  color: #22C1C3;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cta-box .btn-gradient:hover,
.btn-appointment-cta:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  color: #22C1C3;
}

/* Filter Animation */
.service-card-modern.hide {
  display: none;
}

.service-card-modern.show {
  opacity: 1;
  transform: scale(1);
}

/* Responsive */
@media (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 60vh;
    padding: 100px 0 60px;
  }

  .services-hero-title {
    font-size: 2rem;
  }

  .services-hero-subtitle {
    font-size: 1.1rem;
  }

  .service-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 3rem 2rem;
  }

  .cta-box h2 {
    font-size: 2rem;
  }
}

/* ========== FOOTER SECTION ========== */
.footer-section {
  background: #1a202c;
  color: white;
  padding: 60px 0 30px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #22C1C3;
  color: white;
  transform: translateY(-3px);
}

.footer-contact h6,
.footer-links h6 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-contact i {
  color: #22C1C3;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: white;
  padding-left: 5px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  padding-top: 1rem;
  text-align: center;
}

.animate-fadeup {
  animation: fadeUp 0.6s ease-out;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}