/* Google Fonts - Outfit */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

@font-face {
    font-family: "nihal";
    src: url("../fonts/nihal_urdu/nihal.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

[lang="ur"],
.urdu-font {
    font-family: "nihal", sans-serif !important;
    direction: rtl;
}

:root {
    /* Brand Colors - Exact Match */
    --primary-color: #0d6b39;
    /* Darker, richer green */
    --primary-light: #278237;
    --secondary-color: #f5bb18;
    /* Vibrant Yellow */
    --secondary-hover: #e5b00a;
    --text-dark: #272e26;
    --text-gray: #4b5563;
    --bg-light: #f9f9f9;
    --bg-offwhite: #f3f4f6;
    --white: #ffffff;

    /* Layout */
    --nav-height: 80px;
    --section-spacing: 70px;

    /* UI Elements */
    --radius-xl: 20px;
    /* For cards/images */
    --radius-pill: 50px;
    /* For buttons */
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.12);
}

html {
    overflow-x: clip;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--text-dark);
    overflow-x: clip !important;
    line-height: 1.6;
    background-color: var(--white);
    width: 100%;
    max-width: 100vw;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    /* color: var(--primary-color); */
    letter-spacing: -0.5px;
}

.display-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.display-title span {
    font-weight: 200;
}

.section-eyebrow {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #272e26;
}

.section-title span {
    font-weight: 200;
    display: block;
    color: #272e26;
}

/* Buttons */
.btn-primary-yellow {
    background-color: var(--secondary-color);
    color: #184d24;
    font-weight: 800;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-yellow:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(252, 195, 11, 0.3);
}

.btn-icon-circle {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    text-decoration: none;
    padding: 12px;
    border: 0;
}

.btn-icon-circle img {
    width: 24px;
}

.btn-icon-circle:hover {
    transform: scale(1.1) !important;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    /* padding: 6px 0; */
}

/* Navigation */
.navbar_cs {
    padding: 0;
    background: #f3f7f4;
    transition: padding 0.3s;
}

.navbar-brand img {
    height: 42px;
}

.navbar_cs .nav-item {
    margin: 0 14px;
}

.navbar_cs .nav-link {
    padding: 0.5rem 0.2rem !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: #838e91;
    position: relative;
    /* Prepare for absolute underline */
}

.navbar_cs .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

.navbar_cs .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar_cs .nav-link:hover::after,
.navbar_cs .nav-link.active::after {
    width: 100%;
}

.navbar_cs .nav-link.active {
    color: #272e26;
    font-weight: 700;
    /* border-bottom removed in favor of animated line */
}

/* New Header Elements */
.lang-toggle {
    display: flex;
    align-items: center;
    /* gap: 4px; */
    font-weight: 700;
    font-size: 0.9rem;
    color: #9ca3af;
    /* Gray for inactive */
    cursor: pointer;
    /* padding: 6px 12px; */
    border-radius: 20px;
    background: #fff;

    border: 1px solid #dae3ea;
    border-radius: 6px;
}

.lang-opt {
    transition: 0.3s;
    padding: 6px 12px;
    width: 100%;
}

.lang-opt:first-child {
    border-radius: 6px 0 0 6px;
}

.lang-opt:last-child {
    border-radius: 0 6px 6px 0;
}

.lang-opt.active,
.lang-opt:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

/* Prevent overflow on small screens */
@media (max-width: 576px) {
    .lang-toggle {
        font-size: 0.8rem;
    }

    .lang-opt {
        padding: 4px 8px;
    }
}

.lang-sep {
    color: #e5e7eb;
    font-weight: 300;
}

.login-header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: 0.3s;
    background: transparent;
    padding-left: 10px;
    font-size: 14px;
}

.login-header-btn:hover {
    color: var(--primary-color);
}

.login-header-btn .icon-box {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.2s;

    border: 1px solid #272e26;
    border-radius: 6px;
}

.login-header-btn:hover .icon-box {
    transform: scale(1.1);
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 200px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    margin: 8px 0;
    opacity: 0.1;
}

