/**
 * Advanced Features and Services Styles
 * 
 * This file contains styles for the enhanced horizontal layout containers
 * for the 'Why Choose HanuPay' and 'Our Services' sections
 */

/* ===== Features Section Styles ===== */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.1) 100%);
    color: #6a11cb;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.1);
}

.section-badge.text-white {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.text-gradient-light {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0ff 100%);
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

/* Feature Cards */
.features-slider {
    position: relative;
    padding: 20px 0;
}

.feature-card-horizontal {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.feature-card-horizontal.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 17, 203, 0.1);
    border-color: rgba(106, 17, 203, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-right: 25px;
    position: relative;
}

.feature-icon.pulse-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(106, 17, 203, 0.3);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.feature-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.feature-stats {
    display: flex;
    margin: 20px 0;
    gap: 20px;
}

.feature-stats .stat-item {
    text-align: center;
    padding: 10px 15px;
    background: rgba(106, 17, 203, 0.05);
    border-radius: 10px;
    min-width: 100px;
}

.feature-stats .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #6a11cb;
}

.feature-stats .stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.btn-link {
    color: #6a11cb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.btn-link:hover {
    color: #2575fc;
}

.btn-link:hover i {
    transform: translateX(5px);
}

.features-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 -15px;
    z-index: 2;
}

.features-navigation button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6a11cb;
}

.features-navigation button:hover {
    background: #6a11cb;
    color: #fff;
    transform: scale(1.1);
}

.features-navigation .nav-prev {
    margin-left: -25px;
}

.features-navigation .nav-next {
    margin-right: -25px;
}

/* ===== Services Section Styles ===== */
.services-section {
    position: relative;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.service-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.service-card-inner {
    padding: 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.service-icon-wrapper {
    margin-right: 30px;
}

.service-icon.glow-effect {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.service-icon.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.service-features-grid .feature-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    display: flex;
    align-items: center;
}

.service-features-grid .feature-item i {
    color: #2575fc;
    margin-right: 10px;
    font-size: 16px;
}

.btn-light-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-light-outline span {
    margin-right: 10px;
}

.btn-light-outline i {
    transition: transform 0.3s ease;
}

.btn-light-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-light-outline:hover i {
    transform: translateX(5px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-glow:hover::after {
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-card-inner {
        flex-direction: column;
    }
    
    .service-icon-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-card-horizontal {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .features-navigation {
        display: none;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
}
