:root {
    --accent: #a855f7;
    --accent-dark: #7e22ce;
    --accent-soft: rgba(168, 85, 247, 0.14);
    --dark: #111111;
    --text: #3b3b45;
    --light: #f6f5fb;
    --surface: #ffffff;
    --surface-alt: #f1ecff;
    --border: rgba(17, 17, 17, 0.08);
    --page-padding: clamp(20px, 5vw, 60px);
    --section-width: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #f8f6ff 0%, #f6f5fb 100%);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

nav {
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 14px var(--page-padding);
    background: rgba(17, 17, 17, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

nav .nav-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

nav .nav-logo {
    height: 44px;
    width: auto;
}

nav .navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

nav .navigation-items {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.4rem;
}

nav .navigation-items li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

nav .navigation-items li a:hover,
nav .navigation-items li a.active {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.3rem;
}

.menu-line {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-button,
.cta-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-button,
.cta-btn {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.nav-button {
    line-height: 1;
    padding: 0.6rem 1rem;
}

.cta-btn {
    padding: 0.8rem 1.4rem;
}

.secondary-btn {
    padding: 0.8rem 1.4rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

.nav-button:hover,
.cta-btn:hover,
.secondary-btn:hover {
    transform: translateY(-1px);
}

.nav-button:hover,
.cta-btn:hover {
    background: var(--accent-dark);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.company-name {
    position: relative;
    padding: 52px var(--page-padding) 60px;
    background-image: url('photos/mainpicture.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(13, 13, 15, 0.82) 20%, rgba(40, 16, 63, 0.45) 60%, rgba(13, 13, 15, 0.25) 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: var(--section-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-grid-single {
    grid-template-columns: 1fr;
    max-width: 760px;
}

.hero-content {
    background: rgba(17, 17, 17, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
}

.company-name h1 {
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.company-name .company-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.86);
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Home page LinkedIn review panel and carousel styling. */
.recommendation-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 1.4rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.5);
}

.review-kicker {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
}

.review-carousel {
    min-height: 220px;
}

.review-slide {
    display: none;
    text-decoration: none;
    color: inherit;
}

.review-slide.is-active {
    display: block;
}

.review-quote {
    font-size: 1.12rem;
    color: var(--text);
    line-height: 1.85;
    text-align: center;
}

.review-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    text-align: left;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.review-meta h3 {
    font-size: 1.08rem;
    margin-bottom: 0.1rem;
    color: var(--dark);
}

.review-role {
    font-size: 0.98rem;
    color: #666676;
}

.review-slide:hover .review-quote,
.linkedin-link:hover,
.footer .box-container .box a:hover,
.contact-card a:hover {
    text-decoration: underline;
}

.review-small {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    color: #666676;
}

/* Dot controls underneath the review quotes. */
.review-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(126, 34, 206, 0.25);
    cursor: pointer;
}

.review-dot.is-active {
    background: var(--accent-dark);
}

.intro,
.projects,
.team-hero,
.contact-section,
.services-hero,
.capabilities-hero,
.work-hero {
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

.intro {
    padding-top: 42px;
    padding-bottom: 18px;
}

.intro .content {
    max-width: var(--section-width);
    margin: 0 auto;
}

.projects .content1 {
    max-width: var(--section-width);
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.25rem;
    align-items: center;
    padding: 0;
}

.intro-copy h2,
.projects .content1 h2,
.section-title,
.team-callout-card h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.intro-copy h2 {
    text-align: left;
    padding-left: 0.9rem;
    border-left: 4px solid var(--accent);
}

.intro-copy p,
.projects .content1 p,
.section-description,
.cap-card p,
.service-card p,
.contact-section p,
.work-card p,
.team-hero p,
.capabilities-hero p,
.services-hero p,
.work-hero p,
.member-bio p {
    color: var(--text);
}

.intro-copy p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.intro-media {
    display: flex;
    justify-content: center;
}

.intro-image {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.projects {
    padding: 18px var(--page-padding) 60px;
}

.projects .content1 p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.projects .content1 p:last-child {
    margin-bottom: 0;
}

.home-services {
    background: #050505;
    padding: 70px var(--page-padding);
}

.home-services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-reviews {
    padding: 70px var(--page-padding) 80px;
    background: #f6f4fb;
}

.home-reviews-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-reviews h2 {
    color: var(--dark);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.home-reviews .section-description {
    max-width: 760px;
    margin: 0 auto 2rem;
}

.home-reviews .recommendation-card {
    max-width: 760px;
    margin: 0 auto;
}

.home-services h2 {
    color: #fff;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.4rem;
}

.services-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.service-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 1.25rem 1rem;
    text-decoration: none;
    color: #fff;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-link-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(168, 85, 247, 0.55);
}

.service-home-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.1rem;
}

.service-link-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

hr {
    border: none;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    margin: 1rem 0;
}

.team-hero,
.capabilities-hero,
.services-hero,
.work-hero {
    padding-top: 60px;
    padding-bottom: 34px;
    text-align: center;
}

.team-hero h1,
.capabilities-hero h1,
.services-hero h1,
.work-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.team-hero p,
.capabilities-hero p,
.services-hero p,
.work-hero p,
.section-description,
.contact-lead {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.team-summary {
    padding: 0 var(--page-padding) 14px;
}

.team-summary-card {
    max-width: 920px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(33, 20, 62, 0.06);
}

.team-summary-card h2 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.45rem;
}

.team-members {
    padding: 12px var(--page-padding) 36px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.member-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--surface);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(33, 20, 62, 0.06);
    border: 1px solid var(--border);
}

.member-photo {
    position: relative;
    flex-shrink: 0;
}

.member-photo a {
    display: block;
    padding: 0.45rem;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(126, 34, 206, 0.06));
}

.member-photo img {
    width: 190px;
    height: 220px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    max-width: none;
}

.profile-photo-linkedin img {
    width: 220px;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
}

.linkedin-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #0a66c2;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 999px;
    pointer-events: none;
}

.member-bio {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.member-bio h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark);
}

.member-title {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.linkedin-link {
    display: inline-flex;
    color: #0a66c2;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.35rem;
}

.team-callout {
    padding: 0 var(--page-padding) 70px;
}

.team-callout-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1427, #39204f);
    color: #fff;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
}

.team-callout-card .cta-btn,
.work-card .cta-btn {
    margin-top: 1.1rem;
}

.team-callout-card h2,
.team-callout-card p {
    color: #fff;
}

.work-grid-section {
    padding: 10px var(--page-padding) 80px;
}

.work-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.work-card,
.cap-card,
.service-card,
.contact-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(33, 20, 62, 0.06);
    border: 1px solid var(--border);
}

.work-card h3,
.cap-card h3,
.service-card h2,
.contact-card h3 {
    color: var(--accent-dark);
    margin-bottom: 0.6rem;
}

.work-card-highlight {
    background: linear-gradient(135deg, #f6efff, #ffffff);
}

.section-title {
    padding-top: 50px;
}

.contact-section {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.contact-card {
    text-align: center;
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    color: #0a66c2;
    text-decoration: none;
    font-weight: 600;
}

.booking-panel {
    margin-top: 1.5rem;
    background: var(--surface);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(33, 20, 62, 0.06);
    border: 1px solid var(--border);
}

.booking-copy {
    margin-bottom: 1.1rem;
}

.booking-copy h3 {
    font-size: 1.45rem;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
}

.booking-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 12px;
    background: #fff;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid rgba(168, 85, 247, 0.22);
    border-color: var(--accent);
}

.booking-status {
    min-height: 1.3rem;
    font-size: 0.94rem;
    color: var(--accent-dark);
}

.map-panel {
    margin-top: 1.5rem;
    background: var(--surface);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(33, 20, 62, 0.06);
    border: 1px solid var(--border);
    text-align: center;
}

.map-panel h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.map-link {
    display: block;
    width: min(100%, 820px);
    margin: 1rem auto 0;
}

.map-link img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 10px var(--page-padding) 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.cap-card,
.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0.25rem;
}

.service-copy h2 {
    margin-bottom: 0.85rem;
    font-size: 2rem;
    color: var(--dark);
    line-height: 1.25;
}

.service-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.service-card:nth-child(even) .service-split img {
    order: 2;
}

.service-card:nth-child(even) .service-split .service-copy {
    order: 1;
}

.cap-card:hover,
.service-card:hover,
.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(168, 85, 247, 0.12);
}

.service-card:hover {
    box-shadow: none;
}

.cap-icon {
    font-size: 2rem;
    margin-bottom: 0.65rem;
}

.section-description {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 var(--page-padding);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px var(--page-padding) 80px;
}

.service-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 0;
}

