:root {
    /* Blue */
    --blue:        #0065F8;
    --blue-dark:   #004FCC;
    --blue-pale:   #EDF3FF;

    /* Navy */
    --jmm-navy:       #040E1F;
    --jmm-navy-mid:   #071A33;
    --jmm-navy-light: #152C5B;

    /* Gold accent */
    --jmm-gold: #C69C38;
    --jmm-gold-light: #E8C872;

    /* Alias: red vars now use blue */
    --jmm-red: var(--blue);
    --jmm-red-hover: var(--blue-dark);
    
    /* Neutrals */
    --text-main: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-navy: linear-gradient(135deg, var(--jmm-navy) 0%, var(--jmm-navy-mid) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(4, 14, 31, 0.08);
    --shadow-hover: 0 15px 35px rgba(4, 14, 31, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

html, body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .hero-title, .section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--jmm-navy);
}

.text-navy { color: var(--jmm-navy) !important; }
.text-gold { color: var(--jmm-gold) !important; }
.text-accent { color: var(--jmm-gold); }
.bg-navy { background-color: var(--jmm-navy) !important; }
.bg-navy-light { background-color: var(--jmm-navy-light) !important; color: white; }
.bg-gold { background-color: var(--jmm-gold) !important; }
.bg-gold-light { background-color: var(--jmm-gold-light) !important; color: var(--jmm-navy); }

/* --- Utility Classes --- */
.section-padding {
    padding: 80px 0;
}
@media (min-width: 992px) {
    .section-padding { padding: 100px 0; }
}

.section-label {
    display: inline-block;
    color: var(--jmm-red);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 45px;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--jmm-red);
}

.btn-jmm-red {
    background-color: var(--jmm-red);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    border: none;
    transition: var(--transition-base);
}
.btn-jmm-red:hover {
    background-color: var(--jmm-red-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 14, 31, 0.3);
}

.btn-ghost-red {
    color: var(--jmm-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}
.btn-ghost-red i {
    transition: var(--transition-fast);
}
.btn-ghost-red:hover {
    color: var(--jmm-red-hover);
}
.btn-ghost-red:hover i {
    transform: translateX(4px);
}

/* --- Navbar --- */
.navbar-wrapper {
    position: relative;
    z-index: 1030;
}
.jmm-navbar {
    background: var(--jmm-navy);
    padding: 0;
    height: 76px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: height 0.4s, background 0.4s, box-shadow 0.4s;
}
.jmm-navbar.scrolled {
    height: 68px;
    background: rgba(4, 14, 31, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(4, 14, 31, 0.4);
}
.nav-logo-img {
    height: 42px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.22);
    transition: height 0.4s;
}
.jmm-navbar.scrolled .nav-logo-img {
    height: 38px;
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    padding: 0 1.1rem;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s;
    letter-spacing: 0.01em;
    font-size: 0.84rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #fff;
}
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.1rem;
    right: 1.1rem;
    height: 2px;
    background-color: var(--blue);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.25s;
    transform-origin: left;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus::before,
.navbar-nav .nav-link.active::before,
.navbar-nav .nav-link.show::before {
    transform: scaleX(1);
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.4rem;
    min-width: 252px;
    margin-top: 0;
}
.dropdown-item {
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jmm-navy);
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, padding-left 0.18s;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--blue-pale);
    color: var(--blue);
    padding-left: 1.2rem;
}
/* FIX: state aktif/klik dropdown-item agar tidak jadi hitam di atas background gelap */
.dropdown-item:active,
.dropdown-item.active {
    background-color: var(--blue-pale) !important;
    color: var(--blue) !important;
}
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 6px;
    padding: 0.5rem 0.55rem;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.88)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar .btn-jmm-red {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    backdrop-filter: blur(8px);
}
.navbar .btn-jmm-red:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.7);
    box-shadow: none;
    transform: none;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(4, 14, 31, 0.9) 0%, rgba(4, 14, 31, 0.4) 100%);
    z-index: 2;
}
.hero-content {
    max-width: 700px;
}
.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--jmm-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-eyebrow-dot {
    width: 30px; height: 2px;
    background-color: var(--jmm-gold);
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
@media (min-width: 992px) {
    .hero-prev { left: 40px; }
    .hero-next { right: 40px; }
}

/* --- About CP Card --- */
.about-cp-card {
    display: block;
    background: var(--gradient-navy);
    padding: 3rem 2rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}
.about-cp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    color: white;
}
.about-cp-icon {
    font-size: 3.5rem;
    color: var(--jmm-gold);
    margin-bottom: 1rem;
}
.about-cp-label {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* --- Keunggulan --- */
.keunggulan-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-base);
}
.keunggulan-card:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
}
.keunggulan-icon {
    width: 50px; height: 50px;
    background: var(--blue-pale);
    color: var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Page Header --- */
.page-header {
    background: var(--gradient-navy);
    padding: 140px 0 60px;
    color: white;
    text-align: center;
    padding-top: calc(76px + 64px);
}
.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}
.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}
.page-content-section {
    padding-top: 130px;
}

