﻿/* Mobile App Development Revamp — namespaced under .mad-revamp */
.mad-revamp {
    --mad-orange: #f47a1f;
    --mad-dark: #001b28;
    --mad-navy: #071b27;
    --mad-slate: #314252;
    --mad-gray: #f5f6f8;
    --mad-muted: #6b7a86;
    --mad-white: #ffffff;
    --mad-radius: 16px;
    --mad-radius-lg: 24px;
    font-family: Poppins, sans-serif;
    color: var(--mad-dark);
    overflow-x: hidden;
}

.mad-revamp *,
.mad-revamp *::before,
.mad-revamp *::after {
    box-sizing: border-box;
}

.mad-revamp img {
    max-width: 100%;
    height: auto;
}

.mad-revamp .mad-orange {
    color: var(--mad-orange);
}

.mad-revamp .mad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: 0.25s ease;
    cursor: pointer;
}

.mad-revamp .mad-btn-primary {
    background: var(--mad-orange);
    color: var(--mad-white);
    border-color: var(--mad-orange);
}

.mad-revamp .mad-btn-primary:hover {
    background: #e06b12;
    color: var(--mad-white);
}

.mad-revamp .mad-btn-outline {
    background: transparent;
    color: var(--mad-white);
    border-color: var(--mad-orange);
}

.mad-revamp .mad-btn-outline:hover {
    background: var(--mad-orange);
    color: var(--mad-white);
}

.mad-revamp .mad-btn-dark {
    background: var(--mad-dark);
    color: var(--mad-white);
    border-color: var(--mad-dark);
}

.mad-revamp .mad-btn-dark:hover {
    background: var(--mad-orange);
    border-color: var(--mad-orange);
    color: var(--mad-white);
}

.mad-revamp .mad-section-pad {
    padding: 100px 0;
}

.mad-revamp .mad-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.mad-revamp .mad-nav-btn:hover {
    background: var(--mad-orange);
    border-color: var(--mad-orange);
}

.mad-revamp .mad-nav-btn img {
    width: 18px;
    height: 18px;
}

.mad-revamp .mad-nav-dark {
    border-color: rgba(0, 27, 40, 0.2);
}

.mad-revamp .mad-nav-dark:hover {
    border-color: var(--mad-orange);
}

/* ========== 1. Banner ========== */
.mad-banner {
    position: relative;
    background-color: #020e15;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--mad-white);
    padding: 110px 0 12px;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mad-banner>.container {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mad-banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    flex: 1;
    min-height: 0;
    padding-bottom: 8px;
}

/* Existing site breadcrumbs — full-width row under header */
.mad-banner .breadcrumbs_style,
.mad-banner .mad-banner-crumbs {
    margin: 0 0 12px !important;
    position: relative;
    z-index: 2;
    width: 100%;
    flex-shrink: 0;
}

.mad-banner .breadcrumbs_style ul.breadcrumb {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.mad-banner .breadcrumbs_style ul.breadcrumb li {
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: inline-block;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 600;
    height: auto;
    line-height: 20px;
    padding-right: 50px;
    position: relative;
}

.mad-banner .breadcrumbs_style ul.breadcrumb li:after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 17px;
    height: 8px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNyIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMTcgOCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE2LjM1NCA0LjM1NGEuNS41IDAgMCAwIDAtLjcwOEwxMy4xNzIuNDY0YS41LjUgMCAxIDAtLjcwOC43MDhMMTUuMjkzIDRsLTIuODI5IDIuODI4YS41LjUgMCAxIDAgLjcwOC43MDhsMy4xODItMy4xODJaTTAgNC41aDE2di0xSDB2MVoiLz48L3N2Zz4=");
}

.mad-banner .breadcrumbs_style ul.breadcrumb li:last-child {
    padding-right: 0;
}

.mad-banner .breadcrumbs_style ul.breadcrumb li:last-child:after {
    display: none;
}

.mad-banner .breadcrumbs_style.white ul.breadcrumb li a {
    color: #fff;
    text-decoration: none;
}

.mad-banner .breadcrumbs_style.white ul.breadcrumb li a:hover,
.mad-banner .breadcrumbs_style.white ul.breadcrumb li:last-child a {
    color: #f47a1f;
}

.mad-banner .banenr_content h1 {
    font-family: Poppins, sans-serif !important;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700 !important;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #fff;
}

.mad-banner .banenr_content p {
    font-family: Poppins, sans-serif !important;
    font-size: clamp(13px, 1.05vw, 16px);
    font-weight: 400 !important;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
    max-width: 560px;
}

.mad-banner-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.mad-banner-form-card {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    background: linear-gradient(162deg,
            rgba(2, 14, 21, 0.92) 5%,
            rgba(2, 23, 49, 0.92) 44%,
            rgba(0, 9, 21, 0.92) 87%);
    border: 1px solid #464646;
    border-radius: 24px;
    padding: 18px 24px 16px;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 10px rgba(202, 192, 192, 0.1);
}

.mad-banner-form-card h3 {
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.7px;
    text-transform: capitalize;
    margin: 0 0 4px;
    color: #fff;
}

.mad-banner-form-card>p {
    font-size: 13px;
    line-height: 18px;
    color: #fff;
    margin: 0 0 10px;
}

.mad-banner-form-card .banner_form_inner .form-control,
.mad-banner-form-card .banner_form_inner select,
.mad-banner-form-card .banner_form_inner textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 0 !important;
    color: #fff !important;
    padding: 2px 0 6px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
}

.mad-banner-form-card .banner_form_inner textarea {
    min-height: 28px !important;
    resize: none;
}

.mad-banner-form-card .banner_form_inner .form-control::placeholder,
.mad-banner-form-card .banner_form_inner textarea::placeholder {
    color: transparent;
}

.mad-banner-form-card .banner_form_inner select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    background-size: 10px !important;
    padding-right: 20px !important;
    cursor: pointer;
    color-scheme: dark;
}

.mad-banner-form-card .banner_form_inner select option {
    color: #fff;
    background-color: #0b1c2c;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 12px;
    font-weight: 500;
}

.mad-banner-form-card .banner_form_inner select option:disabled {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.mad-banner-form-card .banner_form_inner select option:checked,
.mad-banner-form-card .banner_form_inner select option:hover {
    background-color: #f47a1f;
    color: #fff;
}

.mad-banner-form-card .from_item--select {
    position: relative;
}

.mad-banner-form-card .mad-custom-select {
    position: relative;
}

.mad-banner-form-card .mad-custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 0;
    padding: 2px 0 6px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.mad-banner-form-card .mad-custom-select-trigger.is-placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.mad-banner-form-card .mad-custom-select-trigger::after {
    content: "";
    width: 10px;
    height: 8px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M6 8L0 0h12z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mad-banner-form-card .mad-custom-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 27, 40, 0.28);
    max-height: 220px;
    overflow: auto;
    display: none;
}

.mad-banner-form-card .mad-custom-select.is-open .mad-custom-select-menu {
    display: block;
}

.mad-banner-form-card .mad-custom-select-option {
    width: 100%;
    border: 0;
    background: transparent;
    color: #314252;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    padding: 10px 14px;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.mad-banner-form-card .mad-custom-select-option:hover,
.mad-banner-form-card .mad-custom-select-option.is-selected {
    background: rgba(244, 122, 31, 0.1);
    color: #f47a1f;
}

.mad-banner-form-card .mad-custom-select-option.is-disabled {
    color: #94a3b8;
    cursor: default;
    font-weight: 400;
}

.mad-banner-form-card .mad-custom-select-option.is-disabled:hover {
    background: transparent;
    color: #94a3b8;
}

.mad-banner-form-card .banner_form_inner select.mad-native-select-hidden {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0 0 0 0);
}

.mad-banner-form-card .from_item {
    margin-bottom: 8px;
}

.mad-banner-form-card .from_item label {
    display: block;
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.mad-banner-form-card .from_item label span {
    color: #f47a1f;
}

.mad-banner-form-card .mad-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mad-banner-form-card .mad-form-message {
    margin-bottom: 6px;
}

.mad-banner-form-card .mad-form-message label {
    margin-bottom: 10px;
}

.mad-banner-form-card .btn_submit,
.mad-banner-form-card button[type="submit"] {
    width: 100%;
    margin-top: 2px;
    background: #f47a1f !important;
    border: none !important;
    color: #fff !important;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    min-height: 42px;
    height: 42px;
    border-radius: 9999px !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.mad-banner-form-card .error_tek:empty {
    display: none;
}

.mad-banner-form-card .error_tek {
    display: block;
    color: #ff8f8f;
    font-size: 11px;
    line-height: 1.2;
    margin-top: 2px;
}

.mad-banner-form-card .alert-success {
    margin-top: 10px;
    color: #9dffb0;
    font-size: 13px;
}

.mad-banner-form-card .looder_img {
    display: block;
    margin: 10px auto 0;
    max-width: 40px;
}

.mad-banner-form-card .recaptcha-item {
    margin: 2px 0 4px;
    transform: scale(0.7);
    transform-origin: left top;
    height: 52px;
    overflow: hidden;
}

.mad-trusted {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 12px 0 8px;
    background: transparent;
    border: 0;
    flex-shrink: 0;
    width: 100%;
}

.mad-trusted-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    min-height: 73px;
}

.mad-trusted-swiper {
    display: none;
}

.mad-trusted-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 0;
}

.mad-trusted-logo img {
    max-height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.95;
}

.mad-trusted-logo.mad-logo-shield img {
    max-height: 56px;
}

.mad-trusted-logo.mad-logo-k img {
    max-height: 44px;
}

.mad-trusted-logo.mad-logo-kinder img,
.mad-trusted-logo.mad-logo-rehkempers img {
    filter: brightness(0) invert(1);
}

.mad-trusted-logo.mad-logo-camh img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.mad-trusted-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 2. USA ========== */
.mad-usa {
    background: #fff;
}

.mad-usa-panel {
    background: rgba(246, 248, 251, 0.5);
    border-radius: 24px;
    padding: 40px 32px 32px;
}

.mad-usa-top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}

.mad-usa-map {
    border-radius: 20px;
    overflow: hidden;
    min-width: 0;
}