/* Hide dropdown arrow by default, show on hover */
.dropdown-toggle::after {
    transition: transform 0.2s;
    margin-left: 4px;
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Mobile Menu Improvements */
@media (max-width: 991px) {

    /* Mobile offcanvas styling */
    .offcanvas-start {
        width: 280px !important;
    }

    .offcanvas-header {
        padding: 20px 24px;
        background-color: #f8f9fa;
    }

    .offcanvas-header img {
        height: 36px;
    }

    .offcanvas-body {
        background-color: #ffffff;
    }

    /* Nav items on mobile */
    .navbar-nav {
        margin-bottom: 20px !important;
    }

    .navbar-nav .nav-item {
        margin: 0 !important;
        border-bottom: 1px solid #f3f4f6;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 14px 16px !important;
        font-size: 15px;
        position: relative;
        border-left: 4px solid transparent;
        transition: all 0.3s;
    }

    /* Active menu border on mobile */
    .navbar-nav .nav-link.active {
        border-left-color: var(--secondary-color);
        background-color: rgba(245, 187, 24, 0.08);
        color: var(--primary-color);
        font-weight: 600;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* Header controls on mobile */
    .header-controls {
        width: 100%;
        padding: 16px 0;
        border-top: 1px solid #f3f4f6;
    }

    .header-controls .lang-toggle,
    .header-controls .dropdown {
        width: 100%;
    }

    .login-header-btn {
        width: 100%;
        justify-content: start;
        /* padding: 12px 16px; */
        /* background-color: var(--bg-light); */
        border-radius: 10px;
        padding: 0;
    }

    .login-header-btn .icon-box {
        background-color: var(--primary-color);
        color: white;
    }

    .lang-toggle {
        width: 100%;
        justify-content: center;
    }

    /* Dropdown menu on mobile */
    .dropdown-menu {
        width: 100%;
        margin-top: 8px !important;
    }
}

/* Hero Section */
.hero-section {
    background: url("../images/banner.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 80px 0 160px;
    /* Space for floating search */
    color: white;
    position: relative;
    overflow: hidden;
    /* Allow search bar interaction */
}

/* Gradient Overlay */
.hero-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 40%,
            rgba(30, 89, 62, 0.6),
            transparent 60%);
    pointer-events: none;
}

.hero-text h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Floating Images */
.hero-img-container img {
    max-width: 100%;
    display: block;
}

/* Search Bar Container */
.search-wrapper {
    margin-top: -100px;
    z-index: 10;
    position: relative;
    padding-bottom: 40px;
}

.search-box-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 12px;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.search_box {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f3f7f4;
    border-radius: 10px;
}

.search-box-card input {
    border: none;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 10px 20px;
    width: 100%;
    background-color: transparent;
}

.search-box-card input:focus {
    outline: none;
}

.search-submit-btn {
    background: var(--secondary-color);
    color: black;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.2s;
    flex-shrink: 0;
}

.search-submit-btn:hover {
    background: var(--secondary-hover);
}

.service-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.service-pill {
    background: rgba(240, 240, 240, 0.5);
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 400;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.2s;
    border-radius: 5px;
    position: relative;
    color: #474a4e;
}

.service-pill::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 6px;
}

.service-pill img {
    width: 20px;
}

.service-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
}

/* Sections General */
.section-padding {
    padding: var(--section-spacing) 0;
}

/* Ratings */
/* .rating-block { removed empty rule } */

.text-theme-primary {
    color: var(--primary-color) !important;
}

.bg-theme-secondary {
    background-color: var(--secondary-color) !important;
}

/* Process Timeline (How it works) */
.process-wrapper {
    position: relative;
    padding: 40px 0;
}

.process-line {
    position: absolute;
    top: 35px;
    left: 40px;
    right: 40px;
    height: 2px;
    border-top: 2px dashed #d1d5db;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    /* background: white; */
    width: 60px;
    /* adjust for responsiveness */
    text-align: center;
    margin: 0 auto;
}

.step-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-gray);
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.process-step:hover .step-circle {
    border-color: var(--secondary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Download Section */
.bg-dark-green {
    background-color: var(--primary-color);
    color: white;
}

.qr-card {
    padding: 8px;
    border-radius: 12px;
    width: fit-content;
}

/* Eligibility Box */
.eligibility-list {
    display: grid;
    gap: 15px;
}

.eligibility-item {
    background: #fff9e6;
    /* Very light yellow */
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--secondary-color);
    font-weight: 500;
}

/* Partner Logos */
.partner-box {
    border: 1px solid #f3f7f4;
    border-radius: 16px;
    padding: 30px 20px;
    height: 100%;
    transition: 0.3s;
    background: #f3f7f4;
    border-radius: 30px;
}

.partner-box img {
    width: 80px;
}

.partner-box:hover {
    background: white;
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.partner-box h6 {
    font-size: 20px;
    font-weight: 600;
    color: #272e26;
}

.partner-box h6 span {
    font-weight: 200;
}

/* News */
.news-item {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-link-btn {
    background: var(--secondary-color);
    color: black;
    font-weight: 500;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    margin-top: 15px;
    transition: 0.2s;
}

.news-link-btn:hover {
    background: var(--secondary-hover);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .display-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-bottom: 150px;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .process-line {
        display: none;
    }

    .d-lg-block-custom {
        display: none !important;
    }
}

/* new style by naveed  */
.container_fluid {
    padding: 0 3%;
}

.topbar_left {
    width: 253px;
    background-color: #278237;
    padding: 8px 8px 8px 3%;
}

.topbar_left a {
    font-size: 16px;
}

.topbar_right {
    padding: 8px 8px 8px 3%;
    flex: 1;
}

.topbar_right span {
    color: #fff;
    font-size: 13px;
}

.navbar_brand_cs {
    background-color: #ffffff;
    width: 253px;
    padding: 12px 12px 12px 3%;
    flex: 1;
    min-width: 253px;
    margin-right: 0;
}

.header_cs {
    padding-left: 0;
    padding-right: 3%;
}

.about_us_img_wrap {
    position: relative;
}

.about_us_img_wrap img {
    position: relative;
    z-index: 2;
}

.about_us_img_wrap::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(175.18deg, #f9c400 2%, #ffffff 112.88%);
    transform: matrix(1, -0.06, -0.06, -1, 0, 0);
    border-radius: 50%;
    /* top: 0; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulse-border 3s infinite ease-in-out;
}

@keyframes pulse-border {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth 'professional' ease */
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(40px);
}

.fade-in {
    transform: translateY(0);
}

.fade-right {
    transform: translateX(-40px);
}

.fade-left {
    transform: translateX(40px);
}

.zoom-in {
    transform: scale(0.95);
}

/* Visible State */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

/* Mobile: Reduce animation translations to prevent overflow */
@media (max-width: 991px) {
    .fade-right {
        transform: translateX(-20px);
    }

    .fade-left {
        transform: translateX(20px);
    }

    .fade-up {
        transform: translateY(20px);
    }
}

@media (max-width: 767px) {
    .fade-right {
        transform: translateX(-10px);
    }

    .fade-left {
        transform: translateX(10px);
    }

    .fade-up {
        transform: translateY(10px);
    }
}

/* Staggered Delays (optional usage) */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-600 {
    transition-delay: 0.6s;
}

.delay-700 {
    transition-delay: 0.7s;
}

.delay-800 {
    transition-delay: 0.8s;
}

.delay-900 {
    transition-delay: 0.9s;
}

.delay-1000 {
    transition-delay: 1s;
}

.section-eyebrow::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    /* margin-right: 10px; */
    position: absolute;
    top: -6px;
}

.star_rating_cs.rating {
    display: flex;
}

.star_rating_cs .star {
    width: 22px;
    height: 22px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e1e1e1"><path d="M12 .587l3.668 7.571 8.332 1.151-6.064 5.898 1.445 8.293L12 18.902l-7.381 4.598 1.445-8.293-6.064-5.898 8.332-1.151z"/></svg>') no-repeat;
    background-size: cover;
    position: relative;
    margin: 2px;
}

.star_rating_cs .star::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: var(--star-fill, 0);
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f8b825"><path d="M12 .587l3.668 7.571 8.332 1.151-6.064 5.898 1.445 8.293L12 18.902l-7.381 4.598 1.445-8.293-6.064-5.898 8.332-1.151z"/></svg>') no-repeat;
    background-size: cover;
    z-index: 1;
}

.small_text_rating {
    font-weight: 400;
    font-size: 14px;
    color: #838e91;
}

.process-step img {
    width: 100px;
    height: 100px;
}

.process-wrapper {
    gap: 0px;
    align-items: center;
    position: relative;
    /* Context for absolute background */
}

/* Background Image on Pseudo-element */
.process-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/union.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    /* Behind content */
    opacity: 0;
    /* Start hidden */
    transition: all 1.5s ease-in-out;
}

