/* public/css/rians.css */

/* Cleaner corporate Standard Chartered inspired theme */

:root {
    --sc-blue: #0072ce;
    --sc-blue-dark: #003b71;
    --sc-blue-soft: #eef7ff;

    --sc-green: #00a651;
    --sc-green-dark: #007a3d;
    --sc-green-soft: #eefaf4;

    --sc-white: #ffffff;
    --sc-light: #f8fafc;
    --sc-border: #dbe7f0;
    --sc-text: #1e293b;
    --sc-muted: #64748b;
    --sc-dark: #0f172a;

    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* General */

html {
    scroll-behavior: smooth;
}

/*body {*/
/*    font-family: Arial, Helvetica, sans-serif;*/
/*    background: var(--sc-light);*/
/*    color: var(--sc-text);*/
/*}*/

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: var(--sc-light);
    color: var(--sc-text);
}


a {
    transition: 0.25s ease;
}

/* Header */

.top-bar {
    background: var(--sc-blue-dark);
}

.site-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    color: var(--sc-text);
    position: relative;
}

.nav-link:hover {
    color: var(--sc-blue);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--sc-green);
    transition: 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */

.btn-primary {
    background: var(--sc-blue-dark);
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 800;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(0, 59, 113, 0.22);
    border: 1px solid var(--sc-blue-dark);
}

.btn-primary:hover {
    background: var(--sc-blue);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 114, 206, 0.26);
}

.btn-secondary {
    background: var(--sc-green);
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 800;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(0, 166, 81, 0.20);
    border: 1px solid var(--sc-green);
}

.btn-secondary:hover {
    background: var(--sc-green-dark);
    transform: translateY(-2px);
}

/* Hero */

.hero-bg {
    background:
        linear-gradient(120deg, rgba(0, 59, 113, 0.94), rgba(0, 90, 150, 0.86)),
        url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.page-hero {
    background:
        linear-gradient(120deg, rgba(0, 59, 113, 0.96), rgba(0, 114, 206, 0.82));
}

/* Forms */

.quote-card {
    border: 1px solid var(--sc-border);
    box-shadow: var(--shadow-soft);
}

.custom-input,
.custom-select,
.custom-textarea {
    width: 100%;
    border: 1px solid var(--sc-border);
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    transition: 0.25s ease;
    font-size: 15px;
    color: var(--sc-text);
}

.custom-input:focus,
.custom-select:focus,
.custom-textarea:focus {
    border-color: var(--sc-blue);
    box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.10);
}

/* Sections */

.section-label {
    color: var(--sc-green-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-label-light {
    color: #bff0d7;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Trust cards */

.trust-card {
    background: #ffffff;
    border-color: var(--sc-border);
    box-shadow: var(--shadow-card);
}

.trust-card:nth-child(even) {
    background: var(--sc-blue-soft);
}

.trust-card:nth-child(odd) {
    background: #ffffff;
}

/* Service cards */

.service-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 30px;
    border: 1px solid var(--sc-border);
    box-shadow: var(--shadow-card);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 114, 206, 0.35);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
}

.icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--sc-blue-soft);
    border: 1px solid #d7ebfb;
    color: var(--sc-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

/* Why section */

.why-section {
    background: var(--sc-blue-dark);
}

.feature-box {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 18px;
    color: #ffffff;
}

/* CTA */

.cta-section {
    background: linear-gradient(120deg, var(--sc-blue-dark), var(--sc-blue));
}

/* Footer */

.footer {
    background: #061b34;
}

.footer-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

/* Mobile sticky buttons */

.mobile-sticky {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 92px;
    }

    .mobile-sticky {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        position: fixed;
        bottom: 14px;
        left: 14px;
        right: 14px;
        z-index: 999;
    }

    .mobile-sticky a {
        padding: 15px 10px;
        border-radius: 16px;
        text-align: center;
        font-weight: 900;
        color: #ffffff;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.26);
    }

    .mobile-call {
        background: var(--sc-blue-dark);
    }

    .mobile-whatsapp {
        background: var(--sc-green);
    }

    .site-logo {
        height: 50px;
    }
}

.area-pill {
    background: #ffffff;
    border: 1px solid var(--sc-border);
    border-radius: 999px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.process-card {
    background: #ffffff;
    border: 1px solid var(--sc-border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.process-number {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--sc-blue-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    margin: 0 auto 18px auto;
}

.process-card h3 {
    font-size: 20px;
    font-weight: 900;
    color: var(--sc-blue-dark);
    margin-bottom: 10px;
}

.process-card p {
    color: var(--sc-muted);
    line-height: 1.7;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--sc-border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow-card);
}

.faq-card h3 {
    font-size: 20px;
    font-weight: 900;
    color: var(--sc-blue-dark);
    margin-bottom: 10px;
}

.faq-card p {
    color: var(--sc-muted);
    line-height: 1.7;
}

/*services section*/

/* Corporate services section */

/* =========================================================
   Corporate Services Section
   ========================================================= */

.services-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at top right,
            rgba(0, 114, 206, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbff 100%
        );
}

/* Decorative background shape */

.services-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -180px;
    border-radius: 50%;
    background: rgba(0, 166, 81, 0.06);
    pointer-events: none;
}

