.offcanvas-backdrop {
    position: relative;
}
li.menu-title {
    font-weight: 700;
}
/* ================= Responsive css ================= */

/* Desktop: open Services dropdown on hover */
@media (min-width: 1200px) {
    .custom-header .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .custom-header .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 1399px) {
    .title-wrapper h2,
    .hero-title {
        font-size: 52px;
    }

    .hero-network {
        right: 0;
        width: 520px;
    }

    .about-content {
        padding-left: 60px;
    }

    .mohamed-content {
        padding-left: 110px;
    }

    .lang-switch {
        margin-left: 30px;
    }

    .custom-nav {
        gap: 0 22px;
    }
}

@media (max-width: 1199px) {
    .title-wrapper h2,
    .hero-title {
        font-size: 46px;
    }

    .hero-slide {
        height: 700px;
    }

    .hero-network {
        top: 330px;
        left: auto;
        right: -60px;
        width: 460px;
    }

    .about-content {
        padding-left: 30px;
    }

    .mohamed-content {
        padding-left: 60px;
    }
}

@media (max-width: 991px) {
    .custom-header .container-fluid {
        padding: 0 30px;
    }

    /* Mobile menu */
    .offcanvas-body {
        padding: 10px 25px 30px;
    }

    .custom-header .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        color: white;
    }
    .custom-header .nav-link.active {
        color: white;
    }

    .custom-header .btn-contact {
        display: inline-block;
        margin-top: 18px;
        padding: 8px 22px !important;
        border: 1px solid #fff;
    }

    .custom-header .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: 0;
        background: rgba(255, 255, 255, 0.05);
        min-width: 0;
    }

    .lang-switch {
        margin: 25px 0 0;
        color: white;
    }
    .title-wrapper h2,
    .hero-title {
        font-size: 42px;
    }

    .about-sec,
    .mohamed-sec {
        padding: 36px 0;
    }

    .hero-section {
        margin-bottom: 36px;
    }

    .services-sec,
    .faq-sec {
        margin: 36px 0;
        padding: 64px 0 72px;
    }

    .cta-sec {
        margin-top: 36px;
    }

    .about-img img,
    .mohamed-img img {
        aspect-ratio: 4 / 3;
    }

    .about-content,
    .mohamed-content {
        padding: 36px 0 0;
        max-width: 100%;
    }

    .mohamed-sec .container-fluid {
        max-width: 720px;
        padding: 0 12px !important;
    }

    .footer-links {
        justify-content: flex-start;
        margin-top: 36px;
    }

    .footer-links ul {
        padding-left: 0;
        min-width: 0;
        margin-right: 32px;
        border-left: none;
    }
}

@media (max-width: 767px) {
    .title-wrapper h2,
    .hero-title {
        font-size: 36px;
    }

    .title-wrapper h2 br,
    .hero-title br {
        display: none;
    }

    .title-wrapper h2 {
        margin-bottom: 28px;
    }

    .custom-header .container-fluid {
        padding: 0 15px;
    }

    .custom-header .navbar {
        padding: 18px 0;
    }

    .custom-header .navbar-brand img {
        width: 72px;
    }

    .hero-slide {
        height: 620px;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-network {
        top: 430px;
        right: -150px;
        width: 340px;
        opacity: 0.6;
    }

    .mohamed-sec .container-fluid {
        max-width: 540px;
    }

    .service-icon {
        height: 64px;
        margin-bottom: 22px;
    }

    .custom-accordion .accordion-button {
        font-size: 19px;
        padding: 20px 0 20px 32px;
    }

    .custom-accordion .accordion-body {
        padding-left: 32px;
    }

    .cta-sec {
        height: 380px;
    }

    .cta-network {
        width: 300px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .social-icons-footer {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .whatsapp-btn {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }

    .hero-slide .hero-title,
    .hero-slide .hero-subtitle {
        opacity: 1;
        transform: none;
    }
}
