/* =====================================================
   MAD HOME PAGE — FULL CSS
   Sections: Hero | MAD Model | Web & Digital Work
   All sections use 100px L/R padding (from global style.css)
   Containers are full-width divs inside sections
===================================================== */



.mad-home {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 100vh;
    overflow: clip;

    /* The full-page background is defined once in style.css on body. */
    background: transparent;
}

/* Every section added inside .mad-home automatically shows the same
   continuous site background unless a section intentionally overrides it. */
.mad-home > section {
    position: relative;
    z-index: 1;
    background-color: transparent;
    background-image: none;
}

/* =====================================================
   HERO SECTION
===================================================== */

.mad-hero {
    position: relative;
    min-height: calc(100vh - 66px);
    overflow: hidden;

    display: flex;
    align-items: center;

    background: transparent;
}

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

.mad-hero__container {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: calc(100vh - 66px);

    display: grid;

    grid-template-columns:
        minmax(420px, 0.82fr)
        minmax(0, 1.45fr);

    align-items: center;
    gap: 10px;

    padding-top: 20px;
    padding-bottom: 54px;
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.mad-hero__content {
    position: relative;
    z-index: 10;

    max-width: 570px;
}


.mad-section-label {
    width: fit-content;

    margin-bottom: 26px;
    padding: 8px 11px 7px;

    display: inline-flex;
    align-items: center;

    border: 1px solid #8B5CF6;
    border-radius: 5px;

    color: #8B5CF6;
    background: rgba(83, 45, 134, 0.14);

    box-shadow:
        inset 0 0 16px rgba(134, 64, 255, 0.12),
        0 0 12px rgba(134, 64, 255, 0.08);

    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}



.mad-hero__title {
    max-width: 430px;
    margin: 0 0 20px;
    font-family: "Inter", sans-serif; /* or your heading font */
    font-size: 45px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #F8FAFC;
}

.mad-hero__title span {

    background: linear-gradient(
        45deg,
        #A78BFA 0%,
        #F472B6 50%,
        #60A5FA 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: transparent;
}


.mad-hero__intro {
    max-width: 435px;
    margin: 0 0 15px;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}


.mad-hero__description {
    max-width: 430px;
    margin: 0 0 15px;

    color: #94A3B8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.62;
}


.mad-hero__statement {
    margin: 0 0 20px;

    color: #F8FAFC;

    font-family: "Courier New", monospace;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}


.mad-hero__statement span {
    color: #D946EF;
}


/* =====================================================
   BUTTONS
===================================================== */

.mad-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}


.mad-hero__actions .mad-button {
    min-width: 132px;
    min-height: 46px;
}


/* =====================================================
   RIGHT VISUAL
===================================================== */

.mad-hero__visual {
    --orbit-size: 400px;
    --orbit-radius: 200px;

    position: relative;
    width: 100%;
    min-height: 560px;

    align-self: stretch;
    isolation: isolate;
}


/* Soft glow behind visual */

.mad-hero__visual::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 52%;
    z-index: 0;

    width: 560px;
    height: 560px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(105, 39, 164, 0.18) 0%,
        rgba(87, 29, 143, 0.08) 42%,
        transparent 72%
    );

    transform: translate(-50%, -50%);

    pointer-events: none;
}


/* Bottom fade */

.mad-hero__visual::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    z-index: 8;

    height: 130px;

 
    pointer-events: none;
}


/* =====================================================
   MAD BALL
===================================================== */

.mad-hero__ball {
    position: absolute;

    top: 49%;
    left: 49%;
    z-index: 1;

    display: block;

    width: 430px;
    max-width: 58%;
    height: auto;

    object-fit: contain;

    opacity: 0.48;

    transform: translate(-50%, -50%);

    filter:
        blur(0.2px)
        drop-shadow(0 0 34px rgba(110, 47, 179, 0.22));

    pointer-events: none;
    user-select: none;
}


/* =====================================================
   HUMMINGBIRD
===================================================== */

.mad-hero__bird {
    position: absolute;

    top: 49%;
    right: 0px;
    z-index: 3;

    display: block;

    width: 106%;
    max-width: 900px;
    height: auto;

    object-fit: contain;
    object-position: center right;

    transform: translateY(-50%);

    pointer-events: none;
    user-select: none;
}


/* =====================================================
   ROTATING ORBIT
===================================================== */

.mad-hero__orbit {
    position: absolute;

    top: 50%;
    left: 52%;
    z-index: 2;

    width: var(--orbit-size);
    height: var(--orbit-size);

    border: none;
    border-radius: 50%;

    transform: translate(-50%, -50%);

    animation: madOrbitRotation 22s linear infinite;
}


/* =====================================================
   ORBIT ITEMS
===================================================== */

.mad-hero__orbit-item {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 0;
    height: 0;
}



/* Web and Digital */

.mad-hero__orbit-item--web {
    transform:
        rotate(-126deg)
        translateX(var(--orbit-radius))
        rotate(126deg);
}


/* Custom Software */

.mad-hero__orbit-item--custom {
    transform:
        rotate(110deg)
        translateX(var(--orbit-radius))
        rotate(-110deg);
}


/* Social and PR */

.mad-hero__orbit-item--social {
    transform:
        rotate(12deg)
        translateX(var(--orbit-radius))
        rotate(-12deg);
}




/* =====================================================
   ROTATION ANIMATIONS
===================================================== */

@keyframes madOrbitRotation {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

}


@keyframes madTagCounterRotation {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(-360deg);
    }

}


/* Pause rotation on hover */

.mad-hero__visual:hover .mad-hero__orbit,
.mad-hero__visual:hover .mad-hero__tag {
    /* animation-play-state: paused; */
}





/* =====================================================
   SERVICE LABELS
===================================================== */

.mad-hero__tag {
    position: absolute;

    top: 0;
    left: 0;

    min-height: 40px;
    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    border: 1px solid rgba(139, 90, 255, 0.25);
    border-radius: 999px;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(18, 14, 32, 0.96),
            rgba(10, 8, 21, 0.93)
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 12px 36px rgba(5, 0, 20, 0.45),
        inset 0 0 20px rgba(133, 72, 255, 0.05);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;

    /* Base translate + counter-rotation animation */
    transform: translate(-50%, -50%);
    animation: madTagCounterRotation 22s linear infinite;
}

.mad-hero__tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9d5cff;
    font-family: "Courier New", monospace;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}


/* Rotation is driven by JavaScript (mad-orbit.js).
   CSS @keyframes and animation properties have been removed.
   Hover-pause is also handled in JS. */


/* =====================================================
   PAGINATION DOTS
===================================================== */

.mad-hero__pagination {
    position: fixed;

    top: 50%;
    right: 39px;
    z-index: 99;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;

    transform: translateY(-50%);
}


.mad-hero__pagination span {
    display: block;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: all 0.3s ease;
}


.mad-hero__pagination span.is-active {
    width: 10px;
    height: 10px;

    border: 1px solid #ffffff;

    background: #d82ae9;

    box-shadow:
        0 0 10px rgba(216, 42, 233, 0.65);
}


/* =====================================================
   LARGE DESKTOP
===================================================== */

