body {
    font-family: "Cairo";
    overflow: auto;
}

/* navbar */

.navbar-brand {
    font-weight: bold;
    color: rgba(254, 119, 67, 1);
    font-family: "Cairo";
    font-weight: 600;
    font-size: 22px;
}

.nav-link.active {
    font-weight: bold;
    color: rgba(39, 63, 79, 1) !important;
}

.btn-orange {
    background-color: #f97316;
    color: white;
    border: none;
}

.btn-orange:hover {
    background-color: #ea580c;
}


.navbar-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    font-family: "Cairo";
    font-weight: 500;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.5) !important;
}



nav .btn {
    color: rgba(254, 119, 67, 1);
    border-color: rgba(254, 119, 67, 1);
    border-radius: 8px;
}

nav .btn:hover {
    background-color: rgba(254, 119, 67, 1);
    color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-icons i {
    font-size: 1.5rem;
    color: gray;
    cursor: pointer;
}

.navbar-icons img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.search-container {
    position: relative;
}

.search-icon {
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.search-box {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 1000;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-box input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.bi-cart {
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

@media (max-width: 768px) {
    .search-box {
        width: 300px;
        left: 50%;
        top: auto;
    }

    .search-icon,
    .bi-cart {
        font-size: 1.2rem;
    }

    .navbar-icons img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 990px) {
    .search-box {
        width: 300px;
        left: 50%;
        top: auto;
    }
}


/* header */

header .content {
    background: url("../Pic/ec0f19b0dbedf9cb4f4baf2879a0390c17299251.jpg") no-repeat center bottom;
    background-size: cover;
    display: flex;
    justify-content: left;
    width: 100%;
    align-items: center;
    min-height: 50vh;
    padding: 20px;
}

header .text-content {
    max-width: 50%;
    padding: 50px;
    line-height: 2;
    color: white;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .text-content,
    .image-content {
        max-width: 100%;
    }
}

header .navbar-brand {
    color: #fff !important;
}

/* contact section */

.contact-section {
    padding: 50px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-section .content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

.form-content {
    max-width: 50%;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.contact-section .image-content {
    max-width: 50%;
    padding: 20px;
}

.contact-section .image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.form-content input,
.form-content select,
.form-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-content textarea {
    height: 100px;
    resize: none;
}

.terms {
    margin-bottom: 15px;
}

.btn-submit {
    background-color: #ff6200;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
}

.btn-submit:hover {
    background-color: #e55a00;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .form-content,
    .image-content {
        max-width: 100%;
    }
}

/* our location */

.location-section {
    padding: 50px 20px;
    text-align: center;
}

.location-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.location-section p {
    color: #666;
    margin-bottom: 30px;
}

.location-info {
    max-width: 400px;
    margin: 0 auto 60px;
    padding: 50px 50px;
    border-radius: 10px;
    text-align: left;
    margin-left: 3rem;
}

.location-info h3 {
    color: #000;
    margin-bottom: 15px;
}

.location-info p {
    margin-bottom: 10px;
}

.location-info a {
    color: #ff6200;
    text-decoration: none;
}

.location-info a:hover {
    text-decoration: underline;
}

.location-info .social-icons a {
    color: #000;
    margin: 0 5px;
    font-size: 1.2rem;
}

.map-container {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff7c47;
    /* لون مميز عند التحويم */
}


@media (max-width: 768px) {
    .contact-section h1 {
        font-size: 2rem;
    }

    .contact-info {
        max-width: 100%;
    }

    .map-container {
        height: 300px;
    }
}

/* search */

.search-section {
    background: url('../Pic/901d65a6791ad743bf5d58a7ac997944f49f2462.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    top: 9rem;
}

.search-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.search-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.input-group {
    max-width: 500px;
    margin: 0 auto;
}

.btn-join {
    background-color: rgba(254, 119, 67, 1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-join:hover {
    background-color: rgb(252, 84, 17);
    color: white;
}

/* footer */

.footer {
    background-color: #f1ece5;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: 9rem;
}

.footer .nav-link {
    color: #1a3c5e;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer .nav-link:hover {
    color: #f4a261;
}

.footer .social-icons a {
    color: #f4a261;
    margin: 0 5px;
    font-size: 1.2rem;
}

.footer .copyright {
    font-size: 0.8rem;
    color: #777;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer .row {
        flex-direction: column;
        align-items: center;
    }

    .footer .logo {
        margin-bottom: 15px;
        justify-content: center;
    }

    .footer .nav {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .footer .nav-link {
        display: block;
        margin: 5px 0;
        font-size: 0.85rem;
    }

    .footer .social-icons {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer .social-icons a {
        font-size: 1.1rem;
        margin: 0 8px;
    }

    .footer .copyright {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 15px;
    }

    .footer .logo img {
        height: 24px;
        width: 24px;
    }

    .footer .logo span {
        font-size: 1.3rem;
    }

    .footer .nav-link {
        font-size: 0.8rem;
    }

    .footer .social-icons a {
        font-size: 1rem;
        margin: 0 6px;
    }

    .footer .copyright {
        font-size: 0.7rem;
        line-height: 1.4;
    }
}