/* Modern Content Section Styles */
.modern-content-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.content-block {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.content-block:nth-child(odd) {
  background-color: #f9fbfd;
}

.content-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(42, 127, 186, 0.1) 0%, rgba(42, 127, 186, 0.05) 100%);
  z-index: 0;
}

.shape-1 {
  width: 800px;
  height: 800px;
  top: -400px;
  right: -400px;
}

.shape-2 {
  width: 1000px;
  height: 1000px;
  bottom: -600px;
  left: -500px;
}

.content-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.content-text, .content-image {
  flex: 1;
  padding: 20px;
}

.content-text h2 {
  font-size: 2.5rem;
  color: #1a365d;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.content-text h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2a7fba, #1a365d);
  border-radius: 2px;
}

.content-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 25px;
}

.feature-list {
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: 12px;
  padding-left: 35px;
  position: relative;
  color: #4a5568;
  font-size: 1.05rem;
}

.feature-list i {
  position: absolute;
  left: 0;
  top: 2px;
  color: #2a7fba;
  font-size: 1.2rem;
}

.content-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(42, 127, 186, 0.2), rgba(26, 54, 93, 0.1));
  z-index: 1;
}

/* Feature Boxes */
.feature-boxes {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.feature-box {
  flex: 1;
  background: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-box i {
  font-size: 2.5rem;
  color: #2a7fba;
  margin-bottom: 15px;
  display: inline-block;
}

.feature-box h4 {
  color: #1a365d;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: #718096;
  margin: 0;
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #2a7fba 0%, #1a365d 100%);
  color: white;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
  opacity: 0.3;
}

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

.cta-content h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Styles */
.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
  background: #2a7fba;
  color: white;
  text-decoration: none;
  margin-top: 10px;
}

.modern-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.modern-btn:hover {
  background: #1a6ea3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 127, 186, 0.3);
}

.modern-btn:hover i {
  transform: translateX(3px);
}

.modern-btn.outline {
  background: transparent;
  border-color: #2a7fba;
  color: #2a7fba;
}

.modern-btn.outline:hover {
  background: rgba(42, 127, 186, 0.1);
  color: #2a7fba;
}

.modern-btn.white {
  background: white;
  color: #2a7fba;
  padding: 12px 35px;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modern-btn.white:hover {
  background: #f8fafc;
  color: #1a6ea3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .content-text h2 {
    font-size: 2.2rem;
  }
  
  .content-text p {
    font-size: 1.05rem;
  }
  
  .feature-boxes {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  
  .content-right .content-wrapper {
    flex-direction: column-reverse;
  }
  
  .content-text, .content-image {
    width: 100%;
    padding: 10px 0;
  }
  
  .content-text {
    margin-bottom: 30px;
  }
  
  .content-text h2 {
    font-size: 2rem;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .content-bg-shape {
    display: none;
  }
  
  .content-block {
    padding: 50px 0;
  }
}

@media (max-width: 576px) {
  .content-text h2 {
    font-size: 1.8rem;
  }
  
  .cta-content h3 {
    font-size: 1.6rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .modern-btn {
    width: 100%;
    padding: 12px 20px;
  }
}
