﻿/* 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. */
:root {
    --color-primary: #246edf;
    --color-cyan: #246edf;
    --color-rsm-hover: #008EAA;
    --color-dark-footer: #f4f4f4;
    --color-bg: #f3f7ff;
}

body {
    font-family: var(--font-sans);
    background: #f9fafb;
    color: #1b2b4b;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
}

/* ===========================
   OFFICIAL GOV BANNER
   =========================== */
.gov-banner {
    width: 100%;
    background: #f4f9fe;
    color: #20262d;
    font-family: 'MyGov Noto Sans', 'Segoe UI', Arial, sans-serif;
    position: relative;
    z-index: 1040;
}

.gov-banner-toggle {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-bottom: 1px solid #dde7f3;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.gov-banner-inner {
    width: min(100% - 32px, 1200px);
    min-height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gov-banner-emblem {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gov-banner-title {
    color: #20262d;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.gov-banner-question {
    color: #5572bf;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    white-space: nowrap;
}

.gov-banner-chevron {
    fill: currentColor;
    transition: transform 0.2s ease;
}

.gov-banner-toggle[aria-expanded="true"] .gov-banner-chevron {
    transform: rotate(180deg);
}

.gov-banner-panel {
    border-bottom: 1px solid #e6eef8;
}

.gov-banner-panel-inner {
    width: min(100% - 32px, 1200px);
    min-height: 156px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 96px;
    padding: 24px 0 32px;
}

.gov-banner-info {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
    color: #20262d;
}

.gov-banner-info-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2px;
}

.gov-banner-info h4 {
    color: #20262d;
    font-family: 'MyGov Noto Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 10px;
}

.gov-banner-info p {
    color: #20262d;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin: 0 0 12px;
}

.gov-banner-info a {
    color: #5572bf;
    text-decoration: none;
}

.gov-banner-info a:hover {
    color: #355ec2;
    text-decoration: none;
}

.gov-banner-list-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5572bf;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.gov-banner-inline-lock {
    display: inline-block;
    margin: 0 2px 3px;
    vertical-align: middle;
}

.display-6 {
    font-size: 36px;
}

/* ===========================
   ICON SYSTEM
   =========================== */

/* Round icon container */
.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Rounded square icon container */
.icon-square {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Icon color variants */
.icon-cyan {
    background-color: #e0f7fa;
    color: var(--color-cyan) !important;
}

.icon-blue {
    background-color: #e3eafc;
    color: var(--color-primary) !important;
}

.icon-green {
    background-color: #dcfce7;
    color: #16a34a !important;
}

.icon-orange {
    background-color: #fff7ed;
    color: #ea580c !important;
}

.icon-purple {
    background-color: #f3e8ff;
    color: #7c3aed !important;
}

.icon-pink {
    background-color: #fce7f3;
    color: #db2777 !important;
}

.icon-red {
    background-color: #fee2e2;
    color: #dc2626 !important;
}

.icon-yellow {
    background-color: #fef3c7;
    color: #d97706 !important;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    font-size: 1rem;
}

.navbar-nav .nav-link {
    padding-inline: 0.9rem;
}

.top-bar {
    background-color: transparent;
}

.nav-link-active {
    color: var(--color-primary) !important;
    font-weight: 600;
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-cyan);
    border-radius: 50%;
}

/* ===========================
   HOVER EFFECTS
   =========================== */
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

/* ===========================
   UTILITY COLORS
   =========================== */
.text-primary-dark {
    color: var(--color-primary) !important;
}

.bg-primary-dark {
    background-color: var(--color-primary) !important;
}

.text-cyan {
    color: var(--color-cyan) !important;
}

.bg-cyan {
    background-color: var(--color-cyan) !important;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    height: 55vh;
    min-height: 360px;
    padding: 40px 0;
    text-align: center;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-title {
    color: #134da6;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-slogan {
    max-width: 600px;
    min-height: 1.5em;
    font-size: 1.25rem;
}

.hero-search-bar {
    position: relative;
    width: min(100%, 600px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    width: min(70vw, 800px);
    height: min(70vw, 800px);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, rgba(6, 182, 212, 0) 70%);
    filter: blur(min(8vw, 100px));
    border-radius: 50%;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-blob-1 {
    top: -10%;
    left: calc(50% - min(40vw, 600px));
    background: radial-gradient(circle, rgba(19, 77, 166, 0.38) 0%, rgba(19, 77, 166, 0) 70%);
    animation: blob-float-1 22s infinite alternate ease-in-out;
}

.hero-blob-2 {
    bottom: -10%;
    left: calc(50% + min(10vw, 150px));
    background: radial-gradient(circle, rgba(36, 110, 223, 0.35) 0%, rgba(36, 110, 223, 0) 70%);
    animation: blob-float-2 28s infinite alternate ease-in-out;
}

.hero-blob-3 {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(60vw, 700px);
    height: min(60vw, 700px);
    background: radial-gradient(circle, rgba(0, 142, 170, 0.32) 0%, rgba(0, 142, 170, 0) 70%);
    animation: blob-float-1 25s infinite alternate-reverse ease-in-out;
}

.hero-blob-4 {
    top: 40%;
    left: calc(50% + min(5vw, 100px));
    width: min(45vw, 500px);
    height: min(45vw, 500px);
    background: radial-gradient(circle, rgba(19, 77, 166, 0.22) 0%, rgba(19, 77, 166, 0) 70%);
    animation: blob-float-2 32s infinite alternate-reverse ease-in-out;
}

@keyframes blob-float-1 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(min(10vw, 100px), min(-5vh, -50px)) rotate(10deg) scale(1.1);
    }

    66% {
        transform: translate(min(-5vw, -50px), min(10vh, 100px)) rotate(-5deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes blob-float-2 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1.1);
    }

    50% {
        transform: translate(min(-10vw, -100px), min(15vh, 150px)) rotate(-15deg) scale(0.85);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1.1);
    }
}