/* Ensure content stays on top */
.process-step {
    position: relative;
    z-index: 1;
}

/* Special Override: Keep wrapper visible so children can animate,
   but trigger background animation when wrapper gets 'is-visible' */
.process-wrapper.animate-on-scroll {
    opacity: 1;
    transform: none;
}

/* Animate background when visible, with delay to follow steps */
.process-wrapper.animate-on-scroll.is-visible::before {
    opacity: 1;
    transition-delay: 0.8s;
    /* Wait for children */
}

/* Step container */
.process-step {
    text-align: center;
    position: relative;
}

/* Icon circle */
.icon-circle {
    width: 110px;
    height: 110px;
    /* background: #ffffff; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto;
}

/* Dashed borders */
/* .dashed-green {
  border: 2px dashed #6aa84f;
}

.dashed-yellow {
  border: 2px dashed #f5bb18;
} */

/* Label */
.step_process_tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    color: #272e26;
    padding: 6px 10px 6px 6px;
    position: relative;
    background: linear-gradient(90deg,
            rgba(245, 187, 24, 0.2) 0%,
            rgba(245, 187, 24, 0) 100%);
}

.eligibility_items_tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: #272e26;
    padding: 8px 10px 8px 12px;
    position: relative;
    background: linear-gradient(90deg,
            rgba(245, 187, 24, 0.2) 0%,
            rgba(245, 187, 24, 0) 100%);
}

/* Yellow bar */
.step_process_tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: #f5bb18;
    border-radius: 4px;
}

.eligibility_items_tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: #f5bb18;
    border-radius: 4px;
}

/* Bold first word */
.step_process_tag span {
    font-weight: 600;
}

/* Position helpers */
/* .step_process_tag.top {
  margin-bottom: 6px;
}

.step_process_tag.bottom {
  margin-top: 6px;
} */

/* .process-step:nth-child(odd) {
 border-top: 2px dashed #f5bb18;
 border-radius: 50%;
}
.process-step:nth-child(even) {
 border-bottom: 2px dashed #f5bb18;
 border-radius: 50%;
} */
.step_process_tag {
    position: absolute;
    margin-bottom: 0;
}

.step_process_tag.top {
    top: -50px;
    left: 0;
    width: 100%;
}

.step_process_tag.bottom {
    bottom: -52px;
    left: 0;
    width: 100%;
}

