@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2a2a2a;
    color: white;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.navbar {
    background-color: #292929;
    display: flex; /* Use flexbox */
    align-items: center; /* Align items vertically */
    justify-content: space-between; /* Align the logo to the left and links to the right */
    font-weight: 500;
    font-size: 18px;
    border-bottom: 2px solid #2946AA;
    padding: 0 20px; /* Add some horizontal padding */
}

.navbar .nav-links {
    display: flex; /* This will align the links next to each other */
    gap: 10px; /* This is the space between the navigation links, adjust as needed */
}

.navbar li {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    border-right: 2px solid #2946AA; /* The vertical line */
    padding-right: 20px;
    margin-right: 20px;
}
.navbar .brand-name {
    text-align: center; /* Center align the brand name container */
    padding-right: 50px;
}

.navbar .brand-name a {
    text-decoration: none; /* Removes the underline from the link */
    display: block; /* Makes sure that the container behaves like a block */
    color: #ffffff; /* Adjust the color as needed */
}

.navbar .brand-name .logo-top {
    font-size: 30px; /* Larger size for "GENERATE" */
    font-weight: 400; /* Makes the font bolder */
    letter-spacing: normal; /* Default letter spacing for "GENERATE" */
    text-transform: uppercase; /* Makes the text uppercase */
    line-height: 1; /* Adjust the line height to fit the design */
}

.navbar .brand-name .logo-bottom {
    font-size: 17px; /* Smaller size for "ROBOTICS" */
    font-weight: 500; /* Keeps it bold */
    letter-spacing: 10px; /* More spacing for "ROBOTICS" */
    text-transform: uppercase; /* Makes the text uppercase */
    line-height: 1.2; /* Adjust the line height to fit the design */
    margin-left: 9px;
}

.navbar .brand-name a:hover {
    text-decoration: none;
}

.navbar a {
    float: right;
    display: block;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 30px 20px;
    text-decoration: none;
}

.navbar a:hover {
    text-decoration: underline;
}

.main-content {
    position: relative; /* This provides a positioning context for absolutely positioned children */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 780px;
    width: 100%;
    background-color: #2946AA;
}

.text-content { /* New style for text container */
    flex: 0.6; /* Take up remaining space */
    padding-left: 80px;
}

.bigbox {
    width: 55%;
    height: 750px;
    margin-right: 0px;
    background-color: rgb(155, 155, 155); /* Example background color */
    position: relative; /* Needed if you want to stack elements with z-index */
    z-index: 1; /* Higher z-index means it will be stacked on top */
}

.bigbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    position: absolute; /* Absolutely position it within .main-content */
    top: 50%; /* Center vertically within .main-content */
    left: 10%; /* Center horizontally within .main-content */
    transform: translate(-50%, -50%); /* Center the .logo based on its own size */
    width: 350px;
    height: 400px;
    background-color: #ddd; /* Placeholder color for the logo */
    z-index: 2; /* Ensures the logo is on top of the bigbox */
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pillars */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 150px;
  }
  .feature {
    width: 30%;
    padding: 0px;
    border-radius: 5px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature-icon {
    background-color: #2946AA; /* The color for the icon background */
    width: 20px;
    height: 20px;
    margin-bottom: 15px;
  }
  .feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .feature-description {
    font-size: 16px;
  }

  .footer {
    position: absolute;
    left: 0;
    margin-bottom: 0;
    width: 100%;
    background-color: #2946AA;
    padding: 10px;
    text-align: center;
    color: white;
}


/* Media Query for Tablets */
@media screen and (max-width: 768px) {
    .navbar .nav-links, .navbar a {
        font-size: 16px;
        padding: 20px 10px;
    }

    .text-content {
        padding: 0 20px;
    }

    .container {
        flex-direction: column; /* Stack the feature boxes on top of each other */
        align-items: center; /* Center-align the stacked feature boxes */
    }

    .feature {
        width: 80%; /* Adjust the width to fit mobile screens, change as needed */
        margin-bottom: 20px; /* Add some space between stacked feature boxes */
    }

    .text-content {
        padding: 0 20px;
    }

}

.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
}
.contact-form {
    max-width: 500px; /* or your preferred width */
    margin: 0 auto;
    padding: 20px;
    background-color: #333333; /* or your preferred color */
    border-radius: 10px;
}

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

