﻿:root {
    --global-color: #cb9600db;
}

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.top-bar-wrap {
    background-color: #f7f7f9;
    border-bottom: 1px solid #f1f1f1;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    flex-direction: row-reverse;
}

.company-info {
    display: flex;
    align-items: center;
}

.company-logo {
    height: 20px;
    margin-right: 10px;
}

.company-details {
    margin: 0;
}

.company-name {
    color: var(--global-color);
    font-weight: 600;
}

.top-bar-social {
    display: flex;
}

.social-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-link {
    display: block;
    width: 20px;
    height: 25px;
    margin-left: 10px;
    font-size: 24px;
    background-size: cover;
    color: var(--global-color);
    transition: color 0.3s ease;
}

    .social-link:hover {
        color: #212afa;
    }

.header-container {
    text-align: center;
    justify-content: center;
    display: flex;
    position: relative;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.hamburger-icon {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 3px 0;
}

.logo-image {
    max-height: 80px;
}

.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-link {
    display: block;
    padding: 20px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: color 0.1s ease;
}

    .nav-link:hover {
        color: var(--global-color);
    }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 9999;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu .nav-link {
    padding: 10px 20px;
    font-weight: 400;
}

    .nav-dropdown-menu .nav-link:hover {
        background-color: var(--global-color);
        color: white;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar-social {
        margin-top: 10px;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
    }

    .social-link {
        margin: 5px;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-main {
        display: none; /* Hide the menu initially */
    }

        .nav-main.active {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        padding: 15px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

@media (min-width: 769px) {
    .nav-main {
        display: flex;
    }

        .nav-main.active {
            display: none;
        }

    .nav-list {
        flex-direction: row;
    }

    .nav-dropdown-menu {
        position: absolute;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: block;
    }
}


/* Footer Container */
.footer {
    background-color: #01000c;
    color: #ffffff;
    padding: 1rem; /* Reduced padding */
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1rem; /* Reduced margin-bottom */
}

/* Footer Box */
.footer-box {
    padding: 0.5rem; /* Reduced padding */
}

.footer-heading {
    font-size: 1rem; /* Reduced font size */
    margin-bottom: 0.5rem; /* Reduced margin-bottom */
    color: #ffcb37;
}

.footer-list,
.footer-contact-list,
.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list-item,
.footer-contact-item,
.footer-social-item {
    margin-bottom: 0.5rem;
}

.footer-link,
.contact-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: #0e99c6;
        text-decoration: none;
    }

.footer-icon, .footer-social-icon {
    margin-right: 0.5rem;
    width: 24px;
    height: 24px;
    fill: #cb9600db;
    color: #cb9600db;
}

.footer-logo {
    text-align: center;
    margin-bottom: -1.5rem; /* Reduced margin-bottom */
}

.footer-logo-image {
    max-width: 120px; /* Reduced max-width */
    height: auto;
}

.footer-description {
    text-align: center;
    margin-bottom: 0.5rem; /* Reduced margin-bottom */
    font-size: 0.875rem; /* Reduced font size */
    color: #ffcb37;
}

.footer-social-list {
    display: flex;
    justify-content: center;
}

.footer-social-link {
    margin: 0 0.5rem;
    color: #ffffff;
    transition: color 0.3s ease;
}

    .footer-social-link:hover {
        color: #cb9600db;
    }

.footer-copy {
    text-align: center;
    font-size: 0.75rem; /* Reduced font size */
    color: #ffcb37;
}

/* Footer CTA Button */
.footer-cta-button {
    background-color: rgba(15, 30, 60, 0.8);
    color: #fff;
    border-radius: 100px 100px 0px;
    box-shadow: rgba(0, 9, 78, 0.12) 0px 10px 20px;
    padding: 8px 20px; /* Reduced padding */
    text-decoration: none;
    transition: all 0.5s ease;
    margin: 10px 0px 0px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
}

    .footer-cta-button:hover {
        text-decoration: none;
        background-color: #b78100;
        transition: background-color 0.3s ease;
        color: white;
    }
/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo-image {
        max-width: 100px; /* Reduced max-width for smaller screens */
    }
}

.callwhatsapp {
    font-size: 24px; /* Adjust font size as needed */
    line-height: 1; /* Ensure text is centered */
    font-family: 'Cairo', sans-serif;
    box-sizing: border-box;
    text-decoration: none !important;
    user-select: none;
    outline: 0;
    background-color: green;
    width: 60px; /* Set width */
    height: 60px; /* Set height */
    border-radius: 50%; /* Make it circular */
    display: flex;
    align-items: center;
    justify-content: center; /* Center icon horizontally */
    position: fixed;
    right: 20px;
    bottom: 20px;
    border: 1px solid #0e5600;
    color: white;
    z-index: 100;
    text-align: center;
    font-size: 1.5rem; /* Adjust font size for responsiveness */
    transition: background-color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .callwhatsapp {
        width: 50px; /* Adjust width for smaller screens */
        height: 50px; /* Adjust height for smaller screens */
        font-size: 1.2rem; /* Adjust font size for smaller screens */
    }
}

.callwhatsapp:hover {
    color: white;
    background-color: #2fa42a;
}
