/* CM Helpline Home Page - Chhattisgarh (design aligned with MP CM Helpline) */
:root {
    --cmhp-primary: #1a3d66;
    --cmhp-primary-dark: #0f2842;
    --cmhp-tablinks-bg: #002642;
    --cmhp-accent: #dc3545;
    --cmhp-accent-orange: #fd7e14;
    --cmhp-gold: #d4a84b;
    --cmhp-sankalp-bg: rgb(175, 138, 90);
    --cmhp-light-bg: #e8f0f7;
}

/* Tablinks - reference style */
.cmhp-tablinks {
    color: white;
    padding: 10px 15px;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
    background-color: var(--cmhp-tablinks-bg);
    margin-bottom: 10px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
}

.cmhp-tablinks:hover {
    color: white;
    opacity: 0.9;
}

/* Blinking button - अधिकारी लॉगिन */
.cmhp-blinking-button {
    background-color: #a74141;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    animation: cmhp-blink 1s infinite;
}

@keyframes cmhp-blink {
    0% { background-color: #a74141; color: white; }
    50% { background-color: #ffcc00; color: black; }
    100% { background-color: #a74141; color: white; }
}

.cmhp-blinking-button:hover {
    color: inherit;
}

.cmhp-topbar {
    background: #00232f;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.4rem 0;
}

.cmhp-topbar a {
    color: #fff;
    text-decoration: none;
}

.cmhp-topbar a:hover {
    color: #ffc107;
}

.cmhp-lang-link { font-weight: 500; }
.cmhp-lang-link.cmhp-lang-active { text-decoration: underline; font-weight: 700; color: #ffc107 !important; }
.cmhp-skip-link { margin-left: 0.5rem; font-size: 0.8rem; opacity: 0.9; }
.cmhp-font-size-label { font-size: 0.8rem; opacity: 0.9; margin-right: 0.25rem; }
.cmhp-font-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 0.15rem 0.4rem;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
}
.cmhp-font-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }
/* Main Nav - DARK teal-blue bar (image style) */
.cmhp-nav-dark .cmhp-btn-officer-nav {
    background: #c9762c;
    color: #fff !important;
    padding: 0.4rem 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}
.cmhp-nav-dark .cmhp-btn-officer-nav:hover { color: #fff !important; background: #b86a26; }
.cmhp-nav-dark .cmhp-btn-citizen-nav {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 0.4rem 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}
.cmhp-nav-dark .cmhp-btn-citizen-nav:hover { color: #fff !important; border-color: #fff; background: rgba(255,255,255,0.1); }

/* Main Nav - WHITE bar (alternate) */
.cmhp-nav-white {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.cmhp-nav-white .cmhp-btn-officer-nav {
    background: var(--cmhp-accent-orange);
    color: #1a1a1a !important;
}
.cmhp-nav-white .cmhp-btn-citizen-nav {
    background: #0d6efd;
    color: #fff !important;
    border: none;
}

.cmhp-logo-dark { color: #1a1a1a !important; }
.cmhp-logo-sub { font-size: 0.9rem; }
.cmhp-text-muted { color: #6c757d !important; }

.nav-link-dark {
    color: #333 !important;
    font-weight: 500;
}
.nav-link-dark:hover { color: var(--cmhp-primary) !important; }
.nav-link-dark.active { color: var(--cmhp-primary) !important; background: #e8f0f7; border-radius: 6px; }

.cmhp-nav-main {
    padding: 0.75rem 0;
}

.cmhp-nav-main.cmhp-nav-dark {
    background: #153d4a;
    color: #fff;
}

.cmhp-nav-dark .cmhp-logo-text,
.cmhp-nav-dark .cmhp-logo-sub {
    color: #fff !important;
}

.cmhp-nav-dark .cmhp-logo-sub {
    opacity: 0.95;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.cmhp-nav-dark .nav-link {
    color: rgba(255,255,255,0.95) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    border-bottom: 2px solid transparent;
}

.cmhp-nav-dark .nav-link:hover {
    color: #fff !important;
}

.cmhp-nav-dark .nav-link.active {
    color: #fff !important;
    background: transparent !important;
    border-bottom-color: #c9a227;
    border-radius: 0;
}

.cmhp-nav-toggler-dark {
    border-color: rgba(255,255,255,0.5) !important;
    color: #fff !important;
}

.cmhp-nav-main:not(.cmhp-nav-dark) {
    background: linear-gradient(180deg, var(--cmhp-primary) 0%, var(--cmhp-primary-dark) 100%);
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 20px 20px;
    background-color: var(--cmhp-primary);
}

.cmhp-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cmhp-logo-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--cmhp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--cmhp-primary);
    font-size: 1.1rem;
    line-height: 1.1;
    text-align: center;
}

.cmhp-logo-circle .num {
    font-size: 1.5rem;
    color: var(--cmhp-accent-orange);
}

.cmhp-logo-img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

.cmhp-logo-text { font-size: 1.35rem; letter-spacing: 0.5px; }

/* Hero / Banner Carousel (Figma style) */
.cmhp-hero {
    color: #fff;
    position: relative;
    padding: 0;
}

.cmhp-hero-carousel {
    min-height: 513px;
/*    background: linear-gradient(135deg, #2d5a3d 0%, #1e3d2a 50%, #3d7a4d 100%);*/
}

.cmhp-hero-carousel .carousel-item {
    min-height: 553px;
    position: relative;
}

.cmhp-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    top:0
}

.cmhp-hero-overlay {
    position: absolute;
    inset: 0;
/*    background: linear-gradient(90deg, rgba(45,90,61,0.85) 0%, rgba(45,90,61,0.45) 50%, transparent 100%);
    z-index: 1;*/
}

.cmhp-hero-highlight {
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.cmhp-hero-content { z-index: 2; }

.min-vh-hero {
    min-height: 280px;
}

.cmhp-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cmhp-hero-sub {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    opacity: 0.95;
    color: #fff;
}

/* Hero carousel prev/next - custom styled, hide Bootstrap default icon */
.cmhp-hero-prev,
.cmhp-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
}

.cmhp-hero-prev { left: 15px; }
.cmhp-hero-next { right: 15px; }

.cmhp-hero-prev:hover,
.cmhp-hero-next:hover {
    background: rgba(255,255,255,0.4);
    color: #fff;
}

/* Hero carousel indicators */
.cmhp-hero-carousel .carousel-indicators {
    z-index: 10;
    margin-bottom: 1rem;
}

.cmhp-hero-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid #fff;
}

.cmhp-hero-carousel .carousel-indicators button.active {
    background-color: #fff;
}

/* Information Bar - Horizontal marquee (right to left scroll) */
.cmhp-info-marquee {
    background: #efefef;
    padding: 0.35rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.cmhp-info-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    animation: cmhp-marquee-scroll 25s linear infinite;
}

.cmhp-pattern-area {
    background-image: url(../images/pattern-1.png) !important;
    background-repeat: repeat-x;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 9;
    height: 18px;
}

@keyframes cmhp-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cmhp-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0.25rem 0;
}

.cmhp-info-item:hover .cmhp-info-btn {
    opacity: 0.9;
}

.cmhp-info-btn {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff !important;
    white-space: nowrap;
}

.cmhp-info-desc {
    font-size: 0.9rem;
    color: #333;
}

.cmhp-info-teal .cmhp-info-btn { background: #213B4A; }
.cmhp-info-orange .cmhp-info-btn { background: #e07a4f; }
.cmhp-info-pink .cmhp-info-btn { background: #e91e63; }

.cmhp-nav-main .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
}

.cmhp-nav-main .nav-link:hover {
    color: #ffc107 !important;
}

.cmhp-nav-main.cmhp-nav-white .nav-link:hover {
    color: var(--cmhp-primary) !important;
}

.cmhp-nav-main .nav-link.active {
    color: var(--cmhp-primary) !important;
    background: rgba(255,255,255,0.95);
    border-radius: 6px;
}

.cmhp-nav-main.cmhp-nav-dark .nav-link {
    border-bottom: 2px solid transparent;
}
.cmhp-nav-main.cmhp-nav-dark .nav-link.active {
    color: #fff !important;
    background: transparent !important;
    border-bottom-color: #c9a227;
    border-radius: 0;
}

.cmhp-btn-officer {
    background: var(--cmhp-gold);
    color: #1a1a1a;
    border: none;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.cmhp-btn-officer:hover {
    background: #e6b83d;
    color: #1a1a1a;
}

/* Process Flow */
.cmhp-process-section {
    background: var(--cmhp-primary);
    color: #fff;
    padding: 2rem 0;
    position: relative;
}

.cmhp-process-title {
    background: var(--cmhp-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    display: inline-block;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
    margin-bottom: 1.5rem;
}

.cmhp-process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cmhp-process-step {
    flex: 0 0 auto;
    max-width: 180px;
    text-align: center;
}

.cmhp-process-step .step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.75rem;
    color: #fff;
}

.cmhp-process-step .step-arrow {
    color: rgba(255,255,255,0.6);
    font-size: 1.25rem;
    margin-top: 2rem;
}

.cmhp-process-step small {
    font-size: 0.75rem;
    display: block;
    line-height: 1.3;
}

/* Stats Cards - 6 in single row, image layout */
.cmhp-stats {
    padding: 4rem 0;
    background: #fff;
}


.cmhp-stat-card {
    border-radius: 2px;
    padding: 0.5rem;
    height: 100%;
    min-height: 140px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cmhp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.cmhp-stat-card-inner-bor {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.stat-icon {
    margin-bottom: 25px; 
}
    .stat-icon img {
        height:45px;
    }
    .cmhp-stat-blue {
        background: #e3f2fd;
    }
.cmhp-stat-blue-border {border: 1px solid #90caf9;}
.cmhp-stat-olive-border {border: 1px solid #bdbd7a;}
.cmhp-stat-beige-border {
    border: 1px solid #d4c4a8;
}
.cmhp-stat-salmon-border {
    border: 1px solid #f4a9a0;
}
.cmhp-stat-green-border {
    border: 1px solid #81c784;
}
.cmhp-stat-taupe-border {
    border: 1px solid #b8a99a;
}
.cmhp-stat-olive {
    background: #f5f5dc;
}
.cmhp-stat-olive .stat-icon { color: #8b8b3a; }
.cmhp-stat-beige { background: #f5f0e6;  }
.cmhp-stat-beige .stat-icon { color: #a08060; }
.cmhp-stat-salmon { background: #ffe4e1;  }
.cmhp-stat-salmon .stat-icon { color: #e07a6b; }
.cmhp-stat-green { background: #e8f5e9; }
.cmhp-stat-green .stat-icon { color: #2e7d32; }
.cmhp-stat-taupe { background: #e8e4df; }
.cmhp-stat-taupe .stat-icon { color: #6d5d4b; }

.cmhp-stat-action { cursor: pointer; }
.cmhp-stat-action .stat-label { color: #1a1a1a !important; }

.cmhp-stat-card .stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.cmhp-stat-card .stat-label {
    font-size: 0.8rem;
    color: #1a1a1a;
    margin-top: 0.25rem;
    text-transform:uppercase;
    letter-spacing:0.5px;
    line-height: 1.3;
}
a .cmhp-stat-card-inner-bor {
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding:30px 20px 0;
}
/*    a .cmhp-stat-card-inner-bor .stat-icon, a .cmhp-stat-card-inner-bor .stat-label {
        width:100%;
    }*/
a .cmhp-stat-card-inner-bor .stat-icon {
    background:rgba(255,255,255,0.6); padding:1rem; border-radius:5px;
    
}
    a .cmhp-stat-card-inner-bor .stat-label {
        font-weight: 500 !important;
        text-align: center;
    }
/*.cmhp-stat-card .stat-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}*/
.cmhp-grievance-search {
    background: #fff;
    border: 1px solid #e0e0e0;
}

.cmhp-grievance-search input {
    padding-right: 2.5rem;
}

/* Marquee section */
.cmhp-marquee-sec {
    background: var(--cmhp-primary);
    color: #fff;
    padding: 0.5rem 0;
}

.cmhp-marquee-sec a {
    color: #fff;
}

.cmhp-btn-red-pill {
    background: var(--cmhp-accent);
    color: #fff !important;
    border: none;
    padding: 0.4rem 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin: 0 0.5rem;
}

.cmhp-btn-red-pill:hover {
    background: #c82333;
    color: #fff !important;
}

/* Action / Sankalp box - reference rgb(175, 138, 90) */
.cmhp-action-box {
    background: var(--cmhp-sankalp-bg);
    border: 1px solid #b8955a;
    border-radius: 8px;
    padding: 15px 1.5rem;
    margin: 1.5rem 0;
}

.cmhp-action-box strong {
    color: #1a1a1a;
}

.cmhp-action-box .btn-holder {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cmhp-btn-red {
    background: var(--cmhp-accent);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: 6px;
}

.cmhp-btn-red:hover {
    background: #c82333;
    color: #fff;
}

/* Section titles */
.cmhp-section-title {
    background: var(--cmhp-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    margin: 2rem 0 1rem;
    display: inline-block;
}

/* Schemes & Portals - orange/brown background (Figma) */
.cmhp-schemes-sec,
.cmhp-portals-sec {
    background: #e8af62;
    padding: 2rem 0 2rem 0; position:relative
}

.cmhp-schemes-pattern {
    background-image: url(../images/pattern-1.png) !important;
    background-repeat: repeat-x;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 9;
    height: 18px;
}

.cmhp-schemes-pattern-top { margin-bottom: 0; }
.cmhp-schemes-pattern-bottom { margin-top: 0; }

.cmhp-section-title-schemes {
    font-size: 1.75rem;
    color: #4a3728;
}

.cmhp-border-line-schemes {
    width: 80px;
    height: 4px;
    background: #4a3728;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Schemes carousel - white circular prev/next buttons */
.cmhp-schemes-carousel {
    position: relative;
}

.cmhp-scheme-control {
    width: 48px;
    height: 48px;
    background: #fff !important;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    top: 50%;
    transform: translateY(-50%);
}

.cmhp-scheme-control:hover {
    background: #f8f8f8 !important;
    opacity: 1;
}

.cmhp-scheme-control .carousel-control-prev-icon,
.cmhp-scheme-control .carousel-control-next-icon {
    background-size: 1.5rem 1.5rem;
    filter: none;
}

.cmhp-scheme-control .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.cmhp-scheme-control .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.cmhp-schemes-carousel .carousel-control-prev {
    left: -10px;
}

.cmhp-schemes-carousel .carousel-control-next {
    right: -10px;
}

.cmhp-schemes-carousel .carousel-indicators button {
    background-color: rgba(0,0,0,0.4);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cmhp-schemes-carousel .carousel-indicators button.active {
    background-color: var(--cmhp-primary);
}

.cmhp-section-title-lg {
    font-size: 1.5rem;
}

.cmhp-border-line {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Scheme / Portal cards */
.cmhp-scheme-card {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    height: 100%;
    border: 0px solid rgba(0,0,0,0.06);
}

.cmhp-scheme-card .card-img-wrap {
    height: 140px;
    background: var(--cmhp-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--cmhp-primary);
}

/* Scheme card with image + overlay (MP style) */
.cmhp-scheme-card-img {
    position: relative;
    padding: 0;
}

.cmhp-scheme-card-img .card-img-top {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.cmhp-scheme-overlay h4 {
    font-size:0.9rem; font-weight:500
}
.cmhp-scheme-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 2.5rem 1rem 1rem;
    opacity: 1;
    height: 82%;
    display: flex;
    justify-content: left;
    align-items: flex-end;
}

.cmhp-scheme-card-img:hover .cmhp-scheme-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.cmhp-scheme-intro {
    display: none;
    border-top: 1px solid #eee;
}

.cmhp-scheme-card .card-title-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    padding: 2rem 1rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* Government Portals - white bg, horizontal marquee (right to left slide) */
.cmhp-portals-sec {
    background: #fff !important;
    padding: 2rem 0;
}

.cmhp-portals-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.cmhp-portals-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    padding: 1rem 0;
    animation: cmhp-portals-scroll 30s linear infinite;
}

@keyframes cmhp-portals-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cmhp-portal-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 140px;
    padding: 0.5rem 1rem;
    transition: transform 0.2s;
}

.cmhp-portal-item:hover {
    transform: scale(1.05);
}

.cmhp-portal-logo {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
}

.cmhp-portal-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-top: 0.5rem;
    text-align: center;
    line-height: 1.2;
}

/* Chief Minister Seva Sankalp Mobile App Section (image-style layout) */
.cmhp-sankalp-app-sec {
    background: url(../images/bg-overlay.png) no-repeat #2e4e68;
    position: relative;
    overflow: hidden;
}

.cmhp-sankalp-app-sec .container-fluid {
    z-index: 2;
}

.cmhp-sankalp-app-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13,45,56,0.95) 0%, rgba(13,45,56,0.6) 45%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 85% 50%, rgba(45,90,70,0.15) 0%, transparent 60%),
        linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.cmhp-sankalp-app-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="s" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23s)"/></svg>');
    pointer-events: none;
}

.cmhp-sankalp-bottom-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.5) 8px, transparent 8px, transparent 16px);
    opacity: 0.9;
}

.cmhp-sankalp-title {
    font-size: 1.75rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cmhp-sankalp-list {
    list-style: none;
    padding-left: 0;
}

.cmhp-sankalp-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.cmhp-sankalp-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cmhp-accent-orange);
    font-size: 1.5rem;
}

/* Sankalp section - mobile image (right side) */
.cmhp-sankalp-phones-wrap {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmhp-sankalp-mobile-img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cmhp-app-phones {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    position: relative;
    padding: 2rem 0;
}

.cmhp-phone-mockup {
    position: relative;
    z-index: 1;
}

.cmhp-phone-mockup.cmhp-phone-left {
    transform: rotate(-8deg) translateY(0);
    z-index: 2;
    margin-right: -30px;
}

.cmhp-phone-mockup.cmhp-phone-right {
    transform: rotate(6deg) translateY(15px);
    z-index: 1;
}

.cmhp-phone-frame {
    width: 160px;
    background: linear-gradient(145deg, #e8e8e8 0%, #c0c0c0 50%, #f0f0f0 100%);
    border: 4px solid #d0d0d0;
    border-radius: 24px;
    padding: 8px;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.6),
        inset 0 -1px 0 rgba(0,0,0,0.1);
}

.cmhp-phone-screen {
    display: block;
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 18px;
    background: #1a1a1a;
}

/* Floating decorative icons */
.cmhp-sankalp-float-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 5;
}

.cmhp-float-download {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
    padding: 0.5rem 0.9rem;
    border-radius: 24px;
    gap: 0.4rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.cmhp-float-download i {
    font-size: 1rem;
}

.cmhp-float-icon-green {
    bottom: 25%;
    left: 35%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #58d68d 0%, #27ae60 100%);
}

.cmhp-float-icon-orange {
    bottom: 20%;
    right: 42%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f5b041 0%, #e67e22 100%);
}

.cmhp-float-icon-purple {
    bottom: 30%;
    right: 28%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #af7ac4 0%, #8e44ad 100%);
}
.cmph-opic { opacity:0.5;
}
@media (max-width: 991px) {
    .cmhp-app-phones {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .cmhp-phone-mockup.cmhp-phone-left,
    .cmhp-phone-mockup.cmhp-phone-right {
        transform: none;
        margin: 0;
    }
    .cmhp-sankalp-float-icon {
        display: none;
    }
}

/* Portal cards (important portals section) */
.cmhp-portal-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Map & Testimonial section */
.cmhp-map-title-box {
    background: transparent;
}

.cmhp-map-img {
    max-height: 360px;
    object-fit: contain;
    background: var(--cmhp-light-bg);
    border-radius: 8px;
}

/* Footer portal logos */
.cmhp-footer-portal-img {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
}

.cmhp-footer-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* Map & Testimonial */
.cmhp-content-card {
    background: #fff;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 320px;
    height: 100%;
}

.cmhp-map-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e8f0f7 0%, #d0e0ef 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cmhp-primary);
    font-weight: 600;
}

/* Footer (image layout: Links → Copyright → Date/Visitors bar) */
.cmhp-footer {
    background: #192A38;
    color: #fff;
/*    margin-top: 2rem;*/
}

.cmhp-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
}

.cmhp-footer-links a {
    color: #A0A8AE;
    text-decoration: none;
    font-size: 0.95rem;
}

.cmhp-footer-links a:hover {
    color: #fff;
}

.cmhp-footer-copyright {
    color: #fff;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cmhp-footer-bottom-bar {
    background: rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0.6rem 0;
}

.cmhp-footer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    color: #A0A8AE;
}

.cmhp-footer-stats strong {
    color: #fff;
    font-weight: 600;
}

.cmhp-footer-stat-left {
    text-align: left;
}

.cmhp-footer-stat-center {
    text-align: center;
}

.cmhp-footer-stat-right {
    text-align: right;
}

@media (max-width: 576px) {
    .cmhp-footer-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cmhp-footer-stat-left,
    .cmhp-footer-stat-right {
        text-align: center;
    }
}

/* Floating elements */
.cmhp-float-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
}

.cmhp-float-whatsapp:hover {
    color: #fff;
    transform: scale(1.05);
}

.cmhp-float-scroll {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cmhp-accent-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.cmhp-float-scroll:hover {
    color: #fff;
    background: #e56a0b;
}

/* Floating Diary strip (MP style: vertical red strip with img + blinking text) */
.cmhp-float-diary-wrap {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--cmhp-accent);
    padding: 0.75rem 0.5rem;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
}

.cmhp-float-diary-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.cmhp-float-diary-img {
    max-width: 60px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

.cmhp-float-diary-wrap a {
    position: relative;
}

.cmhp-blink {
    animation: cmhp-pulse 1.5s infinite;
}

@keyframes cmhp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Portal boxes in footer */
.cmhp-portal-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #fff;
}

.cmhp-portal-box:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

@media (max-width: 768px) {
    .cmhp-process-steps {
        flex-direction: column;
        align-items: center;
    }
    .cmhp-process-step .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    .cmhp-float-diary-wrap {
        display: none;
    }
}

/* ========== Public Form Pages (Disclaimer, OTP, Please Call Me) ========== */
.cmhp-public-main {
    min-height: 60vh;
    background: linear-gradient(180deg, #e8f0f7 0%, #f8fafc 100%);
}

.cmhp-form-card {
    background: #fff;
}

.cmhp-form-card-header {
    flex-wrap: wrap;
    background: #1a3d66 !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.cmhp-form-logo-wrap {
    background: #1a3d66;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.cmhp-form-brand-text {
    color: #1a3d66 !important;
    font-weight: 700;
}

.cmhp-form-logo {
    max-height: 45px;
    object-fit: contain;
    display: block;
}

.cmhp-btn-scan {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.cmhp-btn-call {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.cmhp-btn-call.active {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.5);
}

.cmhp-form-title {
    font-size: 1.5rem;
    color: var(--cmhp-primary);
    font-weight: 700;
}

.cmhp-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    display: inline-block;
    transition: all 0.3s ease;
}

.cmhp-step-dot.active {
    background: var(--cmhp-primary);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(26, 61, 102, 0.3);
}

.cmhp-disclaimer-box {
    background: #fff8f0;
    border: 1px solid #ffecd2;
    border-radius: 8px;
    overflow: hidden;
}

.cmhp-disclaimer-header {
    background: #fd7e14;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.cmhp-disclaimer-list {
    padding: 1rem 1.5rem 1rem 2.5rem;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cmhp-disclaimer-list li {
    margin-bottom: 0.35rem;
}

.cmhp-call-instruction {
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .cmhp-form-card-header {
        flex-direction: column;
        text-align: center;
    }
    .cmhp-form-card-header .btn {
        width: 100%;
    }
}
