/* ------------------- */
/* GLOBAL STYLES & SETUP */
/* ------------------- */
:root {
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --primary-text-color: #E0E0E0;
    --secondary-text-color: #A0A0A0;
    --accent-color: #00BFFF;
    --accent-hover-color: #009ACD;
    
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Exo 2', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--primary-text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--primary-text-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------- */
/* HEADER */
/* ------------------- */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header__logo {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-text-color);
}

.header__burger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-text-color);
    cursor: pointer;
    z-index: 101;
}

.header__nav-list {
    display: flex;
    gap: 30px;
}

.header__nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    color: var(--secondary-text-color);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.header__nav-link:hover {
    color: var(--primary-text-color);
}

.header__nav-link:hover::after {
    width: 100%;
}


/* ------------------- */
/* FOOTER */
/* ------------------- */
.footer {
    background-color: var(--surface-color);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-text-color);
    margin-bottom: 10px;
    display: inline-block;
}

.footer__tagline {
    color: var(--secondary-text-color);
    font-size: 14px;
}

.footer__heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__nav-list li,
.footer__legal-list li {
    margin-bottom: 10px;
}

.footer__nav-link,
.footer__legal-link,
.footer__contact-link,
.footer__contact-text {
    color: var(--secondary-text-color);
    font-size: 15px;
}

.footer__nav-link:hover,
.footer__legal-link:hover,
.footer__contact-link:hover {
    color: var(--primary-text-color);
    text-decoration: underline;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer__contact-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--secondary-text-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--secondary-text-color);
}


/* ------------------- */
/* RESPONSIVE STYLES */
/* ------------------- */
@media (max-width: 768px) {
    .header__burger-btn {
        display: block;
    }

    .header__nav {
        display: none; /* JS will handle this */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .header__nav.is-active {
        display: flex;
    }

    .header__nav-list {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .header__nav-link {
        font-size: 24px;
        color: var(--primary-text-color);
    }
}
/* ------------------- */
/* REUSABLE COMPONENTS */
/* ------------------- */
.button {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: var(--accent-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-2px);
    color: #fff;
}

/* ------------------- */
/* HERO SECTION */
/* ------------------- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero__dynamic-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* Reserve space to prevent layout shift */
    margin-bottom: 25px;
}

.hero__dynamic-text {
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent-color);
}

.hero__cursor {
    display: inline-block;
    width: 3px;
    height: 38px;
    background-color: var(--accent-color);
    margin-left: 8px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero__subtitle {
    font-size: 18px;
    color: var(--secondary-text-color);
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Responsive for Hero */
@media (max-width: 768px) {
    .hero__title {
        font-size: 36px;
    }
    .hero__dynamic-text {
        font-size: 28px;
    }
    .hero__cursor {
        height: 30px;
    }
    .hero__subtitle {
        font-size: 16px;
    }
}
/* ------------------- */
/* REUSABLE SECTION TITLE */
/* ------------------- */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
}

/* ------------------- */
/* STORIES SECTION */
/* ------------------- */
.stories-section {
    padding: 80px 0;
}

.stories-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.story-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border-color: var(--accent-color);
}

.story-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.story-card__image-wrapper {
    height: 200px;
    overflow: hidden;
}

.story-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.story-card:hover .story-card__image {
    transform: scale(1.05);
}

.story-card__content {
    padding: 25px;
}

.story-card__category {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    background-color: rgba(0, 191, 255, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.story-card__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--primary-text-color);
}

.story-card__excerpt {
    font-size: 15px;
    color: var(--secondary-text-color);
    margin-bottom: 20px;
}

.story-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--background-color);
}

.story-card__author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.story-card__author-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-text-color);
}

.story-card__author-role {
    display: block;
    font-size: 13px;
    color: var(--secondary-text-color);
}

/* ------------------- */
/* REUSABLE SECTION SUBTITLE */
/* ------------------- */
.section-subtitle {
    font-size: 18px;
    color: var(--secondary-text-color);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 16px;
    }
}

