/* Additional CSS for Creative Enhancements */

/* Animated Scroll Transitions */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Certification Badges */
.certification-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.certification-badge {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 20px;
  text-align: center;
  width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.badge-icon {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 10px;
}

.badge-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.badge-subtitle {
  font-size: 0.875rem;
  color: var(--dark-gray);
}

/* Video Intro Section */
.video-intro-section {
  position: relative;
  padding: 80px 0;
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.video-intro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7));
  z-index: 1;
}

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

.video-intro-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.video-intro-text {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-placeholder {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.video-play-button i {
  font-size: 2rem;
  color: var(--white);
}

.video-play-button:hover {
  background-color: var(--teal);
}

/* Map/Icon Display of Served Regions */
.regions-map {
  margin-top: 40px;
}

.region-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.region-icon {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: 15px;
}

.region-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.region-description {
  margin-bottom: 15px;
}

.region-contact {
  font-weight: 600;
}

/* Sticky Mobile Button */
.sticky-mobile-button {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  background-color: var(--teal);
  color: var(--white);
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease;
}

.sticky-mobile-button:hover {
  background-color: var(--navy);
}

@media (max-width: 768px) {
  .sticky-mobile-button {
    display: block;
  }
}

/* Team Member Cards with Hover Effects */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image {
  transform: scale(1.05);
}

.team-content {
  padding: 20px;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.team-title {
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-bio {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.team-social {
  display: flex;
  gap: 10px;
}

.team-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--navy);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.team-social-link:hover {
  background-color: var(--teal);
  color: var(--white);
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 178, 170, 0.7);
  }
  
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(32, 178, 170, 0);
  }
  
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 178, 170, 0);
  }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fade 1s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: var(--teal);
}

/* Progress Bar for Services */
.progress-container {
  margin-bottom: 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.progress-title {
  font-weight: 600;
}

.progress-value {
  color: var(--teal);
  font-weight: 600;
}

.progress-bar-container {
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--teal);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

/* Floating Elements Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Parallax Effect */
.parallax-section {
  position: relative;
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  padding: 0 20px;
}

.parallax-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.parallax-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-intro-title {
    font-size: 2rem;
  }
  
  .parallax-section {
    height: 300px;
    background-attachment: scroll;
  }
  
  .parallax-title {
    font-size: 2rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .certification-badges {
    gap: 15px;
  }
  
  .certification-badge {
    width: 140px;
    padding: 15px;
  }
  
  .video-intro-title {
    font-size: 1.75rem;
  }
  
  .parallax-title {
    font-size: 1.75rem;
  }
  
  .parallax-text {
    font-size: 1rem;
  }
}
