/* Custom Styles */

/* Import Cairo Font */
body {
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
    color: #343a40; /* Dark text color for better readability */
}

/* Hero Section */
#hero {
    height: 100vh;
    background: url('https://wenkgps.com/images/slider/bg1.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(63 63 63 / 60%);; /* Red overlay (Bootstrap danger color) */
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

#hero p {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }
}

/* Features Section */
.feature-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-item h5 {
    margin-top: 15px;
}

/* How It Works Section */
.how-it-works-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.how-it-works-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.how-it-works-item h5 {
    margin-top: 15px;
}

/* Integrations Section */
.integration-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.integration-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.integration-item h5 {
    margin-top: 15px;
}

/* Solutions Section */
.solution-item {
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.solution-item h5 {
    margin-top: 15px;
}

.solution-item p {
    font-size: 1rem;
}

.solution-item .btn {
    margin-top: auto;
}

/* FAQ Section */
#faq .accordion-button {
    background-color: #f8f9fa;
    color: #343a40;
    font-weight: 500;
}

#faq .accordion-button:focus {
    box-shadow: none;
}

#faq .accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #dc3545;
}

#faq .accordion-button::after {
    filter: invert(1);
}

/* Testimonials Section */
.testimonial-item {
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.testimonial-item p {
    font-size: 1.1rem;
}

.testimonial-item h5 {
    margin-top: 15px;
}

.ratings .fa-star, .ratings .fa-star-half-alt {
    color: #ffc107; /* Bootstrap warning color */
}

/* Contact Section */
.contact-info p {
    font-size: 1.1rem;
}

.social-media a:hover {
    color: #b30000; /* Darker red on hover */
}

/* Footer */
footer h5 {
    margin-bottom: 20px;
}

footer p, footer ul li a {
    font-size: 0.95rem;
}

footer ul li a:hover {
    text-decoration: underline;
}

/* Smooth Fade-In Animations */
.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* RTL Adjustments */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .navbar-nav {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

html[dir="rtl"] .text-justify {
    text-align: justify;
}

html[dir="rtl"] .text-center {
    text-align: center;
}

html[dir="rtl"] .btn {
    margin-left: 0;
    margin-right: auto;
}

/* Additional Styles */

.navbar-brand {
    font-size: 1.5rem;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 500;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.text-danger {
    color: #dc3545 !important;
}

.text-dark {
    color: #343a40 !important;
}

.bg-dark {
    background-color: #343a40 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.border {
    border-color: #dee2e6 !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.accordion-button:not(.collapsed) {
    color: #dc3545;
    background-color: #f8f9fa;
}

.accordion-button::after {
    filter: invert(1);
}
