@font-face {
    font-family: "Dubai";
    src: url("../font/Dubai-Light.ttf") format("truetype");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: "Dubai";
    src: url("../font/Dubai-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Dubai";
    src: url("../font/Dubai-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Dubai";
    src: url("../font/Dubai-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --dg-black: #000;
    --dg-red: #e4002b;
    --dg-white: #fff;
    --dg-text: #222;
    --dg-line: #d9d9d9;
    --dg-radius: 12px;
    --dg-font: "Dubai", "Segoe UI", Tahoma, Arial, sans-serif;
    --dg-header-h: 90px;
}
body {
    margin: 0;
    font-family: var(--dg-font);
    color: var(--dg-black);
    background: var(--dg-white);
    -webkit-font-smoothing: antialiased;
}

/* Common */
.dg-section {
    padding: 110px 0 0;
}
.dg-section:last-of-type {
    padding-bottom: 110px;
}
.dg-title {
    font-weight: 500;
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
}
.dg-subtitle {
    font-size: 25px;
    font-weight: 500;
    margin: 18px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dg-line);
}
.dg-role {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 400;
    color: var(--dg-text);
}
.dg-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--dg-text);
    margin: 0 0 18px;
}
.dg-text:last-child {
    margin-bottom: 0;
}
.dg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    font-size: 17px;
    font-weight: 500;
    color: var(--dg-black);
    border: 1px solid var(--dg-black);
    border-radius: 8px;
    text-decoration: none;
    transition:
        background 0.25s,
        color 0.25s;
}
.dg-btn:hover {
    background: var(--dg-black);
    color: var(--dg-white);
}
.dg-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #e6e6e6;
}
.dg-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header */
.dg-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 18px 0;
    background: var(--dg-white);
    transition: box-shadow 0.3s ease;
}
.dg-logo,
.dg-logo img {
    display: block;
}
.dg-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.dg-nav .nav-link {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: var(--dg-black);
    padding: 4px 0 !important;
    margin-left: 40px;
}
.dg-nav .nav-link:hover,
.dg-nav .nav-link:focus,
.dg-nav .nav-link.active {
    color: var(--dg-black);
}
.dg-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--dg-red);
    transition: width 0.25s;
}
.dg-nav .nav-link:hover::after {
    width: 100%;
}
.navbar-toggler {
    border: 0;
    padding: 4px;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero */
.dg-hero-wrap {
    padding: 0 10px 10px;
}
.dg-hero {
    position: relative;
    height: calc(100svh - var(--dg-header-h));
    min-height: 520px;
    border-radius: var(--dg-radius);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    background: #1a1a1a;
}
.dg-hero-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.dg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1) 50%, transparent 75%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 50%);
}
.dg-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 14vh;
}
.dg-hero h1 {
    font-weight: 500;
    font-size: clamp(38px, 4.4vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--dg-white);
    margin: 0 0 22px;
}
.dg-hero p {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.5;
    color: var(--dg-white);
    margin: 0;
}

/* Your brand and marketing team */
.dg-img--intro {
    aspect-ratio: 16/10;
}

/* How we work (4 cards) */
.dg-img--card {
    aspect-ratio: 1/1;
}

/* Client logos */
.dg-logos .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center;
}
.dg-logos .swiper-slide {
    width: auto;
    display: flex;
    align-items: center;
}
.dg-logos img {
    height: 56px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.45;
    transition:
        filter 0.3s,
        opacity 0.3s;
}
.dg-logos .swiper-slide:hover img {
    filter: none;
    opacity: 1;
}

/* Client quotes */
.dg-quote {
    position: relative;
    padding: 0 80px;
}
.dg-quote::before,
.dg-quote::after {
    position: absolute;
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 1;
    font-weight: 700;
    color: var(--dg-red);
}
.dg-quote::before {
    content: "\201C";
    left: 0;
    top: -6px;
}
.dg-quote::after {
    content: "\201D";
    right: 0;
    bottom: -50px;
}
.dg-quote .dg-text {
    font-size: 18px;
}
.dg-quote-pagination.swiper-pagination {
    position: static;
    margin-top: 28px;
}
.dg-quote-pagination .swiper-pagination-bullet-active {
    background: var(--dg-red);
}

