/* Enhanced Button Effects */
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn:active {
  transform: translateY(-1px);
}

.btn:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10,10);
  opacity: 0;
  transition: transform .5s, opacity 1s;
}

.btn:active:after {
  transform: scale(0,0);
  opacity: .3;
  transition: 0s;
}

/* Enhanced Service Cards */
.service-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card.featured {
  border: 2px solid #0d6efd;
}

/* Wave Animation Enhancement */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wave.svg') repeat-x;
  background-size: 2000px 100px;
}

.wave1 {
  animation: animateWave 30s linear infinite;
  z-index: 1000;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0;
}

.wave2 {
  animation: animateWave2 15s linear infinite;
  z-index: 999;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 10px;
}

.wave3 {
  animation: animateWave 30s linear infinite;
  z-index: 998;
  opacity: 0.2;
  animation-delay: -2s;
  bottom: 15px;
}

@keyframes animateWave {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 2000px;
  }
}

@keyframes animateWave2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -2000px;
  }
}

/* Form Input Enhancements */
.form-control {
  transition: all 0.3s;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Testimonial Carousel Enhancements */
.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Pricing Card Hover Effect */
.pricing-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.pricing-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.pricing-card.featured {
  border: 2px solid #0d6efd;
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 10px;
  right: -30px;
  background: #0d6efd;
  color: white;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: bold;
}

/* Back to Top Button Enhancement */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0b5ed7;
  transform: translateY(-3px);
}


/* Base Section Styles */
.section-header h2 {
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.dark-section .section-header h2:after {
    background: var(--text-light);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    transform: translateY(-10px);
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    transform: rotateY(180deg);
}

.service-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Stats Section */
.counter-item {
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.counter-item i {
    transition: all 0.3s;
}

.counter-item:hover i {
    transform: scale(1.1);
}

/* Pricing Section */
.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-header {
    padding: 30px;
    background: rgba(13, 110, 253, 0.05);
    text-align: center;
}

.pricing-header h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price span {
    font-size: 1.5rem;
    vertical-align: super;
}

.pricing-features {
    padding: 0 30px 30px;
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    padding: 0 30px 30px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin: 15px;
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: rgba(13, 110, 253, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.1rem;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.client-info h5 {
    margin-bottom: 5px;
    font-weight: 700;
}

.client-info p {
    margin: 0;
    font-style: normal;
    font-size: 0.9rem;
    color: #6c757d;
}

/* FAQ Section */
.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--primary-color);
}

.accordion-body {
    padding: 20px;
}

.hero-section h1 {
    color: white !important;
}