@import url(
"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap"
);

:root {
    --hero-white: #ffffff;
    --hero-light: #d8e6f4;
    --hero-muted: #a5b6c9;
    --hero-blue: #1683ff;
    --hero-cyan: #52d9ff;
    --hero-dark: #07101e;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* margin: 0; */
    /* background: var(--hero-dark); */
    /* font-family: "DM Sans", Arial, sans-serif; */
}

.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(1000px, 100vh);
    padding: 10px 7% 100px;
    overflow: hidden;
    color: var(--hero-white);

    background-image:
            linear-gradient(
                    90deg,
                    rgba(4, 12, 25, 0.96) 0%,
                    rgba(4, 12, 25, 0.88) 30%,
                    rgba(4, 12, 25, 0.38) 58%,
                    rgba(4, 12, 25, 0.08) 100%
            ),
            url("../../assets/img/home/DT-Software-About-Us-1920x1000.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
            linear-gradient(
                    180deg,
                    rgba(3, 9, 18, 0.12),
                    rgba(3, 9, 18, 0.34)
            );
}

.about-hero__content {
    position: relative;
    z-index: 1;
    width: min(690px, 100%);
}

.about-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--hero-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-hero__eyebrow::before {
    width: 32px;
    height: 2px;
    background: var(--hero-cyan);
    content: "";
}

.about-hero h1 {
    margin: 0;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: clamp(3.25rem, 6vw, 6.5rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.about-hero h1 span {
    display: block;
    color: var(--hero-cyan);
}

.about-hero__description {
    max-width: 630px;
    margin: 30px 0 36px;
    color: var(--hero-light);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.about-hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.about-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 16px 23px;
    border-radius: 10px;
    color: var(--hero-white);
    background: var(--hero-blue);
    font-weight: 700;
    text-decoration: none;
    transition:
            transform 0.2s ease,
            background-color 0.2s ease,
            box-shadow 0.2s ease;
}

.about-hero__button:hover {
    background: #0875ec;
    box-shadow: 0 14px 34px rgba(0, 105, 230, 0.3);
    color: var(--hero-white);
    transform: translateY(-2px);
}

.about-hero__button:focus-visible,
.about-hero__text-link:focus-visible {
    outline: 3px solid var(--hero-cyan);
    outline-offset: 4px;
}

.about-hero__text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--hero-white);
    font-weight: 600;
    text-decoration: none;
}

.about-hero__text-link:hover {
    color: var(--hero-cyan);
}

.about-hero__details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 76px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-hero__details div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-hero__details strong {
    color: var(--hero-white);
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 1.45rem;
}

.about-hero__details span {
    color: var(--hero-muted);
    font-size: 0.83rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .about-hero {
        min-height: 850px;
        padding: 90px 40px;

        background-image:
                linear-gradient(
                        90deg,
                        rgba(4, 12, 25, 0.96) 0%,
                        rgba(4, 12, 25, 0.8) 62%,
                        rgba(4, 12, 25, 0.25) 100%
                ),
                url("images/DT-Software-About-Us-1920x1000.png");
    }
}

@media (max-width: 600px) {
    .about-hero {
        align-items: flex-end;
        min-height: 780px;
        padding: 70px 22px 48px;

        background-position: 68% center;

        background-image:
                linear-gradient(
                        180deg,
                        rgba(4, 12, 25, 0.2) 0%,
                        rgba(4, 12, 25, 0.73) 38%,
                        rgba(4, 12, 25, 0.98) 78%
                ),
                url("images/DT-Software-About-Us-1920x1000.png");
    }

    .about-hero h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    .about-hero__description {
        margin: 24px 0 30px;
        font-size: 1rem;
    }

    .about-hero__actions {
        align-items: stretch;
        gap: 20px;
    }

    .about-hero__button {
        width: 100%;
    }

    .about-hero__details {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 45px;
    }

    .about-hero__details div {
        flex-direction: row;
        gap: 12px;
        align-items: baseline;
    }

.service-card { min-height: 570px; overflow: hidden; }
.service-card .num {
  z-index: 2;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(6,16,31,.72);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  backdrop-filter: blur(8px);
}
.service-image {
  display: block;
  width: calc(100% + 80px);
  height: 230px;
  margin: -40px -40px 28px;
  object-fit: cover;
  transition: transform .55s ease;
}
.service-card:hover .service-image { transform: scale(1.035); }
@media (max-width: 600px) {
  .service-card { min-height: 545px; }
  .service-image { width: calc(100% + 60px); height: 210px; margin: -30px -30px 25px; }
}


}