html {
    overflow-x: hidden;
}
body {
    overflow-x: clip;
}



.about-img{
    height: auto;
}
.blog-cta-sec .img-deco{
    height: auto;
}
.cta-section,
.faq-section{
    position: relative;
}
.cta-section .container,
.faq-section .container{
    position: relative;
    z-index: 2;
}
.cta-section:before,
.faq-section:before{
    content: '';
    width: 100%;
    height: 30%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.faq-section:after{
    content: '';
    width: 100%;
    height: 30%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}




#cta_message::-webkit-scrollbar {
  width: 18px;
  background: transparent;
}

#cta_message::-webkit-scrollbar-track,
#cta_message::-webkit-scrollbar-track-piece {
  background: transparent;
  border: 0;
  box-shadow: none;
}

#cta_message::-webkit-scrollbar-button:single-button {
  height: 18px;
  width: 18px;

  /* quan trọng để bỏ “2 gạch” */
  border: 0;
  box-shadow: none;
  background-color: transparent;
  -webkit-appearance: none;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* UP */
#cta_message::-webkit-scrollbar-button:single-button:vertical:decrement{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M6.5 9.99992L6.5 3.87492L9.125 6.49992L9.5 6.16992L6.25 2.91992L3 6.16992L3.375 6.49992L6 3.87492L6 9.99992L6.5 9.99992Z' fill='white' fill-opacity='0.8'/%3E%3C/svg%3E");
}

/* DOWN */
#cta_message::-webkit-scrollbar-button:single-button:vertical:increment{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M6.5 2.00008L6.5 8.12508L9.125 5.50008L9.5 5.83008L6.25 9.08008L3 5.83008L3.375 5.50008L6 8.12508L6 2.00008L6.5 2.00008Z' fill='white' fill-opacity='0.8'/%3E%3C/svg%3E");
}

/* ========== 404 PAGE ========== */
.error-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    padding: 160px 0 80px;
}

.error-404-content {
    max-width: 640px;
    text-align: center;
    margin: 0 auto;
}

.error-404-label {
    font-family: 'Neue Montreal', sans-serif;
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    display: block;
    margin-bottom: 24px;
}

.error-404-heading {
    font-family: 'Neue Montreal', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.error-404-desc {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.error-404-section .btn {
    display: inline-flex;
}

/* ========== GRAVITY FORMS IN CTA SECTION ========== */

/* Form title */
.cta-section.cta-v2 .gform_title {
    display: block !important;
    color: #fff !important;
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 32px 0;
    padding: 0;
}

/* Hide form description if it duplicates the CTA subtitle */
.cta-section.cta-v2 .gform_description {
    display: none;
}

/* Reset Gravity Forms wrapper */
.cta-section.cta-v2 .gform_wrapper,
.cta-section.cta-v2 .gform_wrapper.gform-theme--orbital {
    margin: 0;
    padding: 0;
    max-width: 100%;
    background: transparent !important;
}

/* Force CTA section and card background to #101010 */
.cta-section.cta-v2,
.cta-section.cta-v2 .cta-v2-right,
.cta-section.cta-v2 .cta-v2-card {
    background-color: #101010;
}

.cta-section.cta-v2 .gform_wrapper .gform_body {
    margin: 0;
    padding: 0;
}

.cta-section.cta-v2 .gform_wrapper .gform_fields {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
}

/* Field spacing -- each field gets top padding for vertical rhythm */
.cta-section.cta-v2 .gform_wrapper .gfield {
    padding: 0 !important;
    margin: 0 !important;
}

/* Name field -- first field, no top margin needed */
.cta-section.cta-v2 .gform_wrapper .gfield--type-text {
    margin-bottom: 8px !important;
}

/* Email field */
.cta-section.cta-v2 .gform_wrapper .gfield--type-email {
    margin-bottom: 8px !important;
}

/* Labels */
.cta-section.cta-v2 .gform_wrapper .gfield_label,
.cta-section.cta-v2 .gform_wrapper label {
    color: #fff;
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Hide labels on Name/Email fields - placeholder text serves as the label */
.cta-section.cta-v2 .gform_wrapper .gfield--type-text .gfield_label,
.cta-section.cta-v2 .gform_wrapper .gfield--type-email .gfield_label {
    display: none !important;
}

/* Required asterisk */
.cta-section.cta-v2 .gform_wrapper .gfield_required {
    color: rgba(255, 255, 255, 0.5);
}

/* Checkbox/services field spacing */
.cta-section.cta-v2 .gform_wrapper .gfield--type-checkbox,
.cta-section.cta-v2 .gform_wrapper .gfield--type-select {
    margin-top: 24px !important;
    margin-bottom: 8px !important;
}

/* Textarea field spacing */
.cta-section.cta-v2 .gform_wrapper .gfield--type-textarea {
    margin-top: 20px !important;
}

/* Text inputs and textareas */
.cta-section.cta-v2 .gform_wrapper input[type="text"],
.cta-section.cta-v2 .gform_wrapper input[type="email"],
.cta-section.cta-v2 .gform_wrapper input[type="tel"],
.cta-section.cta-v2 .gform_wrapper input[type="url"],
.cta-section.cta-v2 .gform_wrapper input[type="number"],
.cta-section.cta-v2 .gform_wrapper textarea {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
    padding: 16px 0 14px !important;
    color: #fff !important;
    font-family: "PP Neue Montreal", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
}

.cta-section.cta-v2 .gform_wrapper input::placeholder,
.cta-section.cta-v2 .gform_wrapper textarea::placeholder,
.cta-section.cta-v2 .gform-theme--orbital input::placeholder,
.cta-section.cta-v2 .gform-theme--orbital textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    font-family: "PP Neue Montreal", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5) !important;
}

.cta-section.cta-v2 .gform_wrapper input:focus,
.cta-section.cta-v2 .gform_wrapper textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.45);
    outline: none;
    box-shadow: none;
}

