/* ==========================================
   ONE CONVEYANCING - SERVICES SECTION
   Navy Blue Theme (No Gold)
========================================== */

.oc-services {
    --service-navy: #0a1635;
    --service-navy-dark: #060f24;
    --service-navy-light: #1a2547;
    --service-navy-accent: #2a3f7a;
    --service-text: #667085;
    --service-border: #e7ebf1;
    --service-bg: #f8fafc;
    --service-white: #ffffff;
    --service-ease: cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background: var(--service-bg);
}

/* ===========================
   BACKGROUND
=========================== */

.oc-services__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.oc-services__orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(8px);
}

.oc-services__orb--one {
    top: -180px;
    right: -130px;
    width: 460px;
    height: 460px;
    background: radial-gradient(
        circle,
        rgba(10, 22, 53, 0.09) 0%,
        rgba(10, 22, 53, 0.03) 42%,
        transparent 72%
    );
}

.oc-services__orb--two {
    bottom: -250px;
    left: -170px;
    width: 550px;
    height: 550px;
    background: radial-gradient(
        circle,
        rgba(10, 22, 53, 0.08) 0%,
        rgba(10, 22, 53, 0.02) 48%,
        transparent 72%
    );
}

.oc-services__grid-pattern {
    position: absolute;
    top: 0;
    right: 5%;
    width: 270px;
    height: 210px;
    opacity: 0.38;
    background-image:
        linear-gradient(rgba(10, 22, 53, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 22, 53, 0.045) 1px, transparent 1px);
    background-size: 22px 22px;
    transform: rotate(12deg);
}

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

.oc-services__header {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto 58px;
    text-align: center;
}

.oc-services__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 15px;
    border: 1px solid rgba(10, 22, 53, 0.15);
    border-radius: 999px;
    background: rgba(10, 22, 53, 0.06);
    color: var(--service-navy);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.oc-services__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--service-navy);
    box-shadow: 0 0 0 4px rgba(10, 22, 53, 0.12);
}

.oc-services__title {
    margin: 0;
    color: var(--service-navy);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.045em;
}

.oc-services__title span {
    color: var(--service-navy);
    position: relative;
    display: inline-block;
}

.oc-services__title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 10px;
    background: rgba(10, 22, 53, 0.1);
    z-index: -1;
    border-radius: 3px;
}

.oc-services__subtitle {
    max-width: 620px;
    margin: 20px auto 0;
    color: var(--service-text);
    font-size: 1rem;
    line-height: 1.75;
}

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

.oc-services__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* ===========================
   SERVICE CARD
=========================== */

.oc-service-card {
    min-width: 0;
    height: 100%;
}

.oc-service-card__link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 330px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--service-border);
    border-radius: 18px;
    background: var(--service-white);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(10, 22, 53, 0.045);
    transition:
        transform 0.35s var(--service-ease),
        border-color 0.35s var(--service-ease),
        box-shadow 0.35s var(--service-ease);
}

.oc-service-card__link:hover {
    color: inherit;
    transform: translateY(-8px);
    border-color: rgba(10, 22, 53, 0.35);
    box-shadow: 0 20px 45px rgba(10, 22, 53, 0.15);
}

/* Navy line on top */
.oc-service-card__link::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: linear-gradient(
        90deg,
        var(--service-navy),
        var(--service-navy-accent),
        var(--service-navy)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--service-ease);
}

.oc-service-card__link:hover::before {
    transform: scaleX(1);
}

/* Soft hover background */
.oc-service-card__link::after {
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    content: "";
    opacity: 0;
    background: radial-gradient(
        circle,
        rgba(10, 22, 53, 0.08) 0%,
        transparent 68%
    );
    transition: opacity 0.4s ease;
}

.oc-service-card__link:hover::after {
    opacity: 1;
}

/* ===========================
   CARD TOP
=========================== */

.oc-service-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
}

.oc-service-card__icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(10, 22, 53, 0.15);
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 53, 0.08) 0%,
        rgba(10, 22, 53, 0.03) 100%
    );
    color: var(--service-navy);
    font-size: 1.35rem;
    transition:
        background 0.35s var(--service-ease),
        color 0.35s var(--service-ease),
        transform 0.35s var(--service-ease),
        box-shadow 0.35s var(--service-ease),
        border-color 0.35s var(--service-ease);
}

