
/* ==========================================================
   TELKORE HOMEPAGE V2 — SERVICES SECTION
   Master Design Implementation
   ========================================================== */

/* ---------- Main Section ---------- */

.telkore-services {
    width: 100%;
    padding: 72px 24px 78px;
    background: #f2f5f7;
    color: #171b1f;
}

.telkore-services-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

/* ---------- Two-Column Section Header ---------- */

.telkore-services-header {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    align-items: center;
    gap: 75px;
    margin-bottom: 30px;
}

.telkore-services-heading {
    margin: 0;
    text-align: left;
}

.telkore-services-eyebrow {
    position: relative;
    margin: 0 0 8px;
    padding-top: 13px;
    color: #555d63;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.telkore-services-eyebrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 3px;
    background: #d2211b;
}

.telkore-services-heading h2 {
    margin: 0;
    color: #111519;
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.06;
}

.telkore-services-intro {
    margin: 0;
}

.telkore-services-intro p {
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid #d21f19;

    color: #30363b;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.65;
}

/* ---------- Four-Card Grid ---------- */

.telkore-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* ---------- Individual Service Card ---------- */

.telkore-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;

    background: #ffffff;
    border: none;
    border-radius: 5px;

    box-shadow: none;
    transition: box-shadow 0.2s ease;
}

.telkore-service-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ---------- Card Photograph ---------- */

.telkore-service-image {
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #dce2e6;
}

.telkore-service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ---------- Card Body ---------- */

.telkore-service-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 32px 20px 20px;
}

/* ---------- Overlapping Red Icon ---------- */

.telkore-service-icon {
    position: absolute;
    top: -27px;
    left: 20px;

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

    width: 54px;
    height: 54px;
    padding: 12px;

    background: #d21f19;
    color: #ffffff;
    border-radius: 50%;
    border: 2px solid #ffffff;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.telkore-service-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Card Title ---------- */

.telkore-service-card h3 {
    margin: 0 0 8px;
    color: #171b1f;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

/* ---------- Card Description ---------- */

.telkore-service-card p {
    margin: 0 0 12px;
    color: #3c4247;
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- Learn More Link ---------- */

.telkore-service-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;

    margin-top: auto;
    color: #d21f19;

    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.4;
    text-decoration: none;
    text-transform: uppercase;
}

.telkore-service-link:hover,
.telkore-service-link:focus-visible {
    color: #991510;
}

.telkore-service-link span {
    font-size: 18px;
    font-weight: 400;
}

/* ==========================================================
   RESPONSIVE LAYOUT
   ========================================================== */

/* ---------- Tablet ---------- */

@media (max-width: 1000px) {

    .telkore-services {
        padding: 65px 24px 72px;
    }

    .telkore-services-header {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .telkore-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .telkore-service-image {
        height: 190px;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 600px) {

    .telkore-services {
        padding: 55px 20px 65px;
    }

    .telkore-services-header {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .telkore-services-heading h2 {
        font-size: clamp(26px, 7vw, 34px);
    }

    .telkore-services-intro p {
        font-size: 16px;
    }

    .telkore-services-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .telkore-service-image {
        height: 200px;
    }

    .telkore-service-content {
        padding: 34px 22px 22px;
    }

    .telkore-service-icon {
        left: 22px;
    }
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .telkore-service-card {
        transition: none;
    }
}

/* ==========================================================
   TELKORE V2 — Services Master Refinements
   ========================================================== */

@media (min-width: 1001px) {

    .telkore-services {
        padding-bottom: 58px;
    }

    .telkore-services-heading h2 {
        font-size: 32px;
    }

    .telkore-service-image {
        height: 145px;
    }
}
/* TELKORE Homepage — Widen Services Introduction */

@media (min-width: 769px) {
    .telkore-services .telkore-services-intro {
        position: relative;
        left: -35px;
        width: calc(100% + 35px);
    }
}