.form-input,
.form-textarea {
    width: calc(100% - 20px); /* full width minus padding */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
}

.form-input {
    height: 40px; /* fixed height for inputs */
}

.form-textarea {
    height: 100px; /* initial height for the textarea */
    resize: none; /* Disallow resizing */
}

.form-button {
    width: 100%; /* Full width */
    padding: 10px;
    background-color: #2946AA;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-button:hover {
    background-color: #3a5fcd;
}

/* Ensure that hCaptcha matches the form styling */
.h-captcha {
    margin-bottom: 20px;
}

.content-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: start;
    margin: auto;
}

.contact-container {
    margin-top: 3%;
    text-align: center; /* This centers the text within the container */
}

.main-content, .contact-container {
    flex: 1; /* Each takes up equal space */
}

/* If you want a responsive design, use a media query to stack them on smaller screens */
@media screen and (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .main-content, .contact-container {
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {

    .navbar {
        flex-direction: column; /* Stack navbar items vertically on small screens */
        align-items: flex-start; /* Align children to the start (left) */
        padding-left: 10px; /* 10px padding to the left for the entire navbar */
        padding-right: 10px; /* Padding to the right to maintain consistency */
    }

    .navbar .nav-links {
        flex-direction: column;
        display: none; /* Initially hidden on mobile */
    }

    .navbar .nav-links.active {
        display: flex; /* Shows the nav-links when active */
    }

    .main-content, .bigbox, .logo {
        flex-direction: column;
        width: 100%; /* Use full width for small devices */
    }

    .feature {
        max-width: 100%; /* Features take full width on small screens */
    }

    .hamburger-menu {
        display: flex; /* Show the hamburger menu */
    }

    .navbar .nav-links {
        display: none; /* Keeps nav-links hidden initially */
        width: 100%; /* Full width to align the links properly */
    }

    .navbar .brand-name {
        padding: 0; /* Reset padding to align the logo to the left */
        margin-left: 0; /* Reset margins to align the logo to the left */
    }

    .navbar .brand-name a {
        justify-content: flex-start; /* Aligns the link content to the left */
    }

    /* Correct the position of the hamburger menu on the right */
    .hamburger-menu {
        position: absolute;
        right: 32px; /* Aligns the menu to the right with 10px padding */
        top: 32px; /* Aligns the menu to the top with 10px padding */
    }

    .logo {
        top: 67%;
    }

    .text-content {
        padding-bottom: 20px;
    }

    .navbar .brand-name .logo-top {
        font-size: 26px;
        font-weight: 400;
        letter-spacing: normal;
        text-transform: uppercase;
        line-height: 1;
    }

    .navbar .brand-name .logo-bottom {
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 10px;
        text-transform: uppercase;
        line-height: 1.2;
        margin-left: 9px;
    }
}

@media screen and (max-width: 1024px) {
    .logo {
        display: none; /* Hide the logo on screens smaller than 1024px */
    }
}


/* Centering content on mobile devices */
@media screen and (max-width: 768px) {

    h1 {
        font-size: 24px;
    }

    .content-wrapper {
        display: block; /* Switch from flex to block layout */
        padding: 20px; /* Add padding around the content */
    }

    .main-content, .contact-container {
        width: 100%; /* Full width to utilize the mobile screen space */
        margin: 0 auto; /* Center the containers */
        text-align: center; /* Center text */
    }

    .text-content, .contact-container h1, .contact-form {
        margin: 0 auto; /* Ensure margins are auto to center align */
        padding: 10px; /* Add padding for better spacing */
        text-align: center; /* Center-align the text */
    }

    .form-input, .form-textarea, .form-button {
        width: calc(100% - 20px); /* Adjust width to account for padding */
    }

    .main-content {
        height: auto;
    }
}

/* Additional adjustments for smaller screens */
@media screen and (max-width: 480px) {
    .form-input, .form-textarea, .form-button {
        width: calc(100% - 40px); /* Adjust width for smaller screens if needed */
    }
}
