/* ============================================================
   CodzFlow IT Solutions — Services Page Custom Styles
   Color Palette: #2F1F19 (dark brown) + #FFF669 (golden yellow)
   ============================================================ */


/* ============================================================
   0. SERVICES MARQUEE
   ============================================================ */
.srv-marquee-section {
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
}

.srv-marquee-track {
    display: flex;
    width: max-content;
    animation: srv-marquee-scroll 30s linear infinite;
}

.srv-marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
}

.srv-marquee-content span {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    color: #2F1F19;
    padding: 0 20px;
    letter-spacing: 0.05em;
}

.srv-marquee-dot {
    font-size: 16px !important;
    opacity: 0.4;
    padding: 0 8px !important;
}

@keyframes srv-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ============================================================
   1. SERVICES HERO SECTION
   ============================================================ */
.services-hero-area {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-hero-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(47, 31, 25, 0.25) 0%,
            rgba(47, 31, 25, 0.88) 100%);
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
}

.services-hero-title {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: clamp(72px, 12vw, 180px);
    font-weight: 700;
    line-height: 1;
    color: #FFF669;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 25px;
    animation: srvHeroTitleIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes srvHeroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-hero-title-stroke {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 246, 105, 0.35);
}

.services-hero-title-fill {
    color: #FFF669;
}

.services-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
    animation: srvHeroTitleIn 1s 0.15s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

/* Breadcrumb */
.services-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: srvHeroTitleIn 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.services-breadcrumb li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.services-breadcrumb li a {
    color: #FFF669;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-breadcrumb li a:hover {
    color: #fff;
}

.services-breadcrumb li .separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
    font-size: 12px;
}

.services-breadcrumb li .separator::before {
    content: '/';
}


/* ============================================================
   2. CORE SERVICE CARDS
   ============================================================ */
.srv-card {
    background: #3a2a22;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    box-shadow:
        8px 8px 20px rgba(0, 0, 0, 0.4),
        -4px -4px 12px rgba(80, 55, 40, 0.15);
    transition: box-shadow 0.4s ease;
}

.srv-card-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.srv-card:hover {
    box-shadow:
        10px 10px 28px rgba(0, 0, 0, 0.45),
        -5px -5px 14px rgba(80, 55, 40, 0.18),
        0 0 40px rgba(255, 246, 105, 0.04);
}

/* Subtle inner highlight */
.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.06),
            transparent);
    pointer-events: none;
}

/* Alternating layout: reverse cards have image on right */
.srv-card-reverse .srv-card-inner {
    flex-direction: row-reverse;
}

/* Image wrapper */
.srv-card-img-wrap {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 16px;
    overflow: hidden;
    min-height: 350px;
}

.srv-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.srv-card:hover .srv-card-img-wrap img {
    transform: scale(1.05);
}

/* Content */
.srv-card-content {
    flex: 1;
}

.srv-card-subtitle {
    display: inline-block;
    font-size: 13px;
    color: #FFF669;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}

.srv-card-title {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 18px;
}

.srv-card-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
}

/* Feature list with custom golden bullets */
.srv-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.srv-card-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.srv-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFF669;
    box-shadow: 0 0 6px rgba(255, 246, 105, 0.3);
}

.srv-card-features li strong {
    color: #fff;
    font-weight: 600;
}

/* "Get a Quote" button — embossed golden gradient */
.srv-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1008;
    background: linear-gradient(135deg, #FFF669 0%, #e6d94f 50%, #FFF669 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow:
        6px 6px 14px rgba(0, 0, 0, 0.4),
        -4px -4px 10px rgba(80, 55, 40, 0.2),
        0 0 20px rgba(255, 246, 105, 0.1);
    transition: all 0.4s ease;
}

.srv-card-btn:hover {
    background-position: 100% 100%;
    color: #1a1008;
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.4),
        -3px -3px 8px rgba(80, 55, 40, 0.2),
        0 0 30px rgba(255, 246, 105, 0.2);
    transform: translateY(-2px);
}

.srv-card-btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

/* Shimmer on hover */
.srv-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.srv-card-btn:hover::before {
    left: 100%;
}

.srv-card-btn i,
.srv-card-btn svg {
    font-size: 14px;
    width: 14px;
    height: 14px;
}


/* ============================================================
   3. EXTENDED SERVICES GRID
   ============================================================ */