.download_sec {
    background: url("../images/download_sec_banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 6rem;
    height: calc(100vh - 100px);
}

.download_app_img {
    margin-top: -60px;
    z-index: 2;
    position: relative;
    left: 12%;
    max-width: 88%;
}

.download_img_wrap::before {
    content: "";

    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(131.75deg, #f9c400 15.83%, #25472a 66.28%);
    transform: matrix(0.99, 0.1, 0.11, -0.99, 0, 0);
    border-radius: 50%;
    /* top: 0; */
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulse-border 3s infinite ease-in-out;
}

.card-img-top {
    border-radius: 16px;
}

.news_card_title {
    font-weight: 300;
    font-size: 22px;
    color: #110f15;
}

/* Slick Slider Custom Styles */
.service-pills.slick-initialized {
    display: block;
    padding: 0 40px;
}

.service-pills .slick-slide {
    margin: 0 10px;
    height: auto;
    display: flex !important;
    justify-content: center;
}

.service-pills .service-pill {
    width: auto;
    max-width: 100%;
}

/* Custom Arrows */
.slick-prev-custom,
.slick-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f7f7f7;
    border: 1px solid #f7f7f7;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slick-prev-custom:hover,
.slick-next-custom:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.slick-prev-custom {
    left: 0;
}

.slick-next-custom {
    right: 0;
}

/* Preloader: The Dastak (Knock) Theme */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Allow interaction with door later? No, keep blocking */
}

/* Door Panels */
.door-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.left-panel {
    left: 0;
    /* border-right: 1px solid #f0f0f0; */
    border-right: 2px solid #f0f0f0;
}

.right-panel {
    right: 0;
    border-left: 2px solid #f0f0f0;
}

/* Content */
.preloader-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Knocker Wrapper & Ripples */
.knocker-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: knockAction 2s infinite ease-in-out;
    /* The Knock */
}

.preloader-logo {
    width: 65px;
    height: auto;
}

/* Ripples - simulating sound waves of the knock */
.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-sizing: border-box;
    opacity: 0;
}

.r-1 {
    animation: rippleExpand 2s infinite 0s;
}

/* Syncs with knock */
.r-2 {
    animation: rippleExpand 2s infinite 0.4s;
}

.r-3 {
    animation: rippleExpand 2s infinite 0.8s;
}

.knocking-text {
    margin-top: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #333;
    text-transform: uppercase;
    animation: textFade 2s infinite ease-in-out;
}

/* Loaded State */
#preloader.loaded {
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s 0.8s;
    /* Wait for 0.8s slide transition */
}

#preloader.loaded .left-panel {
    transform: translateX(-100%);
}

#preloader.loaded .right-panel {
    transform: translateX(100%);
}

#preloader.loaded .preloader-content {
    opacity: 0;
    transform: scale(0.9);
}

/* Keyframes */

/* Simulates a sharp "Knock Knock" motion */
@keyframes knockAction {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(0.95);
    }

    /* Knock 1 */
    20% {
        transform: scale(1);
    }

    /* Reset */
    30% {
        transform: scale(0.95);
    }

    /* Knock 2 */
    40% {
        transform: scale(1);
    }

    /* Reset */
    100% {
        transform: scale(1);
    }

    /* Pause */
}

@keyframes rippleExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.6;
        border-width: 3px;
    }

    100% {
        width: 220px;
        height: 220px;
        opacity: 0;
        border-width: 0px;
    }
}

@keyframes textFade {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* =========================================
   ALL SERVICES PAGE STYLES
   ========================================= */

/* Controls Row */
.services-controls {
    background: transparent;
}

/* Service Search Box */
.service-search-box {
    position: relative;
}

.service-search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: 6px;
    border: 1px solid #f3f7f4;
    background: #f3f7f4;
    font-size: 0.95rem;
    color: #474a4e;
    outline: none;
    transition: 0.2s;
}

.service-search-box input:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 107, 57, 0.1);
}

.service-search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #474a4e;
}

/* Toggle Switch (Citizen/Business) */
.toggle-switch-wrapper {
    background: #f7f7f7;
    /* padding: 4px; */
    border-radius: 8px;
    display: inline-flex;
    border: 1px solid #f7f7f7;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.toggle-btn {
    padding: 13px 24px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(13, 107, 57, 0.2);
}

/* Filter Pills */
.filter-pill {
    background: #f7f7f7;
    border: 1px solid #f7f7f7;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #474a4e;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-pill:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: var(--text-dark);
}

/* Custom Accordion */
.accordion-item {
    border: none;
    background: #f7f7f7;
    margin-bottom: 12px;
    border-radius: 14px !important;
}

.accordion-button:focus {
    box-shadow: unset !important;
}

.accordion-button {
    color: #374151;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 !important;
    border: 1px solid #f7f7f7;
    border-radius: 12px !important;
    padding: 18px 24px;
    transition: all 0.3s ease;

    background: #f7f7f7;
}

.accordion-button:not(.collapsed) {
    background-color: #f7f7f7;
    color: var(--primary-color);
    font-weight: 700;
    border-color: #ffffff;
    /* box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05) !important; */
    border-radius: 12px 12px 0 0 !important;
    border: 0;
}

.accordion-button span {
    position: relative;
}

.accordion-button span::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    height: 100%;
    width: 4px;
    border-radius: 4px;
    background-color: var(--secondary-color);
}

.accordion-collapse {
    background: #f7f7f7;
    border: none;
    border-radius: 0 0 12px 12px;
    /* box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03); */
    margin-top: -2px;
}

/* Service Card */
.service-card-item {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
}

.service-card-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(13, 107, 57, 0.08);
    /* Green tint shadow */
    transform: translateY(-3px);
    cursor: pointer;
}

.svc-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: start;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.svc-icon img {
    height: 32px;
    width: 38px;
    object-fit: contain;
}