.oc-service-card__link:hover .oc-service-card__icon-box {
    color: var(--service-white);
    background: linear-gradient(
        135deg,
        var(--service-navy) 0%,
        var(--service-navy-light) 100%
    );
    border-color: var(--service-navy);
    box-shadow: 0 10px 22px rgba(10, 22, 53, 0.35);
    transform: rotate(6deg) scale(1.06);
}

.oc-service-card__number {
    color: rgba(10, 22, 53, 0.15);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    transition: color 0.35s var(--service-ease);
}

.oc-service-card__link:hover .oc-service-card__number {
    color: var(--service-navy);
}

/* ===========================
   CARD CONTENT
=========================== */

.oc-service-card__content {
    position: relative;
    z-index: 1;
}

.oc-service-card__title {
    margin: 0 0 13px;
    color: var(--service-navy);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

.oc-service-card__link:hover .oc-service-card__title {
    color: var(--service-navy-light);
}

.oc-service-card__text {
    margin: 0;
    color: var(--service-text);
    font-size: 0.91rem;
    line-height: 1.75;
}

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

.oc-service-card__footer {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 26px;
    color: var(--service-navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oc-service-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(10, 22, 53, 0.15);
    border-radius: 50%;
    color: var(--service-navy);
    font-size: 0.78rem;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.oc-service-card__link:hover .oc-service-card__arrow {
    border-color: var(--service-navy);
    background: var(--service-navy);
    color: var(--service-white);
    transform: translateX(4px);
}

/* Small decorative dot */
.oc-service-card__accent {
    position: absolute;
    top: 104px;
    left: 30px;
    z-index: 1;
    width: 24px;
    height: 2px;
    background: var(--service-navy);
    opacity: 0.4;
    transition: width 0.35s var(--service-ease), opacity 0.35s var(--service-ease);
}

.oc-service-card__link:hover .oc-service-card__accent {
    width: 42px;
    opacity: 0.8;
}

/* Keyboard Accessibility */
.oc-service-card__link:focus-visible {
    outline: 3px solid rgba(10, 22, 53, 0.4);
    outline-offset: 4px;
}

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

@media (max-width: 991px) {
    .oc-services {
        padding: 85px 0;
    }

    .oc-services__header {
        margin-bottom: 44px;
    }

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

    .oc-service-card__link {
        min-height: 315px;
    }
}

@media (max-width: 575.98px) {
    .oc-services {
        padding: 65px 0;
    }

    .oc-services__header {
        margin-bottom: 36px;
        text-align: left;
    }

    .oc-services__subtitle {
        margin-left: 0;
    }

    .oc-services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .oc-service-card__link {
        min-height: auto;
        padding: 24px;
        border-radius: 16px;
    }

    .oc-service-card__top {
        margin-bottom: 22px;
    }

    .oc-service-card__icon-box {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        font-size: 1.18rem;
    }

    .oc-service-card__footer {
        padding-top: 22px;
    }

    .oc-service-card__accent {
        top: 91px;
        left: 24px;
    }
}

/* Motion sensitivity support */
@media (prefers-reduced-motion: reduce) {
    .oc-service-card__link,
    .oc-service-card__link::before,
    .oc-service-card__link::after,
    .oc-service-card__icon-box,
    .oc-service-card__number,
    .oc-service-card__arrow,
    .oc-service-card__accent {
        transition: none;
    }
}

/* Banner CSS - Add this at top of services.css */
.oc-page-banner {
    position: relative;
    padding: 130px 0 100px;
    min-height: 380px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(6, 15, 36, 0.85) 0%,
            rgba(10, 22, 53, 0.75) 55%,
            rgba(18, 34, 74, 0.7) 100%
        ),
        url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.oc-page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 15, 36, 0.5) 0%,
        rgba(10, 22, 53, 0.3) 100%
    );
    z-index: 1;
}

.oc-page-banner .container {
    position: relative;
    z-index: 2;
}

.oc-page-banner__content {
    max-width: 800px;
}

.oc-page-banner__title {
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}

.oc-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    font-weight: 500;
}

.oc-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.oc-breadcrumb a:hover {
    color: #ffffff;
}

.oc-breadcrumb i {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.oc-breadcrumb span {
    color: #ffffff;
    font-weight: 600;
}

/* Responsive for banner */
@media (max-width: 991px) {
    .oc-page-banner {
        padding: 110px 0 80px;
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .oc-page-banner {
        padding: 90px 0 60px;
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    .oc-page-banner {
        padding: 80px 0 50px;
        min-height: 240px;
    }

    .oc-breadcrumb {
        font-size: 0.85rem;
        gap: 10px;
    }
}