.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.srv-grid-item {
    background: #3a2a22;
    padding: 40px;
    border-radius: 18px;
    position: relative;
    border-left: 3px solid transparent;
    box-shadow:
        8px 8px 20px rgba(0, 0, 0, 0.4),
        -4px -4px 12px rgba(80, 55, 40, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Inner highlight */
.srv-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    pointer-events: none;
    border-radius: 18px 18px 0 0;
}

.srv-grid-item:hover {
    transform: translateY(-8px);
    border-left-color: #FFF669;
    box-shadow:
        10px 10px 28px rgba(0, 0, 0, 0.45),
        -5px -5px 14px rgba(80, 55, 40, 0.18),
        0 0 30px rgba(255, 246, 105, 0.05);
}

/* Icon area */
.srv-grid-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 246, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #FFF669;
    font-size: 24px;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.srv-grid-item:hover .srv-grid-icon {
    background: rgba(255, 246, 105, 0.15);
    box-shadow: 0 0 20px rgba(255, 246, 105, 0.1);
}

.srv-grid-icon i,
.srv-grid-icon svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.srv-grid-title {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 14px;
}

.srv-grid-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
}


/* ============================================================
   4. TECHNOLOGY STACK SECTION
   ============================================================ */
.srv-tech-section {
    background: #FFF669;
    position: relative;
    overflow: hidden;
}

.srv-tech-section-title {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2F1F19;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}

.srv-tech-section-subtitle {
    font-size: 16px;
    color: rgba(47, 31, 25, 0.6);
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.srv-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
}

.srv-tech-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.1),
        -2px -2px 4px rgba(255, 255, 255, 0.5);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.srv-tech-item:hover {
    transform: scale(1.08);
    box-shadow:
        5px 5px 14px rgba(0, 0, 0, 0.15),
        -3px -3px 6px rgba(255, 255, 255, 0.6);
}

.srv-tech-item-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.srv-tech-item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.srv-tech-item-icon i {
    font-size: 28px;
    color: #2F1F19;
}

.srv-tech-name {
    font-size: 14px;
    font-weight: 700;
    color: #2F1F19;
    margin-bottom: 0;
    line-height: 1.3;
}


/* ============================================================
   5. PROCESS SECTION
   ============================================================ */
.srv-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.srv-process-step {
    text-align: center;
    position: relative;
    padding: 0 10px;
}

/* Connecting line between steps */
.srv-process-step::after {
    content: '';
    position: absolute;
    top: 36px;
    right: -15px;
    width: calc(100% - 60px);
    height: 2px;
    background: rgba(255, 246, 105, 0.2);
    transform: translateX(50%);
    pointer-events: none;
}

/* Last step: no connecting line */
.srv-process-step:last-child::after {
    display: none;
}

.srv-process-number {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 246, 105, 0.3);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.srv-process-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.srv-process-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
}

/* Optional process icon */
.srv-process-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 246, 105, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #FFF669;
    font-size: 20px;
}


/* ============================================================
   6. CTA SECTION
   ============================================================ */
.srv-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.srv-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.srv-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    display: block;
}

.srv-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(47, 31, 25, 0.6) 0%,
            rgba(47, 31, 25, 0.92) 100%);
}

.srv-cta-content {
    position: relative;
    z-index: 2;
}

.srv-cta-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.srv-cta-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFF669;
    animation: srvCtaPulse 2s ease-in-out infinite;
}

@keyframes srvCtaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

.srv-cta-title {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: #FFF669;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.srv-cta-desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 35px;
}

/* CTA button — golden gradient, embossed, shimmer hover */
.srv-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 42px;
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1008;
    background: linear-gradient(135deg, #FFF669 0%, #e6d94f 50%, #FFF669 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow:
        6px 6px 14px rgba(0, 0, 0, 0.4),
        -4px -4px 10px rgba(80, 55, 40, 0.2),
        0 0 20px rgba(255, 246, 105, 0.15);
    transition: all 0.4s ease;
}

.srv-cta-btn:hover {
    background-position: 100% 100%;
    color: #1a1008;
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.4),
        -3px -3px 8px rgba(80, 55, 40, 0.2),
        0 0 35px rgba(255, 246, 105, 0.25);
    transform: translateY(-3px);
}

.srv-cta-btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(255, 255, 255, 0.1);
}

/* Shimmer */
.srv-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.srv-cta-btn:hover::before {
    left: 100%;
}

