/* Main Stylesheet for NeuroAI Labs Website */

/* Font Setup */
body, input, textarea, select, button {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #222;
    background: #f7f9fc;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.main-content {
    flex-grow: 1;
    /* display: flex; */
    align-items: center; /* Vertically center the login form */
    justify-content: center;
    padding-top: 100px; /* Adjust this value based on your actual header height + some extra space */
                       /* Example: 70px (header) + 30px (breathing room) = 100px */
    padding-bottom: 40px; /* Existing bottom padding */
    padding-left: 0px; 
    padding-right: 0px;
    box-sizing: border-box; /* Ensure padding is included in width/height calculations */
    min-height: 100vh;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;;
    position: fixed; /* Or 'sticky' if you prefer */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--header-shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Optional: Scrolled header style */
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98); /* Slightly transparent */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    margin: 0 0 0.5em 0;
    color: #1a237e;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2rem;
    margin-top: 2em;
}

h3 {
    font-size: 1.3rem;
}

.lead {
    font-size: 1.2rem;
    color: #1976d2;
    margin-bottom: 1.5em;
}

.section {
    padding: 3em 1em;
    background: #fff;
}

.section h1,
.section h2 {
    text-align: center;
}

.section--highlight {
    background: linear-gradient(90deg, #e3f2fd 0%, #f7f9fc 100%);
}

.section__container {
    max-width: 900px;
    margin: 0 auto;
}

.section__container .btn-primary {
    display: inline-block;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;

}

.hero {
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    color: #fff;
    padding: 5em 1em 4em 1em;
    text-align: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.hero__content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero__subheading {
    font-size: 1.3rem;
    color: #e3f2fd;
    margin-bottom: 2em;
    max-width: 600px;
}

.hero .btn-primary {
    background: #fff;
    color: #1976d2;
    border: 2px solid #fff;
    font-size: 1.2rem;
    padding: 1em 2.5em;
    margin-top: 1em;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #e3f2fd;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.13);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8em 2em;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: #1976d2;
    color: #fff;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
}

.btn-primary:hover, .btn-primary:focus {
    background: #1565c0;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #1976d2;
    border: 2px solid #1976d2;
}

.btn-secondary:hover, .btn-secondary:focus {
    background: #e3f2fd;
    color: #1565c0;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1em 2.5em;
}

.navbar {
    margin: 0 auto;
    max-width: 1140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    /* box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07); */
    z-index: 100;
    padding: 0.5em 2em;
    min-height: 64px;
    min-width: 0;
    box-sizing: border-box;
}

.navbar__logo .logo-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
    letter-spacing: 1px;
}

.navbar__links ul {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    min-width: 0;
}

.navbar__links a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

.navbar__links a:hover, .navbar__links a:focus {
    color: #1976d2;
}

.navbar__cta {
    margin-left: 2em;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    margin-left: 1em;
}

.navbar__hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    background: #1976d2;
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar__mobile-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07);
    z-index: 999;
}

.navbar__mobile-menu ul {
    list-style: none;
    padding: 1em 2em;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.navbar__mobile-menu a {
    color: #222;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.navbar__mobile-menu .btn-primary {
    margin-top: 1em;
}

.features-list, .about-list {
    list-style: none;
    padding: 0;
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.feature-icon {
    font-size: 1.5em;
    margin-right: 0.7em;
    vertical-align: middle;
}

.cards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin: 2em 0;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.07);
    padding: 2em 1.5em;
    width: 260px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover, .card:focus-within {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(25, 118, 210, 0.13);
}

.card-icon {
    font-size: 2.2em;
    margin-bottom: 0.5em;
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin: 2em 0;
    justify-content: center;
}

.industry {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 1.2em 1em;
    width: 200px;
    text-align: center;
}

.industry-icon {
    font-size: 1.8em;
    margin-bottom: 0.3em;
}

.steps-list {
    margin: 2em 0;
    padding-left: 1.5em;
}

.steps-list li {
    margin-bottom: 1em;
    font-size: 1.1em;
}

.cta-section {
    text-align: center;
    margin: 3em 0 0 0;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    margin: 2em 0;
}

.team-member {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.07);
    padding: 2em 1.5em;
    width: 260px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 1em;
    background: #e3f2fd;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
    border: 4px solid #fff;
}

