/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */
body {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #10b981;
  --secondary-blue: #3b82f6;
  --accent-purple: #8b5cf6;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ========================================
   BLOB ANIMATIONS
   ======================================== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--accent-purple));
  top: 50%;
  right: -150px;
  animation-delay: 5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent-purple), var(--primary-green));
  bottom: -100px;
  left: 30%;
  animation-delay: 10s;
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.9);
  }
  75% {
    transform: translate(30px, 50px) scale(1.05);
  }
}

/* ========================================
   WAVE ANIMATIONS
   ======================================== */
.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  animation: waveMove 15s linear infinite;
}

.wave-1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0 60 Q 300 0 600 60 T 1200 60 V 120 H 0 Z' fill='%2310B98120'/%3E%3C/svg%3E");
  animation-duration: 20s;
  z-index: 1;
}

.wave-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0 80 Q 300 40 600 80 T 1200 80 V 120 H 0 Z' fill='%233B82F620'/%3E%3C/svg%3E");
  animation-duration: 15s;
  animation-delay: -5s;
  z-index: 2;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   NAVBAR STYLES
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(59, 130, 246, 0.95));
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  animation: blobPulse 3s ease-in-out infinite;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
}

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  animation: blobPulse 3s ease-in-out infinite;
  animation-delay: 1.5s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

@keyframes blobPulse {
  0%,
  100% {
    border-radius: 50% 40% 50% 40%;
  }
  25% {
    border-radius: 40% 50% 40% 50%;
  }
  50% {
    border-radius: 50% 40% 50% 40%;
  }
  75% {
    border-radius: 40% 50% 40% 50%;
  }
}

/* ========================================
   FLOATING SHAPES
   ======================================== */
.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: shapeFloat 15s ease-in-out infinite;
}

@keyframes shapeFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-10px, 10px) rotate(180deg);
  }
  75% {
    transform: translate(10px, -30px) rotate(270deg);
  }
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), transparent);
  transition: left 0.8s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.4);
  border-color: rgba(16, 185, 129, 0.5);
}

.service-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  animation: iconFloat 4s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.service-card:hover .service-icon-wrapper {
  animation: iconRotateBounce 0.8s ease;
}

@keyframes iconRotateBounce {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(90deg) scale(1.3);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  75% {
    transform: rotate(270deg) scale(1.3);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.service-icon {
  font-size: 2.5rem;
  color: white;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-transparent {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 3rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
  animation: fadeSlide 0.8s ease;
}

.testimonial-transparent.active {
  display: block;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-transparent::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, serif;
}

/* ========================================
   TEAM CAROUSEL & MEMBERS
   ======================================== */
.team-member-transparent {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .team-member-transparent {
    min-width: calc(100% - 2rem);
  }
}

@media (min-width: 768px) {
  .team-member-transparent {
    min-width: 0;
  }
}

.team-member-transparent:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.team-avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
}

.blob-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
  }
  75% {
    border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
  }
}

.team-member-transparent:hover .blob-frame {
  animation: blobMorphFast 2s ease-in-out infinite;
}

@keyframes blobMorphFast {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: rotate(180deg);
  }
}

.team-avatar {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-green);
  margin: 10px auto;
  z-index: 2;
}

.team-social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-member-transparent:hover .team-social-icons {
  opacity: 1;
  transform: translateY(0);
}

.team-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.team-social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-social-icon.facebook {
  background: #1877f2;
}

.team-social-icon.twitter {
  background: #1da1f2;
}

.team-social-icon.linkedin {
  background: #0077b5;
}

.team-social-icon.whatsapp {
  background: #25d366;
}

.team-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 80px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .team-carousel-container {
    padding: 0 60px;
  }
}

.team-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
  will-change: transform;
}

.team-member-transparent {
  flex: 0 0 calc(100% - 1.5rem);
  min-width: calc(100% - 1.5rem);
  max-width: calc(100% - 1.5rem);
}