.srv-cta-btn i,
.srv-cta-btn svg {
    font-size: 16px;
    width: 16px;
    height: 16px;
}


/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */
.srv-yellow-line {
    width: 60px;
    height: 3px;
    background: #FFF669;
    border-radius: 2px;
    display: block;
    margin-bottom: 25px;
}

.srv-section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFF669;
    margin-bottom: 12px;
    display: block;
}

.srv-section-title {
    font-family: var(--tp-ff-teko), 'Teko', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.srv-section-title-dark {
    color: #2F1F19;
}

.srv-section-desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    max-width: 700px;
}

.srv-section-desc-dark {
    color: rgba(47, 31, 25, 0.65);
}


/* ============================================================
   7. RESPONSIVE — 6 Breakpoints
   ============================================================ */

/* ===== LARGE DESKTOP (below 1400px) ===== */
@media (max-width: 1399px) {
    .services-hero-title {
        font-size: clamp(64px, 10vw, 150px);
    }

    .srv-card-title {
        font-size: 32px;
    }

    .srv-card {
        padding: 45px;
        gap: 40px;
    }

    .srv-section-title {
        font-size: 50px;
    }

    .srv-cta-title {
        font-size: 64px;
    }

    .srv-tech-section-title {
        font-size: 44px;
    }

    .srv-process-number {
        font-size: 64px;
    }
}


/* ===== DESKTOP / SMALL LAPTOP (below 1200px) ===== */
@media (max-width: 1199px) {
    .services-hero-title {
        font-size: clamp(56px, 9vw, 120px);
    }

    .services-hero-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }

    /* Core cards stack vertically */
    .srv-card {
        padding: 40px;
    }

    .srv-card-inner {
        flex-direction: column !important;
        gap: 30px;
    }

    .srv-card-img-wrap {
        flex: 0 0 auto;
        max-width: 100%;
        max-height: 350px;
        width: 100%;
    }

    .srv-card-title {
        font-size: 30px;
    }

    .srv-card-desc {
        font-size: 15px;
    }

    .srv-card {
        margin-bottom: 60px;
    }

    /* Extended grid — 2 columns */
    .srv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .srv-grid-item {
        padding: 35px;
    }

    .srv-grid-title {
        font-size: 22px;
    }

    /* Section title */
    .srv-section-title {
        font-size: 44px;
    }

    /* CTA */
    .srv-cta-title {
        font-size: 56px;
    }

    .srv-cta-desc {
        font-size: 16px;
    }

    /* Tech */
    .srv-tech-section-title {
        font-size: 40px;
    }

    .srv-tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 16px;
    }

    /* Process */
    .srv-process-number {
        font-size: 58px;
    }

    .srv-process-title {
        font-size: 20px;
    }
}


/* ===== TABLET (below 992px) ===== */
@media (max-width: 991px) {
    .services-hero-area {
        min-height: 50vh;
        padding-bottom: 60px;
    }

    .services-hero-title {
        font-size: clamp(48px, 10vw, 120px);
        letter-spacing: -2px;
    }

    .services-hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .services-breadcrumb li {
        font-size: 14px;
    }

    /* Core cards */
    .srv-card {
        padding: 35px;
        margin-bottom: 50px;
    }

    .srv-card-img-wrap {
        max-height: 320px;
    }

    .srv-card-title {
        font-size: 28px;
    }

    .srv-card-features li {
        font-size: 14px;
    }

    .srv-card-btn {
        padding: 12px 28px;
        font-size: 17px;
    }

    /* Grid items */
    .srv-grid {
        gap: 24px;
    }

    .srv-grid-item {
        padding: 30px;
        border-radius: 16px;
    }

    .srv-grid-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
    }

    .srv-grid-title {
        font-size: 20px;
    }

    .srv-grid-desc {
        font-size: 13px;
    }

    /* Tech */
    .srv-tech-section-title {
        font-size: 36px;
    }

    .srv-tech-section-subtitle {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .srv-tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
        gap: 14px;
    }

    .srv-tech-item {
        padding: 16px;
        border-radius: 10px;
    }

    .srv-tech-name {
        font-size: 13px;
    }

    /* Process — 2x2 grid */
    .srv-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 24px;
    }

    /* Hide connecting lines on 2x2 layout */
    .srv-process-step:nth-child(2)::after {
        display: none;
    }

    .srv-process-step::after {
        width: calc(100% - 40px);
    }

    .srv-process-number {
        font-size: 52px;
    }

    .srv-process-title {
        font-size: 19px;
    }

    /* CTA */
    .srv-cta-title {
        font-size: 48px;
    }

    .srv-cta-desc {
        font-size: 15px;
    }

    .srv-cta-btn {
        padding: 14px 36px;
        font-size: 20px;
    }

    /* Section title */
    .srv-section-title {
        font-size: 40px;
    }

    .srv-section-desc {
        font-size: 15px;
    }
}


