/* إعداد الخطوط المحلية (Global Fonts) */
@font-face {
    font-family: "Alexandreia";
    src: url("../Fonts/google-fonts/Alexandria-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* إعدادات عامة (General Settings) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alexandreia';
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    background-color: #f9fafb;
    color: #1a202c;
    position: relative;
}

/* تخصيص الخطوط (Font Customizations) */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Alexandreia';
    font-weight: 600;
}

/* تخصيص Navbar (Navbar Styles) */
.navbar {
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.navbar-brand {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 45px;
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff !important;
    margin-left: 1.8rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: #22c55e;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #22c55e !important;
}


/* Hero Section (Home Page - Hero Section) */
.hero {
    background: linear-gradient(91deg, #272a77 10%, rgb(9, 24, 31) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero.png') no-repeat center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
}

.hero p {
    font-size: 1.4rem;
    font-weight: 400;
    color: #e5e7eb;
    margin: 20px 0 30px;
}

.hero .custom-btn {
    font-size: 1.2rem;
    padding: 14px 48px;
    border-radius: 50px;
    background-color: #22c55e;
    border: none;
    color: #ffffff;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .custom-btn:hover {
    background-color: #16a34a;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}



/* Trust Signals Section (Home Page - Trust Signals) */
.trust-signals {
    padding: 60px 0;
    background-color: #ffffff;
}

.trust-signals h3 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 30px;
}

.trust-signals i {
    font-size: 2.5rem;
    color: #1e3a8a;
    transition: transform 0.3s ease;
}

.trust-signals i:hover {
    transform: scale(1.2);
}

.trust-signals p {
    font-size: 1rem;
    color: #4b5563;
    margin-top: 10px;
}

/* Services Section (Home Page - Services Section) */
.services {
    padding: 80px 0;
    background-color: #f9fafb;
}

.services h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 40px;
}

.services .card {
    border: none;
    border-radius: 20px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.services .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.services .card i {
    color: #1e3a8a;
    font-size: 2.8rem;
}

.services .card-title {
    font-size: 1.6rem;
    color: #1e3a8a;
    margin-top: 20px;
}

.services .card-text {
    color: #4b5563;
    font-size: 1rem;
}

.more-information-btn {
    font-size: 1.2rem;
    padding: 14px 48px;
    border-radius: 50px;
    background-color: #1e3a8a;
    color: #ffffff;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-information-btn:hover {
    background-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.offers-section .carousel-item {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.offer-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.offer-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.offer-card img {
    border-radius: 15px 15px 0 0;
    transition: opacity 0.5s ease;
}

.offer-card img:hover {
    opacity: 0.85;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(91deg, #371D54 0%, rgba(14, 44, 55, 0.1) 100%);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.carousel-item:not(.active) .carousel-caption {
    opacity: 0;
    transform: translateY(20px);
}

.offer-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.offer-desc {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.btn-custom {
    background: #ffffff;
    color: #1e3a8a;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    background: #f0f0f0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #22c55e;
    border-radius: 50%;
    padding: 10px;
}

/* Financing Conditions Section (Home Page - Financing Conditions) */
.financing-conditions {
    padding: 80px 0;
    background-color: #ffffff;
}

.financing-conditions h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 40px;
}

.financing-conditions .card {
    border: none;
    border-radius: 20px;
    background-color: #f9fafb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.financing-conditions .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.financing-conditions .card i {
    color: #1e3a8a;
    font-size: 2.8rem;
}

.financing-conditions .card-title {
    font-size: 1.6rem;
    color: #1e3a8a;
    margin-top: 20px;
}

.financing-conditions .card-text {
    color: #4b5563;
    font-size: 1rem;
}

/* Financing Products Pricing Section (Pricing Page - Pricing Section) */
.pricing {
    padding: 80px 0;
    background-color: #f9fafb;
}

.pricing h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.pricing p {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 30px;
}

.pricing .table {
    border-radius: 15px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing .table th {
    background-color: #1e3a8a;
    color: #ffffff;
    font-weight: 600;
    padding: 15px;
}

.pricing .table td {
    padding: 15px;
    color: #1a202c;
    font-size: 1rem;
}

.pricing .table-hover tbody tr:hover {
    background-color: #e5e7eb;
}

/* Testimonials Section (Testimonials Page - Testimonials Section) */
.testimonials {
    padding: 80px 0;
    background-color: #f9fafb;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 40px;
}

.testimonials .card {
    border: none;
    border-radius: 20px;
    background-color: #ffffff;
    padding: 24px;
    transition: transform 0.3s ease;
}

.testimonials .card:hover {
    transform: translateY(-8px);
}

.testimonials .card-text {
    font-style: italic;
    color: #4b5563;
    font-size: 1.1rem;
}

.testimonials .card-subtitle {
    font-weight: 700;
    color: #1e3a8a;
    margin-top: 10px;
}

/* CTA Section (Home Page - Call to Action) */
.cta {
    background: linear-gradient(to right, #22c55e, #16a34a);
    padding: 60px 0;
}

.cta h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.3rem;
    color: #e5e7eb;
    margin-bottom: 30px;
}

.cta .custom-btn {
    font-size: 1.2rem;
    padding: 14px 48px;
    border-radius: 50px;
    background-color: #1e3a8a;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta .custom-btn:hover {
    background-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FAQ Section (FAQ Page - FAQ Section) */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.faq-section h2 {
    font-size: 2.8rem;
    color: #1a202c;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    position: relative;
}

.faq-section h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #22c55e;
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
}

.accordion-item {
    border: none;
    border-radius: 15px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #d1fae5);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.accordion-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.accordion-button {
    background-color: transparent;
    color: #1a202c;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 18px 25px;
    border: none;
    text-align: right;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2px;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    opacity: 0.7;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #ffffff, #a7f3d0);
    color: #1a202c;
}

.accordion-body {
    background-color: #ffffff;
    color: #4b5563;
    padding: 20px 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    border-top: 1px solid #d1fae5;
}

.fade-up {
    animation: slideUp 1s ease-out;
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.accordion-button:hover::after {
    animation: rotateIcon 0.5s ease;
}

/* Blog Preview Section (Blog Page - Blog Preview) */
.blog-preview {
    padding: 80px 0;
    background-color: #ffffff;
}

.blog-preview h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 40px;
}

.blog-preview .card {
    border: none;
    border-radius: 20px;
    background-color: #f9fafb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-preview .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.blog-preview .card-img-top {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 200px;
    object-fit: cover;
}

.blog-preview .card-title {
    font-size: 1.4rem;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.blog-preview .card-text {
    font-size: 1rem;
    color: #4b5563;
}

.blog-preview .custom-btn {
    background-color: #1e3a8a;
    border-radius: 30px;
    padding: 10px 30px;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-preview .custom-btn:hover {
    background-color: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Footer Styles (Footer Section) */
footer {
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
    padding: 60px 0 30px;
    color: #d1d5db;
}

footer h5 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

footer p,
footer a {
    color: #d1d5db;
    font-size: 0.9rem;
}

footer a:hover {
    color: #22c55e;
    text-decoration: none;
}

footer .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

footer .input-group .form-control {
    margin-left: 10px;
    background-color: transparent;
}

footer .social-icons a {
    margin-left: 10px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #22c55e;
}

footer hr {
    border-color: #4b5563;
    opacity: 0.3;
}

/* Floating Contact Button (Floating Button) */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #22c55e;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 1002;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Animations (Global Animations) */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 1s ease-in-out;
}

/* Responsive Design (Responsive Styles) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .services h2,
    .financing-conditions h2,
    .pricing h2,
    .additional-info h2,
    .about h2,
    .testimonials h2,
    .cta h2,
    .blog-preview h2 {
        font-size: 2rem;
    }

    .additional-info .card-title {
        font-size: 1.8rem;
    }

    footer .col-md-4,
    footer .col-md-2,
    footer .col-md-3 {
        margin-bottom: 30px;
    }

    .floating-btn {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .custom-btn {
        font-size: 1rem;
        padding: 10px 30px;
    }

    .services .card,
    .financing-conditions .card,
    .testimonials .card,
    .blog-preview .card,
    .additional-info .card {
        margin-bottom: 20px;
    }

    .about img {
        margin-top: 20px;
    }

    .pricing .table {
        font-size: 0.9rem;
    }

    .additional-info .card-title {
        font-size: 1.6rem;
    }

    .additional-info ul li,
    .additional-info .card-text {
        font-size: 0.9rem;
    }

    .additional-info ul li i {
        font-size: 0.7rem;
    }

    footer .input-group {
        flex-direction: column;
    }

    footer .input-group .form-control {
        margin-bottom: 10px;
        border-radius: 5px;
        min-width: 50%;
    }

    footer .input-group .btn {
        border-radius: 5px;
    }
}

/* أنماط إضافية مخصصة للصفحة (Additional Page Styles - About Page) */
.hero-about {
    /* background: linear-gradient(135deg, #1e3a8a, #4b6cb7); */
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero.png') no-repeat center/cover;
    opacity: 0.1;
    z-index: 1;
}
.hero-contact {
    /* background: linear-gradient(135deg, #1e3a8a, #4b6cb7); */
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-contact .container {
    position: relative;
    z-index: 2;
}


.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/con-hero.png') no-repeat center/cover;
    /* opacity: 0.2; */
    z-index: 1;
}

.hero-contact .container {
    position: relative;
    z-index: 2;
}


.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    z-index: 1;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.7);
    z-index: -1;
}

.card-modern {
    border: none;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.value-icon {
    font-size: 2.5rem;
    color: #22c55e;
    transition: transform 0.3s ease;
}

.value-icon:hover {
    transform: rotate(15deg) scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group label {
    font-weight: 600;
    color: #1e3a8a;
}

.form-control {
    border-radius: 10px;
    border-color: #d1d5db;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
}

.error {
    color: #dc3545;
    font-size: 0.9rem;
    display: none;
}

.success-msg {
    color: #28a745;
    text-align: center;
    display: none;
}

.submit-btn {
    background-color: #22c55e;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #16a34a;
    transform: scale(1.05);
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}
.form-group label {
    font-weight: 600;
    color: #1e3a8a;
}
.form-control {
    border-radius: 10px;
    border-color: #d1d5db;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    border-color: #22c55e;
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
}
.error {
    color: #dc3545;
    font-size: 0.9rem;
    display: none;
}
.submit-btn {
    background-color: #22c55e;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.submit-btn:hover {
    background-color: #16a34a;
    transform: scale(1.05);
}