/* ==========================================================================
  Enhanced Services Pages Styles
  Blue Wave Structure & Professional UI Improvements
  =========================================================================== */

/* Blue Wave Background Structure */
.service-page-wrapper {
  position: relative;
  background: #ffffff;
  min-height: 100vh;
  overflow: visible;
}

.service-wave-container {
  position: relative;
  width: 100%;
  background: #ffffff;
  min-height: 100%;
  padding-bottom: 200px; /* Space for wave */
  overflow: hidden; /* Prevent wave from being cut off */
}

.service-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(180deg, rgba(0, 109, 208, 0.05) 0%, rgba(0, 109, 208, 0.03) 30%, rgba(0, 109, 208, 0.02) 60%, rgba(255, 255, 255, 0) 100%); */
  z-index: 0;
  pointer-events: none;
}

.service-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  margin-bottom: 0;
  line-height: 0;
}

.service-wave-svg svg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  min-height: 200px;
  vertical-align: bottom;
}

/* Wave Animation - Subtle and smooth */
@keyframes wave-animation {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-30px);
  }
  100% {
    transform: translateX(0);
  }
}

.service-wave-svg svg path {
  animation: wave-animation 30s ease-in-out infinite;
  transform-origin: center;
}

.service-wave-svg svg path:nth-child(2) {
  animation-delay: -10s;
}

.service-wave-svg svg path:nth-child(3) {
  animation-delay: -20s;
}

/* Content Container with Wave */
.service-content-wrapper {
  position: relative;
  z-index: 2;
  padding: 6px 0 0;
  min-height: calc(100vh - 200px);
}

/* Enhanced Hero Sections for Services */
.service-hero-enhanced {
  position: relative;
  padding: 100px 20px 80px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 109, 208, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  overflow: hidden;
}

.service-hero-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 109, 208, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.service-hero-enhanced::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 109, 208, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.service-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(0, 109, 208, 0.1);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #006dd0;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.service-hero-label:hover {
  background: rgba(0, 109, 208, 0.15);
  transform: translateY(-2px);
}

.service-hero-label img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.service-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.service-hero-description {
  font-size: 20px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-hero-button {
  display: inline-block;
  padding: 16px 36px;
  background: #006dd0;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 109, 208, 0.3);
  margin-bottom: 16px;
}

.service-hero-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 109, 208, 0.4);
}

.service-hero-note {
  font-size: 14px;
  color: #777;
  margin-top: 12px;
}

