/* ========================================
   MODERN SOLUTIONS SECTION
   Enhanced Animations & Hover Effects
   ======================================== */

/* Section Background */
.about-g {
  background: linear-gradient(135deg, #111433 0%, #0e1556 50%, #111433 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-g::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(33, 150, 243, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(100, 181, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-g .container {
  position: relative;
  z-index: 1;
}

/* Solutions page – light blue background variant */
.solutions-section-light {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #e3f2fd 100%) !important;
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

.solutions-section-light::before {
  background: radial-gradient(circle at 20% 30%, rgba(33, 150, 243, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(100, 181, 246, 0.08) 0%, transparent 50%);
}

.solutions-section-light .choose-badge {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.25) 0%, rgba(100, 181, 246, 0.25) 100%);
  border-color: rgba(33, 150, 243, 0.4);
  color: #0d47a1;
}

.solutions-section-light-title {
  color: #0d47a1 !important;
}

.solutions-section-light-desc {
  color: #1565c0;
  opacity: 0.95;
}

/* Solutions page – service boxes match logo colors (#033270, #2196f3) */
.solutions-section-light .solution-card-inner {
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%) !important;
  border-color: rgba(3, 50, 112, 0.4);
}

.solutions-section-light .modern-solution-card:hover .solution-card-inner {
  background: linear-gradient(135deg, #0a4d8c 0%, #42a5f5 100%) !important;
  border-color: #2196f3;
  box-shadow: 0 20px 60px rgba(3, 50, 112, 0.35);
}

.solutions-section-light .solution-icon-bg.icon-bg-1,
.solutions-section-light .solution-icon-bg.icon-bg-2,
.solutions-section-light .solution-icon-bg.icon-bg-3,
.solutions-section-light .solution-icon-bg.icon-bg-4,
.solutions-section-light .solution-icon-bg.icon-bg-5 {
  background: linear-gradient(135deg, #033270 0%, #1976d2 100%) !important;
}

.solutions-section-light .solution-card-title {
  color: #ffffff !important;
}

.solutions-section-light .solution-card-description {
  color: rgba(255, 255, 255, 0.9) !important;
}

.solutions-section-light .solution-card-link a {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.solutions-section-light .solution-card-link a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* Badge Styling */
.choose-badge {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(100, 181, 246, 0.2) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(33, 150, 243, 0.3);
  border-radius: 50px;
  color: #64b5f6;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
  transition: all 0.4s ease;
}

.choose-badge:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(33, 150, 243, 0.5);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(100, 181, 246, 0.3) 100%);
}

/* Section Title */
.about-g .display-4 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.about-g .display-4::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #2196f3, transparent);
  border-radius: 2px;
}

/* Modern Solution Cards */
.modern-solution-card {
  height: 100%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.solution-card-inner {
  position: relative;
  height: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, rgba(53, 61, 131, 0.95) 0%, rgba(42, 146, 173, 0.95) 100%);
  border: 2px solid rgba(33, 150, 243, 0.2);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

/* Hover Effect Gradient */
.solution-card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.hover-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(100, 181, 246, 0.3) 100%);
  border-radius: 24px;
}

/* Card Hover States */
.modern-solution-card:hover {
  transform: translateY(-15px) scale(1.02);
}

.modern-solution-card:hover .solution-card-inner {
  border-color: rgba(33, 150, 243, 0.6);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.4) 0%, rgba(100, 181, 246, 0.4) 100%);
}

.modern-solution-card:hover .solution-card-hover-effect {
  opacity: 1;
}

/* Individual Card Color Variations */
.solution-card-1:hover .solution-card-inner {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.4) 0%, rgba(66, 165, 245, 0.4) 100%);
  border-color: rgba(33, 150, 243, 0.8);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.5);
}

.solution-card-2:hover .solution-card-inner {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.4) 0%, rgba(144, 202, 249, 0.4) 100%);
  border-color: rgba(100, 181, 246, 0.8);
  box-shadow: 0 20px 60px rgba(100, 181, 246, 0.5);
}