/* =========================================
   SERVICE DETAIL OFFCANVAS
   ========================================= */
.service-detail-offcanvas {
    width: 600px !important;
    /* Wide standard width */
    border-left: none;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .service-detail-offcanvas {
        width: 100% !important;
    }
}

.service-detail-offcanvas .offcanvas-header {
    background: #f8f9fa;
    padding: 20px 25px;
}

.service-detail-offcanvas .offcanvas-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 12px;
}

.yellow-bar-indicator {
    width: 4px;
    height: 24px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    display: inline-block;
}

/* Custom Table for Documents */
.custom-doc-table thead th {
    background-color: #272e26;
    /* Dark header */
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 12px;
    border: none;
}

/* Rounded corners for table header */
.custom-doc-table thead th.rounded-start {
    border-radius: 8px 0 0 8px;
}

.custom-doc-table thead th.rounded-end {
    border-radius: 0 8px 8px 0;
}

.custom-doc-table tbody td {
    background: #f7f7f7;
    padding: 12px;
    font-size: 0.8rem;
    color: #272e26;
    border-bottom: 8px solid #ffff;
    border-top: 8px solid #ffff;
}

.custom-doc-table tbody tr td:first-child {
    position: relative;
    padding-left: 16px;
    /* space for the before element */
    border-radius: 12px 0 0 12px;
}

.custom-doc-table tbody tr td:last-child {
    border-radius: 0 12px 12px 0;
}

.custom-doc-table tbody tr td:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #272e26;
    border-radius: 6px;
}

/* Checkboxes */
.fa-check-square {
    font-size: 1.1rem;
}

.fa-square {
    font-size: 1.1rem;
}

.text-light-gray {
    color: #e5e7eb;
}

/* =========================================
   APPLICATION FORM OFFCANVAS (WIZARD)
   ========================================= */
.application-form-offcanvas {
    width: 800px !important;
    /* Wide */
    border-left: none;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .application-form-offcanvas {
        width: 100% !important;
    }
}

.application-form-offcanvas .offcanvas-header {
    background: #f8f9fa;
    padding: 20px 30px;
}

.application-form-offcanvas .offcanvas-body {
    padding: 0 30px 30px;
}

/* Stepper */
.stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 15px 0;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: 0.3s;
}

.step-item.active {
    opacity: 1;
}

.step-icon {
    width: 24px;
    height: 24px;
    border: 4px solid #d1d5db;
    border-radius: 4px;
    /* Square with rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent;
    background: transparent;
    transition: all 0.2s;
}

.step-item.active .step-icon {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

.step-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.step-line {
    flex-grow: 1;
    height: 1px;
    background: #e5e7eb;
    margin: 0 15px;
    border-top: 1px dashed #d1d5db;
    background: transparent;
}

/* Document Checklist */
.doc-check-item {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.2s;
}

.doc-check-item:hover {
    border-color: #d1d5db;
}

.doc-check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.doc-check-item span {
    font-size: 0.95rem;
    color: #374151;
}

/* Modal Success */
#successModal .modal-content {
    border-radius: 24px;
}

.menu_offcanvas {
    width: 100%;
}

@media (max-width: 1200px) {
    .display-title {
        font-size: 3rem;
    }

    .about_us_img_wrap::before {
        width: 350px;
        height: 350px;
    }

    .download_img_wrap::before {
        width: 400px;
        height: 400px;
    }

    .download_app_img {
        left: 5%;
    }
}

