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/38c7d87ae6a7b2001e838692cb22699a710b1b40.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: left;
    width: 100%;
    align-items: center;
    min-height: 50vh;
    padding: 20px;
}

header .text-content {
    max-width: 50%;
    margin: auto 20px;
    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;
}

/* about us */

.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.about-section .text-content {
    max-width: 50%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border-radius: 10px;
}

.image-content img {
    width: 492px;
    height: 540px;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-left: 4rem;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-section .text-content {
        max-width: 60%;
        padding: 15px;
    }

    .image-content img {
        width: 400px;
        height: 440px;
        margin-left: 2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 30px;
    }

    .about-section .text-content,
    .image-content {
        max-width: 100%;
        text-align: center;
    }

    .image-content img {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin-left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 20px;
    }

    .about-section .text-content {
        padding: 10px;
    }

    .about-section .text-content h1 {
        font-size: 1.5rem;
    }

    .about-section .text-content h2 {
        font-size: 1.25rem;
    }

    .about-section .text-content p {
        font-size: 0.9rem;
    }

    .image-content img {
        max-width: 300px;
        height: auto;
    }
}

/* Why us section */

.why-section {
    position: relative;
    top: 4rem;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.img-fluid {
    border-radius: 10px;
    object-fit: cover;
    top: 10%;
}

@media (max-width: 768px) {
    .hero-section .quote {
        font-size: 1.2rem;
    }

    .hero-section .author {
        font-size: 1rem;
    }

    .img-fluid {
        max-height: 200px;
    }
}

.featured-section {
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 1200px;
    position: relative;
    top: 7rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #1a3c5e;
}

.technology-section {
    background: rgba(39, 63, 79, 1);
    padding: 50px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 4rem;
}

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

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

.btn-get-started {
    background-color: #ff6200;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

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

.technology-section .img-content {
    max-width: 50%;
    margin-right: 0;
    display: flex;
    justify-content: flex-end;
}

.technology-section .img-content img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .technology-section .text-content {
        padding: 40px;
    }

    .technology-section .img-content {
        max-width: 40%;
    }
}

@media (max-width: 768px) {
    .technology-section .content {
        flex-direction: column;
        text-align: center;
    }

    .technology-section .text-content,
    .technology-section .img-content {
        max-width: 100%;
        padding: 20px;
    }

    .btn-get-started {
        margin: 0 auto;
        display: block;
    }

    .technology-section .img-content {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .technology-section {
        padding: 30px 10px;
        min-height: 50vh;
    }

    .technology-section .text-content {
        padding: 15px;
    }

    .technology-section .img-content img {
        max-width: 80%;
    }

    .btn-get-started {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* traniers section */

.trainers-section {
    padding: 50px 20px;
    text-align: center;
    position: relative;
    top: 5rem;
}

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

.trainers-section p {
    color: #666;
    margin-bottom: 40px;
}

.trainer-card {
    margin-bottom: 20px;
    text-align: left;
}

.trainer-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.trainer-card h5 {
    margin-top: 10px;
    font-size: 1.2rem;
}

.trainer-card p {
    color: #666;
    margin-bottom: 5px;
}

.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: 576px) {
    .trainers-section h1 {
        font-size: 1.8rem;
    }

    .trainer-card img {
        height: 150px;
    }
}

.testimonials-section {
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 1200px;
    position: relative;
    top: 8rem;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.testimonials-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #f4a261;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    margin-top: 15px;
}

.user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.user-name {
    text-align: left;
}


.user-title {
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 768px) {
    .testimonials-title {
        font-size: 1.5rem;
    }

    .testimonials-subtitle {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .user-img {
        width: 30px;
        height: 30px;
    }
}

/* 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;
    }
}


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

    .hero-section p {
        font-size: 0.9rem;
    }

    .input-group {
        max-width: 100%;
    }
}

/* chatbot section */
.chatbot-icon {
    position: fixed;
    right: 0;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #FF7C47;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.chatbot-icon:hover {
    background-color: #e96d3f;
}

.chatbot-icon img {
    width: 30px;
    height: 30px;
}