/* ===== MOBILE LANDSCAPE (below 768px) ===== */
@media (max-width: 767px) {
    .services-hero-area {
        min-height: 45vh;
        padding-bottom: 40px;
    }

    .services-hero-title {
        font-size: clamp(38px, 11vw, 80px);
        letter-spacing: -1px;
    }

    .services-hero-subtitle {
        font-size: 13px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    .services-breadcrumb {
        gap: 8px;
    }

    .services-breadcrumb li {
        font-size: 13px;
    }

    /* Core cards */
    .srv-card {
        padding: 30px;
        border-radius: 16px;
        margin-bottom: 40px;
        gap: 25px;
    }

    .srv-card-img-wrap {
        max-height: 280px;
        border-radius: 12px;
    }

    .srv-card-title {
        font-size: 26px;
    }

    .srv-card-subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .srv-card-desc {
        font-size: 14px;
        line-height: 1.75;
    }

    .srv-card-features li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .srv-card-features li::before {
        width: 7px;
        height: 7px;
    }

    .srv-card-btn {
        padding: 12px 26px;
        font-size: 16px;
    }

    /* Grid — 2 columns */
    .srv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .srv-grid-item {
        padding: 28px;
        border-radius: 14px;
    }

    .srv-grid-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 18px;
    }

    .srv-grid-icon i,
    .srv-grid-icon svg {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .srv-grid-title {
        font-size: 19px;
    }

    .srv-grid-desc {
        font-size: 13px;
        line-height: 1.65;
    }

    /* Tech */
    .srv-tech-section-title {
        font-size: 32px;
    }

    .srv-tech-section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .srv-tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 12px;
    }

    .srv-tech-item {
        padding: 14px;
    }

    .srv-tech-item-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }

    .srv-tech-name {
        font-size: 12px;
    }

    /* Process — keep 2x2 */
    .srv-process {
        gap: 24px 20px;
    }

    .srv-process-step::after {
        display: none;
    }

    .srv-process-number {
        font-size: 48px;
    }

    .srv-process-title {
        font-size: 18px;
    }

    .srv-process-desc {
        font-size: 13px;
    }

    /* CTA */
    .srv-cta-title {
        font-size: 40px;
    }

    .srv-cta-desc {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .srv-cta-btn {
        padding: 14px 32px;
        font-size: 18px;
    }

    /* Section titles */
    .srv-section-title {
        font-size: 34px;
    }

    .srv-section-desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .srv-yellow-line {
        width: 45px;
        height: 2px;
        margin-bottom: 20px;
    }
}