.mad-usa-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.mad-usa-copy {
    min-width: 0;
}

.mad-usa-copy h2 {
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -1.62px;
    color: #314252;
    margin: 0 0 20px;
}

.mad-usa-copy p {
    font-size: 16px;
    line-height: 28px;
    color: #717783;
    margin: 0;
}

.mad-rating-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mad-rating-card {
    background: #fff;
    border: 1px solid #fdfdfd;
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 24px rgba(0, 27, 40, 0.05);
    text-align: left;
    overflow: visible;
    min-width: 0;
}

.mad-rating-logo {
    flex: 0 1 48%;
    min-width: 150px;
    max-width: 240px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.mad-rating-logo img {
    width: 100%;
    height: auto;
    max-width: 220px;
    max-height: 80px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
    display: block;
    transform: scale(1.08);
    transform-origin: left center;
}

.mad-rating-logo--designrush img {
    max-width: 220px;
    max-height: 78px;
}

.mad-rating-logo--goodfirms img {
    max-width: 210px;
    max-height: 78px;
}

.mad-rating-divider {
    width: 1px;
    align-self: stretch;
    min-height: 80px;
    background: #e6e8ec;
    flex-shrink: 0;
}

.mad-rating-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.mad-rating-card strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: #314252;
    margin: 0;
}

.mad-rating-card span {
    font-size: 15px;
    line-height: 20px;
    color: #717783;
}

.mad-rating-stars {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
    margin: 0;
}

.mad-rating-stars img {
    width: 22px;
    height: 22px;
    margin: 0;
}

/* ========== 3. Path ========== */
.mad-path {
    background: rgba(246, 248, 251, 0.5);
}

.mad-path-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.mad-path-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 40px 28px 28px;
    color: var(--mad-white);
    border-radius: 24px;
    border: 1px solid rgba(30, 41, 59, 0.8);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: linear-gradient(92.25deg, #020e15 13.25%, #00163a 97.99%, #010f25 147.89%);
}

.mad-path-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.9;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 3.125%, rgba(255, 255, 255, 0) 3.125%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 3.125%, rgba(255, 255, 255, 0) 3.125%);
    background-size: 32px 32px;
}

.mad-path-intro-copy {
    position: relative;
    z-index: 2;
    max-width: none;
}

.mad-path-intro .eyebrow {
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--mad-orange);
    font-weight: 700;
    margin-bottom: 12px;
}

.mad-path-intro h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 58px;
    letter-spacing: -1.5px;
    margin: 0 0 16px;
    color: var(--mad-white);
}

.mad-path-intro p {
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
}

.mad-path-visual {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 220px;
    margin-top: 28px;
    padding-bottom: 12px;
}

.mad-path-wireframe {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 13px;
    border-radius: 16px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.mad-path-wireframe--left {
    left: -4px;
    bottom: 28px;
    width: 192px;
    height: 240px;
    align-items: center;
    opacity: 0.35;
    transform: rotate(-6deg);
}

.mad-path-wireframe--right {
    right: -2px;
    bottom: 36px;
    width: 176px;
    height: 224px;
    align-items: flex-start;
    opacity: 0.4;
    transform: rotate(6deg);
}

.mad-path-pill {
    display: block;
    width: 32px;
    height: 4px;
    border-radius: 9999px;
    background: #334155;
}

.mad-path-wire-block {
    width: 100%;
    height: 80px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mad-path-wire-block img {
    width: 24px;
    height: 24px;
    max-width: none;
}

.mad-path-bar {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: #1e293b;
}

.mad-path-bar--lg {
    width: 125px;
}

.mad-path-bar--md {
    width: 83px;
    background: rgba(30, 41, 59, 0.7);
}

.mad-path-bar--sm {
    width: 111px;
    background: rgba(30, 41, 59, 0.5);
}

.mad-path-wireframe--right .mad-path-bar {
    height: 6px;
}

.mad-path-wireframe--right .mad-path-bar--lg {
    width: 120px;
}

.mad-path-wireframe--right .mad-path-bar--md {
    width: 90px;
    background: #1e293b;
}

.mad-path-dots {
    display: flex;
    gap: 4px;
}

.mad-path-dots span {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #334155;
}

.mad-path-code-box {
    width: 100%;
    height: 116px;
    border: 1px dashed rgba(51, 65, 85, 0.6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mad-path-code-box span {
    color: #64748b;
    font-family: "Liberation Mono", Consolas, monospace;
    font-size: 20px;
    line-height: 28px;
}

.mad-path-phone {
    position: relative;
    z-index: 2;
    width: 208px;
    height: 288px;
    padding: 14px;
    border-radius: 32px;
    border: 2px solid rgba(71, 85, 105, 0.6);
    background: linear-gradient(180deg, #16273e 0%, #0d1a2d 100%);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.6);
}

.mad-path-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    background: #0c182b;
    padding: 17px 17px 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.mad-path-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 12px;
    border-radius: 9999px;
    border: 1px solid #1e293b;
    background: #08101d;
}

.mad-path-phone-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
}

.mad-path-phone-lines span:first-child {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(51, 65, 85, 0.6);
}

.mad-path-phone-lines span:last-child {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: rgba(30, 41, 59, 0.8);
}

.mad-path-phone-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
}

.mad-path-phone-copy p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.4px;
}

.mad-path-bar--phone,
.mad-path-bar--phone-sm {
    height: 4px;
    border-radius: 9999px;
    background: #334155;
}

.mad-path-bar--phone {
    width: 48px;
}

.mad-path-bar--phone-sm {
    width: 32px;
    background: rgba(51, 65, 85, 0.6);
}

.mad-path-phone-fab {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--mad-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.mad-path-phone-fab img {
    width: 16px;
    height: 16px;
    max-width: none;
}

.mad-path-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
    min-height: 0;
}

.mad-path-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-height: auto;
    padding: 24px 24px 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    background: #fff;
    overflow: visible;
    box-sizing: border-box;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-path-card.is-active {
    border: 2px solid var(--mad-orange);
    padding: 23px 23px 19px;
    box-shadow: 0 4px 20px -2px rgba(249, 87, 33, 0.12);
}

.mad-path-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-shrink: 0;
}

.mad-path-card-main {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
    flex: 1;
}

.mad-path-num-icon {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.mad-path-num {
    width: 22px;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: var(--mad-orange);
}

.mad-path-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    background: rgba(241, 245, 249, 0.9);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mad-path-icon-box img {
    width: 32px;
    height: 32px;
    max-width: none;
}

.mad-path-divider {
    width: 1px;
    height: 48px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.mad-path-copy {
    min-width: 0;
    flex: 1;
    padding-right: 8px;
}

.mad-path-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: -0.4px;
    color: #314252;
}

.mad-path-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #64748b;
}

.mad-path-arrow {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-path-arrow img {
    width: 20px;
    height: 20px;
    max-width: none;
}

.mad-path-arrow .mad-path-arrow-on {
    display: none;
}

.mad-path-arrow .mad-path-arrow-off {
    display: block;
}

.mad-path-card.is-active .mad-path-arrow {
    background: var(--mad-orange);
    box-shadow:
        0 4px 6px -1px rgba(249, 115, 22, 0.25),
        0 2px 4px -2px rgba(249, 115, 22, 0.25);
}

.mad-path-card.is-active .mad-path-arrow .mad-path-arrow-on {
    display: block;
}

.mad-path-card.is-active .mad-path-arrow .mad-path-arrow-off {
    display: none;
}

.mad-path-card-foot {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-top: 14px;
    padding-top: 0;
    padding-bottom: 2px;
}

.mad-path-card-foot a {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.25s ease;
}

.mad-path-card.is-active .mad-path-card-foot a {
    color: var(--mad-orange);
}

.mad-path-card-foot a:hover {
    color: var(--mad-orange);
}

/* ========== 4 & 9 CTA ========== */
.mad-cta-strip {
    padding: 80px 0;
    background: transparent;
}

.mad-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 0;
    padding: 48px 48px;
    color: #fff;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(117.22deg, #020e15 13.4%, #00163a 57.57%, #010f25 83.59%);
}

.mad-cta-bar h2 {
    margin: 0;
    max-width: 828px;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -1px;
    color: #fff;
}

.mad-cta-bar h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    min-width: 0;
    height: 56px;
    padding: 0 36px;
    border-radius: 100px;
    background: var(--mad-orange);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.3px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    box-sizing: border-box;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.mad-cta-btn:hover {
    background: #e06b12;
    color: #fff;
}

/* ========== 5. Services ========== */
.mad-services {
    background: var(--mad-white);
}

.mad-services-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px 28px;
    align-items: stretch;
}

.mad-services-intro {
    padding-top: 12px;
    min-width: 0;
}

.mad-services-intro h2 {
    margin: 0 0 28px;
    max-width: none;
    font-size: 52px;
    font-weight: 700;
    line-height: 66px;
    letter-spacing: -2.6px;
    color: #314252;
}

.mad-services-intro h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-services-intro p {
    margin: 0 0 28px;
    max-width: none;
    color: rgba(13, 15, 15, 0.6);
    font-size: 18px;
    line-height: 37px;
    font-weight: 400;
}

.mad-services-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    width: auto;
    max-width: 100%;
    height: 52px;
    padding: 0 22px;
    border-radius: 50px;
    background: var(--mad-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease;
}

.mad-services-cta img {
    width: 14px;
    height: auto;
    max-width: none;
    flex-shrink: 0;
}

.mad-services-cta:hover {
    background: #e06b12;
    color: #fff;
}

.mad-services-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 8px;
    min-height: 0;
    height: 100%;
    padding: 12px 0 12px 24px;
    border-left: 1px solid #e2e8f0;
    align-content: stretch;
    min-width: 0;
}

.mad-services-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 6px 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: #314252;
}

.mad-services-num {
    display: block;
    margin: 0 0 2px;
    color: #bdc6ce;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.mad-services-name {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #314252;
    word-break: break-word;
}

.mad-services-item.is-active .mad-services-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 2px;
    background: var(--mad-orange);
}

.mad-services-item:hover .mad-services-name,
.mad-services-item.is-active .mad-services-name {
    color: #314252;
}