/* ------------------- */
/* INDUSTRIES SECTION */
/* ------------------- */
.industries-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.industries-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.industry-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border: 1px solid var(--surface-color);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    color: var(--primary-text-color);
}

.industry-tile:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.industry-tile__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--secondary-text-color);
    transition: color 0.3s ease;
}

.industry-tile:hover .industry-tile__icon {
    color: var(--accent-color);
}

.industry-tile__name {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
}

/* ------------------- */
/* ROLES SECTION */
/* ------------------- */
.roles-section {
    padding: 80px 0;
}

.roles-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.role-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-color); /* Darker tile on lighter section bg */
    border: 1px solid var(--surface-color);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    color: var(--primary-text-color);
}

.role-tile:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.role-tile__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--secondary-text-color);
    transition: color 0.3s ease;
}

.role-tile:hover .role-tile__icon {
    color: var(--accent-color);
}

.role-tile__name {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
}

/* ------------------- */
/* ABOUT SECTION */
/* ------------------- */
.about-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.about-section__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-section__description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--primary-text-color);
    margin-bottom: 40px;
}

.principles-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.principles-list__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.principles-list__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--accent-color);
    margin-top: 3px;
}

.principles-list__title {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.principles-list__description {
    color: var(--secondary-text-color);
    font-size: 16px;
}

.about-section__image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section__image-bg {
    position: absolute;
    width: 90%;
    height: 90%;
    background-color: var(--accent-color);
    border-radius: 12px;
    opacity: 0.1;
    transform: rotate(-5deg);
}

.about-section__image {
    position: relative;
    width: 100%;
    border-radius: 12px;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive for About Section */
@media (max-width: 992px) {
    .about-section__layout {
        grid-template-columns: 1fr;
    }
    .about-section__image-wrapper {
        margin-top: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ------------------- */
/* CONTACT SECTION */
/* ------------------- */
.contact-section {
    padding: 80px 0;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
}

.contact-form.hidden {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: var(--secondary-text-color);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--background-color);
    border: 1px solid var(--surface-color);
    border-radius: 8px;
    color: var(--primary-text-color);
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.captcha-group .form-label {
    margin-bottom: 0;
    white-space: nowrap;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
}

.form-checkbox-label {
    font-size: 14px;
    color: var(--secondary-text-color);
}
.form-checkbox-label a {
    text-decoration: underline;
}

.contact-form__button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
}

.form-message {
    display: none;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}

.form-message--success {
    display: block;
    background-color: rgba(0, 191, 255, 0.1);
    color: var(--accent-color);
}

.form-message--error {
    display: block;
    background-color: rgba(255, 69, 58, 0.1);
    color: #FF453A;
    margin-bottom: 20px;
}

/* ------------------- */
/* COOKIE POPUP */
/* ------------------- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface-color);
    border-top: 1px solid var(--background-color);
    padding: 20px 0;
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-popup.is-visible {
    transform: translateY(0);
}

.cookie-popup__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-popup__text {
    color: var(--secondary-text-color);
    font-size: 15px;
}

.cookie-popup__text a {
    text-decoration: underline;
}

.cookie-popup__button {
    flex-shrink: 0;
    padding: 10px 25px;
}

/* Responsive for Cookie Popup */
@media (max-width: 768px) {
    .cookie-popup__container {
        flex-direction: column;
        text-align: center;
    }
}
/* ------------------- */
/* GENERIC PAGES (Privacy, Terms, etc.) */
/* ------------------- */
.pages {
    padding: 60px 0;
}

.pages .container {
    max-width: 800px; /* Limit line length for readability */
}

.pages h1 {
    font-size: 42px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--surface-color);
    padding-bottom: 20px;
}

.pages h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pages p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--secondary-text-color);
    margin-bottom: 20px;
}

.pages a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 500;
}

.pages a:hover {
    text-decoration: none;
}

.pages ul,
.pages ol {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--secondary-text-color);
}

.pages li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.pages strong {
    color: var(--primary-text-color);
    font-weight: 600;
}