/* Initialize color variables */
:root {
    --primary-color: #00264d;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --background-color: #ffffff;
    --nav-background-color: #ffffff;
    --nav-text-color: #333;
    --nav-hover-color: #f1f1f1;
    --button-background-color: rgba(0, 0, 0, 0.5);
    --button-hover-background-color: rgba(0, 0, 0, 0.8);
    --dot-color: #bbb;
    --dot-active-color: #717171;
    --service-background-color: #f8f9fa;
    --paint-stroke-color: #e0e0e0;
    --footer-background-color: #333;
    --footer-text-color: #f8f9fa;
    --footer-link-color: #ffffff;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
}

.header {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 50px 10px 50px ;
    background-color: var(--primary-color);
    height: 70px;
    text-align: center;
}

.logo {
    height: 50px;
    max-width: 100%;
}

.navbar {
    background-color: var(--nav-background-color);
    padding: 10px 0;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav-item {
    position: relative;
    padding:  10 px ;
}

.nav-item a {
    text-decoration: none;
    color: var(--nav-text-color);
    padding: 20px 50px 20px 50px;
    border-radius: 10px;
    font-weight: bold;
    display: block;
    border: #09264d;   
}
/* Styles for navigation menu icons */
.nav-icon {
    width: 20px; /* Adjust the size as needed */
    height: 20px; /* Adjust the size as needed */
    margin-left: 10px; /* Space between text and icon */
    vertical-align: middle; /* Align icon with text */
}

.nav-item a:hover,
.nav-item:hover > a {
    background-color:var(--primary-color);
    color: var(--footer-text-color) ;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    font-weight: bold;
    background-color: var(--nav-background-color);
    list-style-type: none;
    margin: 0;
    padding: 20; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 20;
}
.dropdown-menu li a {
    padding: 10px 10px;
    display: block;
    text-align: left;
    color: var(--primary-color);
    
    /* text-decoration: none; */
    
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
}

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

.dropdown-link {
    display: block;
    padding: 5px 5px;
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.dropdown-link:hover {
    color: var(--primary-color);
}

.registration-form {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.registration-form h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
}

.registration-form input,
.registration-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.registration-form input:focus,
.registration-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.phone-input {
    display: flex;
}

.phone-input select {
    width: 30%;
    margin-right: 10px;
}

.phone-input input {
    width: 70%;
}

.error-message {
    display: none;
    color: red;
    font-size: 0.9em;
    margin-top: -15px;
    margin-bottom: 15px;
}


.submit-button {
    width: 20%;
    padding: 10px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}

.submit-button:hover {
    background-color: var(--button-hover-background-color);
}
.Form-Button{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.footer {
    background-color: var(--footer-background-color);
    color: var(--footer-text-color);
    padding: 20px 0;
    text-align: center;
}
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}
.footer-section {
    font-size: small;
    margin-bottom: 10px;
}


.footer-section p, .footer-section ul, .footer-section li {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--footer-text-color);
}
.footer-section ul {
    padding-left: 0;
}

.footer-section li a {
    text-decoration: none;
    color: var(--footer-link-color);
    transition: color 0.3s ease;
}

.footer-section li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
}
@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 10px;
    }

    .logo {
        height: 50px;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-item a {
        padding: 10px;
    }

    .dropdown-menu li a {
        padding: 10px;
    }

    .carousel {
        height: 300px;
    }

    .carousel-container a {
        height: 100%;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-image-container {
        margin: 0 0 20px 0;
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .service-item.reverse .service-image-container {
        margin: 0 0 20px 0;
    }
}