.mad-service-detail {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    height: 100%;
    padding: 36px 28px 28px;
    border-radius: 24px;
    background: #01132a;
    color: #fff;
    overflow: hidden;
    min-width: 0;
}

.mad-service-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.95;
}

.mad-service-panels {
    position: relative;
    z-index: 1;
    flex: 1;
}

.mad-service-detail [data-mad-service-panel] {
    display: none;
}

.mad-service-detail [data-mad-service-panel].is-active {
    display: block;
}

.mad-service-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.mad-service-num {
    display: block;
    margin: 0 0 4px;
    color: #bdc6ce;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.mad-service-detail h3 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 12px;
    max-width: 220px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #fff;
}

.mad-service-detail h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: var(--mad-orange);
}

.mad-service-icons {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
}

.mad-service-icons img {
    width: auto;
    height: 48px;
    max-width: 56px;
    object-fit: contain;
}

.mad-service-detail p {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: none;
    color: #eee;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}

.mad-service-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
}

.mad-service-prev,
.mad-service-next {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 42%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.mad-service-prev {
    align-items: flex-start;
    text-align: left;
}

.mad-service-next {
    align-items: flex-end;
    text-align: right;
}

.mad-service-prev-label,
.mad-service-next-label {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #fff;
}

.mad-service-prev img,
.mad-service-next img {
    width: 24px;
    height: auto;
    max-width: none;
}

/* ========== 6. Portfolio ========== */
.mad-portfolio {
    background: var(--mad-white);
    overflow: hidden;
}

.mad-portfolio-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.mad-portfolio-head h2 {
    margin: 0 0 16px;
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -1.62px;
    color: #314252;
}

.mad-portfolio-head h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-portfolio-head p {
    margin: 0 auto;
    max-width: 720px;
    color: rgba(13, 15, 15, 0.5);
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
}

.mad-portfolio-track {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.mad-portfolio-swiper {
    overflow: hidden;
    width: 100%;
}

.mad-portfolio-swiper .swiper-slide {
    height: auto;
}

.mad-case-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    gap: 28px;
    align-items: center;
    min-height: 0;
    padding: 32px 36px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(218deg, #020e15 14.78%, #00163a 62.92%, #010f25 91.27%);
    overflow: hidden;
}

.mad-case-body {
    max-width: none;
    min-width: 0;
    padding: 0;
}

.mad-case-body h3 {
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 600;
    line-height: 34px;
    text-transform: capitalize;
    color: #fff;
}

.mad-case-body h5 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #fff;
}

.mad-case-body p {
    margin: 0 0 18px;
    max-width: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.1px;
    color: rgba(255, 255, 255, 0.7);
}

.mad-case-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mad-case-body li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.1px;
    color: rgba(255, 255, 255, 0.7);
}

.mad-case-body li img {
    width: 18px;
    height: 18px;
    max-width: none;
    flex-shrink: 0;
    margin-top: 3px;
}

.mad-case-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    height: auto;
    max-height: 480px;
    min-width: 0;
}

.mad-case-media img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 16px;
}

.mad-portfolio-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.mad-portfolio-nav .mad-nav-btn {
    border-color: rgba(49, 66, 82, 0.25);
    background: #fff;
}

.mad-portfolio-nav .mad-nav-btn:hover {
    border-color: var(--mad-orange);
    background: var(--mad-orange);
}

.mad-portfolio-nav .mad-nav-btn img {
    filter: none;
}

/* ========== 7. Process ========== */
.mad-process {
    position: relative;
    background: #011022;
    color: #fff;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}

.mad-process>.container {
    position: relative;
    z-index: 1;
}

.mad-process-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 1;
}

.mad-process-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 56px;
}

.mad-process-head h2 {
    margin: 0 0 18px;
    font-size: 54px;
    font-weight: 700;
    line-height: 66px;
    letter-spacing: -0.54px;
    color: #fff;
}

.mad-process-head h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-process-head p {
    margin: 0 auto;
    max-width: 860px;
    color: #ebebeb;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: -0.18px;
}

.mad-process-timeline {
    position: relative;
    padding-top: 0;
}

.mad-process-shade {
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    height: 280px;
    background: linear-gradient(180deg, rgba(244, 122, 31, 0.09) 0%, rgba(1, 16, 34, 0.24) 100%);
    pointer-events: none;
    z-index: 0;
}

.mad-process-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    height: 2px;
    background: var(--mad-orange);
    z-index: 1;
}

.mad-process-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 20px;
    position: relative;
    z-index: 2;
}

.mad-process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    min-width: 0;
}

/* Figma has vertical rules between cols 2–6 only */
.mad-process-step:nth-child(n + 3)::before {
    content: "";
    position: absolute;
    top: 120px;
    left: -10px;
    width: 1px;
    height: 200px;
    background: rgba(235, 235, 235, 0.18);
    pointer-events: none;
}

.mad-process-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 88px;
    padding: 0 0 20px;
}

.mad-process-step .num {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.2px;
    text-transform: capitalize;
    justify-content: flex-start;
}

.mad-process-step h4 {
    margin: 0;
    max-width: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
    text-transform: capitalize;
    color: #fff;
}

.mad-process-dot {
    position: relative;
    z-index: 2;
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: -11px 0 20px;
    border-radius: 70px;
    background: var(--mad-orange);
    box-shadow: 0 0 10px 3px rgba(244, 122, 31, 0.5);
}

.mad-process-step p {
    margin: 0;
    max-width: none;
    color: #ebebeb;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.2px;
}

/* ========== 8. Tech ========== */
.mad-tech {
    background: #fff;
}

.mad-tech-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px 32px;
    align-items: start;
    justify-content: space-between;
    max-width: none;
    margin: 0 0 40px;
    text-align: left;
}

.mad-tech-head h2 {
    margin: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -1.62px;
    color: #314252;
}

.mad-tech-head h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-tech-head p {
    margin: 0;
    padding-top: 4px;
    color: rgba(13, 15, 15, 0.5);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.mad-tech-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: stretch;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.mad-tech-sidebar {
    background: #f6f6f6;
    border-radius: 16px;
    min-height: 0;
    overflow: hidden;
}

.mad-tech-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.mad-tech-tabs button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 16px 22px;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: transparent;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.mad-tech-tabs button:last-child {
    border-bottom: 0;
}

.mad-tech-tabs button.is-active {
    background: var(--mad-orange);
    border-color: var(--mad-orange);
    color: #fff;
}

.mad-tech-tabs button.is-active:first-child {
    border-radius: 16px 16px 0 0;
}

.mad-tech-tabs button:hover:not(.is-active) {
    background: rgba(244, 122, 31, 0.06);
    color: #000;
}

.mad-tech-panels {
    background: #f6f6f6;
    border-radius: 16px;
    min-height: 0;
    padding: 20px;
}

.mad-tech-panel {
    display: none;
    height: 100%;
}

.mad-tech-panel.is-active {
    display: block;
}

.mad-tech-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 12px;
    height: 100%;
    align-content: start;
}

.mad-tech-logos ul {
    display: contents;
    margin: 0;
    padding: 0;
}

.mad-tech-logos li {
    list-style: none;
    background: #fff;
    border-radius: 10px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.mad-tech-logos img {
    max-width: 100px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mad-cta-strip--flush {
    margin: 0;
    padding: 0 0 40px;
    position: relative;
    z-index: 2;
}

.mad-cta-strip--flush+.mad-features {
    margin-top: 0;
    padding-top: 94px;
}

/* ========== 10. Features ========== */
.mad-features {
    position: relative;
    background: #01142e center/cover no-repeat;
    color: #fff;
    padding: 94px 0 80px;
    margin: 0;
}

.mad-features::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 20, 46, 0.93);
}

.mad-features>.container {
    position: relative;
    z-index: 1;
}

.mad-features-head {
    display: grid;
    grid-template-columns: minmax(0, 686px) minmax(0, 1fr);
    gap: 24px 40px;
    align-items: start;
    text-align: left;
    max-width: none;
    margin: 0 0 48px;
}

.mad-features-head h2 {
    margin: 0;
    max-width: 663px;
    font-size: 52px;
    font-weight: 700;
    line-height: 63px;
    letter-spacing: -2px;
    color: #fff;
}

.mad-features-head h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-features-head p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
}

.mad-features-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 70px 40px;
    max-width: 1250px;
    margin: 0 auto;
}

.mad-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 25px 20px;
    text-align: center;
    background: #011121;
    border: 0;
    border-radius: 15px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.mad-feature-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 86px;
    margin-bottom: 4px;
}

.mad-feature-ico img {
    width: auto;
    max-width: 95px;
    max-height: 95px;
    height: auto;
}

.mad-feature-card h4 {
    margin: 0;
    max-width: 196px;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #fff;
}

/* ========== 11. Industries ========== */
.mad-industries {
    background: #f9f9fc;
}

.mad-industries-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    gap: 0;
}

.mad-industries-head h2 {
    margin: 0 0 16px;
    max-width: none;
    font-size: 54px;
    font-weight: 700;
    line-height: 66px;
    letter-spacing: -0.54px;
    color: #314252;
}

.mad-industries-head h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-industries-head p {
    margin: 0;
    max-width: 860px;
    color: rgba(13, 15, 15, 0.6);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.mad-industries-swiper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 36px;
}

.mad-industries-swiper .swiper-slide {
    height: auto;
}

.mad-industry-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    height: 100%;
    padding: 32px 28px;
    background: #f9f9fc;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.mad-industry-card:hover {
    border-color: var(--mad-orange);
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 27, 40, 0.06);
}

.mad-industry-ico {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 52px;
    margin-bottom: 20px;
}

.mad-industry-ico img {
    width: auto;
    max-width: 64px;
    max-height: 52px;
    height: auto;
    object-fit: contain;
}

.mad-industry-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.4px;
    color: #314252;
}

.mad-industry-card h3 a {
    color: inherit;
    text-decoration: none;
}

.mad-industry-card h3 a:hover {
    color: var(--mad-orange);
}

.mad-industry-card p {
    margin: 0;
    max-width: none;
    color: #314252;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.2px;
}

