@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@800&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: visible !important;
    overflow-y: visible !important;
}


.stack-container {
    display: block;
    width: 100%;
}


.card-1-banner {
    height: 384px;
    width: 100%;
    position: relative;
    z-index: 1;
    background: url(/frontend/img/images/wanted-bg.webp)center/cover no-repeat;
    /* background: url("{{asset('public/img/images/about-banner.svg')}}") center/cover no-repeat; */
    display: flex;
    align-items: center;
    color: white;
}

.container-fluid {

    z-index: 10;

}

.card-1-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0.8) 100%);

    z-index: 1;

}


.stack-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1 !important;
    box-sizing: border-box;
    margin-top: -45px;
}


#history-card {
    z-index: 2;
    margin-top: 0;
}


#travancore-card {
    z-index: 3;
}


.card-inner-content {
    background: #ffffff;
    width: 100%;
    margin: 0 auto;
    border-radius: 40px 40px 0 0;

    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.2);
    min-height: 95vh;
}


.section-titil {
    font-size: 48px;
    font-weight: 800;
    -webkit-text-stroke: 1px #fff;
    color: transparent;
    margin-top: 5rem;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 10;
    text-align: center;
}
@media screen and (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
}

.main-title span {
    color: rgba(198, 40, 40, 1);
}

.mainhed {
    font-size: 2.5rem;
    font-weight: 700;
}

.mainhed span {
    color: #e31e24;
}

.img-left {
    float: left;
    margin: 0 30px 20px 0;
    border-radius: 20px;
    max-width: 40%;
}



.main-p {

    max-width: 691px;
    min-height: 48px;
    margin-top: 20px;



    font-family: 'Urbanist', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0%;


    opacity: 1;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .main-p {

        width: 90%;
        height: auto;
    }
}







.figma-dark-theme .motto-hindi-img {
    filter: brightness(0) invert(1);
}

.mission-icon {

    width: 51.75px;
    height: 52.5px;


    max-width: 94.5px;
    max-height: 95.87px;


    opacity: 1;
    display: block;
    object-fit: contain;


    margin: 0;
    padding: 0;
    border: none;
}

.vission-icon {

    width: 61.75px;
    height: 62.5px;


    max-width: 94.5px;
    max-height: 95.87px;


    opacity: 1;
    display: block;
    object-fit: contain;


    margin: 0;
    padding: 0;
    border: none;
}

.figma-white-theme {
    background: #ffffff !important;
    color: #444444;
}

.people-centric-title {

    font-family: 'Urbanist', sans-serif;
    font-weight: 700;

    font-style: normal;
    font-size: 38px;
    line-height: 60px;
    letter-spacing: 0%;
    text-transform: uppercase;
    vertical-align: middle;


    color: #2b2a6d;
    margin-bottom: 40px;


    margin-top: 0;
    display: block;
}

.people-centric-title span {
    color: rgba(198, 40, 40, 1)
}


.police-showcase-img img {
    width: 100%;
    height: auto;
    display: block;
}


.people-centric-text p {
    font-family: 'Urbanist', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 25px;
    text-align: left;
}


.people-centric-text p:first-of-type {
    margin-top: 0;
}


@media (max-width: 991px) {
    .figma-white-theme {
        padding: 40px 20px !important;
    }

    .people-centric-title {
        font-size: 28px;
    }
}