@media (min-width: 1200px) {

    .mad-hero__bird {
        right: 70px;
        width: 93%;
        max-width: 954px;
    }


    .mad-hero__ball {
        left: 50%;
        width: 440px;
    }


    .mad-hero__orbit {
        left: 51%;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .mad-hero__container {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        gap: 20px;
    }


    .mad-hero__visual {
        --orbit-size: 410px;
        --orbit-radius: 205px;

        min-height: 500px;
    }


    .mad-hero__visual::before {
        left: 51%;

        width: 480px;
        height: 480px;
    }


    .mad-hero__ball {
        left: 50%;

        width: 360px;
        max-width: 62%;
    }


    .mad-hero__bird {
        right: -50px;

        width: 112%;
        max-width: 720px;
    }


    .mad-hero__orbit {
        left: 51%;
    }


    .mad-hero__tag {
        min-height: 50px;
        padding: 0 22px;
        font-size: 14px;
    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .mad-hero {
        min-height: auto;
        align-items: flex-start;
    }

    .mad-hero__container {
        min-height: auto;

        display: grid;
        grid-template-columns: 1fr;
        gap: 34px;

        padding-top: 50px;
        padding-bottom: 70px;
    }

    /* Show right visual first */
    .mad-hero__visual {
        order: 1;

        --orbit-size: min(360px, 82vw);
        --orbit-radius: min(180px, 41vw);

        min-height: 430px;
    }

    /* Show left content after visual */
    .mad-hero__content {
        order: 2;
        max-width: 100%;
    }

    .mad-hero__title,
    .mad-hero__intro,
    .mad-hero__description {
        max-width: 100%;
    }

    .mad-hero__title {
       font-size: 30px;
    }


    .mad-hero__visual::before {
        top: 50%;
        left: 50%;

        width: min(410px, 95vw);
        height: min(410px, 95vw);
    }

    .mad-hero__ball {
        top: 50%;
        left: 50%;

        width: min(320px, 72vw);
        max-width: none;

        transform: translate(-50%, -50%);
    }

    .mad-hero__bird {
        top: 50%;
        right: auto;
        left: 50%;

        width: min(620px, 120vw);
        max-width: none;

        object-position: center;

        transform: translate(-50%, -50%);
    }

    .mad-hero__orbit {
        top: 50%;
        left: 50%;
    }

    .mad-hero__tag {
        min-height: 43px;
        padding: 0 16px;
        gap: 8px;
        font-size: 12px;
    }

    .mad-hero__tag-icon {
        font-size: 15px;
    }

    .mad-hero__pagination {
        display: none;
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .mad-hero__visual {
        --orbit-size: min(300px, 78vw);
        --orbit-radius: min(150px, 39vw);

        min-height: 380px;
    }


    .mad-hero__visual::before {
        width: min(360px, 94vw);
        height: min(360px, 94vw);
    }


    .mad-hero__ball {
        width: min(270px, 70vw);
    }


    .mad-hero__bird {
        width: min(540px, 128vw);
    }


    .mad-hero__tag {
        min-height: 38px;
        padding: 0 12px;
        font-size: 10px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .mad-hero__orbit,
    .mad-hero__tag {
        animation: none;
    }
}


/*-----------------------------------------------------------------------------------------------------------*/

/* =====================================================
   THE MAD MODEL SECTION
===================================================== */

.mad-model {
    position: relative;
    overflow: hidden;
    background: transparent;
}
.mad-model__container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.mad-model__header {
    margin-bottom: 38px;
}

.mad-model__header .mad-section-label {
    margin-bottom: 25px;
}

.mad-model__title {
    margin: 0 0 25px;
}

.mad-model__title span {
    background: linear-gradient(
        45deg,
        #A78BFA 0%,
        #F472B6 50%,
        #60A5FA 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.mad-model__description {
    margin-bottom: 24px;
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.mad-model__statement {
    color: #F8FAFC;
    font-family: "Courier New", monospace;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.mad-model__statement span {
    color: #D946EF;
}

.mad-model__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    padding: 0 100px;
}

.mad-model-card {
    min-height: 405px;
    padding: 27px 27px 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(109, 40, 217, 0.15);
    border-radius: 16px;
    background: rgba(14, 11, 28, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 0 40px rgba(70, 25, 100, 0.04),
        0 18px 55px rgba(0, 0, 0, 0.16);
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-model-card:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 82, 255, 0.52);
    box-shadow:
        inset 0 0 45px rgba(90, 28, 130, 0.06),
        0 24px 65px rgba(0, 0, 0, 0.26);
}

.mad-model-card__icon {
    position: relative;
    width: 54px;
    height: 54px;
    margin-bottom: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;


    box-shadow:
        inset 0 0 18px rgba(139, 92, 246, 0.05),
        0 8px 22px rgba(0, 0, 0, 0.28);

    overflow: hidden;
    flex-shrink: 0;
}

.mad-model-card__icon::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 5px;

    border-radius: 50%;
    background: rgba(139, 92, 246, 0.45);
    filter: blur(5px);
    opacity: 0.55;

    pointer-events: none;
}

.mad-model-card__icon img {
    position: relative;
    z-index: 2;

    width: 30px;
    height: 30px;

    display: block;
    object-fit: contain;

    filter:
        drop-shadow(0 0 5px rgba(139, 92, 246, 0.65))
        drop-shadow(0 0 10px rgba(139, 92, 246, 0.25));
}

.mad-model-card--purple .mad-model-card__icon {
    border-color: rgba(139, 92, 246, 0.30);
    background: rgba(76, 29, 149, 0.14);
}

.mad-model-card--purple .mad-model-card__icon img {
    filter:
        drop-shadow(0 0 5px rgba(139, 92, 246, 0.70))
        drop-shadow(0 0 10px rgba(139, 92, 246, 0.30));
}


.mad-model-card--pink .mad-model-card__icon {
    border-color: rgba(217, 70, 239, 0.30);
    background: rgba(134, 25, 143, 0.14);
}

.mad-model-card--pink .mad-model-card__icon::after {
    background: rgba(217, 70, 239, 0.45);
}

.mad-model-card--pink .mad-model-card__icon img {
    filter:
        drop-shadow(0 0 5px rgba(217, 70, 239, 0.70))
        drop-shadow(0 0 10px rgba(217, 70, 239, 0.30));
}

.mad-model-card--blue .mad-model-card__icon {
    border-color: rgba(59, 130, 246, 0.30);
    background: rgba(30, 64, 175, 0.14);
}

.mad-model-card--blue .mad-model-card__icon::after {
    background: rgba(59, 130, 246, 0.45);
}

.mad-model-card--blue .mad-model-card__icon img {
    filter:
        drop-shadow(0 0 5px rgba(59, 130, 246, 0.70))
        drop-shadow(0 0 10px rgba(59, 130, 246, 0.30));
}


.mad-model-card__title {
    margin-bottom: 12px;
    color: #F8FAFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.mad-model-card__description {
    min-height: 44px;
    margin-bottom: 10px;
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}


.mad-model-card__list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mad-model-card__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.mad-model-card__check {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
}

.mad-model-card__check img {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}

.mad-model-card__footer {
    margin-top: auto;
    padding-top: 24px;
}

.mad-model-card__link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F8FAFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.mad-model-card__link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.mad-model-card__link:hover,
.mad-model-card__link:focus-visible {
    color: #D55CFF;
    gap: 12px;
    text-decoration: none;
}


.mad-model__bottom {
    min-height: 77px;
    margin-top: 34px;
    padding: 18px 36px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 13px;

    /* Left: #0E0B1C at 50%
       Right: #1A1533 at 20% */
    background: linear-gradient(
        90deg,
        rgba(14, 11, 28, 0.50) 0%,
        rgba(26, 21, 51, 0.20) 100%
    );

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}


/* Bottom image icon wrapper */

.mad-model__bottom-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
}

/* Bottom image */

.mad-model__bottom-icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.mad-model__bottom-text {
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}


/* =====================================================
   TABLET RESPONSIVE
===================================================== */

@media (max-width: 1024px) {

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

    .mad-model-card:last-child {
        grid-column: 1 / -1;
    }
}


/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 767px) {

    .mad-model__header {
        margin-bottom: 30px;
    }

    .mad-model__header .mad-section-label {
        margin-bottom: 18px;
    }

    .mad-model__title {
        margin-bottom: 20px;
    }

    .mad-model__description {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

    .mad-model__statement {
        font-size: 16px;
    }

    .mad-model__grid {
        grid-template-columns: 1fr;
        gap: 20px;
         padding: 0 10px;
    }

    .mad-model-card,
    .mad-model-card:last-child {
        min-height: auto;
        grid-column: auto;
        padding: 24px 22px;
    }

    .mad-model-card__icon {
        margin-bottom: 25px;
    }

    .mad-model-card__title {
        font-size: 18px;
    }

    .mad-model-card__description,
    .mad-model-card__item,
    .mad-model-card__link,
    .mad-model__bottom-text {
        font-size: 15px;
    }

    .mad-model__bottom {
        margin-top: 24px;
        padding: 20px;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
    }
}


/* =====================================================
   SMALL MOBILE RESPONSIVE
===================================================== */

@media (max-width: 420px) {

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

    .mad-model-card__icon,
    .mad-model-card__icon img {
        width: 46px;
        height: 46px;
    }

    .mad-model-card__item {
        gap: 8px;
    }

    .mad-model__bottom {
        padding: 18px 16px;
    }

    .mad-model__bottom-icon,
    .mad-model__bottom-icon img {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }
}

/*----------------------------------------------------------------------------------------------------------*/

/* =====================================================
   WEB & DIGITAL WORK SECTION
===================================================== */

.mad-work {
    position: relative;
    overflow: hidden;
    background: transparent;
}


/* Wrapper div — full width */

.mad-work__container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Header div */

.mad-work__header {
    margin-bottom: 32px;
}

.mad-work__header .mad-section-label {
    margin-bottom: 24px;
}

/* h2 override for work section */

.mad-work__title {
    margin: 0 0 22px;
}

.mad-work__title span {
    display: block;
    background: linear-gradient(
        45deg,
        #A78BFA 0%,
        #F472B6 50%,
        #60A5FA 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: transparent;
}

.mad-work__description {
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
}


/* Filters div */

.mad-work__filters {
    min-height: 88px;
    margin-bottom: 20px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(109, 40, 217, 0.15);
    border-radius: 10px;
    background: rgba(14, 11, 28, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.mad-work__search {
    width: min(100%, 390px);
    height: 40px;
    padding: 0 14px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: 1px solid rgba(109, 40, 217, 0.15);
    border-radius: 5px;

    /* Left to right gradient */
    background: linear-gradient(
        90deg,
        rgba(17, 17, 17, 0.50) 0%,
        rgba(33, 33, 33, 0.50) 100%
    );
}

.mad-work__search svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #94A3B8;
}

.mad-work__search input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    color: #757575;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.mad-work__search input::placeholder {
    color: #94A3B8;
}

.mad-work__filter-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.mad-work__filter {
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid #94A3B8;
    border-radius: 4px;
    color: #a5a7b7;
    background: rgba(248, 250, 252, 0.05);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.mad-work__filter:hover,
.mad-work__filter.is-active {
    color: #F8FAFC;
    border-color:  #8B5CF6;
    background: rgba(139, 92, 246, 0.15);
}


/* Slider outer div */

.mad-work-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    padding: 0 0 12px;
}

.mad-work-slider__track {
    display: flex;
    gap: 22px;
    transform: translateX(0);
    transition: transform 0.55s ease;
    will-change: transform;
}


/* Individual slide div */
/* =====================================================
   PROJECT SLIDE
===================================================== */

.mad-work-slide {
    width: min(1100px, calc(100vw - 80px));
    min-width: min(1100px, calc(100vw - 80px));
    opacity: 0.46;
    transform: scale(0.97);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.mad-work-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.mad-work-slide.is-hidden {
    display: none;
}


/* =====================================================
   MAIN PROJECT CARD
===================================================== */

.mad-project-card {
    min-height: 720px;
    padding: 22px;

    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    align-items: stretch;
    gap: 40px;

    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 16px;

    background: linear-gradient(
        90deg,
        rgba(14, 11, 28, 0.50) 0%,
        rgba(26, 21, 51, 0.20) 100%
    );

    box-shadow:
        0 0 15px rgba(59, 130, 246, 0.25),
        0 24px 70px rgba(0, 0, 0, 0.36);

    overflow: hidden;
}


/* =====================================================
   LEFT CONTENT PANEL
===================================================== */

.mad-project-card__content {
    min-width: 0;
    min-height: 674px;
    padding: 30px 30px 28px;

    display: flex;
    flex-direction: column;

    background: rgba(14, 11, 28, 0.35);
    border: 1px solid rgba(248, 250, 252, 0.06);
    border-radius: 16px;

    overflow: hidden;
}


/* Meta row */

.mad-project-card__meta {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.mad-project-card__category {
    min-width: 0;

    color: #a76fff;
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.3px;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

.mad-project-card__country {
    padding: 8px 13px;
    flex-shrink: 0;

    border: 1px solid rgba(217, 70, 239, 0.25);
    border-radius: 4px;

    color: #D946EF;
    background: rgba(217, 70, 239, 0.08);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}


/* Project heading */

.mad-project-card__name {
    margin: 0 0 14px;

    color: #F8FAFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}


/* Project paragraphs */

.mad-project-card__description {
    margin: 0 0 4px;

    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.36;
}


/* =====================================================
   TAGS
===================================================== */

.mad-project-card__tags {
    margin-top: 8px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.mad-project-card__tag {
    min-height: 31px;
    padding: 6px 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(248, 250, 252, 0.06);
    border-radius: 3px;

    color: #94A3B8;
    background: rgba(248, 250, 252, 0.04);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
}


/* =====================================================
   CASE STUDY BUTTON
===================================================== */

.mad-project-card__action {
    margin-top: 16px;
    margin-bottom: 16px;
}

.mad-project-card__link {
    min-width: 192px;
    min-height: 37px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    border: 1px solid rgba(139, 92, 246, 0.20);
    border-radius: 4px;

    color: #F8FAFC;
    background: rgba(83, 38, 130, 0.1);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        gap 0.25s ease;
}

.mad-project-card__link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.mad-project-card__link:hover,
.mad-project-card__link:focus-visible {
    gap: 28px;
    color: #ffffff;
    border-color: #ad5cff;
    background: rgba(139, 67, 211, 0.2);
    text-decoration: none;
}


/* =====================================================
   SCORES PANEL
===================================================== */

.mad-project-card__scores {
    margin-top: auto;
    padding: 20px 16px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 20px;

    background: rgba(14, 11, 28, 0.35);
    border: 1px solid rgba(248, 250, 252, 0.06);
    border-radius: 16px;
}

.mad-project-score {
    min-width: 0;
    text-align: center;
}

.mad-project-score__circle {
    --score: 95;

    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    padding: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: conic-gradient(
        #ffffff calc(var(--score) * 1%),
        rgba(255, 255, 255, 0.1) 0
    );
}

.mad-project-score__value {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:  #F8FAFC;
    background: #090711;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.mad-project-score__label {
    width: 100%;
    min-height: 31px;
    padding: 6px 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 3px;

    color: #9598ad;
    background: rgba(255, 255, 255, 0.025);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
}


/* =====================================================
   RIGHT WEBSITE IMAGE
===================================================== */

.mad-project-card__visual {
    min-width: 0;
    min-height: 674px;

    overflow: hidden;

    border-radius: 16px;
    background: #090711;
}

.mad-project-card__visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: top center;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .mad-work-slide {
        width: min(920px, calc(100vw - 48px));
        min-width: min(920px, calc(100vw - 48px));
    }

    .mad-project-card {
        min-height: 650px;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.88fr);
        gap: 24px;
    }

    .mad-project-card__content,
    .mad-project-card__visual {
        min-height: 600px;
    }

    .mad-project-card__content {
        padding: 25px 22px;
    }

    .mad-project-card__description {
        font-size: 14px;
    }

    .mad-project-card__tags {
        gap: 10px;
    }

    .mad-project-card__scores {
        gap: 10px;
        padding: 18px 12px;
    }

    .mad-project-score__circle {
        width: 58px;
        height: 58px;
    }

    .mad-project-score__value {
        width: 46px;
        height: 46px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .mad-work-slide {
        width: calc(100vw - 32px);
        min-width: calc(100vw - 32px);
        transform: none;
    }

    .mad-work-slide.is-active {
        transform: none;
    }

    .mad-project-card {
        min-height: auto;
        padding: 12px;

        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mad-project-card__content,
    .mad-project-card__visual {
        min-height: auto;
    }

    .mad-project-card__content {
        padding: 22px 18px;
    }

    .mad-project-card__meta {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .mad-project-card__category {
        font-size: 12px;
    }

    .mad-project-card__country {
        padding: 6px 8px;
        font-size: 11px;
    }

    .mad-project-card__name {
        font-size: 20px;
    }

    .mad-project-card__description {
        font-size: 14px;
        line-height: 1.55;
    }

    .mad-project-card__tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mad-project-card__link {
        width: 100%;
    }

    .mad-project-card__scores {
        margin-top: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .mad-project-card__visual {
        height: 500px;
        order: 2;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .mad-project-card__meta {
        flex-direction: column;
    }

    .mad-project-card__country {
        align-self: flex-start;
    }

    .mad-project-card__scores {
        padding: 18px 12px;
    }

    .mad-project-score__circle {
        width: 54px;
        height: 54px;
        margin-bottom: 12px;
    }

    .mad-project-score__value {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }

    .mad-project-card__visual {
        height: 420px;
    }
}


/* Slider arrows */

.mad-work-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 83, 255, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(10, 7, 18, 0.88);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease;
}

.mad-work-slider__arrow svg {
    width: 20px;
    height: 20px;
}

.mad-work-slider__arrow:hover {
    border-color: #b965ff;
    background: rgba(113, 51, 176, 0.38);
}

.mad-work-slider__arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.mad-work-slider__arrow--previous {
    left: 28px;
}

.mad-work-slider__arrow--next {
    right: 28px;
}


/* Slider pagination div */

.mad-work-slider__pagination {
    position: relative;
    z-index: 3;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.mad-work-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid rgba(141, 84, 228, 0.65);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition:
        width 0.25s ease,
        background-color 0.25s ease;
}

.mad-work-slider__dot.is-active {
    width: 11px;
    height: 11px;
    background: #6f38af;
}


/* =====================================================
   RESPONSIVE — TABLET  768px - 1024px
===================================================== */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    /* Hero */
    .mad-hero__container {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 20px;
    }

    .mad-hero__visual {
        min-height: 520px;
        background-size:
            auto,
            118% auto;
        background-position:
            center,
            center;
    }

    .mad-hero__pagination {
        right: 20px;
    }

    /* Model */
    .mad-model__grid {
        gap: 20px;
    }

    /* Work */
    .mad-work__filters {
        align-items: stretch;
        flex-direction: column;
    }

    .mad-work__search {
        width: 100%;
        max-width: none;
    }

    .mad-work__filter-buttons {
        justify-content: flex-start;
    }

    .mad-project-card {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    }

    .mad-work-slide {
        width: calc(100vw - 120px);
        min-width: calc(100vw - 120px);
    }
}


/* =====================================================
   RESPONSIVE — MOBILE  max 767px
===================================================== */

@media only screen and (max-width: 767px) {

    /* Hero */
    .mad-hero {
        min-height: auto;
    }

    .mad-hero__container {
        width: 100%;
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .mad-hero__content {
        max-width: 100%;
    }

    .mad-hero__title {
        max-width: 100%;
    }

    .mad-hero__intro,
    .mad-hero__description {
        max-width: 100%;
    }

    .mad-hero__visual {
        min-height: 380px;
        margin-top: 0;
        background-position:
            center,
            center;
        background-size:
            auto,
            contain;
    }

    .mad-hero__visual::before {
        background: linear-gradient(
            180deg,
            #050408 0%,
            rgba(5, 4, 8, 0.12) 26%,
            transparent 46%
        );
    }

    .mad-hero__tag {
        display: none;
    }

    .mad-hero__pagination {
        display: none;
    }

    .mad-section-label {
        margin-bottom: 18px;
    }

    /* Model */
    .mad-model__grid {
        grid-template-columns: 1fr;
    }

    .mad-model-card {
        min-height: 360px;
    }

    .mad-model__bottom {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px;
    }

    /* Work */
    .mad-work__filters {
        align-items: stretch;
        flex-direction: column;
        padding: 15px;
    }

    .mad-work__search {
        width: 100%;
        max-width: none;
    }

    .mad-work__filter-buttons {
        justify-content: flex-start;
    }

    .mad-work__filter {
        flex: 1 1 calc(50% - 6px);
        padding: 0 8px;
    }

    .mad-work-slide {
        width: calc(100vw - 60px);
        min-width: calc(100vw - 60px);
    }

    .mad-project-card {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .mad-project-card__visual {
        min-height: 300px;
        order: -1;
    }

    .mad-project-card__content {
        padding: 18px 8px 8px;
    }

    .mad-project-card__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .mad-project-card__scores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .mad-work-slider__arrow {
        width: 38px;
        height: 38px;
    }

    .mad-work-slider__arrow--previous {
        left: 8px;
    }

    .mad-work-slider__arrow--next {
        right: 8px;
    }
}


/* =====================================================
   RESPONSIVE — SMALL MOBILE  max 380px
===================================================== */

@media only screen and (max-width: 380px) {

    /* Hero */
    .mad-hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .mad-hero__actions .mad-button {
        width: 100%;
        min-width: 0;
    }

    .mad-hero__statement {
        font-size: 13px;
    }

    /* Model */
    .mad-model__statement {
        font-size: 14px;
    }

    .mad-model__bottom {
        padding: 16px;
    }

    /* Work */
    .mad-work__filter {
        flex: 1 1 100%;
    }

    .mad-work-slide {
        width: calc(100vw - 30px);
        min-width: calc(100vw - 30px);
    }

    .mad-project-card__visual {
        min-height: 220px;
    }
}

/*-----------------------------------------------------------------------------------------------------------*/

/* =====================================================
   SOCIAL & MARKETING SECTION
===================================================== */

.mad-social {
    position: relative;
    overflow: hidden;
    background: transparent;
}


/* Main container */

.mad-social__container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* =====================================================
   SECTION HEADER
===================================================== */

.mad-social__header {
    max-width: 100%;
    margin-bottom: 30px;
}

.mad-social__header .mad-section-label {
    margin-bottom: 24px;
}


/* Section heading */

.mad-social__title {
    margin: 0 0 20px;
}

.mad-social__title span {
    background: linear-gradient(
        45deg,
        #A78BFA 0%,
        #F472B6 50%,
        #60A5FA 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


/* Intro paragraph */

.mad-social__intro {
    max-width: 100%;
    margin: 0 0 18px;
    color: #F8FAFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}


/* Description paragraphs */

.mad-social__description {
    max-width: 100%;
    margin: 0 0 7px;
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}


/* Research statement */

.mad-social__statement {
    margin: 20px 0 0;
    color: #F8FAFC;
    font-family: "Courier New", monospace;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.mad-social__statement span {
    color: #D946EF;
}


/* =====================================================
   CARDS GRID
===================================================== */

.mad-social__grid {
    width: min(100%, 920px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


/* =====================================================
   INDIVIDUAL CARD
===================================================== */

.mad-social-card {
    position: relative;
    min-height: 355px;
    padding: 28px 28px 24px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(109, 40, 217, 0.15);
    border-radius: 16px;

    background: rgba(14, 11, 28, 0.45);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        inset 0 0 36px rgba(104, 40, 150, 0.035),
        0 20px 55px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-social-card:hover {
    transform: translateY(-5px);

    border-color: rgba(217, 70, 239, 0.52);

    box-shadow:
        inset 0 0 42px rgba(160, 43, 200, 0.06),
        0 25px 65px rgba(0, 0, 0, 0.28);
}


/* Large card number */

.mad-social-card__number {
    position: absolute;
    top: 22px;
    right: 24px;

    color: rgba(184, 184, 199, 0.32);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}


/* Image icon wrapper */

.mad-social-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


/* Image icon */

.mad-social-card__icon img {
    width: 35px;
    height: 35px;

    display: block;

    object-fit: contain;
    object-position: center;
}


/* Card heading */

.mad-social-card__title {
    max-width: calc(100% - 44px);
    margin: 0 0 20px;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}


/* Bold card introduction */

.mad-social-card__lead {
    margin: 0 0 18px;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
}


/* Normal card text */

.mad-social-card__text {
    margin: 0 0 15px;

    color: #A2A5B8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}


/* Bottom statement */

.mad-social-card__statement {
    margin-top: auto;
    padding-top: 2px;

    font-family: "Courier New", monospace;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
}

.mad-social-card__statement span,
.mad-social-card__statement strong {
    display: block;
}

.mad-social-card__statement span {
    color: #F8FAFC;
}

.mad-social-card__statement strong {
    margin-top: 4px;
    color: #D946EF;
}


/* =====================================================
   LARGE DESKTOP
===================================================== */

@media only screen and (min-width: 1200px) {

    .mad-social__grid {
        width: min(100%, 940px);
    }

    .mad-social-card {
        min-height: 370px;
    }
}


/* =====================================================
   TABLET 768px - 1024px
===================================================== */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .mad-social__grid {
        width: 100%;
        gap: 20px;
    }

    .mad-social-card {
        padding: 25px 22px 22px;
    }

    .mad-social-card__number {
        right: 20px;
        font-size: 27px;
    }

    .mad-social-card__icon,
    .mad-social-card__icon img {
        width: 30px;
        height: 30px;
    }

    .mad-social-card__text {
        font-size: 10px;
    }
}


/* =====================================================
   MOBILE max 767px
===================================================== */

@media only screen and (max-width: 767px) {

    .mad-social__header {
        margin-bottom: 28px;
    }

    .mad-social__intro {
        font-size: 15px;
    }

    .mad-social__description {
        font-size: 13px;
    }

    .mad-social__statement {
        font-size: 15px;
    }

    .mad-social__grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mad-social-card {
        min-height: auto;
        padding: 24px 22px;
    }

    .mad-social-card__number {
        top: 21px;
        right: 20px;
        font-size: 26px;
    }

    .mad-social-card__icon,
    .mad-social-card__icon img {
        width: 40px;
        height: 40px;
    }

    .mad-social-card__title {
        font-size: 14px;
    }

    .mad-social-card__lead {
        font-size: 12px;
    }

    .mad-social-card__text {
        font-size: 11px;
    }
}


/* =====================================================
   SMALL MOBILE max 380px
===================================================== */

@media only screen and (max-width: 380px) {

    .mad-social-card {
        padding: 21px 18px;
    }

    .mad-social-card__number {
        right: 17px;
        font-size: 23px;
    }

    .mad-social-card__icon,
    .mad-social-card__icon img {
        width: 25px;
        height: 25px;
    }

    .mad-social-card__statement {
        font-size: 12px;
    }
}



/* =====================================================
   FINAL SECTION-ONLY RESPONSIVE OVERRIDES
   Desktop frame, tablet layout, mobile typography,
   and small-mobile handling for the MAD homepage only.
===================================================== */

.mad-home {
    isolation: isolate;
}

.mad-home > section {
    width: 100%;
    max-width: 100%;
}

/* Desktop */
@media only screen and (min-width: 1025px) {
    .mad-hero__container,
    .mad-model__container,
    .mad-work__container,
    .mad-social__container {
        width: min(100%, 1440px);
        margin-inline: auto;
    }

    .mad-hero__container {
        min-height: calc(100vh - 66px);
    }

    .mad-hero__visual {
        min-width: 0;
    }
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .mad-home > section {
        padding-left: 48px;
        padding-right: 48px;
    }

    .mad-hero {
        min-height: auto;
    }

    .mad-hero__container {
        min-height: 680px;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 24px;
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .mad-hero__title {
        font-size: 38px;
        max-width: 390px;
    }

    .mad-hero__visual {
        --orbit-size: 350px;
        --orbit-radius: 175px;
        min-height: 500px;
    }

    .mad-hero__bird {
        right: -45px;
        width: 118%;
    }

    .mad-hero__ball {
        width: 340px;
    }

    .mad-hero__tag {
        min-height: 44px;
        padding-inline: 16px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .mad-model__grid,
    .mad-social__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mad-model-card:last-child,
    .mad-social-card:last-child {
        grid-column: 1 / -1;
    }

    .mad-work-slide {
        width: calc(100vw - 96px);
        min-width: calc(100vw - 96px);
    }

    .mad-project-card {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    .mad-home > section {
        overflow: hidden;
    }

    .mad-hero__container {
        gap: 24px;
        padding-top: 28px;
        padding-bottom: 42px;
    }

    .mad-hero__visual {
        order: 1;
        min-height: clamp(310px, 92vw, 420px);
        margin: 0;
    }

    .mad-hero__content {
        order: 2;
    }

    .mad-hero__title {
        margin-bottom: 16px;
        font-size: clamp(29px, 8.2vw, 36px);
    }

    .mad-hero__intro {
        margin-bottom: 13px;
        font-size: 15px;
        line-height: 1.55;
    }

    .mad-hero__description {
        font-size: 13px;
        line-height: 1.62;
    }

    .mad-hero__statement {
        font-size: 16px;
    }

    .mad-hero__visual::before {
        background: radial-gradient(
            circle,
            rgba(105, 39, 164, 0.18) 0%,
            rgba(87, 29, 143, 0.08) 42%,
            transparent 72%
        );
    }

    .mad-hero__bird {
        width: min(590px, 128vw);
    }

    .mad-hero__ball {
        width: min(285px, 72vw);
    }

    .mad-hero__tag {
        display: inline-flex;
        min-height: 36px;
        padding-inline: 11px;
        font-size: 9px;
        letter-spacing: 0.7px;
    }

    .mad-hero__tag-icon {
        font-size: 12px;
    }

    .mad-model__header,
    .mad-work__header,
    .mad-social__header {
        margin-bottom: 28px;
    }

    .mad-model__description,
    .mad-work__description,
    .mad-social__description {
        font-size: 14px;
        line-height: 1.65;
    }

    .mad-model__grid,
    .mad-social__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mad-model-card,
    .mad-social-card {
        min-height: auto;
        padding: 22px 20px;
    }

    .mad-model-card__description,
    .mad-model-card__item,
    .mad-model-card__link,
    .mad-model__bottom-text {
        font-size: 14px;
    }

    .mad-model__bottom {
        gap: 14px;
        padding: 18px;
    }

    .mad-work__filters {
        gap: 14px;
        padding: 14px;
    }

    .mad-work__filter {
        flex: 1 1 calc(50% - 5px);
        min-height: 38px;
        font-size: 12px;
    }

    .mad-work-slide {
        width: calc(100vw - 48px);
        min-width: calc(100vw - 48px);
    }

    .mad-project-card {
        padding: 12px;
        gap: 12px;
    }

    .mad-project-card__visual {
        min-height: clamp(230px, 72vw, 340px);
    }

    .mad-project-card__content {
        padding: 14px 6px 6px;
    }
}

/* Small mobile */
@media only screen and (max-width: 420px) {
    .mad-hero__container {
        padding-top: 20px;
    }

    .mad-hero__visual {
        --orbit-size: min(270px, 76vw);
        --orbit-radius: min(135px, 38vw);
        min-height: 300px;
    }

    .mad-hero__bird {
        width: min(500px, 136vw);
    }

    .mad-hero__ball {
        width: min(235px, 67vw);
    }

    .mad-hero__tag {
        min-height: 31px;
        padding-inline: 8px;
        gap: 5px;
        font-size: 8px;
    }

    .mad-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mad-hero__actions .mad-button {
        width: 100%;
    }

    .mad-section-label {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .mad-model-card,
    .mad-social-card {
        padding: 20px 17px;
    }

    .mad-model__bottom {
        align-items: flex-start;
        padding: 16px;
    }

    .mad-work__filter {
        flex-basis: 100%;
    }

    .mad-work-slide {
        width: calc(100vw - 36px);
        min-width: calc(100vw - 36px);
    }

    .mad-project-card__scores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mad-project-card__visual {
        min-height: 210px;
    }
}



/* =====================================================
   MAD LABS / SOFTWARE SOLUTIONS SECTION
===================================================== */

.mad-labs {
    position: relative;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 82px;
    overflow: hidden;
}

.mad-labs__container {
    position: relative;
    width: 100%;
}


/* =====================================================
   HEADER
===================================================== */

.mad-labs__header {
    width: 100%;
    max-width: 1180px;
    margin-bottom: 34px;
}

.mad-labs__label {
    margin-bottom: 23px;
}

.mad-labs__title {
    max-width: 1120px;
    margin: 0 0 24px;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 2.7vw, 47px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.035em;
}

.mad-labs__title span {
    display: block;

    background: linear-gradient(
        45deg,
        #A78BFA 0%,
        #F472B6 50%,
        #60A5FA 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: transparent;
}

.mad-labs__intro {
    max-width: 1480px;
    margin: 0 0 25px;
    color: #F8FAFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.mad-labs__description {
    max-width: 1480px;
}

.mad-labs__description p {
    margin: 0;
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.mad-labs__description p + p {
    margin-top: 2px;
}


/* =====================================================
   OPERATIONS PORTAL FRAME
===================================================== */

.mad-labs-portal {
    position: relative;
    width: 100%;
    margin-top: 34px;

    overflow: hidden;

    border: 1px solid rgba(48, 103, 210, 0.42);
    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(6, 8, 22, 0.92),
            rgba(5, 6, 18, 0.96)
        );

    box-shadow:
        0 0 34px rgba(20, 72, 175, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.mad-labs-portal__topbar {
    position: relative;
    min-height: 38px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    /* Rectangle color: #0E0B1C at 45% */
    background: rgba(14, 11, 28, 0.45);

    /* Rectangle stroke: #3B82F6 at 20% */
    border-bottom: 1px solid rgba(59, 130, 246, 0.20);

    /* Blur effect */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    /* Blue glow + black shadow */
    box-shadow:
        0 0 12px rgba(59, 130, 246, 0.25),
        0 0 12px rgba(0, 0, 0, 0.50);

    z-index: 2;
}

.mad-labs-portal__lights {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mad-labs-portal__light {
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
}

.mad-labs-portal__light--red {
    background: #e34b56;
}

.mad-labs-portal__light--yellow {
    background: #e0a52a;
}

.mad-labs-portal__light--green {
    background: #36aa61;
}

.mad-labs-portal__name {
    color: #5e667c;

    font-family: "Courier New", monospace;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
}

.mad-labs-portal__status {
    justify-self: end;

    display: inline-flex;
    align-items: center;
    gap: 4px;

    color: #22d66b;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
}

.mad-labs-portal__status span {
    width: 6px;
    height: 6px;

    display: block;

    border-radius: 50%;
    background: #22d66b;

    box-shadow: 0 0 8px rgba(34, 214, 107, 0.75);
}


/* Metrics */

.mad-labs-portal__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 5vw, 95px);

    padding: 14px 60px 16px;
}

.mad-labs-metric {
    min-height: 96px;
    padding: 19px 14px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid rgba(183, 58, 224, 0.42);
    border-radius: 7px;

    background: rgba(14, 7, 23, 0.44);

    box-shadow:
        inset 0 0 18px rgba(132, 37, 171, 0.035),
        0 0 18px rgba(32, 7, 76, 0.06);
}

.mad-labs-metric strong {
    display: block;
    margin-bottom: 7px;

    color: #a54cf0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.mad-labs-metric span {
    color: #f1edf7;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.35;
}


/* =====================================================
   SERVICE CARDS FRAME
===================================================== */

.mad-labs__services-frame {
    width: 100%;
    margin-top: 28px;
    padding: 28px 26px;

    border: 1px solid rgba(183, 58, 224, 0.42);
    border-radius: 14px;

    background: rgba(12, 6, 19, 0.46);
}

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

.mad-labs-service {
    min-height: 126px;
    padding: 22px 22px;

    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    align-items: start;
    gap: 15px;

    border: 1px solid rgba(133, 44, 176, 0.43);
    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 7, 21, 0.93),
            rgba(12, 7, 19, 0.72)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-labs-service:hover {
    transform: translateY(-3px);

    border-color: rgba(153, 92, 255, 0.72);

    box-shadow:
        0 13px 30px rgba(0, 0, 0, 0.22),
        0 0 20px rgba(92, 55, 203, 0.09);
}

.mad-labs-service__icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid rgba(47, 108, 231, 0.55);
    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 38, 78, 0.88),
            rgba(7, 18, 42, 0.84)
        );

    overflow: hidden;
}

.mad-labs-service__icon img {
    width: 27px;
    height: 27px;

    display: block;

    object-fit: contain;
    object-position: center;
}

.mad-labs-service__content h3 {
    margin: 0 0 9px;

    color: #eeeaf4;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.mad-labs-service__content p {
    margin: 0;

    color: #949aaf;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.65;
}


/* =====================================================
   BOTTOM AREA
===================================================== */

.mad-labs__footer {
    width: min(100%, 910px);
    margin: 27px auto 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
}

.mad-labs__confidentiality {
    min-height: 58px;
    padding: 15px 22px;

    display: flex;
    align-items: center;

    color: #eeebf2;

    border: 1px solid rgba(141, 51, 186, 0.48);
    border-radius: 10px;

    background: rgba(13, 7, 21, 0.6);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.mad-labs__button {
    min-height: 46px;
    padding: 0 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #f1eef6;
    text-decoration: none;

    border: 1px solid #8b5cf6;
    border-radius: 7px;

    background:
        linear-gradient(
            90deg,
            rgba(27, 21, 39, 0.94),
            rgba(8, 6, 17, 0.95)
        );

    box-shadow:
        inset 0 0 12px rgba(139, 92, 246, 0.08),
        0 0 12px rgba(139, 92, 246, 0.08);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.mad-labs__button:hover {
    transform: translateY(-2px);

    color: #ffffff;
    border-color: #c36bff;

    background:
        linear-gradient(
            90deg,
            rgba(87, 43, 133, 0.92),
            rgba(27, 15, 53, 0.95)
        );
}

.mad-labs__button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}


/* =====================================================
   LARGE DESKTOP
===================================================== */

@media only screen and (min-width: 1400px) {

    .mad-labs {
        padding-top: 105px;
        padding-bottom: 95px;
    }

    .mad-labs-portal__metrics {
        padding-right: 68px;
        padding-left: 68px;
    }

    .mad-labs-service {
        min-height: 128px;
    }
}


/* =====================================================
   SMALL DESKTOP / LAPTOP
===================================================== */

@media only screen and (min-width: 1025px) and (max-width: 1250px) {

    .mad-labs-portal__metrics {
        gap: 30px;
        padding-right: 35px;
        padding-left: 35px;
    }

    .mad-labs-service {
        padding-right: 17px;
        padding-left: 17px;
    }

    .mad-labs-service__content h3 {
        font-size: 12px;
    }
}


/* =====================================================
   TABLET 768px - 1024px
===================================================== */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

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

    .mad-labs__header {
        margin-bottom: 28px;
    }

    .mad-labs__title {
        max-width: 820px;
        font-size: clamp(29px, 4vw, 39px);
    }

    .mad-labs__intro {
        font-size: 14px;
    }

    .mad-labs__description p {
        font-size: 12px;
    }

    .mad-labs-portal__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;

        padding: 20px;
    }

    .mad-labs-metric {
        min-height: 100px;
    }

    .mad-labs__services-frame {
        padding: 20px;
    }

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

    .mad-labs-service {
        min-height: auto;
        padding: 20px;
    }

    .mad-labs-service__content h3 {
        font-size: 14px;
    }

    .mad-labs-service__content p {
        font-size: 12px;
    }

    .mad-labs__footer {
        width: 100%;
        gap: 18px;
    }
}


/* =====================================================
   MOBILE MAX 767px
===================================================== */

@media only screen and (max-width: 767px) {

    .mad-labs {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .mad-labs__header {
        margin-bottom: 24px;
    }

    .mad-labs__label {
        margin-bottom: 19px;
    }

    .mad-labs__title {
        margin-bottom: 19px;

        font-size: clamp(25px, 7.4vw, 33px);
        line-height: 1.14;
        letter-spacing: -0.03em;
    }

    .mad-labs__title span {
        margin-top: 3px;
    }

    .mad-labs__intro {
        margin-bottom: 17px;

        font-size: 13px;
        line-height: 1.65;
    }

    .mad-labs__description p {
        font-size: 11px;
        line-height: 1.7;
    }

    .mad-labs__description p + p {
        margin-top: 8px;
    }

    .mad-labs-portal {
        margin-top: 25px;
        border-radius: 11px;
    }

    .mad-labs-portal__topbar {
        min-height: 36px;
        padding: 0 13px;

        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .mad-labs-portal__name {
        justify-self: center;
        font-size: 7px;
    }

    .mad-labs-portal__status {
        font-size: 8px;
    }

    .mad-labs-portal__metrics {
        grid-template-columns: 1fr;
        gap: 12px;

        padding: 15px;
    }

    .mad-labs-metric {
        min-height: 90px;
        padding: 16px 12px;
    }

    .mad-labs-metric strong {
        font-size: 20px;
    }

    .mad-labs-metric span {
        font-size: 9px;
    }

    .mad-labs__services-frame {
        margin-top: 20px;
        padding: 14px;

        border-radius: 11px;
    }

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

    .mad-labs-service {
        min-height: auto;
        padding: 18px 16px;

        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;

        border-radius: 10px;
    }


     .mad-labs-service__icon,
    .mad-labs-service__icon img {
        width: 30px;
        height: 30px;
    }
    .mad-labs-service__content h3 {
        margin-bottom: 7px;

        font-size: 12px;
        line-height: 1.4;
    }

    .mad-labs-service__content p {
        font-size: 10px;
        line-height: 1.65;
    }

    .mad-labs__footer {
        width: 100%;
        margin-top: 20px;

        grid-template-columns: 1fr;
        gap: 13px;
    }

    .mad-labs__confidentiality {
        min-height: auto;
        padding: 15px 17px;

        font-size: 10px;
        line-height: 1.5;
    }

    .mad-labs__button {
        width: 100%;
        min-height: 47px;
        padding: 0 18px;

        font-size: 11px;
    }
}


/* =====================================================
   SMALL MOBILE MAX 420px
===================================================== */

@media only screen and (max-width: 420px) {

    .mad-labs {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .mad-labs__title {
        font-size: 25px;
    }

    .mad-labs__intro {
        font-size: 12px;
    }

    .mad-labs__description p {
        font-size: 10px;
    }

    .mad-labs-portal__topbar {
        padding-right: 10px;
        padding-left: 10px;
    }

    .mad-labs-portal__lights {
        gap: 3px;
    }

    .mad-labs-portal__light {
        width: 6px;
        height: 6px;
    }

    .mad-labs-portal__name {
        font-size: 6px;
    }

    .mad-labs-portal__status {
        font-size: 7px;
    }

    .mad-labs-portal__status span {
        width: 5px;
        height: 5px;
    }

    .mad-labs-portal__metrics {
        padding: 11px;
    }

    .mad-labs-metric {
        min-height: 84px;
    }

    .mad-labs__services-frame {
        padding: 10px;
    }

    .mad-labs-service {
        padding: 16px 13px;

        grid-template-columns: 37px minmax(0, 1fr);
        gap: 10px;
    }

    .mad-labs-service__icon {
        width: 37px;
        height: 37px;
    }

    .mad-labs-service__content h3 {
        font-size: 11px;
    }

    .mad-labs-service__content p {
        font-size: 9px;
    }
}

/*------------------------------------------------------------------------------------------------------------*/

/* =====================================================
   CLIENTS & PARTNERS SECTION
===================================================== */

.mad-clients {
    position: relative;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 90px;
    overflow: hidden;
    background: transparent;
}

.mad-clients__container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* =====================================================
   SECTION HEADER
===================================================== */

.mad-clients__header {
    width: 100%;
    margin-bottom: 34px;
}

.mad-clients__label {
    margin-bottom: 27px;
}

.mad-clients__title {
    margin: 0 0 25px;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(31px, 3vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.mad-clients__title span {
    background: linear-gradient(
        90deg,
        #C084FC 0%,
        #D946EF 50%,
        #F472B6 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.mad-clients__description {
    max-width: 1500px;
    margin: 0;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.65;
}


/* =====================================================
   LOGO PANEL
===================================================== */

.mad-clients__panel {
    position: relative;

    width: calc(100% - 60px);
    min-height: 168px;
    margin: 34px auto 0;
    padding: 10px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 20px;

    background: rgba(248, 250, 252, 0.96);

    box-shadow:
        0 0 15px rgba(139, 92, 246, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 0 8px rgba(139, 92, 246, 0.08);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.mad-clients__panel::before {
    content: "";

    position: absolute;
    inset: 9px;
    z-index: 3;

    border: 1px solid rgba(217, 70, 239, 0.20);
    border-radius: 14px;

    pointer-events: none;
}

.mad-clients__panel::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 2;

    background: linear-gradient(
        90deg,
        rgba(248, 250, 252, 0.98) 0%,
        rgba(248, 250, 252, 0) 4%,
        rgba(248, 250, 252, 0) 96%,
        rgba(248, 250, 252, 0.98) 100%
    );

    pointer-events: none;
}


/* =====================================================
   AUTO SLIDER
===================================================== */

.mad-clients__slider {
    position: relative;
    z-index: 1;

    width: max-content;
    min-height: 148px;

    display: flex;
    align-items: center;

    animation: madClientsScroll 40s linear infinite;
    will-change: transform;
}

.mad-clients__panel:hover .mad-clients__slider {
    animation-play-state: paused;
}

.mad-clients__track {
    min-width: max-content;
    min-height: 148px;
    padding: 18px 24px;

    display: flex;
    align-items: center;
    gap: 38px;

    flex-shrink: 0;
}


/* =====================================================
   INDIVIDUAL LOGOS
===================================================== */

.mad-client-logo {
    width: 190px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
}

.mad-client-logo img {
    width: 100%;
    height: 250%;

    display: block;

    object-fit: contain;
    object-position: center;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.mad-client-logo:hover img {
    transform: scale(1.04);
}


/* Wider horizontal logos */

.mad-client-logo:nth-child(1),
.mad-client-logo:nth-child(2),
.mad-client-logo:nth-child(4),
.mad-client-logo:nth-child(5),
.mad-client-logo:nth-child(7),
.mad-client-logo:nth-child(8),
.mad-client-logo:nth-child(9),
.mad-client-logo:nth-child(10),
.mad-client-logo:nth-child(11) {
    width: 225px;
}


/* Narrower or vertical logos */

.mad-client-logo:nth-child(3),
.mad-client-logo:nth-child(6) {
    width: 115px;
}


/* =====================================================
   ANIMATION
===================================================== */

@keyframes madClientsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =====================================================
   LARGE DESKTOP
===================================================== */

@media only screen and (min-width: 1400px) {

    .mad-clients {
        padding-top: 105px;
        padding-bottom: 105px;
    }

    .mad-clients__panel {
        width: calc(100% - 70px);
    }

    .mad-clients__track {
        gap: 42px;
        padding-right: 28px;
        padding-left: 28px;
    }

    .mad-client-logo {
        width: 200px;
        height: 110px;
    }

    .mad-client-logo:nth-child(1),
    .mad-client-logo:nth-child(2),
    .mad-client-logo:nth-child(4),
    .mad-client-logo:nth-child(5),
    .mad-client-logo:nth-child(7),
    .mad-client-logo:nth-child(8),
    .mad-client-logo:nth-child(9),
    .mad-client-logo:nth-child(10),
    .mad-client-logo:nth-child(11) {
        width: 235px;
    }

    .mad-client-logo:nth-child(3),
    .mad-client-logo:nth-child(6) {
        width: 120px;
    }
}


/* =====================================================
   TABLET
===================================================== */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

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

    .mad-clients__header {
        margin-bottom: 28px;
    }

    .mad-clients__title {
        font-size: clamp(30px, 4.5vw, 40px);
    }

    .mad-clients__description {
        font-size: 15px;
    }

    .mad-clients__panel {
        width: 100%;
        min-height: 150px;
    }

    .mad-clients__slider {
        min-height: 130px;
        animation-duration: 34s;
    }

    .mad-clients__track {
        min-height: 130px;
        gap: 30px;
        padding: 16px 20px;
    }

    .mad-client-logo {
        width: 160px;
        height: 90px;
    }

    .mad-client-logo:nth-child(1),
    .mad-client-logo:nth-child(2),
    .mad-client-logo:nth-child(4),
    .mad-client-logo:nth-child(5),
    .mad-client-logo:nth-child(7),
    .mad-client-logo:nth-child(8),
    .mad-client-logo:nth-child(9),
    .mad-client-logo:nth-child(10),
    .mad-client-logo:nth-child(11) {
        width: 190px;
    }

    .mad-client-logo:nth-child(3),
    .mad-client-logo:nth-child(6) {
        width: 100px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media only screen and (max-width: 767px) {

    .mad-clients {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .mad-clients__header {
        margin-bottom: 26px;
    }

    .mad-clients__label {
        margin-bottom: 20px;
    }

    .mad-clients__title {
        margin-bottom: 18px;

        font-size: clamp(27px, 8vw, 35px);
        line-height: 1.15;
    }

    .mad-clients__title span {
        display: block;
        margin-top: 4px;
    }

    .mad-clients__description {
        font-size: 14px;
        line-height: 1.65;
    }

    .mad-clients__panel {
        width: 100%;
        min-height: 130px;
        margin-top: 25px;
        padding: 9px;

        border-radius: 15px;
    }

    .mad-clients__panel::before {
        inset: 7px;
        border-radius: 10px;
    }

    .mad-clients__slider {
        min-height: 110px;
        animation-duration: 28s;
    }

    .mad-clients__track {
        min-height: 110px;
        gap: 24px;
        padding: 14px 18px;
    }

    .mad-client-logo {
        width: 135px;
        height: 75px;
    }

    .mad-client-logo:nth-child(1),
    .mad-client-logo:nth-child(2),
    .mad-client-logo:nth-child(4),
    .mad-client-logo:nth-child(5),
    .mad-client-logo:nth-child(7),
    .mad-client-logo:nth-child(8),
    .mad-client-logo:nth-child(9),
    .mad-client-logo:nth-child(10),
    .mad-client-logo:nth-child(11) {
        width: 165px;
    }

    .mad-client-logo:nth-child(3),
    .mad-client-logo:nth-child(6) {
        width: 85px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media only screen and (max-width: 420px) {

    .mad-clients {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .mad-clients__title {
        font-size: 27px;
    }

    .mad-clients__description {
        font-size: 13px;
    }

    .mad-clients__slider {
        animation-duration: 24s;
    }

    .mad-clients__track {
        gap: 20px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .mad-client-logo {
        width: 120px;
        height: 68px;
    }

    .mad-client-logo:nth-child(1),
    .mad-client-logo:nth-child(2),
    .mad-client-logo:nth-child(4),
    .mad-client-logo:nth-child(5),
    .mad-client-logo:nth-child(7),
    .mad-client-logo:nth-child(8),
    .mad-client-logo:nth-child(9),
    .mad-client-logo:nth-child(10),
    .mad-client-logo:nth-child(11) {
        width: 145px;
    }

    .mad-client-logo:nth-child(3),
    .mad-client-logo:nth-child(6) {
        width: 78px;
    }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .mad-clients__slider {
        animation: none;
    }

    .mad-clients__panel {
        overflow-x: auto;
    }
}

/*---------------------------------------------------------------------------------------------------------*/ 

/* =====================================================
   MAD BLOG SECTION
===================================================== */

.mad-blog-section {
    position: relative;
    width: 100%;
    padding-top: 95px;
    padding-bottom: 100px;
    overflow: hidden;
    background: transparent;
}

.mad-blog-section__container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* =====================================================
   HEADER
===================================================== */

.mad-blog-section__header {
    width: 100%;
    margin-bottom: 42px;
}

.mad-blog-section__label {
    margin-bottom: 28px;
}

.mad-blog-section__title {
    max-width: 900px;
    margin: 0 0 22px;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 3.3vw, 52px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.mad-blog-section__title span {
    background: linear-gradient(
        90deg,
        #C084FC 0%,
        #D946EF 55%,
        #F472B6 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: transparent;
}

.mad-blog-section__description {
    max-width: 850px;
    margin: 0;

    color: #94A3B8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}


/* =====================================================
   BLOG GRID
===================================================== */

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


/* =====================================================
   BLOG CARD
===================================================== */

.mad-blog-card {
    min-width: 0;
    min-height: 510px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 16px;

    background: rgba(14, 11, 28, 0.45);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        inset 0 0 35px rgba(109, 40, 217, 0.035),
        0 20px 55px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-blog-card:hover {
    transform: translateY(-5px);

    border-color: rgba(217, 70, 239, 0.48);

    box-shadow:
        inset 0 0 40px rgba(217, 70, 239, 0.045),
        0 25px 65px rgba(0, 0, 0, 0.30);
}


/* =====================================================
   FEATURED IMAGE
===================================================== */

.mad-blog-card__image {
    position: relative;

    width: calc(100% - 28px);
    height: 230px;
    margin: 14px 14px 0;

    display: block;
    flex-shrink: 0;

    overflow: hidden;

    border-radius: 12px;

    background: #090711;
    text-decoration: none;
}

.mad-blog-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.45s ease;
}

.mad-blog-card:hover .mad-blog-card__image img {
    transform: scale(1.04);
}


/* =====================================================
   CARD CONTENT
===================================================== */

.mad-blog-card__content {
    padding: 20px 18px 20px;

    display: flex;
    flex-direction: column;
    flex: 1;
}


/* Category and date */

.mad-blog-card__meta {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mad-blog-card__category {
    min-height: 34px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;

    border: 1px solid rgba(139, 92, 246, 0.65);
    border-radius: 4px;

    color: #C084FC;
    background: rgba(139, 92, 246, 0.08);

    font-family: "Courier New", monospace;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mad-blog-card__date {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    color: #A2A5B8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.mad-blog-card__date-icon {
    width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 19px;
}

.mad-blog-card__date-icon svg {
    width: 19px;
    height: 19px;
}


/* =====================================================
   TITLE
===================================================== */

.mad-blog-card__title {
    margin: 0 0 15px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.mad-blog-card__title a {
    color: #F8FAFC;
    text-decoration: none;

    transition: color 0.25s ease;
}

.mad-blog-card__title a:hover {
    color: #D946EF;
}


/* =====================================================
   EXCERPT
===================================================== */

.mad-blog-card__excerpt {
    margin: 0 0 22px;

    color: #94A3B8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}


/* =====================================================
   CARD FOOTER
===================================================== */

.mad-blog-card__footer {
    margin-top: auto;
    padding-top: 18px;

    border-top: 1px solid rgba(248, 250, 252, 0.06);
}

.mad-blog-card__link {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #D946EF;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.mad-blog-card__link svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}

.mad-blog-card__link:hover {
    gap: 19px;
    color: #F472B6;
}


/* =====================================================
   VIEW ALL BUTTON
===================================================== */

.mad-blog-section__action {
    margin-top: 42px;

    display: flex;
    justify-content: center;
}

.mad-blog-section__button {
    min-width: 300px;
    min-height: 58px;
    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    border: 1px solid rgba(217, 70, 239, 0.65);
    border-radius: 5px;

    color: #F8FAFC;
    background: rgba(14, 11, 28, 0.55);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        inset 0 0 18px rgba(217, 70, 239, 0.06),
        0 0 15px rgba(139, 92, 246, 0.12);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mad-blog-section__button svg {
    width: 20px;
    height: 20px;

    color: #D946EF;
    flex-shrink: 0;

    transition: transform 0.25s ease;
}

.mad-blog-section__button:hover {
    transform: translateY(-2px);

    color: #FFFFFF;
    border-color: #D946EF;
    background: rgba(109, 40, 217, 0.15);

    box-shadow:
        inset 0 0 20px rgba(217, 70, 239, 0.08),
        0 0 20px rgba(217, 70, 239, 0.18);
}

.mad-blog-section__button:hover svg {
    transform: translateX(4px);
}


/* Empty state */

.mad-blog-section__empty {
    padding: 35px;

    border: 1px solid rgba(139, 92, 246, 0.20);
    border-radius: 12px;

    color: #94A3B8;
    background: rgba(14, 11, 28, 0.45);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    text-align: center;
}


/* =====================================================
   TABLET
===================================================== */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .mad-blog-section {
        padding-top: 72px;
        padding-bottom: 75px;
    }

    .mad-blog-section__title {
        font-size: clamp(32px, 4.7vw, 43px);
    }

    .mad-blog-section__description {
        font-size: 15px;
    }

    .mad-blog-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .mad-blog-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 10px);
        justify-self: center;
    }

    .mad-blog-card__image {
        height: 215px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media only screen and (max-width: 767px) {

    .mad-blog-section {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .mad-blog-section__header {
        margin-bottom: 30px;
    }

    .mad-blog-section__label {
        margin-bottom: 20px;
    }

    .mad-blog-section__title {
        margin-bottom: 18px;

        font-size: clamp(29px, 8vw, 37px);
        line-height: 1.18;
    }

    .mad-blog-section__description {
        font-size: 14px;
        line-height: 1.65;
    }

    .mad-blog-section__description br {
        display: none;
    }

    .mad-blog-section__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mad-blog-card,
    .mad-blog-card:last-child {
        width: 100%;
        min-height: auto;
        grid-column: auto;
    }

    .mad-blog-card__image {
        height: 220px;
    }

    .mad-blog-card__meta {
        align-items: flex-start;
    }

    .mad-blog-card__category {
        min-height: 31px;
        padding: 0 10px;
        font-size: 10px;
    }

    .mad-blog-card__date {
        padding-top: 7px;
        font-size: 12px;
    }

    .mad-blog-card__title {
        font-size: 19px;
    }

    .mad-blog-section__action {
        margin-top: 30px;
    }

    .mad-blog-section__button {
        width: 100%;
        min-width: 0;
        min-height: 54px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media only screen and (max-width: 420px) {

    .mad-blog-section {
        padding-top: 50px;
        padding-bottom: 54px;
    }

    .mad-blog-section__title {
        font-size: 29px;
    }

    .mad-blog-card__image {
        width: calc(100% - 20px);
        height: 190px;
        margin: 10px 10px 0;
    }

    .mad-blog-card__content {
        padding: 17px 14px 18px;
    }

    .mad-blog-card__meta {
        flex-direction: column;
        gap: 10px;
    }

    .mad-blog-card__date {
        justify-content: flex-start;
        padding-top: 0;
    }

    .mad-blog-card__title {
        font-size: 17px;
    }

    .mad-blog-card__excerpt {
        font-size: 13px;
    }
}

/*---------------------------------------------------------------------------------------------------------*/ 

/* =====================================================
   THE OPPORTUNITY SECTION
===================================================== */

.mad-opportunity {
    position: relative;
    width: 100%;
    padding-top: 85px;
    padding-bottom: 85px;
    overflow: hidden;
    background: transparent;
}

.mad-opportunity__container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* =====================================================
   HEADER
===================================================== */

.mad-opportunity__header {
    margin-bottom: 24px;
}

.mad-opportunity__label {
    margin-bottom: 22px;
}

.mad-opportunity__title {
    margin: 0;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(30px, 2.6vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.mad-opportunity__title span {
    background: linear-gradient(
        90deg,
        #A78BFA 0%,
        #D946EF 55%,
        #F472B6 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: transparent;
}


/* =====================================================
   CONTENT
===================================================== */

.mad-opportunity__content {
    width: 100%;
}

.mad-opportunity__content p {
    margin: 0;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.mad-opportunity__content p + p {
    margin-top: 22px;
}


/* =====================================================
   BOTTOM MESSAGE
===================================================== */

.mad-opportunity__bottom {
    width: min(100%, 540px);
    min-height: 58px;
    margin: 30px auto 0;
    padding: 14px 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #F8FAFC;

    border: 1px solid rgba(139, 92, 246, 0.20);
    border-radius: 12px;

    background: linear-gradient(
        90deg,
        rgba(14, 11, 28, 0.50) 0%,
        rgba(26, 21, 51, 0.20) 100%
    );

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 0 12px rgba(59, 130, 246, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.25);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}


/* =====================================================
   TABLET
===================================================== */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

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

    .mad-opportunity__title {
        font-size: clamp(29px, 4vw, 38px);
    }

    .mad-opportunity__content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .mad-opportunity__bottom {
        width: min(100%, 500px);
        font-size: 12px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media only screen and (max-width: 767px) {

    .mad-opportunity {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .mad-opportunity__header {
        margin-bottom: 20px;
    }

    .mad-opportunity__label {
        margin-bottom: 18px;
    }

    .mad-opportunity__title {
        font-size: clamp(27px, 8vw, 34px);
        line-height: 1.15;
    }

    .mad-opportunity__content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .mad-opportunity__content p + p {
        margin-top: 18px;
    }

    .mad-opportunity__bottom {
        width: 100%;
        min-height: 54px;
        margin-top: 24px;
        padding: 14px 18px;

        font-size: 12px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media only screen and (max-width: 420px) {

    .mad-opportunity {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .mad-opportunity__title {
        font-size: 27px;
    }

    .mad-opportunity__content p {
        font-size: 13px;
    }

    .mad-opportunity__bottom {
        padding: 13px 15px;
        font-size: 11px;
    }
}


/* =====================================================
   GET IN TOUCH SECTION
===================================================== */

.mad-contact {
    position: relative;
    width: 100%;
    padding-top: 85px;
    padding-bottom: 90px;
    overflow: hidden;
    background: transparent;
}

.mad-contact__container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Section header */

.mad-contact__header {
    width: 100%;
    margin-bottom: 42px;
}

.mad-contact__label {
    margin-bottom: 29px;
}

.mad-contact__title {
    margin: 0;
    color: #F8FAFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(31px, 3vw, 47px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.mad-contact__title span {
    background: linear-gradient(
        90deg,
        #C084FC 0%,
        #D946EF 52%,
        #F472B6 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


/* Main layout */

.mad-contact__layout {
    width: min(100%, 960px);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(330px, 0.95fr);

    align-items: center;
    gap: 65px;
}

.mad-contact__form-column,
.mad-contact__information {
    min-width: 0;
}


/* Form card */

.mad-contact__form-card {
    width: 100%;
    padding: 29px 28px 26px;

    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: 16px;

    background: rgba(14, 11, 28, 0.45);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 0 15px rgba(59, 130, 246, 0.10),
        0 20px 55px rgba(0, 0, 0, 0.28);
}


/* CF7 form */

.mad-contact-form__title {
    margin: 0 0 10px;
    color: #F8FAFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.mad-contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.mad-contact-form__field {
    min-width: 0;
    margin: 0px;
}

.mad-contact-form__field label {
    display: block;
    margin: 0 0 7px 5px;
    color: #94A3B8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.mad-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.mad-contact-form input:not([type="submit"]),
.mad-contact-form select,
.mad-contact-form textarea {
    width: 100%;
    max-width: 100%;

    border: 1px solid rgba(109, 40, 217, 0.18);
    border-radius: 10px;
    outline: none;
    color: #F8FAFC;
    background: rgba(6, 5, 10, 0.72);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.mad-contact-form input:not([type="submit"]),
.mad-contact-form select {
    height: 42px;
    padding: 0 12px;
}

.mad-contact-form textarea {
    min-height: 116px;
    padding: 13px 12px;
    display: block;
    resize: vertical;
}

.mad-contact-form input::placeholder,
.mad-contact-form textarea::placeholder {
    color: rgba(148, 163, 184, 0.68);
}

.mad-contact-form select option {
    color: #F8FAFC;
    background: #0E0B1C;
}

.mad-contact-form input:not([type="submit"]):focus,
.mad-contact-form select:focus,
.mad-contact-form textarea:focus {
    border-color: rgba(139, 92, 246, 0.72);

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.08),
        0 0 12px rgba(139, 92, 246, 0.12);
}


/* Submit button */

.mad-contact-form__submit {
    position: relative;
    margin-top: 3px;
}

.mad-contact-form input[type="submit"] {
    width: 100%;
    min-height: 45px;
    padding: 0 24px;

    border: 0;
    border-radius: 6px;

    color: #FFFFFF;

    background: linear-gradient(
        90deg,
        #8B5CF6 0%,
        #A855F7 48%,
        #D946EF 100%
    );

    box-shadow:
        0 0 15px rgba(139, 92, 246, 0.20),
        0 12px 30px rgba(0, 0, 0, 0.22);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}

.mad-contact-form .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 14px;
    margin: 0;
    transform: translateY(-50%);
}


/* Contact details */

.mad-contact__information {
    padding-top: 7px;
}

.mad-contact__intro {
    max-width: 355px;
    margin: 0 0 28px;

    color: #94A3B8;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.mad-contact__details {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mad-contact-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
}

.mad-contact-item__icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(139, 92, 246, 0.30);
    border-radius: 50%;

    background: rgba(139, 92, 246, 0.10);
}

.mad-contact-item__icon img {
    width: 15px;
    height: 15px;
    display: block;
    object-fit: contain;
}

.mad-contact-item__label {
    display: block;
    margin-bottom: 4px;

    color: #64748B;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mad-contact-item__content p,
.mad-contact-item__content a {
    margin: 0;

    color: #F8FAFC;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
    text-decoration: none;
}


/* Social icons */

.mad-contact__socials {
    margin-top: 28px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.mad-contact__socials a {
    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mad-contact__socials img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}


/* Tablet */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .mad-contact__layout {
        width: 100%;
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(280px, 0.95fr);
        gap: 42px;
    }

    .mad-contact__form-card {
        padding: 26px 23px 23px;
    }
}


/* Mobile */

@media only screen and (max-width: 767px) {

    .mad-contact {
        padding-top: 58px;
        padding-bottom: 60px;
    }

    .mad-contact__layout {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mad-contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .mad-contact__intro {
        max-width: 100%;
        font-size: 14px;
    }

    .mad-contact-item__content p,
    .mad-contact-item__content a {
        font-size: 13px;
    }
}


/* Small mobile */

@media only screen and (max-width: 420px) {

    .mad-contact__form-card {
        padding: 21px 16px 18px;
    }

    .mad-contact__title {
        font-size: 27px;
    }
}