@media (max-width: 991px) {
    .menu_offcanvas {
        width: auto;
    }

    /* Typography */
    .display-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    /* Navbar & Topbar override */
    .navbar_brand_cs,
    .topbar_left {
        width: auto;
        min-width: 0;
        padding-left: 15px;
        background-color: #f3f7f4;
    }

    .header_cs {
        padding: 0 3%;
    }

    /* Hero */
    .hero-section {
        padding: 60px 0 120px;
        text-align: center;
        background-position: 70% center;
        /* Adjust bg focus */
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-bg-gradient {
        background: radial-gradient(circle at 50% 50%,
                rgba(30, 89, 62, 0.7),
                transparent 90%);
    }

    /* Search */
    .search-wrapper {
        margin-top: -80px;
    }

    .search-box-card input {
        width: 100%;
        text-align: center;
    }

    .search-submit-btn {
        width: 100%;
        height: 45px;
        border-radius: 8px;
    }

    /* About Us */
    .about_us_img_wrap::before {
        width: 300px;
        height: 300px;
    }

    /* Process */
    .process-line {
        display: none;
    }

    .process-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .process-wrapper::before {
        display: none;
        /* Hide background line on mobile */
    }

    .process-step {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding-left: 20px;
        gap: 12px;
    }

    .icon-circle {
        width: auto;
        height: auto;
    }

    .process-step img {
        max-width: 100px;
        max-height: 100px;
        width: auto;
        height: auto;
    }

    .process-wrapper {
        padding: 20px 0px;
    }

    .step-circle {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .step_process_tag,
    .step_process_tag.top,
    .step_process_tag.bottom {
        position: relative;
        /* margin: 0; */
        width: auto;
        min-width: 200px;
        /* background: transparent;
    padding: 0; */
    }

    .step_process_tag.top {
        top: 50%;
    }

    .step_process_tag.bottom {
        bottom: 50%;
    }

    /* .step_process_tag::before {
    display: none;
  } */

    /* Download Section */
    .download_sec {
        height: auto;
        padding: 60px 0;
        background-attachment: scroll;
        /* Mobile doesn't handle fixed well */
    }

    .download_app_img {
        margin-top: 40px;
        left: 0;
        max-width: 80%;
    }

    .download_img_wrap::before {
        width: 300px;
        height: 300px;
        left: 50%;
    }

    .download_sec {
        margin-top: 4rem;
    }
}

@media (max-width: 767px) {

    /* Mobile General */
    .section-padding {
        padding: 50px 0;
    }

    .display-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    /* Fix horizontal overflow */
    /* .container,
  .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
  } */

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    /* Topbar */
    .top-bar {
        display: none;
    }

    .topbar_left,
    .topbar_right {
        width: 100%;
        justify-content: center;
        padding: 5px 15px;
    }

    .topbar_left {
        padding-left: 15px;
    }

    /* Navbar */
    .navbar_brand_cs {
        width: auto;
        min-width: auto;
        padding: 12px 15px;
    }

    .navbar-brand img {
        height: 35px;
    }

    /* Search Pills */
    .service-pills {
        padding: 0 10px;
    }

    .service-pill {
        width: 100%;
        /* Full width buttons on mobile */
        justify-content: center;
    }

    /* Ensure all images fit */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Rating block responsive */
    .rating-block {
        max-width: 100%;
        overflow: hidden;
    }

    /* Search section */
    .search-wrapper {
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-box-card {
        margin-left: 0;
        margin-right: 0;
    }

    /* Reduce row gutters on mobile */
    .row.g-5 {
        --bs-gutter-x: 1.5rem !important;
        --bs-gutter-y: 1.5rem !important;
    }

    .row.g-4 {
        --bs-gutter-x: 1rem !important;
        --bs-gutter-y: 1rem !important;
    }

    /* Add overflow hidden to sections to contain animations */
    section {
        overflow-x: hidden;
    }

    /* About Image scaling */
    .about_us_img_wrap::before {
        width: 250px;
        height: 250px;
    }

    /* Eligibility */
    .eligibility_items_tag {
        width: 100%;
        text-align: center;
    }

    /* .eligibility_items_tag::before {
    display: none;
  } */

    /* Download */
    .download_img_wrap::before {
        width: 260px;
        height: 260px;
    }

    /* Partner Box */
    .partner-box {
        padding: 20px 10px;
    }

    .partner-box h6 {
        font-size: 16px;
    }

    .partner-box img {
        width: 60px;
    }

    /* Footer */
    footer .col-6 {
        width: 100%;
        /* Stack links vertically */
        text-align: center;
    }

    footer .col-lg-4 {
        text-align: center;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
    }

    footer .d-flex.gap-2 {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0 100px;
    }

    .display-title {
        font-size: 1.75rem;
    }

    .about_us_img_wrap::before {
        width: 200px;
        height: 200px;
    }

    .download_img_wrap::before {
        width: 220px;
        height: 220px;
    }
}

/* Scroll Up Button */
.scroll-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.scroll-up-btn.show {
    opacity: 0.75;
    visibility: visible;
    transform: translateY(0);
}

.scroll-up-btn:hover {
    background-color: var(--primary-color);
    opacity: 1 !important;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(13, 107, 57, 0.3);
}

.dastak_logo_footer {
    width: 200px;
}

.govt_logo_footer {
    width: 180px;
}

.footer_social_icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.serv_sec,
.latest_news_sec {
    background-color: #f3f7f4;
}

.text-muted {
    color: #838e91 !important;
}

.lead {
    font-size: 1rem;
}

.text-dark {
    color: var(--text-dark) !important;
}

.btn-light {
    background-color: #f7f7f7;
    border-color: #f7f7f7 !important;
}

.offcanvas_card {
    background-color: #f7f7f7;
}

.fw-bold {
    font-weight: 600 !important;
}

.step-content .form-control,
.step-content .form-select {
    background-color: #f7f7f7;
    border-radius: 10px;
    border-color: #f7f7f7;
    padding: 10px 16px;
    color: #272e26;
    font-size: 13px;
    font-weight: 500;
}

.step-content .form-control::placeholder {
    color: #7b7b7b;
    opacity: 1;
}

.form_details_inner {
    position: relative;
    padding-left: 14px;
}

.form_details_inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
}

.form_details_inner p {
    font-size: 13px;
}

.form_details_inner small {
    font-size: 12px;
}

.review_form_card {
    background: #ededed;
    border-radius: 10px;
    padding: 16px;
}

.review_form_card p {
    font-weight: 600;
    font-size: 14px;
    color: #272e26;
}

.sec_title_small {
    font-size: 24px !important;
}

/* Accent inputs/selects with brand green: show only on focus */
input,
textarea,
select {
    border: 1px solid transparent !important;
    box-shadow: none !important;
    outline: none !important;
    transition: box-shadow 0.15s ease, outline 0.15s ease,
        border-color 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
    border: 1px solid #038b45 !important;
    box-shadow: 0 0 0 2px rgba(3, 139, 69, 0.12) !important;
    /* outline: 2px solid #038b45 !important; */
}

.custom-accordion .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.custom-accordion .accordion-header .accordion-button {
    width: fit-content;
    padding-left: 38px;
    box-shadow: unset !important;
    position: relative;
}

.custom-accordion .accordion-header .accordion-button::after {
    margin-right: auto;
    position: absolute;
    left: 0;
}

.svc-name {
    font-size: 14px;
}

.track_app_btn {
    font-size: 14px;
}



/* form and stpes style  */

.steps-side-bar {
    max-width: 300px;
    width: 100%;
    position: fixed;
    z-index: 1;
    background-color: white;
    height: 100%;
    top: 130px;
    /* padding: 20px 0; */
    transition: top 0.25s ease;
}

.steps_wrapper {
    padding: 20px 0;
    position: relative;
    border-radius: 20px;
    border: 1.069px solid #f3f7f4;
    height: calc(100vh - 110px);
    overflow: auto;
    z-index: 1;
    background-color: #f3f7f4;
}

.steps_wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../images/driving_car.svg) bottom no-repeat, linear-gradient(191deg, #D7E8E6 3.76%, #FFF 90.75%);
    opacity: 0.2;
    pointer-events: none;
}

.step-indicators {
    margin-top: 20px;
}

.step-indicator {
    position: relative;
}

.step-indicator {
    padding: 18px;
}

.step-indicator .icons-wrapper {
    border: unset;
}

.icons-wrapper {
    height: 46px;
    width: 46px;
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #9B9FAA;
}

.step-indicator.active .icons-wrapper img.active_image {
    display: block;
}

.step-indicator .icons-wrapper img.active_image {
    display: none;
}

.step-indicator .icons-wrapper img {
    width: 40px;
}

.icons-wrapper img {
    min-width: 24px;
    width: 24px;
}

.steps-info-text {
    color: #656D7A;
    font-size: 14px;
    font-weight: 400;
    line-height: 27px;
}



.step.active {
    display: block;
}

.icons-wrapper {

    height: 46px;
    width: 46px;
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #9B9FAA;
}

.step-indicator .icons-wrapper {
    border: unset;
}

.step-indicator .icons-wrapper img.active_image {
    display: none;
}

.step-indicator.active .icons-wrapper img.active_image {
    display: block;
}

.step-indicator.active .icons-wrapper img.in_active_image {
    display: none;
}

.icons-wrapper img {
    min-width: 24px;
    width: 24px;
}

.step-indicator .icons-wrapper img {
    width: 40px;
}

.steps-headings {
    color: #091929;
    font-size: 18px;
    font-weight: 600;
}

.steps-info-text {
    color: #656D7A;
    font-size: 14px;
    font-weight: 400;
    line-height: 27px;
}

.step-indicator {
    padding: 18px;
}

.step-indicator::after {
    content: '';
    border-radius: 6.749px;
    background: #9B9FAA;
    width: 3px;
    position: absolute;
    height: 38px;
    left: 39px;
    top: 74px;
}

.step-indicator:last-child::after {
    content: '';
    display: none;
}

.step-indicator.completed:not(.active).step-indicator::after {
    content: '';
    background: #48AE6D;
}

/* .stepper-main-wrapper {
    position: relative;
    margin-left: 300px;
} */

.stepper-content-wrapper {
    border-radius: 20px;
    background: #fff;
    /* box-shadow: 0px 1.251px 8.93px 0px rgba(0, 0, 0, 0.08); */
    box-shadow: 0px;
    padding: 20px 15px;
    /* margin-top: 24px; */
    min-height: calc(100vh - 225px);
}

.stepper-content-wrapper .card-body {
    border-radius: 14px;
    background: #f7f7f7;

}

.stepper-content-wrapper .form-check-input[type=checkbox] {
    border-radius: .25em;
    /* background: red; */
    border: 1px solid #272E26 !important;
}

.stepper-content .form-control,
.stepper-content .form-select {
    background-color: #fff;
    border-radius: 10px;
    border-color: rgb(224, 224, 224) !important;
    padding: 10px 16px;
    color: #272e26;
    font-size: 13px;
    font-weight: 500;
}

.stepper-content .form-control::placeholder,
.stepper-content .form-select::placeholder {
    color: #b8b9b8;
}

.steps_content_title {
    font-size: 24px;
    font-weight: 600;
    color: #091929;
}

.scanner_img_suggestions {
    border-radius: 10px;
    background: #EFF3F6;
    padding: 18px;
}

.img_scanner_suggestions_title {
    color: #091929;
    font-size: 16px;
    font-weight: 600;
}

.img_scanner_suggestions_info {
    color: #656D7A;
    font-size: 14px;
    font-weight: 400;
}

.upload_proofs {
    position: relative;
    height: 100%;
}

.uplaod {
    /* border: 2px dashed #999; */
    padding: 5px;
    overflow: hidden;
}

.img-preview {
    display: none;
    height: 100%;
    width: 100%;
    border: 1px solid #ddd;
    padding: 3px;
    obejec-fit: contain;
    max-height: 350px;
    object-fit: contain;
    pointer-events: none;
    border-radius: 14px;
}

.section_title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.delete-button {
    position: absolute;
    top: 0;
    right: 0;
}

.form-label.small {
    font-size: 13px;
}

/* new style for track application offvanvas */
#eLicenseOffcanvas .offcanvas-body {
    background: #fff url('../images/bg_track.png') !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: bottom right !important;
    /* font-family: "Manrope", sans-serif !important; */
}


