/* ========================================
   MODERN WHAT WE OFFER SECTION
   Latest Design with Enhanced Styling
   ======================================== */

/* Section Container */
.regulatory-bg {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.regulatory-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(33, 150, 243, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(13, 110, 253, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.regulatory-bg .container {
  position: relative;
  z-index: 1;
}

/* Section Title */
.regulatory-tittle {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #033270;
  margin-bottom: 3rem !important;
  text-align: center;
  background: linear-gradient(135deg, #033270 0%, #2196f3 50%, #033270 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Service Items */
.regulatory-area,
.offer-item {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  margin-bottom: 2.5rem;
  border: 2px solid #e9ecef;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: stretch;
  position: relative;
}

.regulatory-area::before,
.offer-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #033270 0%, #2196f3 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
  z-index: 2;
}

.regulatory-area:hover::before,
.offer-item:hover::before {
  transform: scaleY(1);
}

.regulatory-area:hover,
.offer-item:hover {
  transform: translateY(-8px);
  border-color: #2196f3;
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.15);
}

/* Image Container */
.regulatory-area .col-xl-4:first-child,
.offer-image-wrapper {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f9fa;
  padding: 0;
}

.regulatory-image,
.offer-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.regulatory-area:hover .regulatory-image,
.offer-item:hover .offer-image {
  transform: scale(1.1);
}

/* Content Container */
.regulatory-area .col-xl-8 > div,
.offer-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  height: 100%;
}

.regulatory-area h4,
.offer-title {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  color: #033270;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.regulatory-area:hover h4,
.offer-item:hover .offer-title {
  color: #2196f3;
}

.regulatory-area p,
.offer-description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.8;
  margin: 0 0 1rem 0;
}

.regulatory-area p:last-child,
.offer-description p:last-child {
  margin-bottom: 0;
}

/* Responsive Layout */
@media (max-width: 1199px) {
  .regulatory-bg {
    padding: 80px 0;
  }
  
  .offer-content {
    padding: 2rem;
  }
}

@media (max-width: 991px) {
  .regulatory-bg {
    padding: 70px 0;
  }
  
  .regulatory-tittle {
    margin-bottom: 2.5rem !important;
  }
  
  .regulatory-area,
  .offer-item {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  
  .offer-image-wrapper {
    width: 100%;
    height: 280px;
  }
  
  .offer-content {
    padding: 1.75rem;
  }
  
  .offer-title {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .regulatory-bg {
    padding: 60px 0;
  }
  
  .regulatory-tittle {
    margin-bottom: 2rem !important;
  }
  
  .regulatory-area,
  .offer-item {
    margin-bottom: 1.75rem;
  }
  
  .offer-image-wrapper {
    height: 250px;
  }
  
  .offer-content {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .regulatory-bg {
    padding: 50px 0;
  }
  
  .regulatory-area,
  .offer-item {
    margin-bottom: 1.5rem;
    border-radius: 20px;
  }
  
  .offer-image-wrapper {
    height: 220px;
  }
  
  .offer-content {
    padding: 1.25rem;
  }
  
  .offer-title {
    font-size: 1.25rem;
  }
  
  .offer-description {
    font-size: 0.9375rem;
  }
}

/* Animation on Load */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.offer-item {
  animation: fadeInLeft 0.8s ease-out backwards;
}

.offer-item:nth-child(1) {
  animation-delay: 0.1s;
}

.offer-item:nth-child(2) {
  animation-delay: 0.2s;
}

.offer-item:nth-child(3) {
  animation-delay: 0.3s;
}

.offer-item:nth-child(4) {
  animation-delay: 0.4s;
}

.offer-item:nth-child(5) {
  animation-delay: 0.5s;
}

.offer-item:nth-child(6) {
  animation-delay: 0.6s;
}

