/* Base styles */
html, body {
    background: #141414;
    height: 100%;
    margin: 0;
    padding: 0;
    color: silver;
    width: 100%;
    overflow-x: hidden;
    font-family: "montserrat", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.navbar-expanded .main-content {
    margin-top: 200px; /* Adjust this value based on the height of your expanded navbar */
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between; /* Space between items */
    align-items: center;
    padding: 1em;
    background-color: #141414;
    color: white;
    font-family: "montserrat", sans-serif;
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure navbar stays on top */
}

.navbar-brand {
    font-family: "Orbitron", sans-serif; /* Update font to Orbitron */
    font-size: 2em;
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
    color: silver;
    text-decoration: none;
}

.menuItems {
    display: flex;
    gap: 1em;
    font-family: "montserrat-bold", sans-serif;
    font-size: larger;
    justify-content: center;
    align-items: center;
    transition: max-height .8s ease-out;
    overflow: hidden;
    max-height: none;
    flex-direction: row;
    top: 60px; /* Adjust this value to avoid covering the logo */
}

.menuItems.show {
    max-height: 500px; /* Arbitrary large value to ensure it expands fully */
    top: 80px; /* Adjust this value to avoid covering the logo */
}

.nav-link {
    color: silver;
    opacity: 0.6;
    transition: opacity 0.2s;
    text-decoration: none;
    animation: fadeIn;
    animation-duration: 2s;
}

.nav-link:hover {
    opacity: 1;
}

.hamburgerButton {
    display: none;
    background: none;
    outline: none;
    border: none;
    font-size: 2em;
    color: silver;
    cursor: pointer;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/* Container styles */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
/* Service card styles */
.service-card {
    display: flex;
    align-items: center;
    background-color: #1e1e1e;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.service-btn {
    background-color: #00ff00;
    color: #141414;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: center;
}

.service-btn:hover {
    background-color: #141414;
    color: #00ff00;
}

.service-card img.service-image {
    width: 500px; /* Ensures image takes up full width */
    height: 500px; /* Ensures image takes up full height */
    object-fit: cover; /* Cover the entire area */
}

.service-card .service-description {
    flex: 1; /* Takes the remaining space */
    padding: 20px;
    box-sizing: border-box;
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-card:hover {
    transform: scale(1.01);
}

/* About Us container styles */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Text center alignment for headings */
.text-center h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Team card container styles */
.team-card-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px; /* Add gaps between the team cards */
}

/* Individual team card styles */
.team-card {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc; /* Add a border */
}

.team-card h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #00ff00; /* Neon green for headings */
}

.team-card p {
    margin: 0;
    font-style: italic;
    color: #f0f0f0; /* Light color for text */
}

/* Company description styles */
.company-description {
    text-align: left;
    line-height: 1.6;
    margin-top: 20px;
}

.company-description p {
    margin-bottom: 10px;
    color: #f0f0f0; /* Light color for text */
}

.company-description em {
    font-size: larger;
    font-style: italic;
    color: #00ff00; /* Neon green for emphasis */
}

.company-description h2 {
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #00ff00; /* Neon green for headings */
}

/* Lists styles */
.tech-list, .approach-list, .expertise-list {
    list-style-type: none;
    padding: 0;
    color: #f0f0f0; /* Light color for text */
}

.tech-list li, .approach-list li, .expertise-list li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.expertise-list li strong, .approach-list li strong {
    color: #00ff00; /* Neon green for list item highlights */
}


/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form label {
    font-family: "montserrat-bold", sans-serif;
    color: silver;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background-color: transparent;
    border: 2px solid #00ff00; /* Neon green border */
    color: #00ff00; /* Neon green text */
    font-family: "montserrat", sans-serif;
    padding: 10px;
    border-radius: 5px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: none; /* Prevent resizing */
}

.contact-form button[type="submit"] {
    background-color: transparent;
    border: 2px solid #00ff00; /* Neon green border */
    color: #00ff00; /* Neon green text */
    font-family: "montserrat", sans-serif;
    padding: 10px 20px;
    border-radius: 25px; /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition */
    text-decoration: none; /* Remove underline */
    align-self: center;
}

.contact-form button[type="submit"]:hover {
    background-color: #00ff00; /* Fill with neon green */
    color: #141414; /* Change text to dark background */
}

/* Background image section */
.background-section {
    width: 100%;
    height: 100vh; /* Full viewport height */
    position: relative;
    background-image: url('./homeback.png'); /* Corrected path to your background image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card styles */
.card-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* Ensure cards wrap to the next line on smaller screens */
}

.card {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    box-sizing: border-box;
    min-width: 300px; /* Ensure cards have a minimum width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 350px; /* Ensures all cards have the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h2 {
    font-size: 1.5em;
    color: #00ff00;
    text-align: center;
}

ul {
    text-align: left;
    list-style-type: disc;
    padding-left: 20px;
}

/* Animated text styles */
#animated_text {
    color: #00ff00; /* Neon green color */
    font-family: "montserrat-bold", sans-serif;
    font-size: 18px;
    margin-top: 20px;
}

/* Footer styles */
.basicFooter {
    background-color: #141414;
    color: silver;
    width: 100%;
    text-align: center;
    padding: 1em;
    margin-top: auto;
}

/* Button styles */
button, .btn {
    background-color: transparent;
    border: 2px solid #00ff00; /* Neon green border */
    color: #00ff00; /* Neon green text */
    font-family: "montserrat", sans-serif;
    padding: 10px 20px;
    border-radius: 25px; /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition */
    text-decoration: none; /* Remove underline */
}

button:hover, .btn:hover {
    background-color: #00ff00; /* Fill with neon green */
    color: #141414; /* Change text to dark background */
}

/* Input styles */
input[type="text"], input[type="password"] {
    background-color: transparent;
    border: 2px solid #00ff00; /* Neon green border */
    color: #00ff00; /* Neon green text */
    font-family: "montserrat", sans-serif;
    padding: 10px 20px;
    border-radius: 25px; /* Rounded corners */
    cursor: pointer;
    transition: border-color 0.3s ease; /* Smooth transition for border color */
    text-decoration: none; /* Remove underline */
    display: block; /* Ensure each input is on its own line */
    width: 100%; /* Adjust width as needed */
    margin-bottom: 10px; /* Add space between inputs */
}

input[type="text"]::placeholder, input[type="password"]::placeholder {
    color: #00ff00; /* Neon green placeholder text */
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none; /* Remove default outline */
}

input[type="file"] {
    color: silver; /* Original text color for file input */
    padding: 10px;
    display: block; /* Ensure each input is on its own line */
    margin-bottom: 10px; /* Add space between inputs */
}

/* Responsive styles */
.background-section {
    height: 150vh; /* Full height for larger screens */
    background-size: cover; /* Ensure the background image covers the entire container */
    background-position: center; /* Center the background image */
    min-height: 500px; /* Set a minimum height to ensure visibility on smaller screens */
}

@media screen and (max-width: 1024px) {
    .background-section {
        height: 100vh; /* Adjust height for tablet screens */
        min-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .hamburgerButton {
        display: block;
    }

    .menuItems {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust to avoid covering logo */
        right: 0;
        background-color: #141414;
        width: 100%;
        text-align: right;
    }
    .card-container {
        justify-content: center; /* Center cards on small screens */
    }

    .card {
        width: 80%; /* Make the cards wider on small screens */
        margin-bottom: 20px; /* Add space between the cards */
    }

    .menuItems.show {
        display: flex;
    }

    .background-section {
        height: 75vh; /* Adjust height for smaller screens */
        min-height: 300px; /* Set a minimum height to ensure visibility on smaller screens */
    }

    .service-card {
        flex-direction: column; /* Stack the image and text vertically */
        max-width: 100%; /* Adjust card width to fit smaller screens */
    }

    .service-card.reverse {
        flex-direction: column-reverse;
    }

    .service-card img.service-image {
        width: 300px; /* Image takes full width of the card */
        height: 300px; /* Set a fixed height for the image */
        object-fit: cover; /* Cover the entire area */
        border-radius: 10px 10px 0 0; /* Adjust border radius for stacking */
    }

    .service-card .service-description {
        width: calc(100% - 300px); /* Adjust text area to fit next to the image */
        padding: 20px;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 10px; /* Reduce padding on smaller screens */
    }

    .service-card {
        flex-direction: column; /* Stack the image and text vertically */
        max-width: 100%; /* Adjust card width to fit smaller screens */
    }

    .service-card img.service-image {
        width: 100%; /* Image takes full width of the card */
        height: auto;
        border-radius: 10px 10px 0 0; /* Adjust border radius for stacking */
    }

    .service-card .service-description {
        width: 100%; /* Text area takes full width of the card */
        padding: 20px;
    }

    .team-card-container {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 80%; /* Ensure the cards fit within the screen */
        margin-bottom: 20px; /* Add space between the cards */
    }

    .company-description {
        padding: 10px;
        font-size: 1em;
    }

    .company-description h2 {
        font-size: 1.5em;
    }

    .company-description p, .company-description ul {
        font-size: 1em;
    }

    .background-section {
        height: 50vh; /* Further adjust height for smaller screens */
        min-height: 200px; /* Set a minimum height to ensure visibility on smaller screens */
    }
}