.mad-industries-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0;
    margin: 0 auto;
    width: 117px;
    height: 48px;
    border: 1px solid #e6e6e6;
    border-radius: 100px;
    background: #fff;
    overflow: hidden;
}

.mad-industries>.container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.mad-industries-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mad-industries-nav button:hover {
    background: rgba(244, 122, 31, 0.08);
}

.mad-industries-nav button img {
    width: 18px;
    height: 18px;
}

.mad-industries-nav-divider {
    width: 1px;
    height: 20px;
    background: #e6e6e6;
    flex-shrink: 0;
}

/* ========== 12. Clients ========== */
.mad-clients {
    position: relative;
    background: #011123;
    color: #fff;
    overflow: hidden;
    padding: 80px 0;
}

.mad-clients>.container {
    position: relative;
    z-index: 1;
}

.mad-clients-glow {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    height: auto !important;
    max-width: none;
    object-fit: contain;
}

.mad-clients-glow--bl {
    left: -180px;
    bottom: -80px;
    width: 497px;
    max-width: 45vw;
    opacity: 0.85;
}

.mad-clients-glow--tr {
    right: -120px;
    top: -180px;
    width: 518px;
    max-width: 45vw;
    opacity: 0.85;
}

.mad-clients-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.mad-clients-copy {
    max-width: 780px;
    min-width: 0;
}

.mad-clients-head h2 {
    margin: 0 0 10px;
    max-width: none;
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -1.62px;
    color: #fff;
}

.mad-clients-head h2 .mad-orange {
    color: var(--mad-orange);
}

.mad-clients-copy p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}

.mad-clients-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    margin-top: 8px;
}

.mad-clients-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.mad-clients-nav button:hover {
    opacity: 0.85;
    transform: scale(1.04);
}

.mad-revamp .mad-clients-nav button img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    display: block;
    object-fit: contain;
}

.mad-clients-swiper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.mad-clients-swiper .swiper-slide {
    height: auto;
}

.mad-client-pair {
    display: flex;
    align-items: stretch;
    gap: 24px;
    min-height: 0;
}

.mad-client-quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    padding: 24px 20px 16px;
    background: #070e19;
    border: 1px solid var(--mad-orange);
    border-radius: 16px;
}

.mad-client-stars {
    display: block;
    width: 72px;
    height: 14px;
    margin-bottom: 16px;
}

.mad-client-quote p {
    margin: 0 0 20px;
    flex: 1;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.mad-client-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 10px;
    background: rgba(217, 217, 217, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.mad-revamp .mad-client-play,
.mad-revamp .mad-client-play.play-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 41px !important;
    height: 41px !important;
    min-width: 41px;
    min-height: 41px;
    padding: 0 !important;
    border: 0;
    border-radius: 10px;
    background: #f47a14 !important;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
}

.mad-revamp .mad-client-play img {
    width: 10px !important;
    height: 14px !important;
    max-width: 10px !important;
    max-height: 14px !important;
    margin: 0 !important;
    display: block;
    object-fit: contain;
}

.mad-client-meta .avatar {
    width: 55px;
    height: 55px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.mad-client-meta .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mad-client-info {
    min-width: 0;
}

.mad-client-info .name,
.mad-client-info .role {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mad-client-media {
    position: relative;
    flex: 0 0 280px;
    width: 280px;
    max-width: 42%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
}

.mad-client-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .mad-clients-head {
        flex-direction: row;
        align-items: flex-start;
    }

    .mad-clients-head h2 {
        font-size: 54px;
        line-height: 60px;
        letter-spacing: -1.62px;
    }

    .mad-clients-copy p {
        font-size: 15px;
        line-height: 26px;
    }

    .mad-client-pair {
        flex-direction: row;
        align-items: stretch;
        gap: 24px;
    }

    .mad-client-quote {
        padding: 24px 20px 16px;
    }

    .mad-client-quote p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-client-info .name,
    .mad-client-info .role {
        font-size: 16px;
        line-height: 24px;
    }

    .mad-client-media {
        flex: 0 0 280px;
        width: 280px;
        max-width: 42%;
        height: 420px;
    }
}

/* ========== 13. Pricing ========== */
.mad-pricing {
    background: #fafbfc;
    padding: 100px 0 64px;
}

.mad-pricing-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.mad-pricing-head h2 {
    margin: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -1.62px;
    color: #314252;
}

.mad-pricing-head h2 .mad-orange {
    color: #f47a1f;
}

.mad-pricing-head p {
    margin: 16px auto 0;
    max-width: 720px;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #314252;
    opacity: 0.5;
}

.mad-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    padding-top: 24px;
}

.mad-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    padding: 36px 28px 28px;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.mad-price-card.is-featured {
    border: 2px solid #f47a1f;
    padding: 35px 27px 27px;
    min-height: 0;
    box-shadow: 0 12px 35px rgba(255, 87, 34, 0.12);
    transform: none;
}

.mad-price-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #f47a1f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 16px;
    text-transform: uppercase;
    padding: 6.5px 20px;
    border-radius: 9999px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.mad-price-top {
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
    padding-bottom: 32px;
}

.mad-price-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.mad-price-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #eef2f6;
    border-radius: 14px;
}

.mad-price-icon img {
    display: block;
    width: auto;
    height: auto;
    max-width: 24px;
    max-height: 24px;
}

.mad-price-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.mad-price-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #314252;
    text-transform: uppercase;
    white-space: normal;
}

.mad-price-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #eef2f6;
    border-radius: 9999px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
}

.mad-price-amount {
    margin-top: 10px;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: -0.5px;
    color: #314252;
}

.mad-price-desc {
    margin: 0;
    padding-bottom: 16px;
    color: #5a6578;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}

.mad-price-divider {
    width: 100%;
    height: 1px;
    background: #f3f4f6;
}

.mad-price-features {
    list-style: none;
    margin: 0;
    padding: 21px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mad-price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #314252;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
}

.mad-price-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: #f47a1f;
    border-radius: 9999px;
}

.mad-price-check img {
    display: block;
    width: 12px;
    height: 12px;
}

.mad-price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -1px;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.mad-price-btn--outline {
    border: 2px solid #314252;
    background: transparent;
    color: #314252;
}

.mad-price-btn--outline:hover {
    background: #314252;
    color: #fff;
}

.mad-price-btn--primary {
    border: 0;
    background: #f47a1f;
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mad-price-btn--primary:hover {
    opacity: 0.92;
    color: #fff;
}

.mad-pricing-note {
    margin: 48px 0 0;
    text-align: center;
    color: #5a6578;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
}

/* ========== 14. Awards ========== */
.mad-awards {
    background: #011020;
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.mad-awards-head {
    text-align: center;
    max-width: 1043px;
    margin: 0 auto 24px;
}

.mad-awards-head h2 {
    margin: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -1.62px;
    color: #fff;
}

.mad-awards-head h2 .mad-orange {
    color: #f47a1f;
}

.mad-awards-head p {
    margin: 20px auto 0;
    max-width: 1043px;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
    color: #fff;
}

.mad-awards-slider-wrap {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 12px 0;
}

.mad-awards-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -48%);
    width: min(1444px, 96%);
    height: auto;
    max-width: none;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.mad-awards-swiper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 28px 0 36px;
}

.mad-awards-swiper .swiper-wrapper {
    align-items: center;
}

.mad-awards-swiper .swiper-slide {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.mad-award-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 291px;
    height: 300px;
    margin: 0 auto;
    padding: 50px 25px;
    background: #17252f;
    border-radius: 25px;
    transform: scale(0.78);
    transform-origin: center center;
    opacity: 0.4;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mad-awards-swiper .swiper-slide-prev .mad-award-card,
.mad-awards-swiper .swiper-slide-next .mad-award-card {
    transform: scale(0.88);
    opacity: 0.7;
    background: #17252f;
}

.mad-awards-swiper .swiper-slide-active .mad-award-card {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
    background: #17252f;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.mad-award-year {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    text-align: right;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
}

.mad-award-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-height: 137px;
}

.mad-award-logo a {
    display: inline-flex;
    line-height: 0;
}

.mad-award-logo img {
    display: block;
    width: 139px;
    height: 137px;
    max-width: 100%;
    object-fit: contain;
}

/* ========== 15. Why ========== */
.mad-why {
    position: relative;
    color: #fff;
    padding: 100px 0;
    background: #051827 url("../images/mobile-app-development-revamp/why/bg.png") center / cover no-repeat;
    overflow: hidden;
}

.mad-why::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-76.66deg,
            rgba(1, 16, 32, 0.88) 18.34%,
            rgba(1, 16, 32, 0.8) 41.6%,
            rgb(1, 16, 32) 80.75%);
    pointer-events: none;
}

.mad-why .container {
    position: relative;
    z-index: 1;
}

.mad-why-head {
    text-align: left;
    max-width: 1144px;
    margin: 0 0 48px;
}

.mad-why-head h2 {
    margin: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -0.54px;
    color: #fff;
}

.mad-why-head h2 .mad-orange {
    color: #f47a1f;
}

.mad-why-head p {
    margin: 24px 0 0;
    max-width: 1010px;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #fff;
}

.mad-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 31px;
    justify-content: flex-start;
}

.mad-why-card {
    position: relative;
    min-height: 292px;
    padding: 52px 42px 36px 36px;
    background: #051827;
    border: 1px solid #f47a1f;
    border-radius: 20px;
}

.mad-why-check {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 33px;
    height: 33px;
    max-width: 33px;
    max-height: 33px;
    display: block;
}

.mad-why-card h3 {
    margin: 0 0 14px;
    padding-right: 40px;
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -1.04px;
    color: #efefef;
}

.mad-why-card h3::before {
    content: none;
}

.mad-why-card p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.72px;
    color: #fff;
}

/* ========== 16. Innovations ========== */
.mad-innovations {
    background: #fff;
    padding: 100px 0;
}

.mad-innovations-head {
    text-align: center;
    max-width: 910px;
    margin: 0 auto 24px;
}

.mad-innovations-head h2 {
    margin: 0;
    font-size: 52px;
    font-weight: 700;
    line-height: 63px;
    letter-spacing: -2px;
    color: #314252;
}

.mad-innovations-head h2 .mad-orange {
    color: #f47a1f;
}

