@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Changa:wght@200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'cairo', 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Navbar */
.img-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.img-logo:hover {
    transform: scale(1.1);
}

.navbar {
    position: fixed;
    direction: rtl;
    background-color: transparent;
    padding: 15px;
    transition: all 500ms ease;
}

.navbar-toggler {
    display: block;
    background-color: #076767;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.navbar-toggler-icon {
    background-color: #fff;
    width: 30px;
    height: 3px;
    display: block;
    margin: 6px 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}


.navbar.scrolling {
    background-color: #fff;
}

.navbar.scrolling .container .collapse .navbar-nav .nav-item .nav-link,
.lang {
    color: #333;
}

.navbar-nav .nav-item .nav-link{
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.navbar.scrolling .container .navbar-brand.d-none{
    display: block !important;
}

.navbar.scrolling .container .navbar-brand{
    display: none;
}

.navbar-brand{
    transition: display 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar.scrolling .container .collapse .navbar-nav .nav-item .nav-link:hover {
    color: #18a686;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #333;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: #fff;
    color: #18a686;
}

.dropdown-menu li{
    text-align: right;
}

.dropdown-toggle::after{
    vertical-align: .15em;
    margin-left: 0%;
    margin-right: .255em;
}

.request-quote-btn {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(45deg, #18a686, #076767);
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    margin-right: 20px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.request-quote-btn:hover,
.request-quote-btn:focus {
    background: linear-gradient(45deg, #076767, #18a686);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.request-quote-btn:active {
    background: #076767;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: scale(0.98);
}

.request-quote-btn i {
    color: #fff;
    width: 1.6em;
    margin-right: 8px;
    margin-left: 0;
    transition: transform 0.3s ease;
}

.request-quote-btn:hover i {
    transform: translateX(-5px);
}

.request-quote-btn span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-item .nav-link:focus,
.dropdown-menu .dropdown-item:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler {
    background-color: #076767;
    border: none;
    padding: 10px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.fa-bars {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.1s ease;
}

.navbar-toggler:hover i {
    color: #18a686;
}

/* Full-screen mobile menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s ease-in-out;
    z-index: 9999;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: #333;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #18a686;
}

.close-btn {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 35px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.navbar-toggler {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    transition: color 0.3s ease-in-out;
}

.navbar-toggler i {
    color: #fff;
    transition: color 0.3s ease-in-out;
}


.navbar-lang-switcher {
    margin-left: 20px;
    justify-self: end;
}

.navbar-lang-switcher a{
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.navbar.scrolling .container .mobileview .navbar-lang-switcher a,
.navbar.scrolling .container .mobileview .navbar-toggler i {
    color: #333;
}

.navbar.scrolling .container .mobileview .navbar-lang-switcher a:hover,
.navbar.scrolling .container .mobileview .navbar-toggler i:hover {
    color: #18a686;
}

.mobile-services {
    position: relative;
    text-align: center;
}

.mobile-services .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
}

.mobile-services .nav-link i {
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}

.mobile-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    background: #fff;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    text-emphasis: none;
}

.mobile-dropdown .dropdown-item {
    color: #333;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease-in-out;
    font-weight: normal;
    text-align: center;
    font-size: large;
}

.mobile-dropdown .dropdown-item:hover {
    background-color: #fff;
    color: #18a686;
}

.mobile-services.active .mobile-dropdown {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

.mobile-services.active .nav-link i {
    transform: rotate(180deg);
}

@media (max-width: 991.5px) {
    .navbar-nav .nav-item .nav-link{
        color: #fff;
    }
    .navbar .container{
        flex-direction: row;
    }
    .navbar-nav {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-top: 10px;
    }
    .navbar-nav .nav-item .nav-link {
        font-size: 18px;
        padding: 15px;
    }
    .navbar-collapse {
        display: none !important;
    }
    .mouse{
        display: none;
    }
    .dropdown-menu {
        position: relative;
        border: none;
        box-shadow: none;
        background-color: #fff !important;
    }
    .nav-item.dropdown .dropdown-menu {
        display: block;
    }
    .dropdown-item {
        color: #333;
        gap: 0;
        margin: 0 !important;
        padding: 0;
        font-size: 10px;
        text-decoration: none;

    }
    .nav-link:focus {
        color: #333;
    }
}



/* Footer */
footer {
    padding: 80px 20px 20px 20px;
    background-color: #fff;
    color: #333;
}

footer .head {
    font-weight: bold;
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

footer p,
footer a {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    text-decoration: none;
}

footer a:hover {
    color: #18a686;
    text-decoration: none;
}

.locations {
    width: fit-content;
}

.locations p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: #333;
    margin-top: 10px;
}

.locations a:hover {
    color: #18a686;
}

.footer-address-list {
    list-style: none;
    padding: 0;
}

.footer-address-list a:hover {
    text-decoration: none;
}

.footer-address-list li {
    display: flex;
    align-items: flex-start;
}

.cicon {
    color: #333;
    font-size: 1.5rem;
    margin-right: 10px;
}

.lh {
    margin: 0;
    line-height: 1.5;
}

.link-hover a {
    display: inline;
    position: relative;
    text-decoration: none;
    color: #00000099;
    font-size: 1.2rem;
    padding-bottom: 4px;
    background-image: linear-gradient(to right, #18a686 100%, transparent 0%);
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.4s ease-in-out, color 0.3s ease;
}

.link-hover a:hover {
    background-size: 100% 3px;
    color: #18a686;
}

[dir="rtl"] .link-hover a {
    background-image: linear-gradient(to left, #18a686 100%, transparent 0%);
    background-position: right bottom;
}


.footer-social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.s-media {
    color: #555;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.s-media:hover {
    color: #18a686;
}

.footer-row2 {
    text-align: center;
    padding: 20px 0;
}

.webenia {
    color: #18a686;
    font-weight: bold;
}

.footer-row2 a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        padding: 50px 20px;
    }
    .footer-address-list p {
        font-size: 0.9rem;
    }
    footer p,
    footer a {
        font-size: 0.95rem;
    }
    .s-media {
        font-size: 1.5rem;
    }
    .footer-row1 .head {
        font-size: 1.25rem;
    }
}


/* Mouse Follow Effect */
.circle, .dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999999;
    will-change: transform;
    transition: transform 0.2s ease-out, background-color 0.3s ease-in-out, opacity 0.2s ease;
}

.circle {
    width: 30px;
    height: 30px;
    border: 1px solid #076767;
    border-radius: 50%;
    background-color: transparent;
    transition: transform 0.25s ease-out, opacity 0.3s ease-in-out;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #076767;
    border-radius: 50%;
    transition: transform 0.15s ease-out, opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .circle, .dot {
        display: none;
    }
}