.hero-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: saturate(180%) blur(80px);
    -webkit-backdrop-filter: saturate(180%) blur(80px);
    z-index: 2;
    animation: glass-pulse 10s infinite alternate ease-in-out;
}

@keyframes glass-pulse {
    0% {
        backdrop-filter: saturate(180%) blur(80px);
        background: rgba(255, 255, 255, 0.15);
    }

    100% {
        backdrop-filter: saturate(220%) blur(60px);
        background: rgba(255, 255, 255, 0.25);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        height: 55vh;
        min-height: 360px;
        padding: 28px 0;
    }

    .hero-blob {
        filter: blur(60px);
        opacity: 0.6;
    }

    .hero-glass-overlay {
        backdrop-filter: saturate(160%) blur(40px);
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-slogan {
        font-size: 1.1rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 320px;
    }
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}



.btn-portal {
    background: #246edf;
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn-portal:hover {
    background: #008EAA;
    transform: translateY(-2px);
}

.btn-rsm {
    background: #246edf;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-rsm:hover {
    background: #008EAA;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-more {
    color: #246edf;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: gap 0.2s;
}

.btn-more:hover {
    gap: 12px;
    color: #008EAA;
}

/* ===========================
   STATS SECTION
   =========================== */


.stat-number {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #111827;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

/* ===========================
   PROJECTS MASONRY SECTION
   =========================== */
.proj-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e2e8f0;
}

.proj-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.proj-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.proj-tall {
    min-height: 480px;
}

.proj-short {
    min-height: 380px;
}

.proj-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    text-align: left;
}

.proj-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

.proj-desc {
    font-size: 1.05rem;
    max-width: 95%;
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proj-desc * {
    color: inherit !important;
    margin-bottom: 0;
    font-size: inherit;
    line-height: inherit;
}

.section-heading {
    font-size: 36px;
    line-height: 1.2;
    text-align: left;
}

.home-project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    font-family: var(--font-dm-sans);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.home-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    color: inherit;
}

.home-project-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #f4f7fb;
    display: block;
}

.home-project-card-body {
    padding: 24px;
}

.home-project-card-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 12px;
}