.page-num-white {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.page-num-white.active {
    background: #c62828 !important;
    color: white !important;
    border-color: #c62828;
}

.dots-white {
    color: #999;
}

.custom-pagination-white {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.page-num-white {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E0E0E0;
    /* Light grey border */
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    color: #4F4F4F;
}

.page-num-white.active {
    background-color: #c62828 !important;
    /* Kerala Police Red */
    color: #FFFFFF !important;
    border-color: #c62828;
}

.dots-white {
    font-weight: bold;
    color: #828282;
    padding: 0 5px;
}


.missing-card {

    width: 100%;
    height: auto;


    position: relative;
    top: -7px;
    transform: rotate(0deg);
    opacity: 1;


    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    border: none;

    /* Specific Box Shadow */
    box-shadow: 0px 1.18px 40px 0px rgba(0, 0, 0, 0.08);

    /* Layout */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Red Top Header */
.card-header-missing {
    background-color: #101111;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.card-header-missing h2 {
    margin: 0;
    color: #ffffff;
    font-family: 'Sofia Sans', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 28.26px;
    letter-spacing: normal;


    text-edge: cap alphabetic;
    leading-trim: both;
}

/* Container needs enough height to hold the absolute image space */
.missing-img-container {
    padding: 0;
    background: white;
    display: flex;
    justify-content: center;
    position: relative;
    height: 180px;
    /* Reduced container height to let image overflow */
    z-index: 5;
    /* Ensure container is above other elements if needed */
}

.missing-img-container img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border: 1px solid #eee;


    position: absolute;
    top: -16px;
    z-index: 10;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


.card-body {
    padding-top: 10px;
    margin-top: 20px;
    text-align: center;
}

.person-name {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 28.26px;
    color: #2f2f2f;


    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 0%;


    text-edge: cap alphabetic;
    leading-trim: none;
}

.last-seen {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22.3px;
    color: #ea2121;


    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0%;
    vertical-align: middle;


    text-edge: cap alphabetic;
    leading-trim: none;
}

.stats-row {
    margin-bottom: 10px;
    text-align: center;
}


.stats-row span {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    line-height: 22.3px;
    color: #6a6a6a;
    letter-spacing: 0%;
    vertical-align: middle;
}


.stat-label {
    font-weight: 500;
}


.stat-value {
    font-weight: 400;
}

.description {
    font-family: 'Urbanist', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.3px;
    color: #6a6a6a;


    text-align: center;
    letter-spacing: 0%;
    padding: 0 25px;
    margin-bottom: 20px;

    /* Leading Trim */
    text-edge: cap alphabetic;
    leading-trim: none;
}

/* One row truncation */


.description-wrapper {
    padding: 0 25px;
    margin-bottom: 15px;
}

.description-container {
    display: flex;
    justify-content: center;
    align-items: center;

}

/* One Row Logic */
.description-container.collapsed {
    overflow: hidden;
    white-space: nowrap;
    /* Forces everything onto one line */
}

.description-text {
    margin: 0;
    overflow: hidden;
    font-family: 'Urbanist', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.3px;
    color: #6a6a6a;


    text-align: center;
    letter-spacing: 0%;
    padding: 0 25px;


    /* Leading Trim */
    text-edge: cap alphabetic;
    leading-trim: none;
    text-overflow: ellipsis;
    /* Adds dots to the text itself */
}

.read-more-btn {
    font-weight: 600;
    color: #3b3a7a;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    /* Prevents the button from disappearing or shrinking */
    margin-left: 2px;
}

/* Expanded View Logic */
.description-container.expanded {
    display: block;
    /* Switches back to normal paragraph flow */
    white-space: normal;
}

.card-footer-contact {
    background-color: #3b3a7a;
    color: white;
    padding: 15px;
    font-size: 0.9rem;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.card-footer-contact {
    background-color: #3b3a7a;
    padding: 15px;
    margin-top: auto;


    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.card-footer-contact .d-flex {
    gap: 10px;
}

.card-footer-contact img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

.card-footer-contact span {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22.3px;
    color: #ffffff;
    letter-spacing: 0%;
    vertical-align: middle;


    text-edge: cap alphabetic;
    leading-trim: none;
}


.stamp-container {
    position: relative;
    display: inline-block;

    margin-right: 50px;
}

.missing-stamp-img {
    width: 350px;
    height: auto;

    transform: rotate(55deg);
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    user-select: none;
    pointer-events: none;
}




.card-1-banner .row {
    width: 100%;
    min-height: 60vh;
}