/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body */
.body {
    background-image: url('Background.jpg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    padding: 1rem 2rem;
    background: #302f2f;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo p {
    color: black;
    font-size: 16px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

nav ul li {
    margin: 0 15px;
    display: inline-block;
    padding: 8px 12px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 13px;
    padding: 0.5rem 1rem;
}
header nav ul li a:hover {
    background: #252525;
    border-radius: 5px;
}

@media (max-width: 768px) {
    header nav ul {
        display: none; /* Initially hide the navigation */
        position: absolute;
        top: 100%;
        left: 0;
        background: #302f2f;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    header nav ul li a {
        padding: 1rem;
        text-align: center;
    }

    header nav ul.active {
        display: flex; /* Show the menu when active class is added */
    }

    /* Hamburger menu styling */
    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* By default, hide hamburger menu on larger screens */
.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-top: 200px;
    color: white;
}

.hero h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: serif;
}

/* Button */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: black;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
    background-color: 0.3s;
}

.btn:hover {
    background-color: #f1f1f1;
    transform: scale(1.05);
}

/* About Us Section */
.about-us, .what-we-offer {
    padding: 2rem;
    color: #0c7003;
    background-color: #f9f9f9;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-us h2, .what-we-offer h3 {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}

.about-us p, .what-we-offer p, .what-we-offer ul {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

.about-us .intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.project {
    background: white;
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.project:hover {
    transform: scale(1.05);
}

.project img {
    max-width: 100%;
    height: auto;
}

.project p {
    margin-top: 0.5rem;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: white;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .about-us, .what-we-offer {
        padding: 1rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .logo img {
        height: 40px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 8px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .about-us, .what-we-offer {
        font-size: 14px;
    }
}

/*------contact us-------*/
/* General Styling */
.contact-body {
    font-family: Arial, sans-serif;
    background: #e8f1fc;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container Styling */
.contact-container {
    display: flex;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

/* Left Panel Styling */
.contact-info {
    background-color: #023e8a;
    color: white;
    padding: 2rem;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p,
.contact-info a {
    font-size: 1rem;
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-info ul li i {
    margin-right: 10px;
}

/* Right Panel Styling */
.contact-form {
    padding: 2rem;
    width: 60%;
}

.contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #023e8a;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #023e8a;
}

.contact-form button {
    background-color: #023e8a;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #0056b3;
}
