/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: black;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: white;
}

header .logo {
    text-align: center;
}

header .logo img {
    max-height: 50px; /* Adjust the height as needed */
    width: auto;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}


.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px 20px 50px;
    position: relative;
    overflow: hidden;
    min-height: 800px;
    width: 100%; /* Ensure the hero section does not exceed the viewport width */
}

.hero-content {
    flex: 1 1 60%; /* Allow the content to grow or shrink, taking up 50% of the width by default */
    order: 2; /* Content should come second */
    min-width: 300px; Prevents content from getting too narrow
    text-align: left; /* Ensure text is aligned to the left */
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #666;
}

.hero-image {
    flex: 1 1 40%; /* Allow the image to grow or shrink, taking up 50% of the width by default */
    order: 1; /* Image should come first */
    min-width: 300px; /* Prevents the image from getting too narrow */
    text-align: center; /* Center the image horizontally */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 1));
    color: black;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: inset 0px 1px 5px rgba(255, 255, 255, 0.6),
                0px 4px 10px rgba(0, 0, 0, 0.1),
                0px 0px 15px rgba(200, 200, 200, 0.5);
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
    border: none;
}

.cta-button:hover {
    box-shadow: inset 0px 1px 5px rgba(255, 255, 255, 0.8),
                0px 6px 15px rgba(0, 0, 0, 0.15),
                0px 0px 20px rgba(200, 200, 200, 0.7);
}

.see-our-products {
    background-color: #00f;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.start-building:hover {
    background-color: #0056b3;
}

/* Products Section */
.products {
    padding: 60px 40px;
    background-color: #fff;
    color: #000;
    text-align: center;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product {
    background-color: #F8F9FA;
    padding: 20px;
    border-radius: 10px;
    text-align: justify;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); */
}

.product h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.product p {
    font-size: 1rem;
    color: #000;
    margin-bottom: 20px;
}

/* About Us Section */
.about-us {
    padding: 60px 40px;
    text-align: center;
    color: #000;
}

.about-us .about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.about-us h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.about-us p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000;
}

/* Contact Us Section */
.contact-us {
    padding: 60px 40px;
    /* background-color: #111; */
    color: #000;
    text-align: center;
}

.contact-us h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contact-us form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #000;
    border-radius: 5px;
    /* background-color: #222; */
    color: #000;
}

button {
    display: inline-block;
    padding: 15px 30px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 1));
    color: black;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: inset 0px 1px 5px rgba(255, 255, 255, 0.6),
                0px 4px 10px rgba(0, 0, 0, 0.1),
                0px 0px 15px rgba(200, 200, 200, 0.5);
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s, box-shadow 0.3s;
    border: none;
}

button:hover {
    box-shadow: inset 0px 1px 5px rgba(255, 255, 255, 0.8),
                0px 6px 15px rgba(0, 0, 0, 0.15),
                0px 0px 20px rgba(200, 200, 200, 0.7);
}

/* Footer Section */
footer {
    background-color: #111;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap; /* Ensure all elements stay on one line */
    gap: 20px;
    text-align: left; /* Adjust text alignment */
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-social a {
    color: #bbb;
    text-decoration: none;
    font-size: 1.5rem; /* Increase icon size */
    margin-right: 15px;
}

/* Ensure the footer text and links are aligned properly */
.footer-links a {
    margin-right: 20px; /* Add space between links */
}

.footer-links,
.footer-social {
    display: flex;
    /* flex-direction: column; */
    gap: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #fff;
} 

/* Responsive Design */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    header nav ul {
        flex-wrap: wrap;
        flex-direction: column;
    }
    
    header nav ul li {
        padding: 5px 0;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}