.home-project-card-body div {
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* End of Projects Masonry adjustments */
@media (max-width: 991px) {
    .proj-card {
        min-height: 380px !important;
    }
}

/* ===========================
   SERVICES SECTION
   =========================== */


.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.service-card p {
    color: #6b7280;
}

.portal-logo-wrap {
    width: 100%;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.portal-logo {
    display: block;
    width: 132px;
    height: 68px;
    object-fit: contain;
    object-position: left center;
}

.about-copy {
    color: #5f6b7c;
    line-height: 1.8;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-principles {
    display: grid;
    gap: 14px;
    padding-left: 1.2rem;
    margin: 0;
}

.about-principles li {
    padding-left: 4px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.leadership-person {
    min-width: 0;
    padding: 24px;
    background: #f4f8ff;
    border: 1px solid #e5edf9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.leadership-photo {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
    object-fit: cover;
}

.leadership-role {
    color: #293b82;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
}

.leadership-name {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 8px;
}

@media (max-width: 991px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .portal-logo-wrap {
        justify-content: center;
    }

    .portal-logo {
        object-position: center;
    }

    .leadership-person {
        align-items: flex-start;
        padding: 20px;
    }
}

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
    width: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.news-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-card-body {
    padding: 24px;
}

.news-card-date {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
    margin-bottom: 0;
}

.about-digital-bg {
    min-height: 340px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 72%, rgba(36, 110, 223, 0.32) 0 4px, transparent 5px),
        radial-gradient(circle at 58% 22%, rgba(0, 142, 170, 0.28) 0 5px, transparent 6px),
        radial-gradient(circle at 82% 72%, rgba(19, 77, 166, 0.22) 0 6px, transparent 7px),
        radial-gradient(circle at 20% 20%, rgba(36, 110, 223, 0.22), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(0, 142, 170, 0.2), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #e8f1ff 48%, #f4fbfd 100%);
    border: 1px solid #dbe7fb;
    box-shadow: 0 16px 36px rgba(19, 77, 166, 0.08);
}

.about-digital-bg::before,
.about-digital-bg::after {
    content: "";
    position: absolute;
    inset: 15% 10%;
    background:
        linear-gradient(32deg, transparent 0 28%, rgba(36, 110, 223, 0.18) 28% 28.6%, transparent 28.6% 100%),
        linear-gradient(145deg, transparent 0 44%, rgba(0, 142, 170, 0.16) 44% 44.6%, transparent 44.6% 100%),
        linear-gradient(8deg, transparent 0 62%, rgba(19, 77, 166, 0.15) 62% 62.5%, transparent 62.5% 100%);
}

.about-digital-bg::after {
    inset: 22% 18%;
    opacity: 0.7;
    transform: rotate(8deg);
}

.about-digital-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(36, 110, 223, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 110, 223, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 80%);
}

.about-digital-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px;
    color: #134DA6;
    z-index: 1;
}

.about-digital-content i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-digital-content strong {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.about-digital-content span {
    max-width: 420px;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

.see-all-link {
    color: #246edf;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.reseptim-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f7fbff 0%, #eaf3ff 48%, #ffffff 100%);
    padding: 72px 0;
}

.reseptim-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 48px;
}

.reseptim-copy {
    text-align: left;
}

.reseptim-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #246edf;
    background: rgba(36, 110, 223, 0.1);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 18px;
}

.reseptim-copy h2 {
    color: #134DA6;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

.reseptim-copy .digital-twin-title {
    font-family: var(--font-sans);
}

.reseptim-copy p {
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 28px;
}

.reseptim-actions {
    margin-bottom: 24px;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 158px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.store-badge:hover {
    background: #246edf;
    color: #ffffff;
    transform: translateY(-2px);
}

.store-badge i {
    font-size: 1.8rem;
}

.store-badge span {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    line-height: 1.05;
}

.store-badge small {
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.85;
}

.reseptim-visual {
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reseptim-phone-img {
    width: min(100%, 520px);
    height: auto;
    display: block;
    filter: drop-shadow(34px 34px 56px rgba(19, 77, 166, 0.24));
}

.health-app-carousel {
    position: relative;
}

.health-app-carousel .carousel-inner {
    padding-bottom: 64px;
}

.health-app-layout {
    min-height: 570px;
}

.digital-twin-phone-img {
    width: min(100%, 470px);
    height: auto;
    display: block;
    filter: drop-shadow(34px 34px 56px rgba(19, 77, 166, 0.24));
}

.health-app-carousel-control {
    width: 48px;
    height: 48px;
    top: 50%;
    bottom: auto;
    border: 1px solid rgba(36, 110, 223, 0.18);
    border-radius: 50%;
    background: #ffffff;
    color: #246edf;
    box-shadow: 0 8px 24px rgba(19, 77, 166, 0.14);
    opacity: 1;
    transform: translateY(-50%);
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
    z-index: 5;
}

.health-app-carousel-control.carousel-control-prev {
    left: max(12px, calc(50% - 716px));
}

.health-app-carousel-control.carousel-control-next {
    right: max(88px, calc(50% - 716px));
}

.health-app-carousel-control:hover,
.health-app-carousel-control:focus-visible {
    border-color: #008eaa;
    background: #008eaa;
    color: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
}

.health-app-carousel-control:focus:not(:hover):not(:focus-visible),
.health-app-carousel-control:active:not(:hover) {
    border-color: rgba(36, 110, 223, 0.18);
    background: #ffffff;
    color: #246edf;
    opacity: 1;
    transform: translateY(-50%);
}

.health-app-carousel-control i {
    font-size: 16px;
    color: currentColor;
    display: none;
}

.health-app-carousel-control::before {
    content: "";
    width: 11px;
    height: 11px;
    border-top: 2px solid #246edf !important;
    border-right: 2px solid #246edf !important;
    display: block;
    opacity: 1 !important;
}

.health-app-carousel-control:hover::before,
.health-app-carousel-control:focus::before,
.health-app-carousel-control:focus-visible::before,
.health-app-carousel-control:active::before {
    border-top-color: #246edf !important;
    border-right-color: #246edf !important;
    opacity: 1 !important;
}

.health-app-carousel-control.carousel-control-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.health-app-carousel-control.carousel-control-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.health-app-carousel-indicators {
    bottom: 12px;
    gap: 8px;
    margin-bottom: 0;
}

.health-app-carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: #8aa7d5;
    opacity: 1;
    transition: width 0.2s, border-radius 0.2s, background-color 0.2s;
}

.health-app-carousel-indicators .active {
    width: 24px;
    border-radius: 999px;
    background-color: #246edf;
}

.see-all-link:hover {
    gap: 10px;
    color: #008EAA;
}

/* ===========================
   SECTION UTILITY
   =========================== */
section {
    padding: 50px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 24px;
}

/* ===========================
   GOVBANNER
   =========================== */
.gov-banner {
    background-color: #f7f9fc;
    padding: 0 32px;
}

.gov-banner p {
    margin: 0;
}

.gov-banner .toggle-link {
    cursor: pointer;
}

.gov-banner .toggle-link img {
    transition: all 0.3s ease-in-out;
}

.gov-banner .collapse .border-top {
    border-top: 1px solid #E6EAF2;
}

.icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ===========================
   DROPDOWN
   =========================== */
.dropdown-menu {
    border-radius: 24px !important;
    padding: 16px !important;
}

.dropdown-item.active,
.dropdown-item:hover {
    border-radius: 999px !important;
    background-color: #f2f2f2 !important;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background-color: var(--color-dark-footer);
    padding: 64px 0 32px;
    color: #1f2937;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: #5f6b7a;
    line-height: 1.6;
    margin-top: 24px;
}

.site-footer {
    border-top: none;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 24px;
}

.footer-link {
    display: block;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2.2;
    transition: all 0.2s;
}

.footer-link:hover {
    color: #246edf;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    color: #4b5563;
    font-size: 0.9rem;
}

.footer-contact-item i {
    margin-top: 4px;
    color: #246edf;
    font-size: 0.9rem;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-contact-item a:hover {
    color: #246edf;
}

.footer-bottom {
    border-top: 1px solid #d8dde6;
    margin-top: 48px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-link:hover {
    color: #246edf;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #246edf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    background: #246edf;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-x-icon {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
}

.footer-call-center {
    color: #134DA6;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-dm-sans);
    margin-top: 18px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.sitemap-group {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.sitemap-group h2 {
    color: #111827;
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.sitemap-group a {
    display: block;
    color: #4b5563;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.sitemap-group a:last-child {
    border-bottom: none;
}

.sitemap-group a:hover {
    color: #246edf;
}

@media (max-width: 991px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .display-6 {
        font-size: 32px;
    }
}

/* ===========================
   FAQ PAGE STYLES
   =========================== */
.faq-header-icon {
    width: 48px;
    height: 48px;
    background-color: #E0F2FE;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
    font-size: 1.4rem;
}

.faq-search-wrapper {
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 18px 24px 18px 56px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    font-size: 1.05rem;
    transition: all 0.2s;
    background: white;
}

.faq-search-input:focus {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: #06b6d4;
    outline: none;
}

.faq-search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 1.2rem;
}

.faq-card {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
    background: white;
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-btn {
    padding: 24px 28px;
    width: 100%;
    text-align: left;
    background: white;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    box-shadow: none !important;
}

.faq-btn:focus {
    outline: none;
}

.faq-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50rem;
    text-transform: uppercase;
    display: inline-block;
    background: #e0f7fa;
    color: #06b6d4;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.faq-question {
    font-weight: 600;
    font-size: 1.15rem;
    color: #374151;
    margin-bottom: 0;
    padding-right: 40px;
}

.faq-toggle-icon {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: #9CA3AF;
    font-size: 1rem;
}

.faq-btn:not(.collapsed) .faq-toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0 24px 32px 24px;
    color: #4B5563;
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-answer p {
    margin-bottom: 0;
}

.faq-cta-card {
    background: linear-gradient(90deg, #1E3A8A 0%, #06B6D4 100%);
    border-radius: 32px;
    padding: 64px 40px;
    color: white;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 80px;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 48px;
}

.contact-info-item h6 {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white !important;
}

.contact-info-item p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .gov-banner-inner {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 4px 8px;
        padding: 8px 0;
    }

    .gov-banner-title,
    .gov-banner-question {
        font-size: 14px;
        line-height: 20px;
    }

    .gov-banner-panel-inner {
        grid-template-columns: 1fr;
        row-gap: 24px;
        padding: 22px 0 28px;
    }

    .gov-banner-info h4 {
        font-size: 16px;
        line-height: 24px;
    }

    .gov-banner-info p,
    .gov-banner-list-link {
        font-size: 14px;
        line-height: 22px;
    }

    .reseptim-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reseptim-copy {
        text-align: center;
    }

    .reseptim-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .store-badges {
        justify-content: center;
    }

    .reseptim-visual {
        min-height: 420px;
    }

    .health-app-layout {
        min-height: 0;
    }

    .health-app-carousel-control {
        top: auto;
        bottom: 4px;
        transform: none;
    }

    .health-app-carousel-control.carousel-control-prev {
        left: calc(50% - 108px);
    }

    .health-app-carousel-control.carousel-control-next {
        right: calc(50% - 108px);
    }

    .health-app-carousel-control:hover,
    .health-app-carousel-control:focus-visible {
        transform: scale(1.04);
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .faq-cta-card {
        padding: 48px 24px;
    }

    .hero-section {
        padding: 32px 0;
    }

    .site-footer .col-lg-3:not(:last-child) {
        margin-bottom: 32px;
    }
}

@media (max-width: 575px) {
    .gov-banner-inner {
        width: min(100% - 24px, 1200px);
        align-items: flex-start;
    }

    .gov-banner-question {
        width: calc(100% - 32px);
        white-space: normal;
    }

    .gov-banner-panel-inner {
        width: min(100% - 24px, 1200px);
    }

    .gov-banner-info {
        gap: 12px;
    }

    .reseptim-copy h2 {
        font-size: 34px;
    }

    .reseptim-phone-img {
        width: min(100%, 360px);
    }

    .digital-twin-phone-img {
        width: min(100%, 340px);
    }

    .health-app-carousel .carousel-inner {
        padding-bottom: 72px;
    }

    .health-app-carousel-control {
        width: 44px;
        height: 44px;
    }
}

/* Mandatory official government banner, matched to my.gov.az. */
.gov-banner {
    width: 100%;
    padding: 0;
    background: #f4f9fe;
    color: #20262d;
    font-family: 'MyGov Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    position: relative;
    z-index: 1040;
}

.gov-banner-container {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.2rem;
    padding-left: 1.2rem;
}

.gov-banner-toggle {
    min-height: 0;
    height: fit-content;
    padding-top: 12px;
    padding-bottom: 12px;
    border: 0;
    background: transparent;
    color: #20262d;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gov-banner-summary-content {
    min-width: 0;
    min-height: 0;
    height: fit-content;
    max-width: fit-content;
    margin: 0;
    display: flex;
    flex: 1 1 auto;
}

.gov-banner-emblem {
    width: 24px;
    height: auto;
    margin-right: 16px;
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
}

.gov-banner-emblem img,
.gov-banner-chevron img,
.gov-banner-detail-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.gov-banner-title {
    color: #20262d;
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.gov-banner-question {
    width: auto;
    color: #0f7ef5;
    margin-left: 8px;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    white-space: normal;
}

.gov-banner-chevron {
    width: 28px;
    height: 24px;
    display: flex;
    flex: 0 0 28px;
    fill: initial;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.gov-banner-chevron img {
    margin-left: 4px;
}

.gov-banner[data-expanded="true"] .gov-banner-chevron {
    transform: rotate(180deg);
}

.gov-banner-panel {
    border: 0;
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 300ms;
}

.gov-banner[data-expanded="true"] .gov-banner-panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

.gov-banner-panel-collapse {
    min-height: 0;
    overflow: hidden;
}

.gov-banner-panel-container {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.gov-banner-content {
    border-top: 1px solid #e6eaf2;
    padding: 25px 0;
    display: flex;
    justify-content: flex-start;
}

.gov-banner-detail {
    margin-right: 144px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.gov-banner-detail-icon {
    width: 24px;
    height: 24px;
    margin: 0 8px 0 0;
    display: flex;
    flex: 0 0 24px;
    align-items: flex-start;
    justify-content: center;
}

.gov-banner-detail-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gov-banner-detail h4 {
    color: #344054;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0 0 8px;
}

.gov-banner-detail p {
    max-width: 482px;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin: 0 0 8px;
}

.gov-banner-detail a,
.gov-banner-detail a:hover {
    color: #0f7ef5;
    text-decoration: none;
}

.gov-banner-list-link {
    color: #0f7ef5;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

.gov-banner-external-icon {
    color: #0f7ef5;
    display: inline;
    font-family: 'MyGov RemixIcon';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-left: 5px;
    transition: transform 200ms;
}

.gov-banner-external-icon::before {
    content: "\ea70";
}

.gov-banner-security-text {
    max-width: 413px !important;
    margin-bottom: 0 !important;
}

.gov-banner-inline-lock {
    width: 15px;
    height: 15px;
    margin: 0 0 4px;
    display: inline-block;
    vertical-align: middle;
}

@media (min-width: 360px) {
    .gov-banner-container { max-width: 360px; }
}

@media (min-width: 430px) {
    .gov-banner-container { max-width: 430px; }
}

@media (min-width: 480px) {
    .gov-banner-container { max-width: 480px; }
}

@media (min-width: 640px) {
    .gov-banner-container { max-width: 640px; }
}

@media (min-width: 768px) {
    .gov-banner-container { max-width: 768px; }
}

@media (min-width: 1024px) {
    .gov-banner-container { max-width: 1024px; }
}

@media (min-width: 1280px) {
    .gov-banner-container { max-width: 1280px; }
}

@media (min-width: 1536px) {
    .gov-banner-container { max-width: 1536px; }
}

@media (max-width: 1024px) {
    .gov-banner-content {
        width: 100%;
        flex-direction: column;
    }

    .gov-banner-detail:not(:last-child) {
        margin-bottom: 12px;
    }
}
[data-brand-hover]:hover { opacity: 0.8; }
[data-portal-hover]:hover { background: #008eaa !important; }