.service-copy {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    line-height: 1.6;
}

.service-copy p {
    line-height: 1.8;
}

.footer {
    background: #ffffff;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding: 40px var(--page-padding) 24px;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 28px;
    max-width: var(--section-width);
    margin: 0 auto;
}

.footer .box-container .box h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.7rem;
}

.footer .box-container .box p,
.footer .box-container .box a {
    color: #666676;
    font-size: 0.95rem;
    line-height: 1.9;
    text-decoration: none;
}

.credit {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    color: #777;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 960px) {
    .hero-grid,
    .work-grid,
    .contact-grid,
    .intro-layout,
    .service-split {
        grid-template-columns: 1fr;
    }

    .services-icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card:nth-child(even) .service-split img,
    .service-card:nth-child(even) .service-split .service-copy {
        order: initial;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer .box-container {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 760px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    nav {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .js-enabled .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    nav .navigation {
        width: 100%;
        margin-left: 0;
    }

    .js-enabled nav .navigation {
        display: none;
    }

    .js-enabled nav .navigation.is-open {
        display: block;
        padding-top: 0.25rem;
    }

    nav .navigation-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
        margin: 0;
        padding: 1rem;
        border-radius: 14px;
        background: rgba(17, 17, 17, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    nav .navigation-items li,
    nav .navigation-items li a,
    nav .navigation-items li .nav-button {
        width: 100%;
    }

    nav .navigation-items li a {
        display: block;
    }

    .nav-button {
        text-align: center;
    }

    .member-card {
        flex-direction: column;
        align-items: center;
    }

    .member-bio {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-content,
    .recommendation-card,
    .projects .content1,
    .team-callout-card,
    .map-panel,
    .work-card,
    .cap-card,
    .service-card,
    .contact-card {
        padding: 1.25rem;
    }

    .intro-copy h2 {
        font-size: 1.8rem;
    }

    .services-icon-grid {
        grid-template-columns: 1fr;
    }

    .home-services {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .company-name {
        padding-top: 34px;
        padding-bottom: 38px;
    }

    .member-photo img {
        width: min(100%, 220px);
        height: auto;
        max-width: 100%;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 220px;
    }

    .footer .box-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Honeypot field: visually hidden but still focusable for bots that walk
   the DOM. Real users never see or tab to it. */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
