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

html, body {
    overflow-x: hidden;
  }

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2a2a2a;
    color: white;
    position: relative;
    min-height: 100vh;
    padding-bottom: 60px; /* Ensure this is equal or greater than footer height */
    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;
    margin-top: 15px;
    height: 400px;
    width: 100%;
}

.overlapping-box {
    position: absolute;
    top: 40%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 13%;
    background-color: #2946AA61; /* Transparent background */
    z-index: 10;
}

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

.bigbox {
    width: 65%;
    height: 400px;
    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: 90%; /* Center vertically within .main-content */
    left: 40%; /* Center horizontally within .main-content */
    transform: translate(-50%, -50%); /* Center the .logo based on its own size */
    width: 500px;
    height: 200px;
    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;
}

.intro {
    margin: 120px;
    text-align: right;
    padding: 25px;
    margin-bottom: 25px;
}

.mission {
    text-align: right;
    margin-left: 500px;
}

.mission p {
    font-size: 22px; 
    font-weight: 500;
}

.mission-areas {
    margin: 50px 150px 0 150px; 
    text-align: center;
}

.dive-deeper a,
.dive-deeper a:visited { /* Targets both unvisited and visited links */
    color: white; /* Sets the font color to white */
    text-decoration: none; /* Removes the underline by default */
    margin: 0 120px 50px 120px;
}

.dive-deeper a:hover,
.dive-deeper a:focus{
    text-decoration: underline; /* Adds an underline on hover or focus */
    text-align: right;
    margin: 0 120px 50px 120px;
}

/* .box img {
    padding-top: 10px;
    width: 20%;
    height: auto;
    filter: brightness(0) saturate(100%) invert(32%) sepia(68%) saturate(5333%) hue-rotate(206deg) brightness(89%) contrast(89%);
} */

.box img {
    width: 20%;
    height: auto;
    filter: invert(100%);
}

.container {
    display: flex;
    gap: 20px; /* This creates space between the boxes */
    margin: 50px 120px 50px 120px;
}


.box {
    font-weight: 400;
    outline: 2px solid black; /* 2px outline */
    width: 100%; /* Width of each box */
    min-height: 500px; /* Adjust as needed */
    padding: 25px;
    line-height: 1.5;
    margin-bottom: 20px; /* Adds space below the box */
    font-size: 1em; /* Adjust based on your needs */
    box-sizing: border-box; /* Includes padding and border in the box's dimensions */
    overflow: auto; /* Adds scrollbars if content overflows */
}

.button {
    background-color: white; /* Green */
    border: 2px solid #2946AA;
    color: black; 
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
  }

.button:hover {
background-color: #2946AA;
color: white;
}


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


.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;
}

.section p {
    text-align: right;
}


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

    .mission {
        margin-right: 10px;
        margin-left: 0px;
    }

    .container {
        margin: 0;
        margin-top: 50px;
    }

    .section {
        margin: 0;
        margin-bottom: 50px;
    }

    .section .dive-deeper {
        text-align: right;
    }

    .mission-areas {
        margin: 50px;
    }
}

/* 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;
    }
    
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 18px;
    }

    .mission {
        margin-left: 0;
    }

}

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

    h2 {
        font-size: 16pz;
    }

    .mission-areas {
        margin: 50px;
    }

    .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: 85%;
        width: 50%;
        left: 65%;
        height: 60%;
    }

    .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;
    }

    .intro {
        margin: 10px;
        margin-top: 250px;
    }

    .career-content {
        flex-direction: column;
        align-items: center;
        height: auto; /* Adjust the height to be auto to contain the stacked items */
    }

    .career-box-1, .career-box-2 {
        width: 90%; /* Set to a percentage width of your choosing */
        margin: 0; /* Reset margins */
        margin-bottom: 30px; /* Add space between the boxes */
        padding-right: 40px;
    }

    .career-box-2 {
        margin-left: 0; /* Remove the left margin */
    }
    
    /* Adjust button styling as needed */
    .button {
        width: 100%; /* Optional: make the button full width */
        margin: 10px 0; /* Add some margin to the top and bottom of the button */
    }
}