/* --- Footer --- */
.jmm-footer {
    background-color: var(--jmm-navy);
    color: rgba(255,255,255,0.7);
}
.footer-brand-name {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}
.footer-logo-img {
    height: 40px;
    border-radius: 4px;
}
.footer-heading {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--blue);
    padding-left: 5px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}
.footer-contact-item i {
    color: var(--blue);
    font-size: 1.2rem;
}
.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 0;
}

/* Animations */
.btn-filter {
    border: 1px solid #dee2e6;
    background: white;
    color: var(--text-muted);
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
}
.btn-filter.active, .btn-filter:hover {
    background: var(--jmm-navy);
    color: white;
    border-color: var(--jmm-navy);
}
.breadcrumb-custom {
    justify-content: center;
    margin-bottom: 1.5rem;
}
.breadcrumb-custom .breadcrumb-item a {
    color: var(--jmm-gold);
    text-decoration: none;
}
.breadcrumb-custom .breadcrumb-item.active {
    color: rgba(255,255,255,0.5);
}
.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255,255,255,0.3);
}

/* Animations */
/* --- About Sidebar --- */
.about-sidebar-link.active {
    color: var(--blue) !important;
    border-left-color: var(--blue) !important;
}
.about-sidebar-link {
    border-left: 3px solid transparent;
    transition: 0.2s;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Services Card Grid ───────────────────────────── */
.service-card-link {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.service-card-link:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    text-decoration: none;
}

.service-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s;
    flex-shrink: 0;
}
.service-card-link:hover .service-card-img { transform: scale(1.04); }

.service-card-body {
    padding: 1.35rem 1.35rem 1.6rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--jmm-navy);
}
.service-card-body p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-card-link-text {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--jmm-red);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ── Petrosea Detail Layout ───────────────────────── */
.svc-petrosea-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 768px) {
    .svc-petrosea-grid { grid-template-columns: 1fr; }
}
.svc-petrosea-intro {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--jmm-red);
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}
.svc-petrosea-text p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.svc-petrosea-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: var(--shadow-md);
}

/* ── Project Meta & Contact Info Items ─────────────── */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.project-meta span {
    display: inline-flex;
    align-items: center;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

/* ═════════════════════════════════════════════════════
   MOBILE & TABLET RESPONSIVE STYLES
   ═════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    /* Navbar Mobile Menu */
    .jmm-navbar {
        height: auto !important;
        min-height: 70px;
        padding: 0.6rem 0;
    }
    .jmm-navbar.scrolled {
        height: auto !important;
        min-height: 62px;
    }
    .navbar-collapse {
        background: var(--jmm-navy-mid);
        padding: 1.25rem;
        border-radius: 12px;
        margin-top: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        overflow: visible !important;
    }
    .navbar-nav .nav-link {
        height: auto;
        padding: 0.75rem 0.5rem;
        font-size: 0.95rem;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }
    .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.35rem;
        margin-bottom: 0.6rem;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: none !important;
        border-radius: 8px;
        padding: 0.35rem;
        transform: none !important;
    }
    .navbar-collapse .dropdown-menu.show {
        display: block !important;
    }
    .dropdown-item {
        color: rgba(255, 255, 255, 0.88);
        padding: 0.6rem 1rem;
    }
    .dropdown-item:hover, .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }
    /* FIX: state aktif/klik dropdown-item mobile agar tidak jadi hitam di atas background gelap */
    .dropdown-item:active,
    .dropdown-item.active {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
    }
    .navbar .d-flex.align-items-center.gap-3 {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }
    .navbar .btn-jmm-red {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* About Sidebar */
    .about-sidebar {
        position: static !important;
        margin-bottom: 2rem;
    }
}

@media (max-width: 991.98px) {
    .page-content-section {
        padding-top: 75px !important;
    }
}