.services-section::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    bottom: -190px;
    left: -160px;
    border-radius: 50%;
    background: rgba(0, 114, 206, 0.06);
    pointer-events: none;
}

.services-section > .max-w-7xl {
    position: relative;
    z-index: 1;
}

/* Section label */

.services-section .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sc-green-dark);
}

.services-section .section-label::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--sc-green),
        var(--sc-blue)
    );
}

/* Services grid */

.corporate-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

/* Individual card */

.corporate-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--sc-border);
    border-radius: 26px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.07),
        0 2px 8px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* Accent line */

.corporate-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 4px;
    z-index: 3;

    border-radius: 0 0 999px 999px;

    background: linear-gradient(
        90deg,
        var(--sc-green),
        var(--sc-blue)
    );

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.corporate-service-card:hover {
    transform: translateY(-9px);
    border-color: rgba(0, 114, 206, 0.28);

    box-shadow:
        0 24px 52px rgba(15, 23, 42, 0.13),
        0 8px 18px rgba(0, 114, 206, 0.08);
}

.corporate-service-card:hover::before {
    transform: scaleX(1);
}

/* Image */

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--sc-blue-soft);
}

.service-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(0, 59, 113, 0.34) 100%
    );

    opacity: 0.65;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.35s ease;
}

.corporate-service-card:hover .service-image {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.corporate-service-card:hover .service-image-wrapper::after {
    opacity: 0.9;
}

/* Content */

.service-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

/* Number and divider */

.corporate-service-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.service-number {
    min-width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        var(--sc-blue-dark),
        var(--sc-blue)
    );

    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;

    box-shadow: 0 8px 18px rgba(0, 59, 113, 0.18);

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.corporate-service-card:hover .service-number {
    transform: rotate(-4deg) scale(1.06);

    background: linear-gradient(
        135deg,
        var(--sc-green-dark),
        var(--sc-green)
    );
}

.service-line {
    height: 1px;
    flex: 1;

    background: linear-gradient(
        90deg,
        var(--sc-border),
        transparent
    );
}

/* Typography */

.corporate-service-card h3 {
    margin-bottom: 13px;

    color: var(--sc-blue-dark);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;

    transition: color 0.25s ease;
}

.corporate-service-card:hover h3 {
    color: var(--sc-blue);
}

.corporate-service-card p {
    margin-bottom: 24px;

    color: var(--sc-muted);
    font-size: 15.5px;
    line-height: 1.75;
}

/* Quote link */

.service-link {
    width: fit-content;
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--sc-green-dark);
    font-size: 15px;
    font-weight: 900;

    position: relative;
}

.service-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 100%;
    height: 2px;

    border-radius: 999px;
    background: var(--sc-green);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-link span {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--sc-green-soft);
    color: var(--sc-green-dark);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.service-link:hover {
    color: var(--sc-blue-dark);
}

.service-link:hover::after {
    transform: scaleX(1);
}

.service-link:hover span {
    transform: translateX(5px);
    background: var(--sc-blue-dark);
    color: #ffffff;
}

/* Optional slight staggered appearance on desktop */

@media (min-width: 1025px) {
    .corporate-service-card:nth-child(2),
    .corporate-service-card:nth-child(5) {
        transform: translateY(14px);
    }

    .corporate-service-card:nth-child(2):hover,
    .corporate-service-card:nth-child(5):hover {
        transform: translateY(5px);
    }
}

/* Tablet */

@media (max-width: 1024px) {
    .corporate-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .service-card-content {
        padding: 25px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .services-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .corporate-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .corporate-service-card {
        border-radius: 22px;
    }

    .service-image-wrapper {
        aspect-ratio: 16 / 9;
    }

    .service-card-content {
        padding: 23px;
    }

    .corporate-service-card h3 {
        font-size: 21px;
    }

    .corporate-service-card p {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Respect reduced-motion accessibility setting */

@media (prefers-reduced-motion: reduce) {
    .corporate-service-card,
    .corporate-service-card::before,
    .service-image,
    .service-number,
    .service-link span,
    .service-link::after {
        transition: none;
    }

    .corporate-service-card:hover,
    .corporate-service-card:nth-child(2),
    .corporate-service-card:nth-child(5) {
        transform: none;
    }
}