/* Enhanced Section Styles */
.service-section-enhanced {
  position: relative;
  padding: 80px 20px;
  z-index: 2;
  display: flex !important;
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(0, 109, 208, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.service-section-enhanced:last-of-type {
  padding-bottom: 100px; /* Space before wave */
  margin-bottom: 0;
}

/* Ensure wave is always visible at bottom */
.service-page-wrapper {
  position: relative;
  background: #ffffff;
  min-height: 100vh;
  overflow: visible;
  padding-bottom: 0;
}

/* Fix for sections that might cut off wave */
.service-content-wrapper > section:last-child {
  margin-bottom: 0;
  padding-bottom: 100px;
}

.service-section-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-section-reverse {
  grid-template-columns: 1fr 1fr;
}

.service-section-reverse .service-section-image {
  order: 2;
}

.service-section-reverse .service-section-text {
  order: 1;
}

.service-section-text {
  padding: 20px 0;
}

.service-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-section-description {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-section-note {
  font-size: 14px;
  color: #777;
  font-style: italic;
  margin-bottom: 24px;
}

.service-section-button {
  display: inline-block;
  padding: 14px 32px;
  background: #006dd0;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-section-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 109, 208, 0.3);
}

.service-section-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease;
}

.service-section-image:hover {
  transform: translateY(-5px);
}

.service-section-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.service-section-image:hover img {
  transform: scale(1.05);
}

/* Fade-in Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Enhanced About Us, Careers, Blog Pages */
.page-content-enhanced {
  position: relative;
  background: #ffffff;
  padding: 40px 0;
}

.page-section-enhanced {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title-enhanced {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.page-description-enhanced {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Careers Page Enhancements */
/* .careers-about {
  padding: 80px 20px;
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
}

.careers-title {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.2;
}

.careers-text {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.careers-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.careers-value-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.careers-value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #006dd0;
}

.careers-value-card h4 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.careers-value-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.careers-join {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(0, 109, 208, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  text-align: center;
}

.careers-join-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.careers-join-text {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.careers-openings {
  padding: 80px 20px;
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
}

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

.careers-card {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.careers-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: #006dd0;
}

.careers-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.careers-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.careers-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #006dd0;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.careers-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 109, 208, 0.3);
}

.careers-email {
  text-align: center;
  margin-top: 50px;
  font-size: 16px;
  color: #555;
}

.careers-email a {
  color: #006dd0;
  font-weight: 600;
  text-decoration: none;
}

.careers-email a:hover {
  text-decoration: underline;
} */

/* Blog Listing Enhancements */
.blog-listing-enhanced {
  padding: 80px 20px;
  background: linear-gradient(
    135deg,
    rgba(0, 109, 208, 0.03) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

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

.blog-post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-post-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-post:hover .blog-post-img img {
  transform: scale(1.1);
}

.blog-post-txt {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-read {
  font-size: 13px;
  color: #777;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-post-txt h5 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-post-txt h5 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post-txt h5 a:hover {
  color: #006dd0;
}

.blog-post-txt .grey-color {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.post-data {
  font-size: 14px;
  color: #777;
  margin-bottom: 8px;
}

.post-data a {
  color: #006dd0;
  text-decoration: none;
  font-weight: 500;
}

.post-tag a {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 109, 208, 0.1);
  color: #006dd0;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-tag a:hover {
  background: rgba(0, 109, 208, 0.2);
}

/* About Us Page Enhancements */
/* .about-section-enhanced {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text-enhanced {
  padding: 20px 0;
}

.about-text-enhanced h4 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text-enhanced p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-image-enhanced {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image-enhanced img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-enhanced:hover img {
  transform: scale(1.05);
}

.quote-enhanced {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #006dd0;
  margin: 30px 0;
}

.quote-enhanced p {
  font-size: 18px;
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.quote-avatar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quote-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-author h5 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.quote-author span {
  font-size: 14px;
  color: #777;
} */

/* Responsive Design */
@media (max-width: 992px) {
  .service-wave-container {
    padding-bottom: 120px;
  }

  .service-wave-svg {
    height: 120px;
  }

  .service-content-wrapper {
    padding: 40px 0 80px;
  }

  .service-section-container,
  .service-section-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-section-reverse .service-section-image,
  .service-section-reverse .service-section-text {
    order: initial;
  }

  .service-hero-title {
    font-size: 36px;
  }

  .service-hero-description {
    font-size: 18px;
  }

  .service-section-title {
    font-size: 30px;
  }

  .service-section-enhanced {
    padding: 60px 20px;
  }

  .service-section-enhanced:last-of-type {
    padding-bottom: 100px;
  }

  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .careers-values {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .service-wave-container {
    padding-bottom: 100px;
  }

  .service-wave-svg {
    height: 100px;
  }

  .service-content-wrapper {
    padding: 30px 0 70px;
  }

  .service-hero-enhanced {
    padding: 60px 20px 50px;
  }

  .service-hero-title {
    font-size: 28px;
  }

  .service-hero-description {
    font-size: 16px;
  }

  .service-section-enhanced {
    padding: 50px 20px;
  }

  .service-section-enhanced:last-of-type {
    padding-bottom: 80px;
  }

  .service-section-title {
    font-size: 26px;
  }

  .service-section-description {
    font-size: 16px;
  }

  .page-title-enhanced,
  .careers-title {
    font-size: 32px;
  }

  .careers-join-title {
    font-size: 28px;
  }

  .careers-text,
  .careers-join-text {
    font-size: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .about-text-enhanced h4 {
    font-size: 28px;
  }

  .about-text-enhanced p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .service-wave-container {
    padding-bottom: 80px;
  }

  .service-wave-svg {
    height: 80px;
  }

  .service-content-wrapper {
    padding: 0px 0 60px;
  }

  .service-hero-title {
    font-size: 24px;
  }

  .service-hero-description {
    font-size: 15px;
  }

  .service-hero-button {
    padding: 14px 28px;
    font-size: 14px;
  }

  .service-section-enhanced {
    padding: 40px 15px;
  }

  .service-section-enhanced:last-of-type {
    padding-bottom: 70px;
  }

  .service-section-title {
    font-size: 22px;
  }

  .page-title-enhanced,
  .careers-title {
    font-size: 26px;
  }

  .careers-card {
    padding: 25px;
  }

  .blog-post-txt {
    padding: 20px;
  }
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Loading Animation for Images */
.service-section-image img,
.about-image-enhanced img,
.blog-post-img img {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Print Styles */
@media print {
  .service-wave-svg,
  .service-hero-button,
  .service-section-button,
  .careers-btn {
    display: none;
  }
}

@media (max-width: 768px) {

  /* Stack everything vertically */
  .service-section-enhanced {
    display: flex;
    flex-direction: column;
  }

  /* Image comes first */
  .service-section-enhanced .service-section-image {
    order: 1;
    width: 100%;
    margin-bottom: 20px;
  }

  /* Content comes after image */
  .service-section-enhanced .service-section-content {
    order: 2;
    width: 100%;
    text-align: center;
  }

  /* Inside content – keep natural flow */
  .service-section-enhanced .service-section-content h1,
  .service-section-enhanced .service-section-content h2,
  .service-section-enhanced .service-section-content h3 {
    margin-top: 0;
  }

  .service-section-enhanced .service-section-content .btn,
  .service-section-enhanced .service-section-content a {
    display: inline-block;
    margin-top: 16px;
  }
}