.ai-offcanvas {
    width: 470px !important;
    border-left: none;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

#eLicenseOffcanvas .form-check-input[type="radio"] {
    width: 18px;
    height: 18px;
    border-radius: 4px !important;
    cursor: pointer;
    border: 4px solid #D1D5DB !important;
    background-color: #fff;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    margin-top: 3px;
}

#eLicenseOffcanvas .form-check-input[type="radio"]:checked {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    background-image: none !important;
}

#eLicenseOffcanvas .form-check-input[type="radio"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #272E26;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg_light_cs {
    background-color: #F7F7F7;
}

.bg_check_box {
    background: #f7f7f7;
    padding: 12px;
    border-radius: 4px;
}


/* generate license css  */
.d_wrapper {
    width: 275px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

.user_pic {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
}

.user_pic img {
    width: 100%;
    border-radius: 50%;
    height: 104px;
}

.d_no_area {
    font-weight: 600;
    position: absolute;
    top: 37%;
    width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 1.15;
    font-family: 'Roboto', sans-serif;
}

.d_no {
    color: #263370;
    font-size: 12px;
}

.person_name {
    font-size: 14px;
}

.d_info_area {
    max-width: 210px;
    padding: 0;
    list-style: none;
    overflow: hidden;
    position: absolute;
    top: 46.5%;
    left: 21%;
    font-weight: 600;
    font-size: 9.5px;
    text-align: left;
}

.d_info_area li {
    width: 50%;
    float: left;
    margin-bottom: 24px;
    font-weight: 600;
    color: #000;
}

.d_info_area li:last-child {
    width: 100%;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1;
    margin-top: 0px;
}

.d_lice_applied {
    position: absolute;
    top: 70%;
    padding: 0;
    list-style: none;
    overflow: hidden;
    font-size: 10px;
    font-weight: 500;
    width: 210px;
    left: 13%;
    text-transform: uppercase;
}

.d_lice_applied li {
    width: 25%;
    text-align: center;
    float: left;
    margin-bottom: 3px;
    font-weight: 600;
    font-size: 6px;
}

.d_lice_applied li img {
    display: block;
    width: 30px;
    margin: 0 auto 3px;
}

.btn.active {
    background: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #fff !important
}

.d_lice_applied li.d_applied img.d_not_applied {
    display: none;
}

.d_lice_applied li.d_applied img.d_app {
    display: block;
}

.qr_code {
    width: 40px;
    position: absolute;
    bottom: 20px;
    left: 45px;
}

.verify_btn {
    border: none;
    height: auto !important;
    padding: 10px 35px;
    border-radius: 50px;
    font-size: 18px
}

.signature {
    width: 90px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.information .form-control {
    height: 48px;
}



/* style for custom checkbox  */
.custom-option {
    padding-left: 0;
    border: 1px solid #dbdade;
    border-radius: 0.375rem;
}

.vehicle_info_custom_checkbox {
    width: 118px;
    height: 100px;
    border-radius: 10px;
    background: #EFF3F6;
    position: relative;
    margin-right: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle_info_custom_content {
    width: 118px;
    height: 100px;
}

.vehicle_info_custom_checkbox.active {
    background: #48AE6D;

}

.vehicle_info_custom_checkbox.active img {
    /* filter: brightness(0); */
    filter: invert(100%);

}

.vehicle_info_custom_checkbox.active small {
    color: #fff;

}

.vehicle_info_custom_checkbox .form-check-input {
    position: absolute;
    position: absolute;
    right: 8px;
    top: 4px;
    border-radius: 50% !important;
}

.custom-option .custom-option-content {
    cursor: pointer;
    width: 100%;
}

.form-check-input {
    cursor: pointer;
}

.vehicle_info_custom_content img {
    object-fit: contain;
    height: 40px;
    margin-bottom: 4px;
    max-width: 60px;
}

.vehicle_type input {
    margin-top: 0px;
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
        transform: scale(1.05);
    }

    to {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.vehicle_type .form-check-input {
    border: 2px solid #ffc107 !important;
}

.vehicle_type .form-check-input:checked {
    background-color: #f3b706;
}

.main_default .amount_license {
    border-radius: 0.625rem;
    background: #F3F3F3;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.main_default .amount_license h3 {
    color: #545454;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4375rem;
    /* 127.778% */
    text-transform: capitalize;
    text-align: left;
}

.main_default .amount_license p {
    color: #A6A6A6;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0;
    margin: 0;
    text-align: left;
}

.main_default .Total_Amount {
    border-radius: 0.30881rem;
    border: 0.824px dashed #D8D8D8;
    background: #EFEFEF;
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.main_default .Total_Amount h3 {
    color: #D1D1D1;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    padding: 0;
}

.main_default .Total_Amount p {
    color: #D1D1D1;
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 500px) {
    .amount_license h3 {
        font-size: 0.8rem;
    }

    .amount_license {
        flex-direction: column;
        gap: 10px;
    }
}

.uplaod#my_camera,
.uplaod#my_camera video {
    max-width: 500px;
    width: 100% !important;
    max-height: 210px;
    height: auto !important;
}