
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    
    text-align: right;

}
/*  header style  */

 header {
    display: flex;
    padding: 15px 5%;
    justify-content: space-between;
    align-items: center;
    background-color: #e4d5a2;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.phone-number-container button {
    border: none;
    background-color: #F0E68C;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    color: #222;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.phone-number-container button:hover {
    background-color: #dac508;
    transform: translateY(-2px);
}

.menu-logo-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-menu {
    display: flex;
    gap: 25px;
        flex-direction: row-reverse;
}

.main-menu li {
    list-style: none;
}

.main-menu a {
    text-decoration: none;
    color: #63666A;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 5px;
}

.main-menu a:hover {
    background-color: #F0E68C;
    color: #222;
    text-decoration: none;
}

.logo h2 {
    color: #63666A;
    font-size: 22px;
    white-space: nowrap;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #63666A;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #e4d5a2;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: block;
    padding: 12px 15px;
    color: #63666A;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #F0E68C;
    color: #222;
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #63666A;
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

 header {
    transition: all 0.3s ease;
} 


.phone-number-container button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-number-container button::before {
    transition: right 0.5s ease;
}

.phone-number-container button:hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.main-menu a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-menu a::before {
    transition: width 0.3s ease;
}


.logo h2 {
    transition: all 0.3s ease;
} 


 .hamburger-menu {
    transition: all 0.3s ease;
} 

.hamburger-menu span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.mobile-menu {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.mobile-menu a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu a::before {
    transition: right 0.5s ease;
}


.close-menu {
    transition: all 0.3s ease;
}


.overlay {
    animation: fadeIn 0.3s ease;
} 

 @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 


 header.sticky {
    animation: slideDown 0.3s ease;
} 

 @keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 


 .mobile-menu.active {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        right: -100%;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
} 


@media (max-width: 1200px) {
    .menu-logo-container {
        gap: 20px;
    }
    
    .main-menu {
        gap: 15px;
    }
    
    .main-menu a {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .logo h2 {
        font-size: 18px;
    }
}
@media (max-width: 1024px) {
    .main-menu {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .menu-logo-container {
        gap: 15px;
        flex-direction: row-reverse; 
    }
    
    .menu-logo-container h2 {
        font-size: 16px;
    }
    
    .phone-number-container button {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    header {
        padding: 12px 20px;
    }
}


@media (max-width: 480px) {
    .logo h2 {
        font-size: 14px;
    }
    
    .phone-number-container button {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .mobile-menu {
        width: 280px;
    }
}  
/*  header style  */




         footer {
            background-color: #e4d5a2;
            display: flex;
            flex-direction: column;
            padding: 0 5%;
            width: 100%;
        }

        .footer-info-box {
            display: flex;
            direction: rtl;
            padding: 40px 0 20px 0;
            gap: 20px;
        }

        .footer-info-box h4 {
            font-size: 22px;
            color: #222;
            margin-bottom: 15px;
            border-bottom: 2px solid #dac508;
            padding-bottom: 8px;
            display: inline-block;
        }

        .footer-about p {
            color: #3b3b3b;
            line-height: 1.8;
            font-size: 15px;
            text-align: justify;
        }

        .footer-about-logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            gap: 10px;
        }

        .footer-about-logo h4 {
            color: #222;
            font-size: 24px;
        }

        .footer-links ul {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #3b3b3b;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 15px;
            display: block;
            padding: 5px 0;
        }

        .footer-links a:hover {
            color: #816e02;
            transform: translateX(-5px);
        }

        .footer-about,
        .footer-links,
        .footer-contact,
        .footer-social {
            width: 100%;
            padding: 15px;
        }

        .footer-contact p {
            color: #3b3b3b;
            margin-bottom: 12px;
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-social {
            text-align: center;
        }

        .footer-social h4 {
            text-align: right;
        }

        .footer-social a {
            font-size: 28px;
            margin: 0 8px;
            color: #3b3b3b;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .footer-social a:hover {
            color: #816e02;
            transform: translateY(-5px);
        }

        .footer-legal-box {
            border-top: 2px solid #a89c6d;
            background-color: #d4c58a;
        }

        .footer-legal-box p {
            margin: 0;
            text-align: center;
            padding: 20px 0;
            color: #3b3b3b;
            font-size: 14px;
        }

        
        .icon {
            width: 20px;
            height: 20px;
            display: inline-block;
            background-color: #816e02;
            border-radius: 50%;
            position: relative;
        }

        .icon::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background-color: #e4d5a2;
            border-radius: 50%;
        }

        
        @media (max-width: 768px) {
            .footer-info-box {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .footer-about,
            .footer-links,
            .footer-contact,
            .footer-social {
                padding: 10px;
            }

            .footer-about-logo {
                justify-content: center;
            }

            .footer-contact p {
                justify-content: center;
            }

            .footer-social h4 {
                text-align: center;
            }

            .footer-info-box h4 {
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .footer-social a {
                font-size: 24px;
                margin: 0 5px;
            }

            .footer-about p {
                font-size: 14px;
            }
        }