﻿
:root {
    --main-color: #2c3e50;
    --accent-color: #e74c3c;
    --hover-color: #c0392b;
}

.body-2 {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

.main-header {
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
    padding: 2rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: auto;
}

.search-input {
    border: 2px solid var(--main-color);
    border-radius: 30px;
    padding: 15px 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .search-input:focus {
        box-shadow: 0 0 15px rgba(44, 62, 80, 0.2);
        border-color: var(--accent-color);
    }

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--main-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.divider {
    border-top: 2px solid #eee;
    margin: 3rem auto;
    width: 80%;
    opacity: 0.5;
}



.section-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

    .section-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-btn {
    background: var(--accent-color);
    color: white;
    border-radius: 25px;
    padding: 8px 25px;
    transition: all 0.3s ease;
}

    .card-btn:hover {
        background: var(--hover-color);
        transform: translateX(5px);
    }

@media (max-width: 768px) {
    .section-card {
        margin-bottom: 2rem;
    }
}
