﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
/* Qarar brand theme variables */
:root {
    --brand: #00B3CA;
    --brand-700: #016b79;
    --hero-grad-start: #00B3CA;
    --hero-grad-end: #000;
    --card-border: #e5e7eb;
}


body {
  /*  padding-top: 50px;
    padding-bottom: 20px;*/
    -webkit-print-color-adjust: exact !important;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.th {
    font-size: 12px;
}

.hero {
    background: radial-gradient(1200px 600px at 10% 0%, #00B3CA 0%, #00B3CA 50%, #000 100%);
    color: #fff;
    border-radius: 1.25rem;
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

    .hero::after {
        content: "";
        position: absolute;
        right: -120px;
        top: -120px;
        width: 300px;
        height: 300px;
        background: radial-gradient(closest-side, rgba(255,255,255,.25), rgba(255,255,255,0));
        filter: blur(2px);
        border-radius: 50%;
    }

    .hero h1 {
        font-weight: 700;
        letter-spacing: .2px;
    }

    .hero p.lead {
        color: rgba(255,255,255,.9);
        max-width: 56ch;
    }

.glass {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 1rem;
}

.card-modern {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(16,24,40,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .card-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(16,24,40,.1);
    }

@font-face {
    font-family: 'SaudiRiyalSymbol';
    src: url('fonts/saudiriyalsymbol.ttf') format('truetype');
}
.symbol {
    font-family: 'SaudiRiyalSymbol', sans-serif;
    font-size: inherit;
    margin-right: .35rem;
    color: inherit;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    vertical-align: text-bottom;
}

.module-tile {
    border-radius: 1rem;
    padding: 1.2rem 1rem;
    text-align: left;
    border: 1px solid var(--card-border);
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .module-tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 18px rgba(16,24,40,.08);
    }

      .module-icon {
            height: 44px;
            width: 44px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,179,202,.12);
            color: #00B3CA;
            font-size: 1.2rem;
            margin-right: .6rem;
        }

.module-title {
    font-weight: 800;
    letter-spacing: .2px;
    color: #111827;
    margin: 0;
}

.module-sub {
    color: #6b7280;
    font-size: .9rem;
    margin: 0;
}

.chip {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: .2rem .6rem;
    font-size: .8rem;
    color: rgba(255,255,255,.9);
    background: #00B3CA;
}

.chip:hover {

    background: #00B3CA;
}

.feature-card {
    padding: 1.4rem;
}

.icon-pill {
    height: 48px;
    width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #00BCD4;
    font-size: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    background: #f0fdff;
}

/* Footer */
.footer {
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    height: 50px;
    background: linear-gradient(90deg,#00334d,#005f73);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Utilities */
.lead-tight {
    max-width: 56ch;
}

.section-title {
    font-weight: 800;
    letter-spacing: .3px;
    color: #1bb4c9;
}

.btn-hero {
    padding-inline: 1.25rem;
    padding-block: .7rem;
    border-radius: .75rem;
    font-weight: 600;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    border: 1px solid rgba(255,255,255,.18);
}

.hero-lite {
    background: radial-gradient(1200px 600px at 10% 0%, #00B3CA 0%, #00B3CA 50%, #000 100%);
    color: #fff;
    border-radius: 1rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    margin-bottom: 1.5rem;
}

.card-modern {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(16,24,40,.06);
}

/* Override Bootstrap's success button with brand teal */
.btn-success {
    background-color: #00b3ca !important; /* solid teal */
    border-color: #00b3ca !important;
    color: #fff !important;
}

    .btn-success:hover {
        background-color: #fff !important; /* was text color */
        border-color: #00b3ca !important;
        color: #00b3ca !important; /* was background color */
    }

    .btn-success:focus,
    .btn-success:active {
        background-color: #00b3ca !important;
        border-color: #00b3ca !important;
        color: #fff !important;
        box-shadow: 0 0 0 0.25rem rgba(27, 143, 128, 0.4) !important;
    }


.btn-primary {
    background-color: #00535e !important; /* solid teal */
    border-color: #00535e !important;
    color: #fff !important;
}

    .btn-primary:hover {
        background-color: #fff !important; /* was text color */
        border-color: #00535e !important;
        color: #00535e !important; /* was background color */
    }

    .btn-primary:focus,
    .btn-primary:active {
        background-color: #00b3ca !important;
        border-color: #00b3ca !important;
        color: #fff !important;
        box-shadow: 0 0 0 0.25rem rgba(27, 143, 128, 0.4) !important;
    }

.table-modern {
    table-layout: fixed; /* forces columns to fit the table width */
    width: 100%;
}
    .table-modern th,
    .table-modern td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* you already use .ellipsis; this makes it default */
    }

.table-modern thead th {
    font-weight: 600;
    color: #6b7280;
    border-bottom-width: 1px
}

.status-pill {
    font-size: .75rem;
    padding: .25rem .5rem;
    border-radius: 999px
}

.flowGroups {
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    height: 50px;
    background: linear-gradient(90deg, #00334d, #1895af);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center; /* vertical centering */
}

.footer {
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    height: 50px;
    background: linear-gradient(90deg, #00334d, #005f73);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center; /* vertical centering */
}


.accordianBackground {
    background: linear-gradient(45deg, #00171a, #00b3ca);
}

.form-label {
    display: inline-block;
    max-width: 500px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-white {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
}

    .text-white:hover {
        --bs-text-opacity: 1;
        color: #000 !important;
    }
/* Brand tile variants (no color flip on hover) */
.module-tile.tile--brand {
    background: #00b3ca; /* brand teal */
    border-color: #00b3ca;
    color: #fff;
}

    .module-tile.tile--brand .module-title {
        color: #000;
    }

    .module-tile.tile--brand .module-sub {
        color: rgba(255,255,255,.92);
    }

    /* Keep the nice lift on hover but don't invert colors */
    .module-tile.tile--brand:hover {
        background: #00b3ca;
        color: #fff;
        box-shadow: 0 10px 18px rgba(16,24,40,.12);
        transform: translateY(-2px);
    }

/* Optional lighter brand tint (if you want a soft version) */
.module-tile.tile--tint {
    background: linear-gradient(180deg, rgba(0,179,202,.08), #fff);
}


/* ===== FAQ pill style ===== */
.accordion.faq {
    --faq-bg: #f5f7fb;
    --faq-border: #e5e7eb;
}

    .accordion.faq .accordion-item {
        border: 0;
        background: transparent;
    }

        .accordion.faq .accordion-item + .accordion-item {
            margin-top: .75rem;
        }

    /* Header pill */
    .accordion.faq .accordion-button {
        border-radius: 12px;
        background: var(--faq-bg);
        box-shadow: inset 0 0 0 1px var(--faq-border);
        padding: .9rem 1.1rem;
        font-weight: 600;
        color: #0f172a; /* slate-900 */
    }

        .accordion.faq .accordion-button:hover {
            filter: brightness(.98);
        }

        .accordion.faq .accordion-button:focus {
            box-shadow: 0 0 0 .25rem rgba(0,179,202,.25); /* brand glow */
        }

        /* Keep the header looking like a pill even when open */
        .accordion.faq .accordion-button:not(.collapsed) {
            background: var(--faq-bg);
            color: #0f172a;
            box-shadow: inset 0 0 0 1px var(--faq-border);
        }

    /* Replace default caret with a nicer chevron (Bootstrap 5 supports these vars) */
    .accordion.faq .accordion-button {
        --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M4 6l4 4 4-4'/%3e%3c/svg%3e");
        --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
    }

    /* Body panel */
    .accordion.faq .accordion-body {
        margin-top: .5rem;
        background: #fff;
        border: 1px solid var(--faq-border);
        border-radius: 12px;
        padding: 1rem 1.1rem;
        color: #334155; /* slate-700 */
        box-shadow: 0 2px 8px rgba(16,24,40,.06);
    }

/* ===== Sources grid (outer frame + inner brand tile) ===== */
.row.sources {
    --bs-gutter-y: 1.25rem;
    --bs-gutter-x: 1.25rem;
}

.source-frame {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(16,24,40,.08);
    padding: 18px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .source-frame:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(16,24,40,.12);
    }

    .source-frame:focus-within {
        box-shadow: 0 0 0 .25rem rgba(0,179,202,.25);
    }

.source-tile {
    background: #0fb7ca; /* brand teal block */
    color: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    width: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.source-tile:hover {
    background: #0fb7ca; /* brand teal block */
    color: #000;
    border-radius: 16px;
    padding: 18px 16px;
    width: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}


.source-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
}

.source-sub {
    margin: 0;
    font-size: .92rem;
    color: #ceffff;
}

/* corner icon bubble */
.tile-icon {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

    .tile-icon i {
        font-size: 1.2rem;
        color: #fff;
    }

/* optional alt shading for variety */
.tile-alt {
    background: linear-gradient(180deg, var(--brand) 0%, #0089a1 100%);
}

/* CTA band styling */
.cta-band .p-4,
.cta-band .p-5 {
    background: linear-gradient(135deg, #00b3ca 0%, #008596 55%, #006b88 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.cta-band .btn-lg {
    padding: .6rem 1.1rem;
    border-radius: 999px;
}

/* small fix so hero nav links are readable on gradient */
.hero-lite .nav-link {
    color: #fff;
    opacity: .9;
}

    .hero-lite .nav-link:hover {
        opacity: 1;
    }

.overflow-auto::-webkit-scrollbar {
    height: 8px;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