.team-member h3 {
    margin-bottom: 0.2em;
}

.team-member .role {
    font-size: 1em;
    color: #1976d2;
    margin-bottom: 0.8em;
}

.linkedin-icon {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 1.1em;
    margin-top: 0.7em;
    transition: background 0.2s;
}

.linkedin-icon:hover, .linkedin-icon:focus {
    background: #1565c0;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin: 2em 0;
    justify-content: flex-start;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.7em;
    font-size: 1.1em;
}

.contact-icon {
    font-size: 1.5em;
}

.contact-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.07);
    padding: 2em 1.5em;
    max-width: 500px;
    margin: 2em auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.3em;
    color: #1a237e;
}

.contact-form input, .contact-form textarea, .contact-form select {
    padding: 0.7em;
    border-radius: 6px;
    border: 1px solid #bdbdbd;
    font-size: 1em;
    margin-bottom: 0.7em;
    background: #f7f9fc;
    transition: border 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    border: 1.5px solid #1976d2;
    outline: none;
}

.contact-form button {
    align-self: flex-start;
}

footer {
    background: #1a237e;
    color: #fff;
    text-align: center;
    padding: 2em 1em;
    margin-top: 3em;
}

.footer__container {
    max-width: 900px;
    margin: 0 auto;
}

.main-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    background: transparent; /* Keep content background transparent if you want to show body bg */
    padding-left: 16px;
    padding-right: 16px;
}

@media (max-width: 900px) {
    .section__container, .footer__container {
        max-width: 98vw;
    }
    .cards-list, .team-grid, .industries-list {
        gap: 1em;
    }
    .navbar {
        flex-wrap: wrap;
        padding: 0.5em 1em;
    }
    .navbar__cta {
        display: none;
    }
    .navbar__links {
        display: none;
    }
    .navbar__hamburger {
        display: flex;
    }
    .navbar__mobile-menu {
        display: none;
    }
    .navbar__mobile-menu.active {
        display: block;
    }
}

@media (max-width: 700px) {
    .navbar {
        flex-wrap: wrap;
        padding: 0.5em 1em;
    }
    .navbar__links {
        display: none;
    }
    .navbar__cta {
        display: none;
    }
    .navbar__hamburger {
        display: flex;
    }
    .navbar__mobile-menu {
        display: none;
    }
    .navbar__mobile-menu.active {
        display: block;
    }
    .cards-list, .team-grid, .industries-list {
        flex-direction: column;
        align-items: center;
    }
    .card, .team-member, .industry {
        width: 95vw;
        max-width: 350px;
    }
    .section {
        padding: 2em 0.5em;
    }
    .hero {
        padding: 3em 0.5em 2em 0.5em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .hero__content h1 {
        font-size: 1.5rem;
    }
    .btn-primary, .btn-secondary {
        font-size: 1em;
        padding: 0.7em 1.2em;
    }
    .card, .team-member, .industry {
        padding: 1em 0.5em;
    }
    .contact-form {
        padding: 1em 0.5em;
    }
}

/* Prevent horizontal scroll on body and html */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}


/* Prevent navbar__links from overflowing */
.navbar__links ul {
    flex-wrap: wrap;
    min-width: 0;
}

/* Prevent .navbar__cta from causing overflow */
.navbar__cta {
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Accessibility: Focus styles */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

/* Ensure background stretches 100% but content stays centered and max 1140px */
body, html {
    width: 100%;
    min-height: 100vh;
    background: #f7f9fc; /* or your preferred background */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}