/* Work */
.dg-work {
    display: block;
    aspect-ratio: 16/10;
}
.dg-work > img {
    transition: transform 0.5s;
}
.dg-work-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.35s;
}
.dg-work-logo img {
    position: static;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.dg-work:hover > img,
.dg-work:focus-visible > img {
    transform: scale(1.05);
}
.dg-work:hover .dg-work-logo,
.dg-work:focus-visible .dg-work-logo {
    opacity: 1;
}
.dg-work:focus-visible {
    outline: 2px solid var(--dg-red);
    outline-offset: 3px;
}

/* How we drive growth */
.dg-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dg-steps li {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--dg-line);
}
.dg-steps li:first-child {
    padding-top: 0;
}
.dg-step-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

/* Built to work with you */
.build-work-wrapper {
    position: relative;
    margin: 0 10px;
    padding: 110px 0;
    border-radius: var(--dg-radius);
    overflow: hidden;
    isolation: isolate;
    background: #1a1a1a;
    min-height: 90dvh;
    place-content: center;
}
.build-work-wrapper .dg-text {
    margin: 0 0 35px;
}

.build-work-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15) 60%, transparent);
}
.build-work-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.build-work-wrapper .dg-title,
.build-work-wrapper .dg-text {
    color: var(--dg-white);
}

/* What can we help with? */
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 6px 0;
    font-family: inherit;
    font-size: 18px;
    color: var(--dg-black);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--dg-line);
    border-radius: 0;
    transition: border-color 0.25s;
}
.contact-form textarea {
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-bottom-color: var(--dg-black);
}

.contact-form input.dg-btn[type="submit"] {
    position: relative;
    width: auto;
    min-width: 100px;
    display: inline-block;
    padding: 8px 12px 8px 30px;

    border: 1px solid #000;
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14'%3E%3Cpath d='M2 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;

    color: #000 !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    opacity: 1;
    -webkit-text-fill-color: #000;
}

.contact-form input.dg-btn[type="submit"]:hover {
    background-color: var(--dg-black);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14'%3E%3Cpath d='M2 1l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}
/* Footer */
.dg-footer {
    padding: 50px 0 40px;
    background: var(--dg-black);
    color: var(--dg-white);
}
.footer-logo img {
    height: 72px;
    width: auto;
}
.footer-info {
    margin: 0;
    font-style: normal;
}
.footer-info p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 22px;
}
.dg-footer a {
    color: var(--dg-white);
    text-decoration: none;
    transition: color 0.25s;
}
.dg-footer a:hover {
    color: var(--dg-red);
}
.footer-social {
    display: inline-block;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    font-size: 16px;
}

/* ===== Work detail page ===== */

/* Breadcrumb */
.breadcrumb-section {
    padding: 0 10px;
}
.breadcrumb-wrapper {
    position: relative;
    display: flex;
    min-height: 500px;
    padding: 40px 0 50px;
    border-radius: var(--dg-radius);
    overflow: hidden;
    isolation: isolate;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.breadcrumb-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(0 0 0 / 50%);
}

.breadcrumb-wrapper .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}
.breadcrumb-back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dg-white);
    text-decoration: none;
    transition: color 0.25s;
}
.breadcrumb-back:hover {
    color: var(--dg-red);
}
.breadcrumb-content {
    text-align: center;
}
.breadcrumb-logo {
    height: 150px;
    width: auto;
}
.breadcrumb-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb-services li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--dg-white);
}

.breadcrumb-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Project detail */
.project-detail-block {
    margin-bottom: 40px;
}
.project-detail-block:last-child {
    margin-bottom: 0;
}
.project-detail-block h2 {
    font-size: 25px;
    font-weight: 500;
    margin: 0 0 22px;
}
