html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}


.hero-section {
    width: 100%;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 520px; 
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
}

.hero-info-box {
    position: absolute;
    right: 40px;
    bottom: 40px;
    background: rgba(255,255,255,0.92);
    padding: 20px 25px;
    border-radius: 12px;
    max-width: 300px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: #5d2b64;
    margin-bottom: 10px;
}

.contact-line {
    font-size: 1rem;
    color: #222;
    margin-bottom: 10px;
}


.rounded-block {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.description-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.65;
}


.section-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #092c5e;
    margin-bottom: 18px;
}

.slider-container {
    position: relative;
    padding: 25px;
}

.slider-row {
    scroll-behavior: smooth;
}

.slider-card {
    min-width: 180px;
    margin-right: 15px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #5d2b64;
    color: white;
    border: none;
    font-size: 1.7rem;
    padding: 6px 14px;
    border-radius: 50%;
    cursor: pointer;
}

    .slider-arrow.left {
        left: -15px;
    }

    .slider-arrow.right {
        right: -15px;
    }




:root {
    --navy: #092c5e;
    --navy-light: #123d7c;
    --white: #ffffff;
    --gray-light: #e7e7e7;
    --gray-dark: #333333;
}

.public-header {
    background-color: var(--navy);
    padding: 18px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-logo {
    height: 60px;
    width: auto;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.public-nav .nav-link {
    color: var(--white) !important;
    margin-left: 28px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
}

    .public-nav .nav-link:hover {
        color: var(--gray-light) !important;
        text-decoration: underline;
    }

.navbar-light .navbar-nav .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
}

.public-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 18px 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    margin-top: 50px;
}


.img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

    .img-box img {
        width: 100%;
        height: 100%;
        aspect-ratio: 4/5;
        object-fit: cover;
        object-position: center top;
    }

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #092c5e;
}

.person-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.no-image {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5; 
    color: #000000; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-radius: 6px;
}

.person-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 8px 0 4px 0;
}

.person-detail {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
}

.filter-bar {
    background-color: #f1f5f9; 
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    padding: 8px 10px;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-small {
    min-width: 90px;
}

.filter-input select {
    padding-right: 28px;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-apply {
    background-color: #0b2d5b; 
    color: #ffffff;
    border: none;
    height: 32px;
    padding: 0 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

    .filter-apply:hover {
        background-color: #09254a;
    }

.filter-clear {
    color: #475569;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 6px 8px;
}

    .filter-clear:hover {
        color: #1f2937;
        text-decoration: underline;
    }

a,
button,
.carousel-control-prev,
.carousel-control-next {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.carousel-control-prev,
.carousel-control-next {
    width: 44px;
    height: 44px;
    background-color: #092c5e; 
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -56px;
}

.carousel-control-next {
    right: -56px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}


.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #123d7c; 
}

.btn-view-more {
    background-color: #0b3d91; 
    color: #ffffff;
    border: none;
    min-height: 44px;
    padding: 10px 20px;
}

    .btn-view-more:hover,
    .btn-view-more:focus {
        background-color: #072c6a;
        color: #ffffff;
    }


.pagination .page-link {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #0b3d91; 
    background-color: #ffffff;
    border: 2px solid #0b3d91;
    border-radius: 6px;
    margin: 0 4px;
}

    .pagination .page-link:hover,
    .pagination .page-link:focus {
        background-color: #0b3d91;
        color: #ffffff;
        text-decoration: none;
    }

.pagination .page-item.active .page-link {
    background-color: #0b3d91;
    border-color: #0b3d91;
    color: #ffffff;
}

.pagination .page-item.disabled .page-link {
    color: #334155; 
    background-color: #e2e8f0; 
    border: 2px solid #94a3b8;
    opacity: 1; 
    cursor: not-allowed;
    pointer-events: none;
}

.filter-form select {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 1.5;
}


.filter-clear {
    color: #334155; 
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

    .filter-clear:hover,
    .filter-clear:focus {
        color: #1e293b;
        text-decoration: underline;
    }

.results-count {
    color: #334155; 
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.filter-input {
    height: 44px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.2;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

    .filter-input select,
    select.filter-input {
        height: 44px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

select.filter-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.back-btn {
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    border: 1px solid #0b2d5c;
    color: #0b2d5c;
    background-color: transparent;
}

    .back-btn:hover,
    .back-btn:focus {
        background-color: #0b2d5c;
        color: #ffffff;
    }


.missing-header {
    background-color: #0b2d5c; 
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    border-radius: 4px;
}

.person-meta {
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.details-combined-box {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
}

.detail-item {
    margin-bottom: 0.75rem;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2f3a45; 
    font-weight: 600;
}

.detail-value {
    font-size: 1rem;
    font-weight: 500;
}

.details-combined-box hr {
    margin: 0.75rem 0;
}
.image-link {
    display: flex;
    width: 100%;
    height: 100%; 
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
}

.person-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    display: block;
}

.image-link:hover,
.image-link:focus {
    outline: 2px solid #ffffff; 
    outline-offset: -2px;
}

.details-image-wrapper {
    width: 100%;
    max-width: 320px;
    height: 260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.details-carousel-btn {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev.details-carousel-btn {
    left: -20px;
}

.carousel-control-next.details-carousel-btn {
    right: -20px;
}

.footer-pdf-btn {
    background-color: #5d2b64; 
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    border: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

    .footer-pdf-btn:hover,
    .footer-pdf-btn:focus {
        background-color: #4f2456; 
        color: #ffffff;
        text-decoration: none;
    }

    .footer-pdf-btn:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }


.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

    .skip-link:focus {
        left: 10px;
        top: 10px;
        background: #fff;
        color: #000;
        padding: 8px 12px;
        border: 2px solid #000;
        z-index: 1000;
    }


@media (max-width: 768px) {

    .hero-image-wrapper {
        height: 300px;
    }

    .hero-info-box {
        position: static;
        margin: 15px;
        max-width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }


    .filter-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .filter-apply,
    .filter-clear {
        width: 100%;
        text-align: center;
    }


    .carousel-control-next {
        right: 10px !important;
    }

    .carousel-control-prev {
        left: 10px !important;
    }

    .carousel {
        overflow: visible;
    }

    .carousel-control-prev,
    .carousel-control-next {
        z-index: 9999 !important;
        opacity: 1 !important;
    }


    .person-image {
        height: 180px;
    }

    .details-image-wrapper {
        max-width: 100%;
        height: 220px;
    }

    .brand-title {
        font-size: 1.6rem;
        white-space: normal;
    }

    .header-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-view-more,
    .footer-pdf-btn,
    .back-btn {
        width: 100%;
    }

    .details-combined-box {
        padding: 15px;
    }

    .detail-item {
        margin-bottom: 12px;
    }

    .detail-label {
        display: block;
        font-size: 13px;
        font-weight: 600;
    }

    .detail-value {
        font-size: 16px;
    }
    .details-combined-box .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}