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(../img/images/contact-bg.webp)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: 33px 33px 0 0;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 12;
}


.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;
}

.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%;
}






.figma-dark-theme {
    background: #ffffff !important;

    color: #ffffff;

}


.motto-label {
    font-size: 28px;
    font-weight: 800;
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.motto-text {
    /* font-family: 'YourCustomFont', serif; */

    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.motto-desc {

    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);


    max-width: 700px;
    margin: 0 auto 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.bubble-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.bubble {
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-lg {
    width: 150px;
    height: 150px;
}

.b-md {
    width: 110px;
    height: 110px;
}

.b-sm {
    width: 70px;
    height: 70px;
}

.icon-purple {
    background: #3f3d99;
    color: white;
    font-size: 24px;
}

.icon-red {
    background: #c32026;
    color: white;
    font-size: 24px;
}

.mission-vision-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.dark-glass {
    background: linear-gradient(239.1deg, rgba(255, 255, 255, 0.12) 1.7%, rgba(255, 255, 255, 0.06) 81.79%);
    backdrop-filter: blur(21px);
    -webkit-backdrop-filter: blur(21px);

    max-width: 531px;
    width: 100%;
    height: auto;
    opacity: 1;

    display: flex;
    align-items: center;
    gap: 24px;
    padding: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    box-sizing: border-box;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .dark-glass {
        width: 100%;
        height: auto;
        padding: 20px;
    }
}

.box-icon {
    font-size: 40px;
    margin-right: 20px;
}

.yellow-text {
    color: #ffcc00;
}

.orange-text {
    color: #ff6600;
}

.box-text h3 {
    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);


    margin-bottom: 10px;
    vertical-align: middle;
    display: flex;
    align-items: center;


    margin-top: 0;
}

.box-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #bbb;
}

.motto-hindi-img {

    width: 897px;
    height: 86.6px;


    display: block;
    opacity: 1;
    object-fit: contain;


    max-width: 90%;
}


.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;
    }
}


.contact-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 25px;
    /* High rounding as per Figma */
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

/* Header Section */
.card-header-top {
    padding: 10px 25px;
    background: #ffffff;
}

.header-icon-container {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon-container img {
    width: 100%;
    height: auto;
}

.card-title-ui {
    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 600;
    font-size: 18px;
    color: #2b2a6d;
    /* Dark navy blue from design */
    margin: 0;
}

/* Body Section - Light Gray Background */
.card-body-content {
    background-color: #f8f9fa;
    /* Specific light gray body */
    padding: 25px;
}

.contact-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.info-item {
    /* font-family: 'Urbanist', sans-serif; */
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item i {
    color: #2b2a6d;
    font-size: 16px;
}

.email-info {
    font-size: 13px;
}

/* Footer Section - Red Action Bar */
.card-footer-actions {
    display: flex;
    background-color: #c62828;
    /* Professional Red */
}

.action-btn {
    flex: 1;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 0;
    /* font-family: 'Urbanist', sans-serif; */
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.action-btn:hover {
    background-color: #b71c1c;
}

.border-left-right {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.header-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.card-title-ui {
    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 600;
    color: #2b2a6d;
    /* Dark Blue from Figma */
    font-size: 1.1rem;
}

/* Body Content */
.card-body-content {
    flex-grow: 1;
}

.contact-info {
    font-size: 13px;
    color: #505050;
    /* font-family: 'Urbanist', sans-serif; */
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: #2b2a6d;
    font-size: 1rem;
}

/* Red Footer Actions */
.card-footer-actions {
    background-color: #c62828;
    /* The red color from Figma */
}

.action-btn {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.action-btn:hover {
    background-color: #b71c1c;
}

.action-btn.border-end {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Search UI overrides to match Figma */
.search-group-ui .form-control {
    background: #f1f1f1 !important;
    border: none;
    border-radius: 12px !important;
}

.search-group-ui .input-group-text {
    background: #f1f1f1 !important;
    border: none;
    border-radius: 0 12px 12px 0 !important;
}

/* Custom Selects and Search Inputs */
.custom-select-ui,
.search-group-ui input {
    /* Background & Border */
    background-color: #f1f1f1 !important;
    border: none !important;
    border-radius: 12px !important;

    /* Typography */
    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 400;
    font-style: normal;
    /* "Regular" in CSS is normal */
    font-size: 16px;
    line-height: 32.41px;
    letter-spacing: 0%;
    color: #505050 !important;


    padding: 10px 15px;
    width: 100%;
    display: block;
    outline: none;
}


.search-group-ui input::placeholder {
    /* font-family: 'Urbanist', sans-serif; */
    color: #505050;
    opacity: 0.7;
}

.main-p {
    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 1);
    width: 100%;
    max-width: 476px;


    display: flex;
    align-items: center;
}

select.custom-select-ui {
    appearance: none;
    -webkit-appearance: none;
    /* For Safari */
    -moz-appearance: none;
    /* For Firefox */

    /* Correct Image Syntax */
    background-image: url(../img/images/chevron-right.svg);
    background-repeat: no-repeat;
    background-position: right 15px center;

    /* Critical: Set icon size so it doesn't "cover" the whole box */
    background-size: 12px auto;

    padding-right: 40px;
    background-color: #f1f1f1 !important;
    /* Matches your previous UI */
}

.search-group-ui .input-group-text {
    background-color: #f1f1f1 !important;
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
    width: 100%;
}


/* Container for the Helpline Card */
.helpline-card {
    gap: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: 15px;
    /* Matches Figma's rounded corners */
    color: #ffffff;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    min-height: 160px;
    /* The specific gradient from your image */
    background: linear-gradient(90deg, #FF4D31 0%, #D81B60 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.helpline-card:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.card-icon {
    font-size: 3.5rem;
    /* Large icon size */
    margin-right: 25px;
    display: flex;
    align-items: center;
}

.display-number {

    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 600;
    font-size: 50px;
    line-height: 30.1px;
    letter-spacing: 0%;


    text-align: center;
    vertical-align: middle;
    color: rgba(255, 255, 255, 1);


    margin: 0;
    display: block;
}


.helpline-label {
    /* font-family: 'Urbanist', sans-serif; */
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {

    .card-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 768px) {
    .container-fluid {
        margin-bottom: 12rem;
    }

    .section-titil {

        font-size: 18px;
        line-height: 13.97px;
        letter-spacing: 0.04em;
    }

    .main-title {
        font-size: 2rem;
    }

    .figma-dark-theme {
        padding: 27px 40px !important;
    }


}

.custom-margin-top {
    margin-top: 8rem;
}
@media screen and (max-width: 768px) {
    .container-fluid {
        margin-bottom: 6rem;
    }
}