.mad-innovations-head p {
    margin: 20px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
    color: #212529;
}

.mad-innovations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.mad-innovation-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 414px;
    padding: 50px 30px;
    background: #f9f9f9;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

.mad-innovation-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
}

.mad-innovation-icon img {
    display: block;
    width: 70px;
    height: 70px;
    max-width: 70px;
    object-fit: contain;
}

.mad-innovation-card h3 {
    margin: 0 0 0;
    min-height: 40px;
    font-size: 25px;
    font-weight: 600;
    line-height: 40px;
    color: #314252;
}

.mad-innovation-card h3 a {
    color: inherit;
    text-decoration: none;
}

.mad-innovation-card h3 a:hover {
    color: #f47a1f;
}

.mad-innovation-card p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #898989;
}

/* ========== 17. Contact strip ========== */
.mad-contact-strip {
    background: #fff;
}

.mad-contact-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    border: 1px solid #e6eaee;
    border-radius: 20px;
    padding: 40px;
    background: #fafbfc;
}

.mad-contact-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
}

.mad-contact-box p {
    margin: 0;
    color: var(--mad-muted);
    line-height: 1.65;
}

.mad-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mad-contact-actions a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--mad-dark);
    font-weight: 600;
    font-size: 16px;
}

.mad-contact-actions .circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--mad-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

/* ========== 17 FAQ spacing ========== */
.mad-revamp .faq_loc {
    margin: 0;
}

/* ========== 18 Footer form wrapper ========== */
.mad-revamp .gettouch {
    background: #f5f6f8;
}

.mad-revamp .gettouch h2 {
    font-family: Poppins, sans-serif;
}

.mad-revamp .content_form {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 27, 40, 0.06);
}

/* ========== Media queries ========== */
@media (max-width: 1800px) {
    .mad-banner {
        padding-top: 104px;
    }

    .mad-banner .mad-btn {
        min-height: 44px;
        padding: 10px 22px;
        font-size: 14px;
    }

    .mad-banner .banenr_content h1,
    .mad-portfolio-head h2,
    .mad-process-head h2,
    .mad-tech-head h2,
    .mad-why-head h2,
    .mad-innovations-head h2,
    .mad-pricing-head h2,
    .mad-awards-head h2,
    .mad-industries-head h2,
    .mad-features-head h2,
    .mad-services-intro h2,
    .mad-path-intro h2,
    .mad-usa-copy h2 {
        font-size: 48px;
        line-height: 58px;
        letter-spacing: -1px;
    }

    .mad-cta-bar h2 {
        font-size: 38px;
        line-height: 52px;
    }

    .mad-cta-btn {
        height: 54px;
        padding: 0 34px;
        font-size: 17px;
    }
}

@media (max-height: 900px) and (min-width: 992px) {
    .mad-banner {
        padding-top: 88px;
        padding-bottom: 8px;
    }

    .mad-banner .breadcrumbs_style,
    .mad-banner .mad-banner-crumbs {
        margin-bottom: 8px !important;
    }

    .mad-banner .banenr_content p {
        margin-bottom: 14px;
    }

    .mad-banner-form-card {
        max-width: 400px;
        padding: 14px 18px 12px;
        border-radius: 18px;
    }

    .mad-banner-form-card h3 {
        font-size: 24px;
    }

    .mad-banner-form-card>p {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .mad-banner-form-card .from_item {
        margin-bottom: 5px;
    }

    .mad-banner-form-card .mad-form-message label {
        margin-bottom: 6px;
    }

    .mad-banner-form-card .btn_submit,
    .mad-banner-form-card button[type="submit"] {
        min-height: 38px;
        height: 38px;
        font-size: 14px;
    }

    .mad-banner-form-card .recaptcha-item {
        transform: scale(0.62);
        height: 46px;
    }

    .mad-trusted-logo {
        min-height: 32px;
    }

    .mad-trusted-logo img {
        max-height: 28px;
    }
}

@media (max-width: 1599px) {

    .mad-banner .banenr_content h1,
    .mad-portfolio-head h2,
    .mad-process-head h2,
    .mad-tech-head h2,
    .mad-why-head h2,
    .mad-innovations-head h2,
    .mad-pricing-head h2,
    .mad-awards-head h2,
    .mad-industries-head h2,
    .mad-features-head h2 {
        font-size: 34px;
        line-height: 44px;
        letter-spacing: -0.6px;
    }

    .mad-usa-copy h2 {
        font-size: 30px;
        line-height: 40px;
        letter-spacing: -0.6px;
    }

    .mad-cta-bar h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mad-cta-btn {
        height: 48px;
        padding: 0 24px;
        font-size: 15px;
    }

    .mad-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
    }

    .mad-why-head {
        margin-bottom: 36px;
    }

    .mad-why-head p {
        font-size: 15px;
        line-height: 26px;
    }

    .mad-why-card {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        padding: 36px 28px 28px;
    }

    .mad-why-card h3 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 12px;
    }

    .mad-why-card p {
        font-size: 15px;
        line-height: 26px;
        flex: 0 1 auto;
    }

    .mad-why-check {
        width: 28px;
        height: 28px;
        max-width: 28px;
        max-height: 28px;
        top: 16px;
        right: 18px;
    }

    .mad-innovations-head {
        margin-bottom: 28px;
    }

    .mad-innovations-head p {
        font-size: 15px;
        line-height: 26px;
    }

    .mad-innovations-grid {
        gap: 20px;
        align-items: start;
    }

    .mad-innovation-card {
        height: auto;
        min-height: 0;
        padding: 32px 24px;
    }

    .mad-innovation-icon,
    .mad-innovation-icon img {
        width: 56px;
        height: 56px;
    }

    .mad-innovation-icon {
        margin-bottom: 14px;
    }

    .mad-innovation-card h3 {
        font-size: 20px;
        line-height: 28px;
        min-height: 0;
        margin-bottom: 8px;
    }

    .mad-innovation-card p {
        font-size: 14px;
        line-height: 24px;
        flex: 0 1 auto;
    }

    .mad-pricing-head h2 br {
        display: none;
    }

    .mad-pricing-head p br {
        display: none;
    }

    .mad-price-card h3 {
        font-size: 20px;
        white-space: normal;
    }

    .mad-price-amount {
        font-size: 26px;
    }

    .mad-price-btn {
        font-size: 15px;
        letter-spacing: -0.3px;
    }

    .mad-services-grid {
        gap: 24px;
    }

    .mad-services-intro h2 {
        font-size: 30px;
        line-height: 40px;
    }
}