/* ===== MOBILE PORTRAIT (below 576px) ===== */
@media (max-width: 575px) {
    .services-hero-area {
        min-height: 40vh;
        padding-bottom: 35px;
    }

    .services-hero-title {
        font-size: clamp(34px, 13vw, 52px);
        letter-spacing: -1px;
    }

    .services-hero-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .services-breadcrumb li {
        font-size: 12px;
    }

    .services-breadcrumb {
        gap: 6px;
    }

    /* Core cards */
    .srv-card {
        padding: 24px;
        border-radius: 14px;
        margin-bottom: 30px;
        gap: 20px;
        box-shadow:
            6px 6px 16px rgba(0, 0, 0, 0.35),
            -3px -3px 10px rgba(80, 55, 40, 0.12);
    }

    .srv-card-img-wrap {
        max-height: 240px;
        border-radius: 10px;
    }

    .srv-card-title {
        font-size: 24px;
    }

    .srv-card-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .srv-card-desc {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .srv-card-features {
        margin-bottom: 22px;
    }

    .srv-card-features li {
        font-size: 13px;
        padding-left: 18px;
        margin-bottom: 8px;
    }

    .srv-card-features li::before {
        width: 6px;
        height: 6px;
        top: 8px;
    }

    .srv-card-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 12px;
    }

    /* Grid — 1 column */
    .srv-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .srv-grid-item {
        padding: 25px;
        border-radius: 14px;
    }

    .srv-grid-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .srv-grid-title {
        font-size: 18px;
    }

    .srv-grid-desc {
        font-size: 13px;
    }

    /* Tech */
    .srv-tech-section-title {
        font-size: 28px;
    }

    .srv-tech-section-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .srv-tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .srv-tech-item {
        padding: 12px 10px;
        border-radius: 8px;
    }

    .srv-tech-item-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }

    .srv-tech-item-icon i {
        font-size: 22px;
    }

    .srv-tech-name {
        font-size: 11px;
    }

    /* Process — 2x2 */
    .srv-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
    }

    .srv-process-step::after {
        display: none;
    }

    .srv-process-number {
        font-size: 42px;
    }

    .srv-process-title {
        font-size: 16px;
    }

    .srv-process-desc {
        font-size: 12px;
        line-height: 1.6;
    }

    .srv-process-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 14px;
    }

    /* CTA */
    .srv-cta-title {
        font-size: 34px;
        letter-spacing: 0;
    }

    .srv-cta-desc {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .srv-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 18px;
        border-radius: 12px;
    }

    .srv-cta-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    /* Section titles */
    .srv-section-title {
        font-size: 30px;
    }

    .srv-section-desc {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .srv-yellow-line {
        width: 40px;
        margin-bottom: 18px;
    }
}


