/* =========================================
   ENTERPRISE TRAINING PAGE
========================================= */

.enterprise-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    width: 100%;
    overflow: hidden;
    background: #090a0d;
    color: #ffffff;
    display: flex;
    align-items: center;
}

/* =========================================
   BACKGROUND VIDEO
========================================= */

.enterprise-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.enterprise-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.02);
    pointer-events: none;
}

/* =========================================
   DARK OVERLAY
========================================= */

.enterprise-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(9, 10, 13, 0.75) 0%,
        rgba(9, 10, 13, 0.50) 45%,
        rgba(9, 10, 13, 0.30) 75%,
        rgba(9, 10, 13, 0.45) 100%
    );
    pointer-events: none;
}

/* =========================================
   CONTAINER
========================================= */

.enterprise-container {
    position: relative;
    z-index: 5;
    width: min(1200px, calc(100% - 60px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
    padding-top: 180px;
    padding-bottom: 90px;
}

/* =========================================
   BREADCRUMBS & LEFT TYPOGRAPHY
========================================= */

.enterprise-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9aa0a6;
    margin-bottom: 26px;
}

.enterprise-breadcrumbs .crumb-sep {
    font-size: 11px;
    opacity: 0.6;
}

.enterprise-breadcrumbs .crumb-active {
    color: #ffffff;
}

.enterprise-left {
    max-width: 540px;
}

.enterprise-plus {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.enterprise-left h1 {
    margin: 0 0 20px 0;
    font-size: clamp(40px, 4.5vw, 62px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
    color: #ffffff;
}

.enterprise-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #c5cbd3;
    margin: 0 0 45px 0;
    max-width: 480px;
}

.enterprise-stats {
    display: flex;
    gap: 65px;
    align-items: flex-start;
}

.enterprise-stat {
    display: flex;
    flex-direction: column;
}

.enterprise-stat strong {
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1.2px;
    color: #ffffff;
    margin-bottom: 8px;
}

.enterprise-stat span {
    font-size: 13.5px;
    color: #9aa0a6;
}

/* =========================================
   RIGHT FORM CARD (BRAINSTATION MATCH)
========================================= */

.enterprise-form-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: rgba(18, 21, 26, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    border-radius: 6px;
    overflow: hidden;
    justify-self: end;
    backdrop-filter: blur(10px);
}

.form-top-line {
    width: 100%;
    height: 3px;
    background: #ffffff !important;
}

.enterprise-form-inner {
    padding: 34px 32px 30px;
}

.enterprise-form-inner h2 {
    margin: 0 0 10px 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #ffffff;
}

.form-description {
    margin: 0 0 22px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #a0a6b2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-field {
    width: 100%;
    margin-bottom: 12px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #252a32;
    color: #ffffff;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
    font-size: 13.5px;
    padding: 0 14px;
    height: 44px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field textarea {
    height: auto;
    min-height: 80px;
    padding: 12px 14px;
    resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8c93a0;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #ffffff;
    background: #2b313b;
    box-shadow: none !important;
}

.phone-field {
    display: flex;
    background: #252a32;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    overflow: hidden;
}

.phone-field input {
    border: none;
    background: transparent;
    padding-left: 10px;
}

.custom-flag-field {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    user-select: none;
}

.custom-flag-field .flag-icon {
    width: 18px;
    height: 13px;
    border-radius: 1px;
}

.custom-flag-field .dropdown-chevron {
    width: 8px;
    height: 5px;
    fill: #8c93a0;
}

.form-terms {
    margin: 6px 0 20px;
    font-size: 11px;
    line-height: 1.45;
    color: #8c93a0;
}

.form-terms a {
    color: #ffffff;
    text-decoration: underline;
}

.consultation-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #090a0d;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.consultation-btn:hover {
    background: #eaecef;
    transform: translateY(-1px);
    box-shadow: none !important;
}

/* =========================================
   SECONDARY STICKY SUBNAV
========================================= */

body.enterprise-page #header {
    position: relative;
    z-index: 1100;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

body.enterprise-page #header.enterprise-header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.enterprise-subnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 72px;
    background: rgba(8, 9, 10, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.enterprise-subnav-inner {
    width: min(100%, 1740px);
    height: 100%;
    margin: 0 auto;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.enterprise-subnav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.enterprise-nav-link {
    position: relative;
    padding: 26px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.enterprise-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: #ffffff;
    transition: transform 0.25s ease;
}

.enterprise-nav-link.active::after {
    transform: scaleX(1);
}

.enterprise-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    height: 38px;
    padding: 0 18px;
    border-radius: 22px;
    background: #ffffff;
    color: #080808;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.enterprise-contact-btn:hover {
    transform: translateY(-1px);
    background: #eaecef;
}

/* =========================================
   WHY SECTION & DIAGRAM
========================================= */

.enterprise-content-section {
    position: relative;
    width: 100%;
    min-height: 820px;
    overflow: hidden;
    background: #080808;
    color: #ffffff;
    scroll-margin-top: 72px;
}

.enterprise-content-container {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 95px 0 80px;
}

.enterprise-content-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.enterprise-content-heading h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.enterprise-content-heading p {
    max-width: 670px;
    margin: 22px auto 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.ai-opportunity-diagram {
    position: relative;
    width: 590px;
    height: 390px;
    margin: 45px auto 0;
}

.opportunity-card {
    position: absolute;
    top: 0;
    width: 184px;
    height: 112px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    background: rgba(18, 20, 24, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.opportunity-card:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
}

.opportunity-card-people { left: 0; }
.opportunity-card-processes { left: 203px; }
.opportunity-card-technology { right: 0; }

.opportunity-icon {
    font-size: 26px;
    margin-bottom: 5px;
}

.opportunity-card span {
    font-size: 16px;
    font-weight: 500;
}

.ai-opportunity-center {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 240px;
    height: 147px;
    border-radius: 11px;
    background: #1e2227;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.diagram-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.diagram-line-left {
    left: 92px;
    top: 112px;
    width: 1px;
    height: 132px;
}

.diagram-line-left::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 82px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.diagram-line-center {
    left: 50%;
    top: 112px;
    width: 1px;
    height: 63px;
    transform: translateX(-50%);
}

.diagram-line-right {
    right: 92px;
    top: 112px;
    width: 1px;
    height: 132px;
}

.diagram-line-right::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 82px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

/* =========================================
   OFFERINGS SECTION
========================================= */

.offerings-section {
    width: 100%;
    min-height: 100vh;
    background: #080808;
    color: #ffffff;
    scroll-margin-top: 72px;
    overflow: hidden;
}

.offerings-container {
    width: min(1220px, calc(100% - 80px));
    margin: 0 auto;
    padding: 95px 0 120px;
}

.offerings-header {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 72px;
    text-align: center;
}

.offerings-header h2 {
    margin: 0;
    font-size: 52px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -2px;
    color: #ffffff;
}

.offerings-header p {
    max-width: 780px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.offerings-group {
    width: 100%;
    margin-bottom: 72px;
}

.offerings-group-heading {
    margin-bottom: 24px;
}

.offerings-group-heading h3 {
    margin: 0;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
}

.offerings-group-heading p {
    margin: 7px 0 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.offering-card {
    position: relative;
    width: 100%;
    min-height: 220px;
    padding: 28px 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    background: rgba(18, 21, 26, 0.65);
    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.offering-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(25, 29, 36, 0.85);
    transform: translateY(-3px);
}

.offering-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: #ffffff;
    margin-bottom: auto;
}

.offering-content h4 {
    margin: 16px 0 0;
    font-size: 21px;
    font-weight: 600;
    color: #ffffff;
}

.offering-content p {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

/* =========================================
   BENEFITS SECTION
========================================= */

.benefits-section {
    width: 100%;
    background: #080909;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    scroll-margin-top: 72px;
    padding: 80px 0;
}

.benefits-container {
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
}

.benefits-header {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-header h2 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin: 0;
}

.benefits-header p {
    max-width: 650px;
    margin: 20px auto 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    padding: 32px 30px;
    background: #14171d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.benefit-card-large {
    grid-column: span 2;
}

.benefit-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.benefit-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.benefit-content p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================
   TESTIMONIALS SECTION
========================================= */

.enterprise-testimonials {
    width: 100%;
    background: #080909;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 85px 0 70px;
}

.enterprise-testimonials-container {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

.enterprise-testimonials-title {
    text-align: center;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -1.2px;
    margin: 0 0 50px 0;
}

.enterprise-testimonial-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 80px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.enterprise-quote-mark {
    font-size: 90px;
    font-family: Georgia, serif;
    color: #2b3036;
    line-height: 1;
    margin-bottom: -30px;
}

.enterprise-testimonial-text p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 24px;
    color: #ffffff;
}

.enterprise-testimonial-person h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.enterprise-testimonial-person span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.ey-symbol {
    display: inline-block;
    margin-top: 20px;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.enterprise-testimonial-image-wrap {
    width: 360px;
    height: 380px;
    overflow: hidden;
    border-radius: 8px;
}

.enterprise-testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* =========================================
   LOCATIONS SECTION
========================================= */

.enterprise-locations {
    width: 100%;
    background: #080909;
    color: #ffffff;
    padding: 100px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.enterprise-locations-container {
    width: min(1050px, calc(100% - 60px));
    margin: 0 auto;
}

.enterprise-locations-header {
    text-align: center;
    margin-bottom: 50px;
}

.enterprise-locations-header h2 {
    font-size: 38px;
    font-weight: 600;
    margin: 0 0 16px;
}

.enterprise-locations-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.enterprise-location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.enterprise-location-card {
    position: relative;
    height: 290px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}

.enterprise-location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.enterprise-location-card:hover img {
    transform: scale(1.05);
}

.enterprise-location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.enterprise-location-name {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
}

/* =========================================
   RESPONSIVE QUERIES
========================================= */

@media (max-width: 990px) {
    .enterprise-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 0;
    }
    .enterprise-form-card {
        max-width: 100%;
    }
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-card-large {
        grid-column: auto;
    }
    .enterprise-testimonial-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .enterprise-testimonial-image-wrap {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .enterprise-stats {
        gap: 30px;
    }
    .enterprise-location-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   TRUSTED COMPANIES FIX FOR ENTERPRISE PAGE
========================================= */

.enterprise-page .trusted-companies {
    background: #ffffff !important;
    padding: 90px 0 95px !important;
    overflow: hidden !important;
    width: 100% !important;
}

.enterprise-page .trusted-header {
    text-align: center !important;
    margin-bottom: 45px !important;
    padding: 0 20px !important;
}

.enterprise-page .trusted-header h2 {
    color: #111111 !important;
    font-size: clamp(32px, 3.8vw, 48px) !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: -1.5px !important;
    margin: 0 0 16px 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.enterprise-page .trusted-title-line {
    width: 60px !important;
    height: 4px !important;
    background: #111111 !important;
    margin: 20px auto 25px !important;
}

.enterprise-page .trusted-header p {
    color: rgba(17, 17, 17, 0.75) !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    margin: 0 auto !important;
    max-width: 820px !important;
}

.enterprise-page .trusted-slider {
    width: 100% !important;
    overflow: hidden !important;
}