/* Resetting default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #333; /* Dark background for the nav */
    padding: 10px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures the navbar stays on top */
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo img {
    height: 80px;
    width: 240px;
}

ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

ul li {
    margin-left: 20px;
}


ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-family: Arial, sans-serif;
    padding: 10px 20px;
    transition: 0.3s ease;
}

ul li a:hover {
    background-color: #575757;
    border-radius: 5px; /* Rounded corners */
}

.logo {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }
}


body {
    font-family: 'Arial', sans-serif;
    overflow: hidden; /* Prevent scrolling */
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}
section.active {
    display: block; /* Show the active section */
}
#home {
    background-image: url('https://t3.ftcdn.net/jpg/08/65/16/30/360_F_865163050_eEmwArz79VHeN9cZIIP58Arvs8PMYaCG.jpg');
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    background-size: cover;
}

#about {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Keeps the background fixed when scrolling */
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    color: white;
    text-align: left; /* Aligns the text to the left for a professional look */
    padding: 50px; /* Adds padding for better spacing */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5); /* Dark overlay for better text readability */
    position: relative;
    font-family: 'Arial', sans-serif;
    background-size: contain;
    background-image: url('https://st.depositphotos.com/1003593/3947/i/450/depositphotos_39479909-stock-photo-about-us-blue-marker.jpg'); /* Replace with actual image URL */

}

#about h2 {
    font-size: 3em; /* Larger heading for emphasis */
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
}

#about p {
    font-size: 1.2em;
    line-height: 1.6; /* Improved line spacing for readability */
    max-width: 900px; /* Limits text width for a clean, focused layout */
    margin: 0 auto; /* Centers the paragraph block */
    opacity: 0.9; /* Slight opacity for a modern look */
}

#about .overlay {
    max-width: 1200px;
    padding: 20px;
    margin-top: 70px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for content */
    border-radius: 10px; /* Rounded corners for modern style */
}

#services {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 50px 20px;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
    font-family: 'Arial', sans-serif;
}

#services .overlay {
    max-width: 1200px;
    padding: 20px;
    margin-top: 70px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px; /* Rounded corners for modern style */
}

#services h2 {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.service-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    flex-basis: calc(50% - 30px); /* Adjusted for two columns */
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Adds shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-10px); /* Slight hover effect */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.service-item img {
    width: 20px; /* Consistent icon size */
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffcc00; /* Highlight heading with contrasting color */
}

.service-item p {
    font-size: 1em;
    line-height: 1.5;
    color: #f1f1f1;
    opacity: 0.9;
}

/* Main Sections */
section {
    padding: 60px 20px; /* Ensure space from fixed header */
    width: 100%;
    height: calc(100vh - 60px); /* Full height minus header height */
    display: none; /* Initially hidden */
}

section.active {
    display: block; /* Show the active section */
}

#contact {
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    width: 100%;
    height: 100vh; /* Ensures it takes the full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    background-size: cover;
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRPDVennIRD_L7DS8nFIb1-VlX3iLH8Wpc6sg&s'); /* Replace with actual image URL */
}
.contact-item {
    flex-basis: 23%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    background-color: #1c1b1b;
    border-radius: 10px;
    margin: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.contact-item img {
    width: 50px;
    margin-bottom: 15px;
}
.contact-item h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #ffcc00; /* Highlighted text */
}
.overlay {
    background-color: rgba(0, 0, 0, 0.757);
    padding: 20px;
    border-radius: 10px;
}

h1, h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

p, ul, form {
    font-size: 20px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #218838;
}

#home .content {
    text-align: center;
    color: white;
    margin-top: 100px;
}
/* Contact Us */
#contact {
    padding: 50px 0;
    background-color: #333;
    text-align: center;
}

#contact h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.contact-item p {
    color: #dedada;
}
.hidden {
    display: none;
}
.hidden {
    display: none;
}

/* Footer in Contact Section */
.footer {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #f1f1f1;
    position: relative;
}


footer ul {
    margin: 50px;
}

footer ul li {
    display: inline-block;
    margin-right: 15px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

.contact-info {
    margin-bottom: 20px;
}

.footer-content {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}
.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: #ffcc00;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}