/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: #172033;
    background: #ffffff;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================
   GENERAL
   ========================================= */

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-light {
    background: #f5f7fa;
}

.section-dark {
    background: #111827;
    color: #ffffff;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2474b5;
}

.section-dark .eyebrow {
    color: #63b3ed;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    max-width: 800px;
    margin-bottom: 25px;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 25px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
}

.section-intro {
    max-width: 700px;
    font-size: 1.1rem;
}


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    min-height: 72px;

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

    gap: 30px;
}

.logo {
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo span {
    font-weight: 400;
    margin-left: 4px;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #394357;
}

nav a:hover {
    color: #2474b5;
}


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

.hero {
    padding: 90px 0 110px;

    background:
        linear-gradient(
            135deg,
            #eef6fc 0%,
            #ffffff 55%,
            #f4f8fb 100%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 55px;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-image {
    display: block;
    width: 100%;
    max-height: 360px;

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

    border-radius: 16px;
}

.hero-text {
    max-width: 850px;
}

.hero-lead {
    max-width: 760px;
    margin-bottom: 35px;
    font-size: 1.25rem;
    color: #4b5563;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


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

.button {
    display: inline-block;

    padding: 13px 23px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: #2474b5;
    box-shadow: 0 7px 20px rgba(36, 116, 181, 0.20);
}

.button-secondary {
    color: #2474b5;
    background: #ffffff;
    border: 1px solid #cbd5e1;
}


/* =========================================
   ABOUT
   ========================================= */

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 80px;
    align-items: center;
}

.image-card {
    overflow: hidden;
    border-radius: 16px;
}

.about-image {
    display: block;

    width: 100%;
    height: 420px;

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


/* =========================================
   EXPERTISE
   ========================================= */

.section-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.expertise-card {
    padding: 30px;

    border: 1px solid #293449;
    border-radius: 12px;

    background: #172033;
}

.expertise-card p {
    margin-bottom: 0;
    color: #cbd5e1;
}

.card-number {
    margin-bottom: 35px;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    color: #63b3ed;
}


/* =========================================
   SERVICES
   ========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service-card {
    padding: 38px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.08);
}

.service-card h3 {
    margin-bottom: 14px;
}

.service-card ul {
    margin: 25px 0 0;
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 7px;
}


/* =========================================
   EXPERIENCE
   ========================================= */

.experience-list {
    border-top: 1px solid #dbe2ea;
}

.experience-list div {
    padding: 24px 0;

    border-bottom: 1px solid #dbe2ea;
}

.experience-list strong,
.experience-list span {
    display: block;
}

.experience-list strong {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.experience-list span {
    color: #64748b;
}


/* =========================================
   WHY DDI
   ========================================= */

.why-section {
    background: #eef6fc;
}

.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.why-grid > div {
    padding: 10px;
}

.why-grid h3 {
    margin-bottom: 12px;
}


/* =========================================
   CONTACT
   ========================================= */

.contact-section {
    background: #111827;
    color: #ffffff;
}

.contact-section .eyebrow {
    color: #63b3ed;
}

.contact-section .lead {
    color: #dbe4ef;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 90px;
    align-items: center;
}

.contact-card {
    padding: 40px;

    border: 1px solid #334155;
    border-radius: 14px;

    background: #172033;
}

.contact-card p {
    margin-bottom: 5px;
}

.contact-card a:not(.button) {
    display: block;

    margin-bottom: 22px;

    color: #ffffff;
    text-decoration: none;
}

.contact-card a:not(.button):hover {
    color: #63b3ed;
}

.contact-label {
    margin-top: 20px;
}

.contact-button {
    margin-top: 15px;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    padding: 30px 0;

    color: #cbd5e1;
    background: #0b1120;

    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-content strong,
.footer-content span {
    display: block;
}

.footer-content strong {
    margin-bottom: 3px;
    color: #ffffff;
}

.footer-content span {
    color: #94a3b8;
}


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

@media (max-width: 900px) {

    nav {
        gap: 15px;
    }

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

    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image {
        height: 350px;
    }

}


@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, 1120px);
    }

    .section {
        padding: 70px 0;
    }

    .nav-container {
        min-height: 65px;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 60px 0 75px;
    }

    h1 {
        font-size: 2.6rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .expertise-grid,
    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px;
    }

    .about-image {
        height: auto;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

}

