/* Corporate Identity Stylesheet */
body {
    color: #CCCCCC; /* Lowlighted text */
    margin: 0;
    padding: 0;
    background-color: #000000; /* Black background */
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px; /* Base font size for readability */
}

h1, h2, h3, h4, h5, h6, strong {
    color: #FFFFFF; /* Highlighted content */
}

/* Headings */
h1 {
    text-align: center;
    font-size: 2.2rem; /* 39.6px */
}

h2 {
    font-size: 1.5rem; /* 27px */
    margin-bottom: 1rem;
    padding-top: 1.5rem;
}

h3 {
    font-size: 1.3rem; /* 23.4px */
    margin-bottom: 0.5rem; /* 9px */
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full viewport width for positioning */
    background-color: transparent; /* Transparent to show body's black background */
    color: #FFFFFF; /* Highlighted text */
    z-index: 1000;
}

.header-content {
    max-width: 800px; /* Increased from 700px to match container */
    margin: 0 auto;
    background-color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.header img.logo {
    height: 3rem;
    margin-right: 1rem;
}

.header h1 {
    margin: 0;
    font-size: 1.5rem; /* 27px */
    text-align: left;
    white-space: normal;
}

.viable-nav {
    margin-left: auto;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #6600CC;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1A1A1A;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.submenu li {
    min-width: 150px;
}

.submenu a {
    padding: 0.5rem 1rem;
}

.nav-item--dropdown:hover .submenu,
.nav-link--toggle:focus + .submenu {
    display: block;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Container and Sections */
.container {
    align-items: center;
    max-width: 800px;
    margin-top: 5.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem; /* Reduced to account for .content-area margins */
    background-color: #1A1A1A;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

section {
    margin-bottom: 2rem;
}

/* Content Area Layouts */
.content-area {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    margin: 1rem; /* Maintains "flying" effect */
    box-sizing: border-box; /* Ensures padding and margin don't exceed width */
}

/* Adjust effective width for non-.content-area content */
section > *:not(.content-area) {
    margin: 1rem; /* Match .content-area margin for consistency */
    padding: 0.5rem; /* Inner padding to align with .content-area padding */
    box-sizing: border-box;
}

.content-area:hover {
    transform: translateY(-5px);
}

.content-area h3 {
    margin-bottom: 0.5rem;
}

.content-area p,
.content-area ul {
    padding: 0.5rem;
}

.content-area ul {
    list-style-type: disc;
    padding-left: 1.25rem; /* 22.5px */
}

.content-area li {
    margin-bottom: 0.5rem;
}

.content-area img {
    width: 45%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* One-Column Layout (Default) */
.layout-one-column {
    display: block;
}

/* Two-Column Layout */
.layout-two-column {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.layout-two-column .content-area-icon-wrapper {
    flex: 0 0 45%; /* Match image width */
}

.layout-two-column .content-area-img {
    width: 100%; /* Fill wrapper */
}

/* Tiles Layout */
.tiles-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for responsive stacking */
    gap: 1.5rem; /* Space between tiles */
    padding: 1rem; /* Add some padding to the container */
}

.tile {
    flex: 1 1 calc(50% - 0.75rem); /* Two tiles per row on desktop, adjust for gap */
    min-width: 0; /* Prevent flex items from overflowing */
    background-color: #000000; /* Dark background to match container */
    border: 1px solid #333333; /* Subtle border */
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(12, 0, 0, 0.1); /* Flying effect with shadow */
    transition: all 0.3s ease; /* Smooth hover transition */
    box-sizing: border-box; /* Include padding in width */
}

.tile:hover {
    background-color: #010101; /* Slightly darker on hover */
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2); /* Enhanced shadow on hover */
    transform: translateY(-3px); /* Lift slightly on hover */
}

.tile h3 {
    margin-bottom: 0.5rem;
}

.tile p {
    padding: 0.5rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    font-size: 1rem; /* 18px */
}

.form-group input,
.form-group textarea {
    background-color: #2A2A2A;
    color: #FFFFFF;
    border: 1px solid #CCCCCC;
    padding: 0.75rem;
    font-size: 1rem; /* 18px */
    font-family: "Open Sans", Arial, sans-serif;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6600CC;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 0, 204, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.honeypot {
    display: none;
}

.form-submit {
    background-color: #6600CC;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem; /* 18px */
    font-family: "Open Sans", Arial, sans-serif;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #7A00FF;
}

/* Feedback Message */
.feedback-message {
    max-width: 800px;
    margin: 5.5rem auto 2rem;
    padding: 1.5rem;
    background-color: #1A1A1A;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    text-align: center;
    border-radius: 4px;
}

.feedback-message.success {
    border-left: 4px solid #6600CC;
}

.feedback-message.error {
    border-left: 4px solid #FF3333;
}

.feedback-message a {
    color: #6600CC;
    text-decoration: none;
}

.feedback-message a:hover {
    text-decoration: underline;
}

/* Links and Buttons */
a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.5rem;
}

a:hover {
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #6600CC;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem; /* 18px */
    font-family: "Open Sans", Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #7A00FF;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem; /* 16.2px */
    color: #CCCCCC;
    padding: 1rem;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #6600CC;
    text-decoration: underline;
}

.eye-catcher {
    max-width: 800px;
    padding: 0.75rem 1rem;
    margin: 0rem auto 2rem; /* Below header, above container */
    overflow: hidden;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .header-content {
        max-width: 100%;
        padding: 0.75rem 1rem;
        box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
        flex-wrap: wrap;
    }

    .header {
        max-width: 100%; /* Full width on mobile */
        left: 0; /* Reset left positioning */
        transform: none; /* Remove transform on mobile */
        margin: 0; /* Reset margin on mobile */
    }

    .header img.logo {
        height: 2rem;
        margin-right: 0.75rem;
    }

    .header h1 {
        font-size: 1.2rem; /* 21.6px */
    }

    .mobile-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1A1A1A;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
    }

    .nav-list.active {
        display: flex;
    }

    .submenu {
        position: static;
        box-shadow: none;
        background-color: #2A2A2A;
        padding: 0.5rem 1rem;
    }

    .container,
    .feedback-message {
        margin: 4.5rem 0rem 0rem;
        padding: 1rem; /* Reduced padding on mobile */
        max-width: 100%;
    }

    h1 {
        font-size: 1.6rem; /* 28.8px */
    }

    h2 {
        font-size: 1.3rem; /* 23.4px */
        padding-top: 1rem;
    }

    .content-area {
        padding: 1rem;
        margin: 0.5rem; /* Reduced margin on mobile */
    }

    .layout-two-column {
        display: block; /* Stack columns on mobile */
    }

    .content-area-img {
        display: none; /* Hide images on mobile */
    }

    .tiles-container {
        flex-direction: column; /* Stack tiles on mobile */
    }

    .tile {
        flex: 1 1 100%; /* Full width on mobile */
    }

    .form-group label,
    .form-group input,
    .form-group textarea,
    .form-submit,
    .cta-button {
        font-size: 0.9rem; /* 16.2px */
    }

    .form-group input,
    .form-group textarea,
    .form-submit,
    .cta-button {
        padding: 0.5rem;
    }

    .footer {
        font-size: 0.8rem; /* 14.4px */
        padding: 0.5rem;
    }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
    .header-content {
        max-width: 90%;
        padding: 0.875rem 1.25rem;
        box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
    }

    .header img.logo {
        height: 2.5rem;
        margin-right: 1rem;
    }

    .header h1 {
        font-size: 1.3rem; /* 23.4px */
    }

    .container,
    .feedback-message {
        margin-top: 5rem;
        padding: 1.125rem; /* Reduced padding on tablet */
        max-width: 90%;
    }

    h1 {
        font-size: 1.8rem; /* 32.4px */
    }

    h2 {
        font-size: 1.4rem; /* 25.2px */
        padding-top: 1.25rem;
    }

    .content-area {
        padding: 1.25rem;
        margin: 1rem; /* Maintain margin on tablet */
    }

    .tiles-container {
        flex-direction: column; /* Stack tiles on tablet */
    }

    .tile {
        flex: 1 1 100%; /* Full width on tablet */
    }
}

@media screen and (min-width: 769px) {
    .container,
    .feedback-message {
        max-width: 800px;
    }

    .header-content {
        max-width: 800px;
    }

    .tiles-container {
        flex-direction: row; /* Two columns on desktop */
    }

    .tile {
        flex: 1 1 calc(50% - 0.75rem); /* Two tiles per row, adjust for gap */
    }
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    text-align: center;
}

.cookie-consent p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.cookie-consent a {
    color: #6600CC;
    text-decoration: underline;
}

.cookie-consent a:hover {
    color: #7A00FF;
}

.cookie-button {
    background-color: #6600CC;
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: #7A00FF;
}

.cookie-button#decline-cookies {
    background-color: #FF3333;
}

.cookie-button#decline-cookies:hover {
    background-color: #FF6666;
}

@media (max-width: 600px) {
    .cookie-consent {
        padding: 0.75rem;
    }

    .cookie-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}