/* تخصيصات عامة */
html,
body {
    overflow-x: hidden !important;
    background-color: #f9f9f9;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
}

body.modal-open {
    overflow: hidden;
}

#loader {
    position: fixed;
    inset: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader-ring {
    width: 100%;
    height: 100%;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #2b4382;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Chrome, Safari, Edge */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* header Section */
.custom-navbar {
    height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.custom-navbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 100%;
}



.custom-logo {
    position: fixed;
    right: 1rem;
    top: 36px;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-logo img {
    height: 203px;
    width: auto;
    transition: height 0.3s ease;
    display: block;
}

.nav-link {
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    --bs-nav-link-padding-y: 0rem;
}

.nav-link:hover {
    color: #0d6efd !important;
}



@media (max-width: 768px) {

    .custom-logo {
        position: fixed;
        right: 1rem;
        top: 27px;
        transform: translateY(-50%);
        z-index: 10;
    }

    .custom-logo img {
        height: 100px;

    }

    .custom-navbar {
        height: auto;
        /* عشان القائمة تاخد راحتها تحت */
        padding: 0.5rem 1rem;
    }

    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }
}




/* Hero Section */

.hero {
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 970px;
}

.custom-btn {
    background-color: #294280;
    color: white;
}


.custom-btn:hover {
    color: white !important;
    background-color: #395baf;

}



/* About Section */


.section-title {
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.about-text {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}



/* Why Us Section */
#why-us {
    background-color: #f9f9f9;
}

#why-us .section-title {
    font-weight: 800;
    font-size: 32px;
    color: #1a1a1a;
}

.feature-box {
    transition: transform 0.3s ease;
    background-color: #fff;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.feature-box .icon i {
    line-height: 1;
}


/* Products Section */
#products {
    background-color: #fff;
}

#products .section-title {
    font-weight: 800;
    font-size: 32px;
    color: #1a1a1a;
}

.product-card {
    transition: transform 0.3s ease;
    background-color: #fdfdfd;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-card h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 16px;
    color: #555;
}

.row {
    justify-content: center !important;
}

/* -------------------------------------------- */
.warranty-form-section {
    min-height: 100vh;
}

.image-side {
    background-image: url(../images/test-P-3.jpg);
    color: white;
    padding: 2rem;
    background-size: cover;
    background-position: center;
}

.image-side img {
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.form-label {
    font-weight: bold;
}

button[type="submit"] {
    padding: 0.75rem;
    font-size: 1.1rem;
}


.main-heading {
    font-size: 6rem !important;
    font-weight: bold;
}

.highlighted {
    color: #294280;
}


.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.modal-content {
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #fff;
    text-align: right;
    direction: rtl !important;
    text-align: right !important;
}

.modal-header .modal-title {
    font-size: 1.5rem;
    color: #1e88e5;
}

.modal-body ol {
    list-style-position: inside;
    padding-right: 0;
    margin-right: 0;
}

.modal-footer .btn {
    background-color: #1e88e5;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.modal-footer .btn:hover {
    background-color: #1565c0;
}


/* Footr Section */

.custom-bg {
    background-color: #294280;

}

footer p {
    font-size: 14px;
}

input::placeholder {
    direction: rtl;
    text-align: right;
}