.solution-card-3:hover .solution-card-inner {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.4) 0%, rgba(33, 150, 243, 0.4) 100%);
  border-color: rgba(66, 165, 245, 0.8);
  box-shadow: 0 20px 60px rgba(66, 165, 245, 0.5);
}

.solution-card-4:hover .solution-card-inner {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.4) 0%, rgba(100, 181, 246, 0.4) 100%);
  border-color: rgba(30, 136, 229, 0.8);
  box-shadow: 0 20px 60px rgba(30, 136, 229, 0.5);
}

.solution-card-5:hover .solution-card-inner {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.4) 0%, rgba(66, 165, 245, 0.4) 100%);
  border-color: rgba(25, 118, 210, 0.8);
  box-shadow: 0 20px 60px rgba(25, 118, 210, 0.5);
}

/* Icon Wrapper */
.solution-icon-wrapper {
  position: relative;
  margin-bottom: 24px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon-bg {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Icon Background Colors */
.icon-bg-1 {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.icon-bg-2 {
  background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
}

.icon-bg-3 {
  background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
}

.icon-bg-4 {
  background: linear-gradient(135deg, #1e88e5 0%, #64b5f6 100%);
}

.icon-bg-5 {
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
}

/* Icon Shine Effect */
.solution-icon-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
  z-index: 3;
  pointer-events: none;
}

.modern-solution-card:hover .solution-icon-shine {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Icon Hover Animation */
.modern-solution-card:hover .solution-icon-bg {
  transform: rotate(360deg) scale(1.15);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.5);
}

.solution-card-1:hover .solution-icon-bg {
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.6);
}

.solution-card-2:hover .solution-icon-bg {
  box-shadow: 0 15px 40px rgba(100, 181, 246, 0.6);
}

.solution-card-3:hover .solution-icon-bg {
  box-shadow: 0 15px 40px rgba(66, 165, 245, 0.6);
}

.solution-card-4:hover .solution-icon-bg {
  box-shadow: 0 15px 40px rgba(30, 136, 229, 0.6);
}

.solution-card-5:hover .solution-icon-bg {
  box-shadow: 0 15px 40px rgba(25, 118, 210, 0.6);
}

/* Card Title */
.solution-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.modern-solution-card:hover .solution-card-title {
  transform: translateY(-3px);
  text-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Card Description */
.solution-card-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  flex: 1;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.modern-solution-card:hover .solution-card-description {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Card Link */
.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
}

.modern-solution-card:hover .solution-card-link {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.solution-card-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.modern-solution-card:hover .solution-card-link i {
  transform: translateX(5px);
}

.solution-card-link:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Pulse Animation for Cards */
@keyframes cardPulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
  }
  50% {
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.4);
  }
}

.modern-solution-card:hover {
  animation: cardPulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .about-g {
    padding: 80px 0;
  }
  
  .solution-card-inner {
    padding: 35px 25px;
  }
  
  .solution-icon-wrapper {
    width: 90px;
    height: 90px;
  }
  
  .solution-icon-bg {
    width: 90px;
    height: 90px;
    font-size: 2.25rem;
  }
  
  .solution-card-title {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .about-g {
    padding: 60px 0;
  }
  
  .solution-card-inner {
    padding: 30px 20px;
    min-height: 360px;
  }
  
  .solution-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .solution-icon-bg {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    border-radius: 20px;
  }
  
  .solution-card-title {
    font-size: 18px;
    margin-bottom: 14px;
  }
  
  .solution-card-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .about-g {
    padding: 50px 0;
  }
  
  .about-g .display-4 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .solution-card-inner {
    padding: 28px 18px;
    border-radius: 20px;
    min-height: 340px;
  }
  
  .solution-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
  }
  
  .solution-icon-bg {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
    border-radius: 18px;
  }
  
  .solution-card-title {
    font-size: 17px;
    margin-bottom: 12px;
  }
  
  .solution-card-description {
    font-size: 13px;
    margin-bottom: 18px;
  }
  
  .solution-card-link {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .modern-solution-card:hover {
    transform: translateY(-10px) scale(1.01);
  }
}

@media (max-width: 576px) {
  .about-g {
    padding: 40px 0;
  }
  
  .choose-badge {
    padding: 8px 20px;
    font-size: 12px;
  }
  
  .about-g .display-4 {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }
  
  .solution-card-inner {
    padding: 24px 16px;
    border-radius: 16px;
    min-height: 320px;
  }
  
  .solution-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }
  
  .solution-icon-bg {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 16px;
  }
  
  .solution-card-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .solution-card-description {
    font-size: 12px;
    margin-bottom: 16px;
  }
  
  .solution-card-link {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .modern-solution-card:hover {
    transform: translateY(-8px);
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-solution-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.modern-solution-card:nth-child(1) { animation-delay: 0.1s; }
.modern-solution-card:nth-child(2) { animation-delay: 0.2s; }
.modern-solution-card:nth-child(3) { animation-delay: 0.3s; }
.modern-solution-card:nth-child(4) { animation-delay: 0.4s; }
.modern-solution-card:nth-child(5) { animation-delay: 0.5s; }

/* Solutions Slider */
.solutions-slider-wrap {
  position: relative;
}

.solutions-slider .owl-stage {
  display: flex;
  align-items: stretch;
}

.solutions-slider .owl-item {
  display: flex;
}

.solutions-slider .owl-item .item {
  display: flex;
  width: 100%;
}

.solutions-slider .modern-solution-card {
  width: 100%;
}

.solutions-slider-wrap .owl-nav {
  display: none !important;
}

.solutions-slider-wrap .owl-nav button {
  pointer-events: all;
  width: 50px;
  height: 50px;
  min-width: 50px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.4) !important;
  border: 2px solid rgba(33, 150, 243, 0.6) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.solutions-slider-wrap .owl-nav button span {
  display: none;
}

.solutions-slider-wrap .owl-nav button i {
  font-size: 1.125rem;
}

.solutions-slider-wrap .owl-nav button:hover {
  background: rgba(33, 150, 243, 0.8) !important;
  border-color: #2196f3 !important;
  transform: scale(1.1);
  color: #fff !important;
}

.solutions-slider-wrap .owl-dots {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.solutions-slider-wrap .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.3) !important;
  transition: all 0.3s ease;
}

.solutions-slider-wrap .owl-dots .owl-dot.active,
.solutions-slider-wrap .owl-dots .owl-dot:hover {
  background: #2196f3 !important;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .solutions-slider-wrap .owl-nav button {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .solutions-slider-wrap .owl-nav button i {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .solutions-slider-wrap .owl-nav button {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

.solutions-page {
  background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 42%, #f7fbfd 100%);
  padding: 88px 0 100px;
}

.solutions-kicker {
  display: inline-flex;
  align-items: center;
  color: #2a92ad;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.solutions-intro h2 {
  color: #033270;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.25;
  max-width: 920px;
  margin: 14px auto 20px !important;
  text-align: center;
}

.solutions-intro p {
  max-width: 860px;
  margin: 0 auto 14px;
  color: #5c6b7a;
  font-size: 1.05rem;
  line-height: 1.75;
}

.solutions-focus-label {
  margin: 52px 0 28px;
}

.focus-card {
  height: 100%;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(3, 50, 112, 0.08);
  padding: 28px 26px 24px;
  box-shadow: 0 12px 32px rgba(3, 50, 112, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(3, 50, 112, 0.12);
}

.focus-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.focus-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #033270, #2a92ad);
}

.focus-card h3 {
  color: #033270;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.focus-lead {
  color: #3d5166;
  margin: 0;
  line-height: 1.55;
  font-size: 0.98rem;
}

.focus-detail {
  margin: 16px 0 0;
  color: #5c6b7a;
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (max-width: 575px) {
  .solutions-page {
    padding: 56px 0 64px;
  }

  .focus-card-top {
    flex-direction: column;
  }
}