@media (min-width: 768px) {
  .team-member-transparent {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-btn.prev {
    left: 5px;
  }
  .carousel-btn.next {
    right: 5px;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

/* ========================================
   COUNTERS
   ======================================== */
.counter {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.counter-animated {
  display: inline-block;
}

/* ========================================
   CTA BUTTONS
   ======================================== */
.cta-button {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.cta-button::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;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.cta-button span {
  position: relative;
  z-index: 1;
}

/* ========================================
   TECHNOLOGY LOGOS
   ======================================== */
.tech-logo {
  transition: all 0.3s ease;
}

.tech-logo:hover {
  transform: translateY(-10px) scale(1.1);
}

/* ========================================
   PROJECTS PAGE
   ======================================== */
.project-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image .project-icon {
  position: relative;
  z-index: 10;
  opacity: 0.9;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%) !important;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* ========================================
   VIEW TRANSITIONS
   ======================================== */
@view-transition {
  navigation: auto;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Info Card */
.contact-info-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.5);
}

.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-blue)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.contact-icon i {
  font-size: 2rem;
  color: white;
}

/* Form Styles */
.contact-form-wrapper {
  background: white;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-blue)
  );
  color: white;
  border: none;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn:not(:disabled):hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.submit-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;
}

.submit-btn:not(:disabled):hover::before {
  width: 300px;
  height: 300px;
}

.submit-btn span {
  position: relative;
  z-index: 1;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  display: none;
  animation: slideDown 0.5s ease;
}

.success-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Map Container */
.map-container {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* Timeline Styles */
.timeline-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: Show timeline items after a delay if JS doesn't work */
@media (prefers-reduced-motion: no-preference) {
  .timeline-item {
    animation: timelineFallback 0.1s ease 2s forwards;
  }
}

@keyframes timelineFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Value Card Hover Effect */
.value-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(16, 185, 129, 0.1),
      transparent);
  transition: left 0.7s ease;
}

.value-card:hover::before {
  left: 100%;
}

.value-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Icon Wrapper */
.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--primary-green),
      var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.value-card:hover .icon-wrapper {
  animation: iconRotate 0.8s ease;
}

@keyframes iconRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: Show scroll-reveal items after a delay if JS doesn't work */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    animation: scrollRevealFallback 0.1s ease 1s forwards;
  }
}

@keyframes scrollRevealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   PROJECTS PAGE STYLES
   ======================================== */

/* Filter Buttons */
.filter-btn {
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  background: white;
  color: #6b7280;
}

.filter-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.filter-btn.active {
  background: linear-gradient(135deg,
      var(--primary-green),
      var(--secondary-blue));
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Project Card */
.project-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(16, 185, 129, 0.1),
      rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
}

.project-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.8s ease;
}

.project-card:hover .project-image::after {
  left: 100%;
}

.project-icon {
  font-size: 5rem;
  color: white;
  opacity: 0.9;
}

.project-content {
  padding: 2rem;
}

.project-category {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg,
      var(--primary-green),
      var(--secondary-blue));
  color: white;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-tag {
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-green);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.view-project-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg,
      var(--primary-green),
      var(--secondary-blue));
  color: white;
  border: none;
  border-radius: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

.view-project-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;
}

.view-project-btn:hover::before {
  width: 300px;
  height: 300px;
}

.view-project-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.view-project-btn span {
  position: relative;
  z-index: 1;
}

/* Stats Counter */
.stat-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg,
      var(--primary-green),
      var(--secondary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */

/* Service Detail Card */
.service-detail-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  margin-bottom: 3rem;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), transparent);
  transition: left 0.8s ease;
}

.service-detail-card:hover::before {
  left: 100%;
}

.service-detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.5);
}

.service-icon-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  animation: iconFloat 4s ease-in-out infinite;
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.service-detail-card:hover .service-icon-large {
  animation: iconRotateBounce 0.8s ease;
}

.service-icon-large i {
  font-size: 3.5rem;
  color: white;
}

.feature-item {
  display: flex;
  align-items: start;
  padding: 1rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.feature-item:hover {
  background: rgba(16, 185, 129, 0.05);
  transform: translateX(10px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
}

.feature-icon i {
  color: white;
  font-size: 1.125rem;
}

/* Process Steps */
.process-step {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.process-step:hover {
  transform: translateY(-10px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}