@media (max-width: 767.98px) {
    /* Section Padding & Headings */
    .section-padding {
        padding: 20px 0 32px;
    }
    /* Remove gap between hero / header and the first section on mobile */
    .hero-section + .section-padding,
    .hero-section + section,
    .page-header + .section-padding,
    .page-header + section,
    .page-header + .py-5 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .section-title {
        font-size: 1.65rem;
        line-height: 1.25;
    }
    .section-label {
        font-size: 0.78rem;
        padding-left: 32px;
        letter-spacing: 0.1em;
    }
    .section-label::before {
        width: 22px;
    }

    /* Hero Section Mobile */
    .hero-section {
        height: auto;
        min-height: 480px;
        padding: 95px 0 0px !important;
        margin-bottom: 0 !important;
    }
    .hero-eyebrow {
        font-size: 0.78rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .hero-prev { left: 8px; }
    .hero-next { right: 8px; }

    /* Page Header Mobile */
    .page-header {
        padding: 90px 0 15px !important;
        margin-bottom: 0 !important;
    }
    .page-header h1 {
        font-size: 1.75rem;
    }
    .page-header p {
        font-size: 0.92rem;
    }

    /* Cards & Layouts Mobile */
    .about-cp-card {
        padding: 2rem 1.25rem;
    }
    .about-cp-icon {
        font-size: 2.75rem;
    }
    .about-cp-label {
        font-size: 1.1rem;
    }

    .keunggulan-card {
        padding: 1.25rem;
    }

    .svc-petrosea-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .svc-petrosea-image img {
        height: 260px !important;
        aspect-ratio: auto;
    }

    /* Tables Mobile */
    .table-responsive {
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Contact Info Mobile */
    .contact-info-item {
        gap: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .container, .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .btn-jmm-red {
        padding: 0.55rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ── Services Section Desktop Layout (Default / >= 992px) ─── */
.services-slider-container {
    position: relative;
}

.services-slider-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.services-slide-item {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    display: flex;
}

.services-nav-btn {
    display: none !important;
}

.services-slider-dots {
    display: none !important;
}

/* ── Services Section Mobile & Tablet Layout (< 992px) ───── */
@media (max-width: 991.98px) {
    .services-slider-wrapper {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 0 0.8rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .services-slider-wrapper::-webkit-scrollbar {
        display: none;
    }

    .services-slide-item {
        flex: 0 0 100%; /* 100% width: Only 1 card visible, next card is 100% hidden! */
        max-width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 0 0.2rem;
    }

    .services-nav-btn {
        display: inline-flex !important;
        position: absolute;
        top: 42%;
        transform: translateY(-50%);
        z-index: 15;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid rgba(4, 14, 31, 0.12);
        background: rgba(255, 255, 255, 0.95);
        color: var(--jmm-navy);
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(8px);
    }
    .services-prev-btn {
        left: 4px;
    }
    .services-next-btn {
        right: 4px;
    }
    .services-nav-btn:hover, .services-nav-btn:active {
        background: var(--blue);
        color: #ffffff;
        border-color: var(--blue);
    }

    .services-slider-dots {
        display: flex !important;
    }
}

.service-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(4, 14, 31, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(4, 14, 31, 0.06);
}
.service-card-link:hover {
    box-shadow: 0 16px 36px rgba(4, 14, 31, 0.14);
    transform: translateY(-4px);
    border-color: rgba(0, 101, 248, 0.3);
    text-decoration: none;
}

.service-card-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s ease;
    flex-shrink: 0;
}
.service-card-link:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.5rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.service-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--jmm-navy);
    line-height: 1.35;
}
.service-card-body p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-card-link-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}
.service-card-link:hover .service-card-link-text {
    gap: 0.7rem;
    color: var(--blue-dark);
}

/* Dots Pagination */
.services-slider-dots {
    margin-top: 1rem;
}
.svc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(4, 14, 31, 0.18);
    cursor: pointer;
    transition: all 0.3s ease;
}
.svc-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--blue);
}

/* ── Corporate Clients Showcase (Side-by-side & Compact) ── */
.clients-brand-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
}

.client-brand-card {
    flex: 0 0 145px !important;
    width: 145px !important;
    max-width: 145px !important;
    height: 72px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 0.5rem 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(4, 14, 31, 0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.client-brand-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(4, 14, 31, 0.1) !important;
    border-color: var(--blue) !important;
}

.client-brand-img {
    max-height: 34px !important;
    max-width: 88% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Mobile responsive (Extra Compact & Side-by-side) */
@media (max-width: 575.98px) {
    .clients-brand-container {
        gap: 0.4rem !important;
        justify-content: center !important;
    }
    
    .client-brand-card {
        flex: 0 0 92px !important;
        width: 92px !important;
        max-width: 92px !important;
        height: 52px !important;
        padding: 0.25rem 0.4rem !important;
        border-radius: 10px !important;
    }

    .client-brand-img {
        max-height: 24px !important;
        max-width: 88% !important;
    }
}