/* Features Section Styles */
.sanam-features-section {
    padding: 32px 16px;
    max-width: 1200px;
    margin: 0 auto;
}



/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-box {
    background-color: #121212;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 2px #F44B00;
    display: flex;
    flex-direction: column;
    /* Set a fixed height for all boxes */
    height: 400px;
    width: 100%;
}

.feature-content {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* Add scrolling for overflow text */
    overflow-y: auto;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: thin;
    scrollbar-color: #F44B00 #121212;
}

/* Customize scrollbar for webkit browsers */
.feature-content::-webkit-scrollbar {
    width: 6px;
}

.feature-content::-webkit-scrollbar-track {
    background: #121212;
}

.feature-content::-webkit-scrollbar-thumb {
    background-color: #F44B00;
    border-radius: 6px;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    width: 100%;
    line-height: 1.3;
}

.feature-description {
    font-size: 16px;
    color: #B3B3B3;
    width: 100%;
    line-height: 1.4;
}

.feature-icon-container {
    background-color: #F44B00;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    /* Fixed non-flexible height */
    height: 160px;
    min-height: 160px;
    flex-shrink: 0;
}

.feature-icon {
    height: 60%;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    filter: brightness(0) !important;
}

/* Responsive Adjustments */
@media screen and (min-width: 540px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-box {
        /* Keep consistent size on tablets */
        height: 400px;
    }
}

@media screen and (max-width: 539px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        /* Keep consistent size on mobile */
        height: 400px;
    }
}

/* Animation Classes - Keeping these from your original CSS */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}