/* Products Slider Styles */
.service-box-area {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.service-box-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.section-subtitle {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title h2 {
    color: #B7F9FF !important;
    font-weight: bolder;
    margin-bottom: 10px;
}

.section-title p {
    color: #333 !important;
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Creative Products Slider */
.products-creative-slider {
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.products-swiper {
    padding: 20px 50px;
    overflow: hidden;
    position: relative;
}

.products-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Product Slide Cards */
.product-slide-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.product-slide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-slide-card:hover::before {
    transform: translateX(100%);
}

.product-slide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Services Card - Purple Gradient */
.services-card {
    border-top: 4px solid #667eea;
}

.services-card:hover {
    border-top-color: #764ba2;
}

/* Account Card - Pink Gradient */
.account-card {
    border-top: 4px solid #f093fb;
}

.account-card:hover {
    border-top-color: #f5576c;
}

/* Loans Card - Blue Gradient */
.loans-card {
    border-top: 4px solid #4facfe;
}

.loans-card:hover {
    border-top-color: #00f2fe;
}

/* Insurance Card - Green Gradient */
.insurance-card {
    border-top: 4px solid #43e97b;
}

.insurance-card:hover {
    border-top-color: #38f9d7;
}

/* Planning Card - Orange Gradient */
.planning-card {
    border-top: 4px solid #fa709a;
}

.planning-card:hover {
    border-top-color: #fee140;
}

/* Product Card Header */
.product-card-header {
    text-align: center;
    margin-bottom: 20px;
}

.product-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-slide-card:hover .product-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Card Content */
.product-card-content {
    flex: 1;
    margin-bottom: 20px;
}

.futuristic-description {
    font-size: 18px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
    text-align: center;
}

.futuristic-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.futuristic-features li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #4a5568;
    position: relative;
}

.futuristic-features li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.planning-card .futuristic-features li::before {
    color: #fa709a;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.services-list li:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.services-card .services-list li:hover {
    border-left-color: #667eea;
}

.account-card .services-list li:hover {
    border-left-color: #f093fb;
}

.loans-card .services-list li:hover {
    border-left-color: #4facfe;
}

.insurance-card .services-list li:hover {
    border-left-color: #43e97b;
}

.planning-card .services-list li:hover {
    border-left-color: #fa709a;
}

.services-list li i {
    font-size: 18px;
    margin-right: 15px;
    width: 24px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.services-list li:hover i {
    opacity: 1;
    transform: scale(1.2);
}

.services-card .services-list li i {
    color: #667eea;
}

.account-card .services-list li i {
    color: #f093fb;
}

.loans-card .services-list li i {
    color: #4facfe;
}

.insurance-card .services-list li i {
    color: #43e97b;
}

.planning-card .services-list li i {
    color: #fa709a;
}

.services-list li span {
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s ease;
}

.services-list li:hover span {
    color: #2d3748;
}

/* Product Card Footer */
.product-card-footer {
    text-align: center;
    margin-top: auto;
}

.product-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-card .product-btn {
    background: linear-gradient(45deg, #f093fb, #f5576c);
}

.loans-card .product-btn {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.insurance-card .product-btn {
    background: linear-gradient(45deg, #43e97b, #38f9d7);
}

.planning-card .product-btn {
    background: linear-gradient(45deg, #fa709a, #fee140);
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-btn:hover::before {
    left: 100%;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

/* Swiper Navigation */
.products-pagination {
    bottom: -40px !important;
    text-align: center;
    position: relative !important;
}

.products-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e0;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.products-pagination .swiper-pagination-bullet-active {
    background: #667eea;
    transform: scale(1.2);
}

.swiper-button-prev,
.swiper-button-next,
.products-prev,
.products-next {
    position: absolute !important;
    top: 50% !important;
    margin-top: -22px !important;
    width: 44px !important;
    height: 44px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    cursor: pointer !important;
}

.swiper-button-prev:after,
.swiper-button-next:after,
.products-prev:after,
.products-next:after {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #667eea !important;
    font-family: swiper-icons !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover,
.products-prev:hover,
.products-next:hover {
    background: #667eea !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
}

.swiper-button-prev:hover:after,
.swiper-button-next:hover:after,
.products-prev:hover:after,
.products-next:hover:after {
    color: white !important;
}

.swiper-button-prev,
.products-prev {
    left: 10px !important;
}

.swiper-button-next,
.products-next {
    right: 10px !important;
}

/* Static Grid View (for larger screens) */
.products-grid-view .product-static-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    margin-bottom: 30px;
}

.products-grid-view .product-static-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.products-grid-view .product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.products-grid-view .product-card-header h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.products-grid-view .services-list li {
    padding: 12px 15px;
    margin-bottom: 8px;
}

.products-grid-view .services-list li i {
    font-size: 16px;
    margin-right: 12px;
}

.products-grid-view .services-list li span {
    font-size: 14px;
}

.products-grid-view .product-btn {
    padding: 12px 25px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .products-grid-view {
        display: none !important;
    }
    
    .products-creative-slider {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .product-slide-card {
        padding: 30px 20px;
        min-height: 400px;
    }
    
    .product-icon {
        width: 80px;
        height: 80px;
    }
    
    .product-card-header h3 {
        font-size: 20px;
    }
    
    .services-list li {
        padding: 12px 15px;
    }
    
    .services-list li i {
        font-size: 16px;
        margin-right: 12px;
    }
    
    .services-list li span {
        font-size: 14px;
    }
    
    .product-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .products-prev,
    .products-next {
        display: none !important;
    }
    .swiper-button-prev,
    .swiper-button-next {
      display: none !important;
    }
    .swiper-button-prev,
    .swiper-button-next,
    [class*="swiper-button-prev"],
    [class*="swiper-button-next"],
    button.swiper-button-prev,
    button.swiper-button-next {
      display: none !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .product-slide-card {
        padding: 25px 15px;
        min-height: 350px;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
    }
    
    .product-card-header h3 {
        font-size: 18px;
    }
    
    .services-list li {
        padding: 10px 12px;
        margin-bottom: 6px;
    }
    
    .services-list li span {
        font-size: 13px;
    }
}

/* Loading Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-slide-card {
    animation: slideInUp 0.6s ease-out;
}

.product-slide-card:nth-child(even) {
    animation-delay: 0.1s;
}

.product-slide-card:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Hover Effects for Icons */
@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.product-slide-card:hover .product-icon svg {
    animation: iconFloat 2s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-subtitle {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Particle Enhancement */
.service-box-area .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(102,126,234,0.6) 0%, rgba(102,126,234,0) 70%);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    top: 20%;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.7;
    }
    66% {
        transform: translateY(20px) translateX(-10px);
        opacity: 0.5;
    }
} 

/* --- Show full product/service card description, no ellipsis or cutoff --- */
.product-card-content, .futuristic-description {
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-overflow: unset !important;
} 

/* --- Ensure Explore More button is always visible and prominent --- */
/* --- FINAL FIX: Always show Explore More button, no overflow hidden --- */
.product-slide-card, .services-card {
  overflow: visible !important;
  min-height: unset !important;
  height: auto !important;
}
.product-card-content {
  flex: 1 1 auto !important;
  margin-bottom: 16px !important;
}
.product-card-footer {
  margin-top: auto !important;
  margin-bottom: 8px !important;
  position: static !important;
}
.product-btn {
  display: inline-block;
  width: 95%;
  max-width: 240px;
  min-width: 140px;
  padding: 14px 0;
  font-size: 1rem;
  border-radius: 28px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 2px 8px rgba(56,177,222,0.08);
}
@media (max-width: 767px) {
  .product-slide-card, .services-card {
    min-height: 160px;
  }
  .product-btn {
    font-size: 0.98rem;
    padding: 12px 0;
    border-radius: 22px;
    width: 98%;
    min-width: 120px;
    max-width: 98vw;
  }
  .product-card-footer {
    margin-bottom: 4px;
  }
} 

/* --- Button inside card, all cards same height --- */
.product-slide-card, .services-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  height: 320px !important; /* Set a fixed height for all cards */
  min-height: 320px !important;
  max-height: 320px !important;
  position: relative;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(56,177,222,0.10) !important;
  margin: 0 auto 18px auto !important;
  padding: 18px 12px 16px 12px !important;
  overflow: hidden !important;
}
.product-card-content {
  flex: 1 1 auto !important;
  margin-bottom: 12px !important;
  width: 100%;
  overflow: visible !important;
  display: block !important;
  white-space: normal !important;
  word-break: break-word !important;
}
.product-card-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  position: static !important;
}
.product-btn {
  display: inline-block;
  width: 95%;
  max-width: 240px;
  min-width: 140px;
  padding: 14px 0;
  font-size: 1rem;
  border-radius: 28px;
  margin: 0 auto;
  background: #38E1B0;
  color: #fff;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 8px rgba(56,177,222,0.08);
  border: none;
  transition: background 0.2s;
}
.product-btn:hover {
  background: #2cc89a;
  color: #fff;
}
@media (max-width: 991.98px) {
  .product-slide-card, .services-card {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    padding: 12px 8px 12px 8px !important;
  }
  .product-btn {
    font-size: 0.95rem;
    padding: 12px 0;
  }
} 

@media (max-width: 767.98px) {
  .product-slide-card, .services-card {
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 20px 12px 18px 12px !important;
    border-radius: 22px !important;
    box-shadow: 0 8px 32px rgba(56,177,222,0.16) !important;
    background: linear-gradient(135deg, #f8fffc 60%, #e6faf7 100%) !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 16px auto !important;
    width: 96vw !important;
    max-width: 340px !important;
    overflow: visible !important;
  }
  .product-card-header, .product-card-content, .product-card-footer {
    width: 100% !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .product-card-header h3 {
    font-size: 1.05rem !important;
    margin-bottom: 6px !important;
  }
  .product-card-content {
    font-size: 0.98rem !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    color: #222 !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  .product-btn {
    font-size: 1rem !important;
    padding: 13px 0 !important;
    border-radius: 22px !important;
    width: 95% !important;
    max-width: 220px !important;
    margin: 0 auto !important;
  }
} 