/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
}

/* Background Styles */
.index-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/background_1.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.index-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark tint overlay; adjust opacity as needed */
    z-index: -1;
}

.mission-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/background_5.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.mission-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark tint overlay; adjust opacity as needed */
    z-index: -1;
}

.team-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/background_6.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.team-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark tint overlay; adjust opacity as needed */
    z-index: -1;
}

/* Navigation Styles */
.fixed-header {
    width: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.8); /* Making header background slightly transparent */
    color: white;
    padding: 10px 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5); /* Adding a subtle shadow for depth */
}

.navigation nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-img {
    height: 75px; /* Adjust the logo size as needed */
    width: auto; /* Maintain aspect ratio */
    margin-right: 20px; /* Space between logo and navigation links */
    margin-left: 10px;
}

.navigation nav .nav-links a, .navigation nav .login-link {
    font-weight: bold; /* Making the text bold */
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 15px; /* Rounded corners for the buttons */
    transition: background-color 0.3s, color 0.3s;
}

.navigation nav .nav-links a:hover, 
.navigation nav .nav-links a.active, 
.navigation nav .login-link:hover {
    background-color: #007bff; /* Highlight for active/hover state */
    color: #fff;
}

.navigation nav .login-link {
    margin-left: auto; /* This will push the login link to the far right */
}

.nav-container {
    width: 80%;
    margin: 10px auto 0; /* Adjusted top margin to prevent overlap */
    padding-bottom: 10px; /* Existing bottom padding for space at the bottom of the page */
    position: relative; /* Ensures the container is positioned in the flow correctly */
    z-index: 2; /* Make sure the content appears above the background */
}

/* index.html Styles */
.logo {
    width: 60%; /* Make logo more prominent */
    max-width: 600px; /* Adjust based on your logo's aspect ratio */
    height: auto;
    opacity: 0.8; /* Adjust opacity so text is readable */
    position: relative;
    z-index: 1; /* Ensure these elements are above the background tint */
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFF;
    width: 80%; /* Allows for some padding on the sides */
    z-index: 2;
}

.main-title, .features div {
    font-size: 4.5em; /* Significantly larger text */
    visibility: hidden;
    margin: 0.5em 0; /* Ensure spacing between text elements */
    opacity: 0; /* Start hidden */
}

.features {
    font-size: 3em; /* Larger text for features */
    visibility: hidden;
}

.button { /* Corrected class selector to target the button */
    font-size: 2.5em;
    padding: 15px 30px;
    background-color: #007BFF; /* A modern, vibrant button color */
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block; /* Ensure button is properly displayed */
    opacity: 0; /* Start hidden */
    transition: opacity 2s ease; /* Smooth transition for fading in */
    margin-top: 1.5em; /* Spacing above the button */
    text-decoration: none; /* Remove underline from button if it's an <a> tag */
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.fadeIn {
    animation: fadeInAnimation 3s forwards;
}

@keyframes fadeInAnimation {
    0% { opacity: 0; visibility: visible; }
    100% { opacity: 1; visibility: visible; }
}

/* purpose.html Styles */
.mission-content {
    width: 80%;
    margin: 130px auto 0; /* Adjust top margin to ensure content does not overlap with the fixed header */
    padding: 20px; /* Example padding; adjust as needed */
    position: relative; /* Ensures proper positioning within the document flow */
    z-index: 1; /* Ensures content is layered correctly */
}

.mission-section, .use-cases-section, .technologies-section, .live-demo-section {
    background: rgba(255,255,255,0.8); /* Slight transparency for readability */
    padding: 20px;
    border-radius: 10px; /* Soft rounded corners */
    margin-bottom: 30px; /* Spacing between sections */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

h1 {
    color: #333; /* Dark color for contrast */
    margin-bottom: 15px;
}

p, li {
    color: #333; /* Ensuring readability */
    line-height: 1.6; /* Improved line spacing for readability */
}

ul {
    list-style-type: disc; /* Styling list items */
    padding-left: 20px; /* Proper indentation of list */
}

.tech-logos img {
    width: auto;
    height: 80px; /* Adjusting for a consistent height */
    margin: 10px;
}

/* purpose.html Live Demonstration Section */
.live-demo-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.live-demo-section p {
    color: #333;
    margin: 0px 0;
}

.demo-details {
    background: #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.demo-link {
    font-size: 1.5em;
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.2s ease-in-out;
}

.demo-link:hover {
    background-color: #0056b3;
}

.credentials {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    font-weight: bold;
}

.credentials p {
    margin: 5px 0;
}

.demo-section-warning p {
    color: #dc3545;
    font-weight: bold;
}

/* team.html Styles */
.team-container {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 130px auto 0; /* Adjust top margin to ensure content does not overlap with the fixed header */
}

.team-member {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 230px; /* Adjust based on preference */
    margin: 10px;
}

.team-member-photo {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.linkedin-link, .team-member p {
    display: block;
    margin: 10px 0;
}

.linkedin-icon {
    width: 80px; /* Adjust size as needed */
}

/* Responsive Design Styles */
@media (max-width: 768px) {
    .content div {
        font-size: 2em; /* Adjust font size for mobile */
    }

    .button {
        font-size: 2em; /* Slightly smaller button text for mobile */
        padding: .5em 1em; /* Larger touch area for better accessibility */
    }

    .logo {
        width: 80%; /* Adjust logo size for smaller screens */
    }

    .nav-container {
        width: 95%;
        margin-top: 10px; /* Reduced top margin for smaller screens */
    }

    .navigation nav a {
        display: block; /* Stack the links vertically */
        margin-bottom: -4px; /* Increase bottom margin for spacing */
    }

    .tech-logos img {
        height: 50px; /* Smaller logos on mobile devices */
    }

    h1 {
        font-size: 1.5rem; /* Adjusting heading size for mobile readability */
    }

    .mission-content .page-content {
        width: 95%; /* Adjust for smaller screens */
        margin-top: 120px; /* Adjust top margin for mobile devices if necessary */
    }
}