@media (max-width: 1399px) {

    /* Match 1599 full-viewport banner layout; compact form so logos don't overlap */
    .mad-banner {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow: hidden;
        padding: 96px 0 10px;
        display: flex;
        flex-direction: column;
    }

    .mad-banner>.container {
        height: 100%;
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .mad-banner-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 24px;
        align-items: center;
        flex: 1;
        min-height: 0;
        padding-bottom: 6px;
    }

    .mad-banner .breadcrumbs_style,
    .mad-banner .mad-banner-crumbs {
        margin-bottom: 8px !important;
    }

    .mad-banner .banenr_content h1 {
        font-size: 34px;
        line-height: 44px;
        letter-spacing: -0.6px;
        margin-bottom: 12px;
    }

    .mad-banner .banenr_content p {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 16px;
    }

    .mad-banner-ctas {
        gap: 12px;
    }

    .mad-banner .mad-btn {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .mad-banner-form-card {
        max-width: 360px;
        padding: 12px 14px 10px;
        border-radius: 16px;
    }

    .mad-banner-form-card h3 {
        font-size: 20px;
        line-height: 1.15;
        margin-bottom: 2px;
    }

    .mad-banner-form-card>p {
        margin-bottom: 4px;
        font-size: 11px;
        line-height: 15px;
    }

    .mad-banner-form-card .from_item {
        margin-bottom: 3px;
    }

    .mad-banner-form-card .from_item label {
        font-size: 10px;
        line-height: 12px;
    }

    .mad-banner-form-card .mad-form-row {
        gap: 10px;
    }

    .mad-banner-form-card .banner_form_inner .form-control,
    .mad-banner-form-card .banner_form_inner select,
    .mad-banner-form-card .banner_form_inner textarea,
    .mad-banner-form-card .mad-custom-select-trigger {
        font-size: 11px !important;
        padding: 1px 0 4px !important;
        line-height: 1.15 !important;
    }

    .mad-banner-form-card .banner_form_inner textarea {
        min-height: 22px !important;
    }

    .mad-banner-form-card .mad-form-message {
        margin-bottom: 2px;
    }

    .mad-banner-form-card .mad-form-message label {
        margin-bottom: 2px;
    }

    .mad-banner-form-card .btn_submit,
    .mad-banner-form-card button[type="submit"] {
        min-height: 36px;
        height: 36px;
        font-size: 13px;
        margin-top: 0;
        border-radius: 999px;
    }

    .mad-banner-form-card .recaptcha-item {
        transform: scale(0.55);
        transform-origin: left top;
        height: 40px;
        margin-bottom: 2px;
    }

    .mad-banner-form-card .mad-custom-select-menu {
        max-height: 160px;
    }

    .mad-banner-form-card .mad-custom-select-option {
        font-size: 12px;
        padding: 7px 10px;
    }

    .mad-trusted {
        margin-top: auto;
        padding: 8px 0 4px;
        flex-shrink: 0;
    }

    .mad-trusted-row {
        gap: 18px;
        min-height: 48px;
    }

    .mad-trusted-logo {
        min-height: 36px;
    }

    .mad-trusted-logo img {
        max-height: 32px;
    }

    .mad-trusted-logo.mad-logo-shield img {
        max-height: 40px;
    }

    .mad-usa-copy h2 {
        font-size: 30px;
        line-height: 40px;
        letter-spacing: -0.6px;
        margin-bottom: 14px;
    }

    .mad-usa-copy p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-usa-panel {
        padding: 28px 22px 24px;
    }

    .mad-usa-top {
        gap: 22px;
        margin-bottom: 22px;
    }

    .mad-rating-card {
        padding: 18px 16px;
        gap: 12px;
    }

    .mad-rating-card strong {
        font-size: 24px;
    }

    .mad-rating-stars img {
        width: 14px;
        height: 14px;
    }

    .mad-rating-logo {
        flex: 0 1 44%;
        min-width: 120px;
        max-width: 180px;
        min-height: 60px;
    }

    .mad-rating-logo img {
        max-width: 170px;
        max-height: 60px;
    }

    .mad-rating-logo--designrush img,
    .mad-rating-logo--goodfirms img {
        max-height: 58px;
    }

    .mad-rating-card span {
        font-size: 12px;
    }

    .mad-cta-strip {
        padding: 56px 0;
    }

    .mad-cta-bar {
        padding: 36px 32px;
        gap: 24px;
    }

    .mad-cta-bar h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .mad-cta-btn {
        height: 48px;
        padding: 0 24px;
        font-size: 15px;
    }

    .mad-process-head {
        margin-bottom: 40px;
    }

    .mad-process-head h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .mad-process-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-process-steps {
        gap: 0 14px;
    }

    .mad-process-step .num {
        font-size: 18px;
    }

    .mad-process-step h4 {
        font-size: 15px;
        line-height: 20px;
    }

    .mad-process-step p {
        font-size: 12px;
        line-height: 18px;
    }

    .mad-process-top {
        min-height: 80px;
        padding-bottom: 16px;
    }

    .mad-process-line,
    .mad-process-shade {
        top: 88px;
    }

    .mad-process-step:nth-child(n + 3)::before {
        top: 108px;
        height: 180px;
    }

    .mad-pricing-head h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .mad-pricing-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-pricing-grid {
        gap: 16px;
    }

    .mad-price-card {
        padding: 28px 20px 20px;
    }

    .mad-price-card.is-featured {
        padding: 27px 19px 19px;
    }

    .mad-price-amount {
        font-size: 26px;
    }

    .mad-industries-head h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .mad-industries-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-industry-card {
        padding: 24px 20px;
    }

    .mad-industry-card h3 {
        font-size: 20px;
    }

    .mad-industry-card p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-services-grid {
        gap: 22px;
    }

    .mad-services-intro h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .mad-services-intro p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-services-cta {
        height: 48px;
        padding: 0 20px;
        font-size: 14px;
    }

    .mad-services-menu {
        padding: 10px 0 10px 18px;
        column-gap: 16px;
    }

    .mad-services-name {
        font-size: 14px;
    }

    .mad-service-detail {
        padding: 28px 22px 22px;
    }

    .mad-service-detail h3 {
        font-size: 20px;
    }

    .mad-service-detail p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-service-icons img {
        height: 40px;
        max-width: 48px;
    }

    .mad-features-head {
        grid-template-columns: 1fr 1fr;
        gap: 20px 28px;
    }

    .mad-features-head h2 {
        font-size: 32px;
        line-height: 42px;
        letter-spacing: -0.8px;
    }

    .mad-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 24px;
    }

    .mad-why {
        padding: 72px 0;
    }

    .mad-why-head h2 {
        font-size: 36px;
        line-height: 46px;
    }

    .mad-why-head p {
        font-size: 15px;
        line-height: 26px;
    }

    .mad-why-grid {
        gap: 18px;
        align-items: start;
    }

    .mad-why-card {
        min-height: 0;
        height: auto;
        padding: 32px 24px 24px;
    }

    .mad-why-card h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .mad-why-card p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-why-check {
        width: 26px;
        height: 26px;
        max-width: 26px;
        max-height: 26px;
        top: 14px;
        right: 16px;
    }

    .mad-innovations {
        padding: 72px 0;
    }

    .mad-innovations-head h2 {
        font-size: 36px;
        line-height: 46px;
    }

    .mad-innovations-head p {
        font-size: 15px;
        line-height: 26px;
    }

    .mad-innovations-grid {
        gap: 16px;
        align-items: start;
    }

    .mad-innovation-card {
        min-height: 0;
        height: auto;
        padding: 28px 20px;
    }

    .mad-innovation-icon,
    .mad-innovation-icon img {
        width: 52px;
        height: 52px;
    }

    .mad-innovation-card h3 {
        font-size: 18px;
        line-height: 26px;
        min-height: 0;
    }

    .mad-innovation-card p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-case-card {
        min-height: 0;
        padding: 28px 24px;
        gap: 20px;
    }

    .mad-case-media {
        max-height: 360px;
    }

    .mad-case-media img {
        max-height: 360px;
    }

    .mad-portfolio-head h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .mad-path-grid {
        gap: 20px;
    }

    .mad-path-intro {
        min-height: 0;
        padding: 32px 22px 22px;
    }

    .mad-path-intro h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mad-path-card {
        min-height: auto;
        padding: 18px 16px 16px;
    }

    .mad-path-card.is-active {
        padding: 17px 15px 15px;
    }

    .mad-path-icon-box {
        width: 56px;
        height: 56px;
    }

    .mad-path-icon-box img {
        width: 26px;
        height: 26px;
    }

    .mad-path-card h3 {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 6px;
    }

    .mad-path-card p {
        font-size: 13px;
        line-height: 20px;
    }

    .mad-tech-head h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .mad-tech-layout {
        grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1.4fr);
        gap: 16px;
    }

    .mad-tech-tabs button {
        font-size: 14px;
        line-height: 20px;
        min-height: 56px;
        padding: 12px 16px;
    }

    .mad-tech-logos {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .mad-tech-logos li {
        min-height: 88px;
        padding: 10px;
    }

    .mad-tech-logos img {
        max-width: 80px;
        max-height: 40px;
    }
}

@media (max-width: 1199px) {
    .mad-revamp .mad-section-pad {
        padding: 80px 0;
    }

    .mad-clients-head h2 {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.8px;
    }

    .mad-clients-copy p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-client-quote p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-client-media {
        flex: 0 0 220px;
        width: 220px;
        max-width: 40%;
        height: 320px;
    }

    .mad-banner {
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: visible;
        padding: 96px 0 24px;
    }

    .mad-banner>.container {
        height: auto;
        flex: none;
    }

    .mad-banner-grid {
        flex: none;
    }

    .mad-trusted {
        margin-top: 24px;
    }

    .mad-trusted-row {
        gap: 18px;
        min-height: 60px;
    }

    .mad-trusted-logo img {
        max-height: 40px;
    }

    .mad-trusted-logo.mad-logo-shield img {
        max-height: 48px;
    }

    .mad-banner-grid,
    .mad-usa-top,
    .mad-path-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mad-banner-form-card {
        max-width: 420px;
        width: 100%;
        margin-left: 0;
        margin-right: auto;
        padding: 16px 18px 14px;
    }

    .mad-path-intro {
        min-height: 0;
        padding: 28px 20px 20px;
    }

    .mad-path-intro h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .mad-path-visual {
        min-height: 180px;
        margin-top: 20px;
    }

    .mad-path-wireframe {
        display: none;
    }

    .mad-path-card {
        min-height: auto;
        padding: 18px 16px 14px;
    }

    .mad-path-card.is-active {
        padding: 17px 15px 13px;
    }

    .mad-path-icon-box {
        width: 48px;
        height: 48px;
    }

    .mad-path-icon-box img {
        width: 22px;
        height: 22px;
    }

    .mad-path-divider {
        display: none;
    }

    .mad-path-card h3 {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 6px;
    }

    .mad-path-card p {
        font-size: 13px;
        line-height: 20px;
    }

    .mad-path-card-main {
        gap: 12px;
    }

    .mad-path-arrow {
        width: 40px;
        height: 40px;
    }

    .mad-path-card-foot a {
        font-size: 13px;
    }

    .mad-banner-form-card {
        max-width: 420px;
        width: 100%;
        margin-left: 0;
        margin-right: auto;
        padding: 16px 18px 14px;
    }

    .mad-services-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 24px 20px;
    }

    .mad-services-intro {
        grid-column: 1 / -1;
        padding-top: 0;
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        gap: 16px 28px;
        align-items: start;
    }

    .mad-services-intro h2 {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.6px;
        margin-bottom: 0;
    }

    .mad-services-intro p {
        grid-column: 1;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 24px;
    }

    .mad-services-cta {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        justify-self: end;
        white-space: normal;
        text-align: center;
        height: auto;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .mad-services-menu {
        padding: 8px 0 8px 16px;
        column-gap: 16px;
        row-gap: 4px;
    }

    .mad-services-num {
        font-size: 16px;
    }

    .mad-services-name {
        font-size: 14px;
        padding-bottom: 6px;
    }

    .mad-service-detail {
        min-height: 480px;
        padding: 28px 22px 22px;
    }

    .mad-service-detail h3 {
        font-size: 20px;
        max-width: 200px;
    }

    .mad-service-icons img {
        height: 40px;
        max-width: 48px;
    }

    .mad-service-detail p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-service-prev-label,
    .mad-service-next-label {
        font-size: 12px;
        line-height: 16px;
    }

    .mad-tech-head {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 28px;
    }

    .mad-tech-head h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mad-tech-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mad-tech-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .mad-tech-tabs button {
        font-size: 13px;
        line-height: 18px;
        padding: 12px 14px;
        min-height: 52px;
    }

    .mad-tech-tabs button.is-active:first-child {
        border-radius: 16px 0 0 0;
    }

    .mad-tech-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .mad-tech-logos li {
        min-height: 90px;
    }

    .mad-tech-logos img {
        max-width: 72px;
        max-height: 36px;
    }

    .mad-features {
        padding: 72px 0 64px;
    }

    .mad-cta-strip--flush+.mad-features {
        padding-top: 72px;
    }

    .mad-features-head {
        grid-template-columns: 1fr;
        margin-bottom: 36px;
    }

    .mad-features-head h2 {
        max-width: none;
        font-size: 32px;
        line-height: 42px;
    }

    .mad-features-head p {
        font-size: 16px;
        line-height: 28px;
    }

    .mad-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
    }

    .mad-cta-strip {
        padding: 48px 0;
    }

    .mad-cta-bar {
        padding: 32px 28px;
        gap: 20px;
    }

    .mad-cta-bar h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .mad-cta-btn {
        width: auto;
        min-width: 0;
        height: 46px;
        font-size: 14px;
        padding: 0 22px;
    }

    .mad-price-card.is-featured {
        transform: none;
    }

    .mad-usa-copy h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mad-usa-copy p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-rating-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .mad-rating-card {
        padding: 14px 12px;
        gap: 10px;
    }

    .mad-rating-card strong {
        font-size: 18px;
    }

    .mad-rating-stars img {
        width: 12px;
        height: 12px;
    }

    .mad-rating-logo {
        flex: 0 1 42%;
        min-width: 100px;
        max-width: 140px;
        min-height: 52px;
    }

    .mad-rating-logo img {
        max-width: 130px;
        max-height: 52px;
    }

    .mad-rating-logo--designrush img,
    .mad-rating-logo--goodfirms img {
        max-height: 50px;
    }

    .mad-rating-card span {
        font-size: 11px;
    }

    .mad-rating-divider {
        min-height: 52px;
    }

    .mad-process-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .mad-process {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .mad-process-line,
    .mad-process-shade {
        display: none;
    }

    .mad-process-step:nth-child(n + 3)::before {
        display: none;
    }

    .mad-process-dot {
        margin: 12px 0 14px;
        box-shadow: none;
    }

    .mad-process-top {
        min-height: 0;
        padding-bottom: 0;
    }

    .mad-process-step h4 {
        font-size: 15px;
        line-height: 20px;
    }

    .mad-process-step .num {
        font-size: 18px;
    }

    .mad-process-step p {
        font-size: 12px;
        line-height: 18px;
    }

    .mad-pricing-grid {
        gap: 14px;
    }

    .mad-price-amount {
        font-size: 24px;
    }

    .mad-price-card h3 {
        font-size: 18px;
    }

    .mad-industries-head h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mad-industry-card {
        padding: 22px 18px;
    }

    .mad-industry-card h3 {
        font-size: 18px;
    }

    .mad-industry-card p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-industry-ico {
        min-height: 40px;
        margin-bottom: 14px;
    }

    .mad-industry-ico img {
        max-width: 48px;
        max-height: 40px;
    }

    .mad-why {
        padding: 64px 0;
    }

    .mad-why-head h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .mad-why-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-why-grid {
        gap: 16px;
        align-items: start;
    }

    .mad-why-card {
        min-height: 0;
        height: auto;
        padding: 28px 20px 22px;
    }

    .mad-why-card h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .mad-why-card p {
        font-size: 14px;
        line-height: 22px;
    }

    .mad-why-check {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
    }

    .mad-innovations {
        padding: 64px 0;
    }

    .mad-innovations-head h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .mad-innovations-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-innovations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: start;
    }

    .mad-innovation-card {
        min-height: 0;
        height: auto;
        padding: 24px 18px;
    }

    .mad-innovation-icon,
    .mad-innovation-icon img {
        width: 48px;
        height: 48px;
    }

    .mad-innovation-card h3 {
        font-size: 17px;
        line-height: 24px;
        min-height: 0;
    }

    .mad-innovation-card p {
        font-size: 13px;
        line-height: 22px;
    }
}

