/* ==========================================
NeuroReg.net Styles
========================================== */

:root {
    --primary: #0f3d5e;
    --secondary: #3f72af;
    --background: #f7f9fc;
    --text: #333333;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==========================================
Base
========================================== */

html {
    height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

/* ==========================================
Header
========================================== */

header {
    background: var(--primary);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    width: 40px;
    height: 40px;
}

/* ==========================================
Navigation
========================================== */

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links a.active {
    border-bottom: 2px solid white;
    padding-bottom: 4px;
}

/* ==========================================
Hero
========================================== */

.hero {
    background:
        linear-gradient(rgba(15, 61, 94, 0.7),
            rgba(63, 114, 175, 0.7));

    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-logo {
    width: 96px;
    height: 96px;
}

.hero h1 {
    margin-bottom: 16px;
}

.hero p {
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
Page Header
========================================== */

.page-header .container {
    background: white;
    max-width: 400px;
    text-align: center;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
}

.page-header h1 {
    color: black;
    margin: auto;
    text-align: center;
}

.menu-toggle {
    display: none;
}

header .container {
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* ==========================================
Content
========================================== */

.content {
    padding: 30px 0;
    flex: 1;
}

/* ==========================================
Cards
========================================== */

.cards {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    padding-top: 10px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.card h3 {
    margin-top: 0;
}

/* ==========================================
Buttons
========================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.btn-primary:hover {
    opacity: 0.9;
}

#startbtn {
    background: red;
    font-weight: 600;
    padding: 36px 48px;
    border-radius: 14px;
    color: white;
    font-size: x-large;
    margin-top: 24px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

#startbtn:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
}

.menu-toggle {
    padding: 0;
    width: 32px;
}

/* ==========================================
Contact Page
========================================== */

.content a {
    color: var(--secondary);
}

/* ==========================================
Home Page
========================================== */

.icons {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.icon-track {
    display: flex;
    width: max-content;
    gap: 8px;
    animation: marquee 50s linear infinite;
}

.icon-track img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ==========================================
Footer
========================================== */

footer {
    background: var(--primary);
    color: white;
    padding: 24px 0;
    margin-top: auto;
}

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

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ==========================================
Cookie Banner
========================================== */

.cookie-banner {
    display: none;

    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;

    background: #111111;
    color: white;

    padding: 15px;

    z-index: 999;
}

.cookie-banner-content {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;
}

.cookie-banner button {
    background: var(--secondary);

    color: white;
    border: none;

    padding: 10px 20px;

    border-radius: 6px;

    cursor: pointer;
}

.cookie-banner button:hover {
    opacity: 0.9;
}

/* ==========================================
Feature Page Layout
========================================== */

.feature-sections {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.feature-sections .feature-row:first-child {
    margin-top: -50px;
}

.feature-row {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.feature-row .card,
.feature-row .feature-image {
    flex: 1;
    margin-top: 0;
}

.feature-row .card {
    padding-top: 20px;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.card_items {
    margin: 0;
    padding-left: 20px;
}

.card_items li {
    margin-bottom: 8px;
}

/* ==========================================
Mobile
========================================== */

@media (max-width: 768px) {

    header .container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 70px;
    }

    .content {
        padding-top: 0;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1001;
    }

    .logo {
        margin-left: 60px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 120px;
        flex-direction: column;
        background: var(--primary);
        box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
        z-index: 1000;
        padding: 0;
        margin: 0;
        list-style: none;
        gap: 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 8px 12px;
        border: none;
        text-decoration: none;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links li {
        border: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero-logo {
        width: 72px;
        height: 72px;
    }

    .icons img {
        width: 100px;
        height: 100px;
    }

    .feature-sections {
        gap: 5px;
        margin-top: 0;
    }

    .feature-row {
        flex-direction: column;
        gap: 10px;
    }

    .feature-row .card {
        width: 100%;
        margin-top: 0;
        padding: 16px;
        order: 1;
        margin-bottom: 0;
    }

    .feature-row .card h3 {
        font-size: 1.25rem;
    }

    .card_items {
        font-size: 0.9rem;
    }

    .feature-image {
        width: 100%;
        order: 2;
        margin-top: 0;
    }

    .feature-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .nav-links,
    .nav-links li,
    .nav-links a {
        border: none !important;
    }

    .nav-links a.active {
        border-bottom: none !important;
        padding-bottom: 0;
    }
}