/* ===== SMALL MOBILE (below 400px) ===== */
@media (max-width: 400px) {
    .services-hero-area {
        min-height: 35vh;
        padding-bottom: 25px;
    }

    .services-hero-title {
        font-size: clamp(28px, 14vw, 44px);
    }

    .services-hero-subtitle {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .services-breadcrumb li {
        font-size: 11px;
    }

    /* Core cards */
    .srv-card {
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .srv-card-img-wrap {
        max-height: 200px;
        border-radius: 8px;
    }

    .srv-card-title {
        font-size: 22px;
    }

    .srv-card-desc {
        font-size: 13px;
    }

    .srv-card-features li {
        font-size: 12px;
    }

    /* Grid */
    .srv-grid-item {
        padding: 22px;
    }

    .srv-grid-title {
        font-size: 17px;
    }

    .srv-grid-desc {
        font-size: 12px;
    }

    /* Tech */
    .srv-tech-section-title {
        font-size: 24px;
    }

    .srv-tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .srv-tech-item {
        padding: 10px 8px;
    }

    .srv-tech-name {
        font-size: 10px;
    }

    /* Process */
    .srv-process {
        grid-template-columns: 1fr 1fr;
        gap: 16px 12px;
    }

    .srv-process-number {
        font-size: 36px;
    }

    .srv-process-title {
        font-size: 15px;
    }

    .srv-process-desc {
        font-size: 11px;
    }

    /* CTA */
    .srv-cta-title {
        font-size: 28px;
    }

    .srv-cta-desc {
        font-size: 13px;
    }

    .srv-cta-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    /* Section */
    .srv-section-title {
        font-size: 26px;
    }

    .srv-section-desc {
        font-size: 13px;
    }
}


/* ============================================================
   TOUCH DEVICE & ACCESSIBILITY
   ============================================================ */
@media (hover: none) {
    .srv-card:hover .srv-card-img-wrap img {
        transform: none;
    }

    .srv-grid-item:hover {
        transform: none;
        border-left-color: transparent;
    }

    .srv-tech-item:hover {
        transform: none;
    }
}

@media (max-width: 991px) {
    .srv-card-btn {
        min-height: 48px;
    }

    .srv-cta-btn {
        min-height: 48px;
    }

    .services-breadcrumb li a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}


/* ===== LANDSCAPE PHONE FIX ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .services-hero-area {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .services-hero-title {
        font-size: clamp(32px, 8vw, 60px);
    }
}


/* ============================================================
   8. SECTION SPACING OVERRIDES
   ============================================================ */

/* ===== Tablet (below 992px) ===== */
@media (max-width: 991px) {
    .services-hero-area.pt-155 {
        padding-top: 100px !important;
    }

    .srv-cards-area.pt-155 {
        padding-top: 100px !important;
    }

    .srv-cards-area.pb-130 {
        padding-bottom: 80px !important;
    }

    .srv-grid-area.pt-155 {
        padding-top: 100px !important;
    }

    .srv-grid-area.pb-130 {
        padding-bottom: 80px !important;
    }

    .srv-tech-section.pt-130 {
        padding-top: 80px !important;
    }

    .srv-tech-section.pb-130 {
        padding-bottom: 80px !important;
    }

    .srv-process-area.pt-155 {
        padding-top: 100px !important;
    }

    .srv-process-area.pb-130 {
        padding-bottom: 80px !important;
    }

    .srv-cta.pt-155 {
        padding-top: 100px !important;
    }

    .srv-cta.pb-130 {
        padding-bottom: 80px !important;
    }

    /* Footer CTA spacing */
    .services-page .tp-footer-area.pt-175 {
        padding-top: 100px !important;
    }

    .services-page .tp-footer-area.pb-140 {
        padding-bottom: 80px !important;
    }

    /* Footer copyright padding */
    .services-page .pp-copyright-right.pl-130,
    .services-page .pp-copyright-right[class*="pl-130"] {
        padding-left: 0 !important;
    }

    /* Award divider margins */
    .services-page .pp-award-divider.ml-80 {
        margin-left: 0 !important;
    }

    .services-page .pp-award-divider.mr-80 {
        margin-right: 0 !important;
    }
}

/* ===== Mobile landscape (below 768px) ===== */
@media (max-width: 767px) {
    .srv-cards-area.pt-155 {
        padding-top: 70px !important;
    }

    .srv-cards-area.pb-130 {
        padding-bottom: 60px !important;
    }

    .srv-grid-area.pt-155 {
        padding-top: 70px !important;
    }

    .srv-grid-area.pb-130 {
        padding-bottom: 60px !important;
    }

    .srv-tech-section.pt-130 {
        padding-top: 60px !important;
    }

    .srv-tech-section.pb-130 {
        padding-bottom: 60px !important;
    }

    .srv-process-area.pt-155 {
        padding-top: 70px !important;
    }

    .srv-process-area.pb-130 {
        padding-bottom: 60px !important;
    }

    .srv-cta.pt-155 {
        padding-top: 70px !important;
    }

    .srv-cta.pb-130 {
        padding-bottom: 60px !important;
    }

    .services-page .tp-footer-area.pt-175 {
        padding-top: 80px !important;
    }

    .services-page .tp-footer-area.pb-140 {
        padding-bottom: 60px !important;
    }
}

/* ===== Mobile portrait (below 576px) ===== */
@media (max-width: 575px) {
    .srv-cards-area.pt-155 {
        padding-top: 50px !important;
    }

    .srv-cards-area.pb-130 {
        padding-bottom: 40px !important;
    }

    .srv-grid-area.pt-155 {
        padding-top: 50px !important;
    }

    .srv-grid-area.pb-130 {
        padding-bottom: 40px !important;
    }

    .srv-tech-section.pt-130 {
        padding-top: 40px !important;
    }

    .srv-tech-section.pb-130 {
        padding-bottom: 40px !important;
    }

    .srv-process-area.pt-155 {
        padding-top: 50px !important;
    }

    .srv-process-area.pb-130 {
        padding-bottom: 40px !important;
    }

    .srv-cta.pt-155 {
        padding-top: 50px !important;
    }

    .srv-cta.pb-130 {
        padding-bottom: 40px !important;
    }

    .services-page .tp-footer-area.pt-175 {
        padding-top: 60px !important;
    }

    .services-page .tp-footer-area.pb-140 {
        padding-bottom: 40px !important;
    }

    /* Copyright */
    .services-page .tp-copyright-area .pp-copyright-right {
        padding-left: 0 !important;
    }

    .services-page .tp-copyright-area .row {
        text-align: center;
    }
}


/* ============================================================
   9. OVERFLOW PREVENTION
   ============================================================ */
html,
body {
    overflow-x: hidden;
}

.services-hero-area,
.srv-cards-area,
.srv-grid-area,
.srv-tech-section,
.srv-process-area,
.srv-cta,
.tp-footer-area {
    overflow-x: hidden;
}

/* Ensure images don't overflow */
.services-page img {
    max-width: 100%;
    height: auto;
}


/* ============================================================
   10. BR TAG HANDLING
   ============================================================ */
@media (max-width: 767px) {
    .services-page br,
    .services-hero-title br,
    .srv-section-title br,
    .srv-cta-title br,
    .pp-section-title br,
    .pp-footer-big-title br {
        display: none;
    }
}
