/* filepath: c:\Users\zemax\Desktop\zaheb\css\services.css */
/* ===== SERVICES PAGE STYLES ===== */

/* Services Grid */
#services-container {
    padding: 40px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Service Card */
.service-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-description {
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Key benefits section */
.service-benefits {
    margin: 20px 0;
}

.service-benefits h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.rtl .benefits-list li {
    padding-left: 0;
    padding-right: 25px;
}

.benefits-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.rtl .benefits-list li:before {
    left: auto;
    right: 0;
}

/* How it works section */
.service-how-it-works {
    margin: 20px 0;
}

.service-how-it-works h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.how-it-works-list {
    counter-reset: step-counter;
    padding-left: 0;
    list-style: none;
}

.how-it-works-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.rtl .how-it-works-list li {
    padding-left: 0;
    padding-right: 35px;
}

.how-it-works-list li:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.rtl .how-it-works-list li:before {
    left: auto;
    right: 0;
}

.service-cta {
   
    margin-top: auto;
    
    /* Pushes button to the bottom */
    padding-top: 20px;
}

.service-card .btn-secondary {
    background-color: #092f7d;
    color: var(--white-color);
    width: 100%;
    text-align: center;
}

.service-card .btn-secondary:hover {
    background-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}