.cta-section.cta-v2 .gform_wrapper textarea {
    resize: none !important;
    min-height: 60px !important;
    height: 100px !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Select / dropdown - !important needed to override Gravity Forms orbital theme */
.cta-section.cta-v2 .gform_wrapper select,
.cta-section.cta-v2 .gform_wrapper .ginput_container_select select,
.cta-section.cta-v2 .gform-theme--orbital select.gfield_select {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
    padding: 12px 30px 10px 0 !important;
    color: #fff !important;
    font-family: "PP Neue Montreal", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    background-size: 12px !important;
    box-shadow: none !important;
    min-height: 0 !important;
    height: auto !important;
}

.cta-section.cta-v2 .gform_wrapper select option {
    background: #1a1a1a;
    color: #fff;
}

/* Service chip checkboxes */
.cta-section.cta-v2 .gform_wrapper .gfield_checkbox {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px !important;
}

.cta-section.cta-v2 .gform_wrapper .gfield_checkbox .gchoice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-section.cta-v2 .gform_wrapper .gfield_checkbox .gchoice input[type="checkbox"] {
    display: none !important;
}

.cta-section.cta-v2 .gform_wrapper .gfield_checkbox .gchoice label {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 100px !important;
    padding: 14px 28px !important;
    color: #fff !important;
    font-family: "PP Neue Montreal", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

.cta-section.cta-v2 .gform_wrapper .gfield_checkbox .gchoice label:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Selected chip state */
.cta-section.cta-v2 .gform_wrapper .gfield_checkbox .gchoice input[type="checkbox"]:checked + label {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
}

/* Radios fallback */
.cta-section.cta-v2 .gform_wrapper .gfield_radio label {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

/* Submit button */
.cta-section.cta-v2 .gform_wrapper .gform_footer,
.cta-section.cta-v2 .gform_wrapper .gform_page_footer {
    margin: 32px 0 24px !important;
    padding: 0 !important;
    border: none !important;
}

.cta-section.cta-v2 .gform_wrapper input[type="submit"],
.cta-section.cta-v2 .gform_wrapper .gform_button,
.cta-section.cta-v2 .gform-theme--orbital input[type="submit"] {
    display: block !important;
    width: 100% !important;
    background: #fff !important;
    border: none !important;
    padding: 18px 32px !important;
    border-radius: 100px !important;
    color: #000 !important;
    font-family: "PP Neue Montreal", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: normal !important;
    cursor: pointer;
    text-align: center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: all 0.4s ease;
    box-shadow: none !important;
    border: 1px solid #fff !important;
}

.cta-section.cta-v2 .gform_wrapper input[type="submit"]:hover,
.cta-section.cta-v2 .gform_wrapper .gform_button:hover {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* Validation / error messages */
.cta-section.cta-v2 .gform_wrapper .validation_message,
.cta-section.cta-v2 .gform_wrapper .gfield_description.validation_message {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 4px;
}

.cta-section.cta-v2 .gform_wrapper .gform_validation_errors {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.cta-section.cta-v2 .gform_wrapper .gform_validation_errors h2 {
    color: #ff6b6b;
    font-size: 16px;
    margin: 0;
}

/* Confirmation message */
.cta-section.cta-v2 .gform_confirmation_message {
    color: #fff;
    font-family: "PP Neue Montreal", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    padding: 40px 0;
}

/* Spinner */
.cta-section.cta-v2 .gform_wrapper .gform_ajax_spinner {
    margin-left: 10px;
}

/* Remove Gravity's default field description color */
.cta-section.cta-v2 .gform_wrapper .gfield_description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}



/* ========== GF CTA mobile overrides ========== */
@media (max-width: 767px) {
    .cta-section.cta-v2 .gform_wrapper .gform_footer {
        margin-top: 20px;
    }

    .cta-section.cta-v2 .gform_wrapper input[type="submit"],
    .cta-section.cta-v2 .gform_wrapper .gform_button {
        width: 100%;
    }

    .cta-section.cta-v2 .gform_wrapper select,
    .cta-section.cta-v2 .gform_wrapper .ginput_container_select select,
    .cta-section.cta-v2 .gform-theme--orbital select.gfield_select {
        font-size: 14px !important;
        padding: 11px 30px 10px 0 !important;
    }

    /* Remove background on mobile contact form */
    .cta-section.cta-v2 .cta-v2-right,
    .cta-section.cta-v2 .cta-v2-card {
        background-color: transparent;
    }

    /* Add spacing under textarea before submit button */
    .cta-section.cta-v2 .gform_wrapper .gfield--type-textarea {
        margin-bottom: 16px !important;
    }

    /* Smaller chips on mobile */
    .cta-section.cta-v2 .gform_wrapper .gfield_checkbox .gchoice label {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    .cta-section.cta-v2 .gform_wrapper .gfield_checkbox {
        gap: 8px !important;
    }
}

/* =============================================
   Insights / Blog Cards - Hover Dark Overlay
   ============================================= */
.insights-list-pc .insights-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.insights-list-pc .insights-item:hover::after {
    opacity: 1;
}

/* Make sure text content stays above the overlay */
.insights-list-pc .insights-content {
    z-index: 2;
    position: relative;
}

/* =============================================
   Project Approach & Challenge - Stacked Column
   ============================================= */

.project-approach-right,
.project-challenge-right {
    padding-top: 54px;
    align-items: flex-start;
    justify-content: flex-start;
}

.project-approach-notes,
.project-challenge-notes {
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}

.project-approach-note,
.project-challenge-note {
    max-width: 100%;
}

.project-approach-note p,
.project-challenge-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Neue Montreal";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 767px) {
    .project-approach-note p,
    .project-challenge-note p {
        font-size: 15px;
    }
}

/* =============================================
   Header - Solid White on Hover
   ============================================= */
.header-inner {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner:hover {
    background-color: #fff;
    border-color: #fff;
}

/* Logo inverts to dark */
.header-inner:hover .header-logo img {
    filter: brightness(0);
    transition: filter 0.3s ease;
}

/* Nav links go dark */
.header-inner:hover .header-menu ul li a {
    color: #000;
}

/* Nav link underline goes dark */
.header-inner:hover .header-menu ul li a::before {
    background-color: #000;
}

/* CTA button text goes dark */
.header-inner:hover .header-action .btn .text {
    color: #000;
}

/* Hamburger bars go dark */
.header-inner:hover .menu-toggle span {
    background: #000;
}

/* ============================================
   Hero Background Video (Services / About)
   ============================================ */

.cs-hero-main {
    position: relative;
    overflow: hidden;
}

.cs-hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cs-hero-bg-video--mobile {
    display: none;
}

/* Dark overlay for text readability over video */
.cs-hero-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
    pointer-events: none;
}

.cs-hero-main .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .cs-hero-bg-video--desktop {
        display: none;
    }

    .cs-hero-bg-video--mobile {
        display: block;
    }
}

/* Our Work Hero Video */
.our-work-hero {
    position: relative;
    overflow: hidden;
}

.our-work-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.our-work-hero-video--mobile {
    display: none;
}

/* Dark overlay for text readability over video */
.our-work-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
    pointer-events: none;
}

.our-work-hero .container {
    position: relative;
    z-index: 1;
}

/* Text shadow for extra readability on bright video frames */
.our-work-hero-heading,
.our-work-hero-desc p,
.cs-hero .heading,
.cs-hero .desc p,
.cs-hero .banner-heading,
.cs-hero .hero-statement,
.cs-hero .banner-label a {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
    .our-work-hero-video--desktop {
        display: none;
    }

    .our-work-hero-video--mobile {
        display: block;
    }
}

/* ============================================
   Mobile Project Cards — fix bubble/niche overlap
   ============================================ */
/* Mobile Project Cards — text at bottom with dark overlay
   Layer 1 (top): title, niche, service pills
   Layer 2: dark gradient overlay for readability
   Layer 3 (back): project image */
@media (max-width: 767px) {

    /* --- Our Work cards --- */
    .our-work-card .our-work-card-inner {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        position: relative;
    }

    .our-work-card .our-work-card-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .our-work-card .our-work-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 70%) !important;
    }

    .our-work-card .our-work-card-content {
        position: relative;
        z-index: 3;
        padding: 0 16px 4px;
        transform: none !important;
    }

    .our-work-card .our-work-card-services {
        position: relative;
        z-index: 3;
        max-height: none;
        overflow: visible;
        opacity: 1;
        transform: none;
        padding: 4px 16px 16px;
    }

    /* --- Featured Work cards (homepage) --- same treatment --- */
    .featured-work-thumb {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .featured-work-thumb .featured-work-overlay {
        z-index: 2;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 70%) !important;
    }

    .featured-work-thumb .featured-work-info {
        position: relative;
        z-index: 3;
        padding: 0 16px 4px;
        transform: none !important;
    }

    .featured-work-thumb .featured-work-services {
        position: relative;
        z-index: 3;
        padding: 4px 16px 16px;
    }
}

/* ============================================
   Homepage Services Accordion — toggle icon + hover
   ============================================ */

/* + icon on inactive items */
.home-sevices .accordion-toggle-icon {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.35s ease, opacity 0.35s ease, color 0.35s ease;
    pointer-events: none;
}

/* When active: rotate + 45deg to become x, hide it (the arrow link takes over) */
.home-sevices .accordion-item.active .accordion-toggle-icon {
    opacity: 0;
    transform: translateY(-50%) rotate(45deg);
}

/* Hover on inactive items: brighten text + underline title */
.home-sevices .accordion-item:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.home-sevices .accordion-item:not(.active):hover .accordion-title {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.home-sevices .accordion-item:not(.active):hover .accordion-toggle-icon {
    color: rgba(255, 255, 255, 1);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .home-sevices .accordion-toggle-icon {
        right: 16px;
        font-size: 24px;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .home-sevices .accordion-toggle-icon {
        right: 24px;
    }
}

/* ============================================
   Reviews Section Video Background
   ============================================ */

.reviews-sec {
    position: relative;
    overflow: hidden;
}

.reviews-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.reviews-sec .review-overlay,
.reviews-sec .review-main {
    position: relative;
    z-index: 1;
}