@media (max-width: 991px) {
    .mad-banner {
        padding: 100px 0 16px;
        min-height: 100vh;
        height: auto;
        max-height: none;
    }

    .mad-why {
        padding: 64px 0;
    }

    .mad-why-head {
        margin-bottom: 28px;
    }

    .mad-why-head h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mad-why-head p {
        font-size: 14px;
        line-height: 24px;
        margin-top: 12px;
    }

    .mad-why-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mad-why-card {
        min-height: 0;
        height: auto;
        padding: 24px 20px 20px;
        border-radius: 16px;
    }

    .mad-why-card h3 {
        font-size: 18px;
        line-height: 24px;
        padding-right: 32px;
    }

    .mad-why-card p {
        font-size: 14px;
        line-height: 22px;
    }

    .mad-why-check {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
    }

    .mad-innovations {
        padding: 64px 0;
    }

    .mad-innovations-head {
        margin-bottom: 20px;
    }

    .mad-innovations-head h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .mad-innovations-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-innovations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        align-items: start;
    }

    .mad-innovation-card {
        min-height: 0;
        height: auto;
        padding: 22px 16px;
    }

    .mad-innovation-icon,
    .mad-innovation-icon img {
        width: 44px;
        height: 44px;
    }

    .mad-innovation-icon {
        margin-bottom: 12px;
    }

    .mad-innovation-card h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .mad-innovation-card p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-contact-box {
        padding: 40px 28px;
    }

    .mad-tech-head {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .mad-tech-head h2,
    .mad-portfolio-head h2,
    .mad-process-head h2,
    .mad-industries-head h2,
    .mad-clients-head h2,
    .mad-pricing-head h2,
    .mad-awards-head h2,
    .mad-why-head h2,
    .mad-innovations-head h2,
    .mad-features-head h2,
    .mad-usa-copy h2,
    .mad-path-intro h2,
    .mad-contact-box h2 {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.5px;
    }

    .mad-cta-bar h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .mad-cta-btn {
        height: 46px;
        padding: 0 20px;
        font-size: 14px;
    }

    .mad-tech-sidebar,
    .mad-tech-panels {
        min-height: 0;
    }

    .mad-case-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 24px 20px;
        gap: 20px;
    }

    .mad-case-media {
        order: -1;
        max-height: 280px;
        height: auto;
    }

    .mad-case-media img {
        max-height: 280px;
    }

    .mad-case-body h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .mad-case-body h5 {
        font-size: 16px;
        line-height: 24px;
    }

    .mad-case-body p,
    .mad-case-body li {
        font-size: 14px;
        line-height: 22px;
    }

    .mad-portfolio-head {
        text-align: center;
        margin-bottom: 28px;
    }

    .mad-tech-layout {
        grid-template-columns: 1fr;
    }

    .mad-tech-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .mad-tech-tabs button {
        font-size: 13px;
        line-height: 18px;
        min-height: 48px;
        padding: 12px 14px;
    }

    .mad-tech-tabs button.is-active {
        border-radius: 0;
    }

    .mad-tech-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mad-tech-logos li {
        min-height: 84px;
    }

    .mad-tech-logos img {
        max-width: 70px;
        max-height: 36px;
    }

    .mad-usa-top {
        gap: 20px;
        margin-bottom: 20px;
    }

    .mad-usa-panel {
        padding: 22px 16px 18px;
        border-radius: 20px;
    }

    .mad-usa-map {
        border-radius: 16px;
    }

    .mad-usa-map img {
        border-radius: 16px;
    }

    .mad-rating-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mad-rating-card {
        padding: 18px 16px;
        gap: 14px;
    }

    .mad-rating-card strong {
        font-size: 22px;
    }

    .mad-rating-stars img {
        width: 14px;
        height: 14px;
    }

    .mad-rating-logo {
        flex: 0 1 48%;
        min-width: 130px;
        max-width: 180px;
        min-height: 56px;
    }

    .mad-rating-logo img {
        max-width: 170px;
        max-height: 56px;
    }

    .mad-rating-logo--designrush img,
    .mad-rating-logo--goodfirms img {
        max-height: 54px;
    }

    .mad-rating-divider {
        min-height: 56px;
    }

    .mad-banner-grid {
        flex: 0 1 auto;
        align-items: start;
    }

    .mad-banner-form-card {
        max-width: 100%;
        margin-left: 0;
    }

    .mad-trusted {
        margin-top: 20px;
    }

    .mad-trusted-row {
        display: none;
    }

    .mad-trusted-swiper {
        display: block;
    }

    .mad-services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mad-services-intro {
        display: block;
    }

    .mad-services-intro h2 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 16px;
    }

    .mad-services-intro p {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .mad-services-cta {
        display: inline-flex;
        justify-self: start;
        width: auto;
        max-width: 100%;
        height: 48px;
        padding: 0 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .mad-services-menu {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        min-height: 0;
        height: auto;
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid #e2e8f0;
        column-gap: 16px;
        row-gap: 16px;
    }

    .mad-services-item {
        padding: 4px 0;
    }

    .mad-services-num {
        font-size: 15px;
    }

    .mad-services-name {
        font-size: 14px;
    }

    .mad-service-detail {
        min-height: 0;
        height: auto;
        padding: 28px 22px 22px;
    }

    .mad-service-detail h3 {
        font-size: 20px;
        max-width: none;
    }

    .mad-service-detail p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-service-head {
        margin-bottom: 20px;
    }

    .mad-service-nav {
        padding-top: 24px;
    }

    .mad-process-steps {
        gap: 28px 16px;
    }

    .mad-process {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .mad-process-dot {
        margin: 12px 0 14px;
    }

    .mad-process-head {
        margin-bottom: 36px;
    }

    .mad-process-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-pricing {
        padding: 64px 0 40px;
    }

    .mad-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 28px;
        padding-top: 16px;
    }

    .mad-price-card,
    .mad-price-card.is-featured {
        min-height: 0;
    }

    .mad-price-amount {
        font-size: 24px;
    }

    .mad-price-card h3 {
        font-size: 18px;
    }

    .mad-pricing-note {
        margin-top: 28px;
        font-size: 14px;
    }

    .mad-clients-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mad-client-pair {
        flex-direction: column;
        gap: 24px;
        min-height: 0;
    }

    .mad-client-quote {
        max-width: none;
        width: 100%;
        min-height: 0;
    }

    .mad-client-media {
        flex: none;
        width: 100%;
        max-width: 280px;
        height: 340px;
        margin: 0 auto;
    }

    .mad-industry-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .mad-industry-card h3 {
        font-size: 18px;
    }

    .mad-industry-card p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-industries-head {
        margin-bottom: 28px;
    }

    .mad-industries-head p {
        font-size: 14px;
        line-height: 24px;
    }

    .mad-banner .banenr_content h1 {
        font-size: 28px;
    }

    .mad-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mad-cta-strip {
        padding: 40px 0;
    }

    .mad-cta-bar {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 26px 20px;
        border-radius: 18px;
        gap: 16px;
    }

    .mad-cta-bar h2 {
        max-width: none;
        font-size: 18px;
        line-height: 26px;
    }

    .mad-cta-btn {
        width: auto;
        max-width: 100%;
        height: 44px;
        padding: 0 18px;
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .mad-revamp .mad-section-pad {
        padding: 64px 0;
    }

    .mad-banner .banenr_content h1,
    .mad-portfolio-head h2,
    .mad-process-head h2,
    .mad-tech-head h2,
    .mad-industries-head h2,
    .mad-clients-head h2,
    .mad-pricing-head h2,
    .mad-awards-head h2,
    .mad-why-head h2,
    .mad-innovations-head h2,
    .mad-contact-box h2,
    .mad-features-head h2,
    .mad-usa-copy h2,
    .mad-path-intro h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mad-cta-bar h2 {
        font-size: 18px;
        line-height: 26px;
    }

    .mad-cta-btn {
        height: 44px;
        font-size: 13px;
        padding: 0 18px;
    }

    .mad-why {
        padding: 56px 0;
    }

    .mad-why-head h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mad-why-head p,
    .mad-why-card p {
        font-size: 14px;
        line-height: 22px;
    }

    .mad-why-card {
        min-height: 0;
        height: auto;
        padding: 22px 18px 18px;
    }

    .mad-why-card h3 {
        font-size: 17px;
        line-height: 24px;
    }

    .mad-why-check {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
    }

    .mad-innovations {
        padding: 56px 0;
    }

    .mad-innovations-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mad-innovations-head h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .mad-innovations-head p,
    .mad-innovation-card p {
        font-size: 14px;
        line-height: 22px;
    }

    .mad-innovation-card {
        min-height: 0;
        height: auto;
        padding: 22px 16px;
    }

    .mad-innovation-icon,
    .mad-innovation-icon img {
        width: 44px;
        height: 44px;
    }

    .mad-innovation-card h3 {
        font-size: 17px;
        line-height: 24px;
        min-height: 0;
    }

    .mad-banner-form-card .mad-form-row {
        grid-template-columns: 1fr;
    }

    .mad-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    .mad-process {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .mad-process-step .num {
        font-size: 16px;
    }

    .mad-process-step h4 {
        font-size: 14px;
        line-height: 18px;
    }

    .mad-process-step p {
        font-size: 12px;
        line-height: 18px;
    }

    .mad-process-dot {
        width: 18px;
        height: 18px;
        margin: 12px 0 14px;
    }

    .mad-price-amount {
        font-size: 22px;
    }

    .mad-price-card {
        padding: 28px 18px 20px;
    }

    .mad-price-icon {
        width: 40px;
        height: 40px;
    }

    .mad-industry-card h3 {
        font-size: 17px;
    }

    .mad-industry-ico img {
        max-width: 44px;
        max-height: 36px;
    }

    .mad-tech-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .mad-path-card {
        min-height: auto;
        padding: 18px 16px 16px;
        position: relative;
    }

    .mad-path-card.is-active {
        padding: 17px 15px 15px;
    }

    .mad-path-card-top {
        display: block;
        position: relative;
        padding-right: 52px;
    }

    .mad-path-card-main {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
    }

    .mad-path-num-icon {
        gap: 12px;
    }

    .mad-path-divider {
        display: none;
    }

    .mad-path-copy {
        width: 100%;
        padding-right: 0;
    }

    .mad-path-card h3 {
        font-size: 17px;
        line-height: 24px;
        margin-bottom: 8px;
    }

    .mad-path-card p {
        font-size: 14px;
        line-height: 22px;
    }

    .mad-path-icon-box {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .mad-path-icon-box img {
        width: 26px;
        height: 26px;
    }

    .mad-path-arrow {
        position: absolute;
        top: 0;
        right: 0;
        width: 42px;
        height: 42px;
    }

    .mad-path-arrow img {
        width: 18px;
        height: 18px;
    }

    .mad-path-card-foot {
        margin-top: 14px;
        padding-top: 0;
        justify-content: flex-start;
    }

    .mad-path-card-foot a {
        font-size: 13px;
        line-height: 20px;
    }

    .mad-banner-form-card {
        max-width: 100%;
        margin-left: 0;
        padding: 24px 20px;
    }

    .mad-banner-form-card h3 {
        font-size: 28px;
    }

    .mad-contact-box {
        padding: 28px 20px;
    }
}

@media (max-width: 574px) {
    .mad-banner .banenr_content h1 {
        font-size: 28px;
    }

    .mad-banner-ctas {
        flex-direction: column;
    }

    .mad-banner-ctas .mad-btn {
        width: 100%;
    }

    .mad-features-grid,
    .mad-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .mad-cta-strip--flush {
        margin-bottom: 0;
        padding-bottom: 28px;
    }

    .mad-cta-strip--flush+.mad-features {
        padding-top: 56px;
    }

    .mad-features {
        padding: 56px 0 48px;
    }

    .mad-features-head h2 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.5px;
    }

    .mad-feature-card {
        min-height: 160px;
        padding: 20px 12px;
    }

    .mad-feature-card h4 {
        font-size: 15px;
        line-height: 22px;
    }

    .mad-process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mad-process-step {
        padding: 0;
        border-left: 2px solid rgba(244, 122, 31, 0.35);
        padding-left: 18px;
    }

    .mad-process-dot {
        position: absolute;
        left: -9px;
        top: 8px;
        width: 16px;
        height: 16px;
        margin: 0;
    }

    .mad-process-step .num {
        font-size: 16px;
    }

    .mad-process-step h4 {
        font-size: 15px;
        line-height: 20px;
        max-width: none;
    }

    .mad-process-step p {
        font-size: 12px;
        line-height: 18px;
    }

    .mad-path-card {
        padding: 16px 14px 14px;
    }

    .mad-path-card.is-active {
        padding: 15px 13px 13px;
    }

    .mad-path-card-top {
        padding-right: 48px;
    }

    .mad-path-num {
        font-size: 16px;
        line-height: 22px;
    }

    .mad-path-icon-box {
        width: 48px;
        height: 48px;
    }

    .mad-path-icon-box img {
        width: 22px;
        height: 22px;
    }

    .mad-path-card h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .mad-path-card p {
        font-size: 13px;
        line-height: 20px;
    }

    .mad-path-arrow {
        width: 40px;
        height: 40px;
    }

    .mad-cta-strip {
        padding: 32px 0;
    }

    .mad-cta-bar {
        padding: 22px 16px;
        border-radius: 16px;
        gap: 14px;
    }

    .mad-cta-bar h2 {
        font-size: 16px;
        line-height: 24px;
    }

    .mad-cta-btn {
        height: 42px;
        font-size: 13px;
        padding: 0 16px;
        letter-spacing: -0.2px;
    }

    .mad-usa-copy h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .mad-usa-copy p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-rating-card strong {
        font-size: 18px;
    }

    .mad-price-amount {
        font-size: 20px;
        line-height: 26px;
    }

    .mad-pricing-head h2,
    .mad-industries-head h2,
    .mad-process-head h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .mad-industry-card {
        padding: 18px 16px;
    }

    .mad-industry-card h3 {
        font-size: 16px;
    }

    .mad-industry-card p {
        font-size: 12px;
        line-height: 20px;
    }

    .mad-path-intro {
        min-height: 0;
        padding: 36px 22px 28px;
        border-radius: 24px;
    }

    .mad-path-intro h2 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.5px;
    }

    .mad-path-intro p {
        font-size: 16px;
        line-height: 26px;
    }

    .mad-path-visual {
        min-height: 200px;
        margin-top: 20px;
    }

    .mad-path-wireframe--left,
    .mad-path-wireframe--right {
        display: none;
    }

    .mad-path-phone {
        width: 140px;
        height: 196px;
        border-radius: 22px;
        padding: 8px;
    }

    .mad-path-phone-copy p {
        font-size: 14px;
        line-height: 20px;
    }

    .mad-path-card h3 {
        font-size: 15px;
        line-height: 22px;
    }

    .mad-path-card p {
        font-size: 13px;
        line-height: 20px;
    }

    .mad-path-card-foot a {
        font-size: 15px;
    }

    .mad-services-menu {
        grid-template-columns: 1fr;
        row-gap: 12px;
        display: none;
    }

    .mad-services-item {
        max-width: none;
    }

    .mad-services-name {
        max-width: none;
        font-size: 15px;
    }

    .mad-services-intro h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .mad-services-cta {
        width: 100%;
        white-space: normal;
        height: auto;
        min-height: 48px;
        padding: 12px 18px;
    }

    .mad-service-icons {
        display: none;
    }

    .mad-service-head {
        margin-bottom: 20px;
    }

    .mad-service-detail h3 {
        font-size: 18px;
    }

    .mad-service-nav {
        padding-top: 24px;
    }

    .mad-service-prev-label,
    .mad-service-next-label {
        font-size: 12px;
    }

    .mad-case-media {
        max-height: 220px;
    }

    .mad-case-media img {
        max-height: 220px;
    }

    .mad-why-grid {
        gap: 12px;
    }

    .mad-why {
        padding: 48px 0;
    }

    .mad-why-head {
        margin-bottom: 20px;
    }

    .mad-why-head h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .mad-why-head p,
    .mad-why-card p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-why-card {
        min-height: 0;
        height: auto;
        padding: 20px 16px 16px;
        border-radius: 14px;
    }

    .mad-why-card h3 {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 8px;
        padding-right: 28px;
    }

    .mad-why-check {
        width: 20px;
        height: 20px;
        max-width: 20px;
        max-height: 20px;
        top: 12px;
        right: 14px;
    }

    .mad-innovations {
        padding: 48px 0;
    }

    .mad-innovations-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mad-innovations-head {
        margin-bottom: 16px;
    }

    .mad-innovations-head h2 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.4px;
    }

    .mad-innovations-head p,
    .mad-innovation-card p {
        font-size: 13px;
        line-height: 22px;
    }

    .mad-innovation-card {
        min-height: 0;
        height: auto;
        padding: 18px 14px;
    }

    .mad-innovation-icon,
    .mad-innovation-icon img {
        width: 40px;
        height: 40px;
    }

    .mad-innovation-icon {
        margin-bottom: 10px;
    }

    .mad-innovation-card h3 {
        font-size: 16px;
        line-height: 22px;
        min-height: 0;
    }

    .mad-feature-card,
    .mad-industry-card {
        padding: 20px 16px;
    }
}