/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
.main-header {
    background-color: rgb(8, 8, 42);
    font-size: 30px;
    color: aliceblue;
    width: 100%;
    padding: 20px 0;
    
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    align-content: center;
    font-size: 15px;
   
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

.right {
    position: relative;
    text-align: center;
    margin-left: 20px;  /* Adjust margin to move the navigation items towards the right */
}

/* Home Section Styles */
#background-file {
    background: none; /* Remove background image */
    position: relative; /* Ensure container maintains its position */
}

#background-file img {
    width: 100%; /* Ensure image resizes according to container width */
    height: auto; /* Maintain aspect ratio */
}

.overlay-text {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
}

#background-file h1 {
    font-size: 30px;
    margin-bottom: 20px;
    max-width: 45%;
}

/* About Section Styles */
#about-section {
    width: 100%;
    background-color: #fff;
    padding: 100px 0;
    text-align: center;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start; /* Align items at the top */
    justify-content: center;
}

#about-section h2 {
    font-size: 2.5em;
}
.about-text {
    flex: 1;
    margin-top: 20px;
    padding: 0 20px;
    text-align: left; 
}

.about-text span {
    font-size: 18px;
    font-weight: 600;
    word-spacing: 8px;
}

.about-text {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
}

.container img {
    margin-top: 20px;
    max-width: 45%; 
    height: auto;
    border-radius: 10px;
    margin-right: 40px; /* Add some space between the image and text */
}

/* Services Section Styles */
#service-section {
    background-color: #f9f9f9;
    padding: 50px 0;
    margin: 0px ;
    text-align: center;
}

#service-section h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.service-provider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-item {
    width: calc(50% - 30px);
    max-width: 250px;
    margin: 20px;
    height: 350px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.service-item h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}


#footer-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    background-color: rgb(8, 8, 43);
    color: #fff;
    height: auto;
    padding: 50px 0;
}

.footer-box {
    max-width: 30%;
    flex: 0 0 100%;
}

.footer-box h1 {
    font-size: 24px;
}

.footer-box p {
    font-size: 16px;
    line-height: 1.5;
}

.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}


.contact-options {
    list-style: none;
    padding: 0;
}

.contact-options li {
    margin-bottom: 10px;
}

.contact-options li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.footer-box img {
    width: 20px;
    height: 20px;
}

#blue {
    color: blue
}

.menu-toggle {
    cursor: pointer;
    display: none;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}


.floating-icon {
    position: fixed;
    width: 60px; /* Adjust width of the icon */
    height: 60px; /* Adjust height of the icon */
    border-radius: 50%;
    text-align: center;
    line-height: 60px; /* Vertically center the text */
    font-size: 30px; /* Adjust icon size */
    cursor: pointer;
    z-index: 9999; /* Ensure it appears above other elements */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow for 3D effect */
    transition: transform 0.3s ease; /* Add transition for smooth hover effect */
}

.whatsapp-icon {
    bottom: 90px; /* Adjust as per your preference */
    right: 20px; /* Adjust as per your preference */
    background-color: green; /* WhatsApp color */
    color: white; /* Icon color */
}

.whatsapp-icon img{
    width: 60px;
    height: 60px;
}

.call-icon {
    bottom: 160px; /* Adjust as per your preference */
    right: 20px; /* Adjust as per your preference */
    background-color: blue; /* Call button color */
    color: white; /* Icon color */
}

.floating-icon:hover {
    transform: translateY(-5px); /* Move icon up slightly on hover */
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.5); /* Increase shadow size on hover */
}

.call-icon img{
    width: 60px;
    height: 60px;
}

/* Footer Links */
#footer-section a {
    color: #d1d0d0;
    text-decoration: none;
}

#footer-section a:hover {
    color: white;
}


/* Adjustments for mobile devices */
@media only screen and (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        overflow-x: hidden;
    }
    
    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
    }

    .main-header {
        background-color: rgb(8, 8, 42);
        font-size: 10px;
        color: aliceblue;
        width: 100%;
        padding: 20px 0;
    }
    
    #background-file h1 {
        font-size: 22px;
        max-width: 65%;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .container img {
        max-width: 70%;
        margin-top: 0;
        margin-bottom: 20px; 
        margin-right: 0;
    }

    #about-section h2 {
        font-size: 1.8em;
    }

    .about-text {
        font-size: 13px;
        text-align: center;
        padding: 0 40px;
        margin-top: 20px;
    }

    #service-section h1 {
        font-size: 1.8em;
        margin-bottom: 0px;
    }

    .service-item {
        width: calc(50% - 0px);
        max-width: 500px;
        margin: 20px 0;
    }
    
    .service-item img {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    #form-section h1,
    .form-row .form-group {
        flex: 1 1 100%;
        margin:0 50px;
    }

    .form-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .form-row .form-group {
        margin-bottom: 10px;
    }

    .btn {
        width: 50%;
        margin-left: 25%;
    }

    #footer-section {
        padding: 30px 0; /* Adjust padding for smaller screens */
    }

    .footer-box {
        flex: 0 0 100%; /* Make each box take full width on mobile */
        margin-bottom: 20px; /* Reduce margin between footer boxes */
        margin-left: 6%; 
        max-width: none; /* Remove max-width */
    }

    .footer-box p {
        font-size: 18px;
        font-size: 14px;
        max-width: 80%;
    }

}
