@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ========================================
   Global Styles
   ======================================== */
:root {
    --primary-color: #7E3E87;
    --primary-hover: #7E3E87;
    --title-color: #7E3E87;
    --secondary-color: #24B2C6;
    --secondary-hover: #24B2C6;
    --text-color: #333;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

p {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
}

h2 {
    font-size: 35px;
    font-weight: 700;
}

.container {
    max-width: 80vw;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    padding: 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #000000;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-size: 18px;
}

.navbar.fixed-top .nav-link {
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}




.navbar.fixed-top .btn-outline-primary {
    border-color: #ffffff;
    color: #ffffff;
}

.navbar.bg-white .nav-link {
    color: #000000 !important;
}

.navbar.bg-white .btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.main-menu > li > a {
    padding: 40px 20px !important;
}

/* Hover Dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 0;
    margin-top: 0;
    display: none;
    width: 300px;
    padding: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn {
    border-radius: 0px !important;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}


/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Insurance Categories
   ======================================== */
.insurance-categories {
    background-color: var(--white);
}
/* Remove link styling completely */
.insurance-categories-scroll a {
    text-decoration: none;
}

/* Force title color to remain black */
.insurance-categories-scroll a h6 {
    color: #000 !important;
}


/* Wrapper that can scroll horizontally */
.insurance-categories-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem; /* extra space so hover shadow doesn't clip */
    -webkit-overflow-scrolling: touch;
    padding-left: 2rem; /* equal left space */
    padding-right: 2rem; /* equal right space */
}

/* Hide scrollbar (optional) */
.insurance-categories-scroll-wrapper::-webkit-scrollbar {
    height: 0;
}

.insurance-categories-scroll-wrapper {
    scrollbar-width: none;
}

/* Inner row */
.insurance-categories-scroll {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    margin: 5px auto; /* centers entire row */
}

/* Card design */
.category-card {
    background: #F2F2F2;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 220px;
    max-width: 220px;
    text-align: center;
}

/* Smooth scale instead of pushing up */
.category-card:hover {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(36, 178, 198, 0.3);
    transform: scale(1.05);
}

/* Icon */
.category-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.category-card h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Desktop: center cards */
@media (min-width: 992px) {
    .insurance-categories-scroll {
        justify-content: center;
    }
}

/* 🔹 Small screens (mobile): show 2 cards per row */
@media (max-width: 576px) {

    /* No horizontal scroll on mobile, normal grid layout */
    .insurance-categories-scroll-wrapper {
        overflow-x: visible;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .insurance-categories-scroll {
        width: 100%;
        margin: 0 auto;
        flex-wrap: wrap; /* allow wrapping into rows */
        justify-content: center;
        gap: 1rem;
    }

    .category-card {
        flex: 0 0 calc(50% - 1rem); /* 2 per row */
        max-width: calc(50% - 1rem);
    }
}

/* ========================================
   About Us Section
   ======================================== */
.bg-about-gradient {
    background: #FFFFFF;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 30%, rgba(199, 248, 255, 0.75) 100%);
}

.about-section {
    overflow: hidden;
}

.about-section .row {
    margin: 0;
}

.title-underline {
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #24B2C6 0%, #7E3E87 100%);
    margin-top: -9px;
}


.about-section img {
    box-shadow: none;
    object-fit: cover;
}

.about-section .about-content {
    padding: 0 20px;
}

.about-section p {
    font-size: 24px;
    line-height: 40px;
    font-weight: 300;
    text-align: justify;
}

.about-preview {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* show ONLY 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ========================================
   Why Click Insurance
   ======================================== */
.why-section h2 {
    font-weight: 700;
}

.feature-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.feature-card:after {
    content: '';
    width: 3px;
    height: 60%;
    background: rgba(36, 178, 198, 0.4);
    display: block;
    position: absolute;
    top: 50%;
    right: -5px;
    opacity: 0.2;
    transform: translateY(-50%);
}

.why-section .col-md-6:last-child .feature-card:after {
    display: none;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.title-underline-center-whyclick {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #24B2C6 0%, #7E3E87 100%);
    margin: -32px auto 0; /* moves underline upward */
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ========================================
   Featured Products
   ======================================== */
.featured-products {
}

.product-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.2em;
}


.product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.title-underline-center-featured {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #24B2C6 0%, #7E3E87 100%);
    margin: -32px auto 0;
}

/* Featured Products Section */
.featured-products {
    position: relative;
}

/* Mobile view adjustment */
@media (max-width: 576px) {
    .featured-products {
        margin-top: -100px;
    }

    .title-underline-center-featured {
        margin-top: -40px;
    }
}


/* ========================================
   Insurance Partners - Continuous Scroll
   ======================================== */
.insurance-partners {
    background-color: var(--white);
    overflow: hidden;
}

.title-underline-center {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #24B2C6 0%, #7E3E87 100%);
    margin: -8px auto 0; /* moves underline upward */
}


.partners-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-carousel {
    display: flex;
    animation: scroll 5s linear infinite;
    width: fit-content;
}

.partner-item {
    flex: 0 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners-carousel:hover {
    animation-play-state: paused;
}

/* ========================================
   Latest News Carousel
   ======================================== */
.latest-news {
    background-color: rgba(221, 246, 249, 1);
}

.news-card {
    transition: all 0.3s ease;
}

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

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .news-card img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .news-card img {
        height: 180px;
    }
}

/* default bootstrap-like width + behavior for other carousels */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;

}

.news-card p {
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ========================================
   Latest News – arrows outside carousel
   ( 24-11-2024, updated)
   ======================================== */
.latest-news .news-carousel {
    position: relative;
}

/* Override ONLY inside latest-news carousels */
.latest-news .news-carousel .carousel-control-prev,
.latest-news .news-carousel .carousel-control-next {
    width: auto;
    background: none;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);

    /* make arrows darker */
    filter: brightness(0) contrast(1.2);
}

.latest-news .news-carousel .carousel-control-prev-icon,
.latest-news .news-carousel .carousel-control-next-icon {
    filter: brightness(0) contrast(1.4); /* dark/solid arrow */
}

/* Hover effect – even darker */
.latest-news .news-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.latest-news .news-carousel .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) contrast(2);
}

/* Desktop / tablet: push arrows OUTSIDE for desktop carousel */
@media (min-width: 768px) {
    #newsCarouselDesktop .carousel-control-prev {
        left: -40px;
    }

    #newsCarouselDesktop .carousel-control-next {
        right: -40px;
    }
}

/* Mobile: keep arrows closer (or inside) for mobile carousel */
@media (max-width: 767.98px) {
    #newsCarouselMobile .carousel-control-prev,
    #newsCarouselMobile .carousel-control-next {
        width: 10%;
    }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
}

.bg-contact-gradient {
    background: #FFFFFF;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 50%, rgba(199, 248, 255, 0.5) 100%);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
}

.form-control {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 0.375rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(36, 178, 198, 0.25);
}

/* INNER PAGE */
.page-banner {
    height: 390px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center;
    position: relative;
    z-index: 1;
}

.page-banner .hero-overlay {
    z-index: -1;
}

/* PADDING UTILITIES */
.p-20-0 {
    padding: 20px 0;
}

.p-40-0 {
    padding: 40px 0;
}

.p-60-0 {
    padding: 60px 0;
}

.p-80-0 {
    padding: 80px 0;
}


/* ---------------------------
   RESPONSIVE QUERIES
----------------------------*/

/* Tablets */
@media (max-width: 992px) {
    .page-banner {
        height: 360px;
    }

    .p-80-0 {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-banner {
        height: 260px;
    }

    .contact-info p {
        font-size: 15px;
        line-height: 1.5;
    }

    .form-control {
        padding: 0.65rem;
    }

    /* Reduce padding on small screens */
    .p-80-0 {
        padding: 40px 0;
    }

    .p-60-0 {
        padding: 30px 0;
    }

    .p-40-0 {
        padding: 20px 0;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .page-banner {
        height: 200px;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #7E3E87;
    position: relative;
    overflow: hidden;

}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none
}

.diagonal-stripes {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 48px);
    opacity: .92;
    mix-blend-mode: multiply;
    transform: translateZ(0);
    animation: slideStripes 18s linear infinite
}

.footer-bg svg.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 110%;
    bottom: -6%;
    transform-origin: center;
    z-index: 0;
    display: block;
    pointer-events: none
}

@keyframes waveSpin {
    from {
        background-position: 0% 0%
    }

    to {
        background-position: 200% 200%
    }
}

@keyframes waveFlow {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes moveWave {
    from {
        transform: translateX(0) translateY(var(--ty, 0))
    }

    to {
        transform: translateX(-18%) translateY(var(--ty, 0))
    }
}

@keyframes slideStripes {
    from {
        background-position: 0 0
    }

    to {
        background-position: 1400px 1400px
    }
}

@media (prefers-reduced-motion: reduce) {

    .footer::before,
    .footer::after,
    .diagonal-stripes,
    .wave-1,
    .wave-2,
    .wave-3 {
        animation: none !important
    }
}

.footer img {
    display: block;
    max-width: 89%;
    height: auto
}

.footer a:focus {
    outline-offset: 3px
}

@media (max-height: 420px) {
    .footer {
        padding-block: 18px;
        min-height: 140px
    }
}

.wave path {
    animation: waveShake 6s ease-in-out infinite alternate;
    transform-origin: center
}

@keyframes waveShake {
    0% {
        transform: translateY(0) scaleX(1)
    }

    25% {
        transform: translateY(3px) scaleX(1.01)
    }

    50% {
        transform: translateY(-3px) scaleX(0.99)
    }

    75% {
        transform: translateY(2px) scaleX(1.01)
    }

    100% {
        transform: translateY(0) scaleX(1)
    }
}

.wave-1 path,
.wave-2 path,
.wave-3 path {
    animation: waveUpDown 6s ease-in-out infinite;
}

.wave-1 path {
    animation-delay: 0s;
}

.wave-2 path {
    animation-delay: 2s;
}

.wave-3 path {
    animation-delay: 4s;
}

@keyframes waveUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a:hover {
    opacity: 0.8;
}

.footer-logo {
    border-radius: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


/*   {{-- start  has done this code for mobile view 24/11/2025--}}
    Mobile footer layout */
@media (max-width: 767px) {

    .footer-mobile {
        position: relative;
        z-index: 1;
    }

    .footer-desktop {
        display: none !important;
    }

    .footer-mobile .footer-logo {
        max-width: 160px;
        margin-left: -1px;
        margin-top: -43px;
    }


    .footer-accordion-header {
        width: 100%;
        background: rgba(0, 0, 0, 0.12);
        border: none;
        color: #ffffff;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 600;
        font-size: 14px;
    }

    .footer-accordion-header:focus {
        outline: none;
        box-shadow: none;
    }

    .footer-accordion-icon {
        display: inline-flex;
        align-items: center;
        transition: transform 0.2s ease;
        font-size: 12px;
    }

    .footer-accordion-header[aria-expanded="true"] .footer-accordion-icon {
        transform: rotate(180deg);
    }

    .footer-accordion-list {
        padding-left: 0;
    }

    .footer-accordion-list li {
        margin-bottom: 6px;
    }


    .footer-mobile-bottom {
        margin-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .footer-mobile-cell {
        padding: 10px 8px;
        font-size: 13px;
    }

    .footer-mobile-cell + .footer-mobile-cell {
        border-left: 1px solid rgba(255, 255, 255, 0.25);
    }

    .footer-mobile .social-icons img {
        max-width: 18px;
        height: auto;
    }
}

/*   {{-- end  has done this code for mobile view 24/11/2025--}}



/* ========================================
   Responsive Design
   ======================================== */

/* Tablet - Medium screens */
@media (max-width: 991px) {
    .hero-section {
        height: 500px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .category-card h6 {
        font-size: 0.85rem;
    }

    .partners-carousel {
        animation-duration: 20s;
    }
}

/* Mobile - Small screens */
@media (max-width: 767px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 25px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
    }

    .navbar-light {
        background: #ffffff;
    }

    .navbar-light .nav-link {
        color: #000000;
    }

    .about-section p {
        font-size: 16px;
        line-height: 1.7;
    }

    .container {
        max-width: 100%;
    }

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

    .hero-section {
        height: 400px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;

    }

    .category-icon img {
        width: 60px;
        height: 60px;
    }

    .category-card {
        padding: 1rem;
    }

    .feature-icon img,
    .product-icon img {
        width: 60px;
        height: 60px;
    }

    .partner-item {
        padding: 0.5rem 1rem;
    }

    .partner-item img {
        max-width: 100px;
        height: 60px;
    }
    .active-home {
        background: #007bff;
        color: #fff !important;
        padding: 8px 18px;
        border-radius: 20px;
    }


    /* Show only one news item on mobile */
    .carousel-item .col-md-4:nth-child(n+2) {
        display: none;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .footer {
        text-align: center;
    }

    .contact-info {
        text-align: left;
    }

    .about-section .col-lg-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .footer img {
        margin: 0 auto;
    }

    .navbar-nav {
        padding-bottom: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px !important;
        color: #000000 !important;
    }

    .navbar.fixed-top .btn-outline-primary {
        border-color: var(--secondary-color) !important;
        color: var(--secondary-color) !important;
    }

    .page-banner {
        height: 180px;
    }

}

/* Extra small screens */
@media (max-width: 575px) {
    .hero-section {
        height: 550px;
        position: relative;
        overflow: hidden;
    }

    .hero-video.mobile-video {
        position: absolute;
        top: 60%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
        z-index: 1;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .category-card h6 {
        font-size: 0.75rem;
    }

    section {
        padding: 2rem 0 !important;
    }
}

/* Tablet landscape - Show 2 news items */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-item .col-md-4:nth-child(3) {
        display: none;
    }
}

/* Print styles */
@media print {

    .navbar,
    .hero-section,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

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


/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/*contact us page*/
/* ---------- Contact Section (mobile-first) ---------- */
.ci-contact {
    background-color: #f8f8f8;
    position: relative;
    padding: 48px 0 80px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
}

/* container */
.ci-contact__container {
    display: flex;
    flex-direction: column; /* stacked on mobile */
    gap: 20px;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

/* form column */
.contact-form-container {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* intro */
.ci-contact__intro {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.98rem;
}

/* form layout */
.field-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.field-row label,
.field-block {
    width: 100%;
    flex: 1 1 100%;
}

.field-row--full {
    display: block;
    margin-bottom: 20px;
}

.field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* inputs */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #24B2C6;
    box-shadow: 0 4px 12px rgba(36, 178, 198, 0.08);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* submit */
.btn-send {
    margin-top: 8px;
    padding: 10px 36px;
    border: none;
    background: #00bcd4;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    border-radius: 8px;
    transition: transform .08s ease, box-shadow .08s ease;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* contact info column */
.ci-contact__info {
    width: 100%;
    padding-top: 8px;
    line-height: 1.6;
}

.ci-info__title {
    font-size: 1.6rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.ci-info_block {
    margin-bottom: 6px;
    font-style: normal;
    font-size: 0.95rem;
    color: #444;
    line-height: 2.25;
    text-align: left;
}

.ci-info_block-contact,
.ci-info_block-email {
    margin-bottom: 12px;
}

.ci-info__subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 8px;
}

/* bottom art */
.contact-bottom-art {
    width: 100%;
    display: block;
    position: absolute;
    bottom: 10px;
    left: 0;
    z-index: 0;
    pointer-events: none;


}

/* small adjustments for small tablet and up */
@media (min-width: 576px) {
    .ci-contact__container {
        gap: 24px;
    }

    .btn-send {
        padding: 10px 48px;
    }
}

/* Tablet & small laptop: 2-column layout, better spacing */
@media (min-width: 768px) {

    .ci-contact {
        padding: 60px 0 90px;
    }

    .ci-contact__container {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }

    .contact-form-container {
        flex: 0 0 60%;
        max-width: 60%;
        padding-right: 32px;
    }

    .ci-contact__info {
        flex: 0 0 40%;
        max-width: 40%;
        padding-top: 24px;
    }

    /* fields become two-column rows */
    .field-row {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 20px;
        align-items: flex-start;
    }

    .field-row label,
    .field-block {
        flex: 1 1 calc(50% - 10px);
    }

    .field-row--full {
        flex-basis: 100%;
        width: 100%;
    }
}

/* Desktop: tighten content width and add offset for info box */
@media (min-width: 992px) {

    .ci-contact {
        padding-bottom: 110px;
    }

    .contact-form-container {
        flex: 0 0 58%;
        max-width: 58%;
        padding-right: 40px;
        max-width: 640px;
    }

    .ci-contact__info {
        flex: 0 0 32%;
        max-width: 360px;
        margin-left: 80px;
        margin-top: 56px;
        padding-top: 0;
    }

    .ci-info__title {
        font-size: 1.8rem;
    }

    .ci-info__subtitle {
        font-size: 1.25rem;
    }
}

/* Large desktop: more roomy */
@media (min-width: 1200px) {
    .ci-contact__container {
        gap: 40px;
    }

    .ci-contact .container {
        max-width: 1140px;
        margin: 0 auto;
    }

    .contact-form-container {
        max-width: 700px;
    }

    .contact-bottom-art {
        bottom: -30px;
        max-height: 300px;
    }
}

/* Extra small devices: compact layout */
@media (max-width: 480px) {

    .ci-contact {
        padding: 32px 0 60px;
    }

    .ci-contact .container {
        padding: 8px;
    }

    .ci-contact__intro {
        font-size: 0.95rem;
    }

    .ci-info__title {
        font-size: 1.25rem;
        text-align: center;
    }

    .ci-info__subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .ci-contact__info {
        text-align: center;
        padding-top: 8px;
    }

    .ci-info_block,
    .ci-info_block-contact,
    .ci-info_block-email {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-send {
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }
}

/* ============================
   Motor Insurance Page -> has done this code - 24-11-2025
   ============================ */
/* Banner */
.motor-banner {
    background-image: url('/assets/images/frontend/img/background/motorinsurancebg.png');
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    /*height: 320px;*/
    position: relative;
    z-index: 1;
}

.motor-banner .hero-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.motor-banner-title {
    font-size: 34px;
    font-weight: 600;
    padding-bottom: 100px;
}

/* -----------------------------------
   Main Section & Card
----------------------------------- */
.motor-insurance-section {
    background-color: #f3f3f3;
    padding: 80px 0 100px;
    position: relative;
}

.motor-card {
    width: 100%;
    max-width: 980px;
    background-color: #ffffff;
    padding: 40px 48px 48px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
    margin: -20px auto 0;
}

/* Header */
.motor-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #7E3E87;
}

.motor-form .motor-label {
    font-size: 13px;
    font-weight: 500;
    color: #555555;
    margin-bottom: 6px;
}

.motor-input {
    font-size: 14px;
    height: 44px;
}

/* -----------------------------------
   Progress Bar
----------------------------------- */
.card-stepper-wrapper {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Stepper base */
.vertical-stepper {
    position: relative;
}


/* Progress line */
.stepper-line-outer {
    position: absolute;
    top: 14px;
    left: 15px;
    right: 34px;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}


.stepper-line {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #24B2C6, #007bff);
    border-radius: 4px;
    transition: width 450ms ease;
}

/* Steps */
.stepper-items {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
}

.stepper-item.active,
.stepper-item.completed {
    opacity: 1;
}

/* Marker */
.step-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid #dcdcdc;
    background: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.stepper-item.active .step-marker {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.stepper-item.completed .step-marker {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* Text */
.step-title {
    font-size: 13px;
    font-weight: 600;
}

.step-panel {
    display: block;
}

.step-subpanel {
    display: none;
    opacity: 0;
    transform: translateX(12px);
    transition: 0.35s ease;
}

.step-subpanel.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Buttons */
.motor-card .btn {
    min-width: 120px;
}


/* -----------------------------------
   RESPONSIVE FIXES
----------------------------------- */

/* Tablet Fix */
@media (max-width: 991px) {
    .motor-card {
        padding: 26px 24px 32px;
        margin-top: -60px; /* better on tablets */
    }

    .motor-banner {
        height: 240px;
    }

    .motor-banner-title {
        font-size: 28px;
        padding-bottom: 60px;
    }
}

/* -----------------------------------
   MOBILE FIX (480px and below)
----------------------------------- */
@media (max-width: 767px) {
    .motor-insurance-section {
        padding: 50px 0 60px;
    }

    .motor-card {
        padding: 20px 18px 24px !important;
        margin-top: -20px;
    }

    .motor-banner {
        height: 200px;
    }

    .motor-banner-title {
        font-size: 22px;
    }

    .step-marker {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .step-title {
        font-size: 12px;
    }
}

/* Extra Small Devices (360px–420px) */
@media (max-width: 420px) {
    .motor-card {
        padding: 18px 14px 22px !important;
    }
}

.text-justify {
    text-align: justify;
}

/* =========================
   Motor Plans
   ========================= */

.motor-plans-header {
    background-color: #7E3E87;
    padding: 10px 0;
    color: #ffffff;
    height: 50px;
}

.motor-plan-tabs {
    gap: 14px;
    flex-wrap: wrap;
}

.motor-plan-tab {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
}

.motor-plan-tab.active {
    background: rgba(255, 255, 255, 0.14);
}

.plan-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: inline-block;
    position: relative;
}

.plan-icon::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
}

.plan-gold::after {
    background: #FFC857;
}

.plan-silver::after {
    background: #C0C0C0;
}

.plan-bronze::after {
    background: #CD7F32;
}

.plan-label {
    white-space: nowrap;
}

/*  has done this code - 25-11-2025 */

.motor-plans-edit-link {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    text-decoration: underline;
}

.motor-plans-edit-link:hover {
    text-decoration: none;
    opacity: 0.9;
}

.motor-edit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: stretch;
    justify-content: flex-end;
    z-index: 1050;
}

.motor-edit-panel {
    width: 380px;
    max-width: 100%;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    animation: motorSlideIn 0.25s ease-out;
}

.motor-edit-close {
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
    background: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.motor-edit-top {
    background: #f5f5f5;
    padding: 24px 20px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.motor-edit-score-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7E3E87;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.motor-edit-top-text {
    display: flex;
    flex-direction: column;
}

.motor-edit-top-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.motor-edit-top-sub {
    font-size: 11px;
    color: #6b7280;
}

.motor-edit-body {
    padding: 16px 20px 20px;
    overflow-y: auto;
    background: #ffffff;
}

.motor-edit-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.motor-edit-score-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
}

.motor-edit-score-label {
    color: #4b5563;
    white-space: nowrap;
}

.motor-edit-score-bar-wrap {
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.motor-edit-score-bar-fill {
    height: 100%;
    width: 35%;
    background: #00bcd4;
}

.motor-edit-score-count {
    color: #4b5563;
}

.motor-edit-review-card {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.motor-edit-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.motor-edit-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #7E3E87;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.motor-edit-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.motor-edit-review-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.motor-edit-review-date {
    font-size: 11px;
    color: #6b7280;
}

.motor-edit-review-rating {
    font-size: 11px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 4px;
}

.motor-edit-review-score {
    font-weight: 600;
}

.motor-edit-star {
    color: #fbbf24;
}

/* Review text */

.motor-edit-review-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

.motor-edit-review-text {
    font-size: 11px;
    color: #4b5563;
    line-height: 1.5;
}

/* Show state */

.motor-edit-overlay.is-open {
    display: flex;
}

/* Animation */

@keyframes motorSlideIn {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile full width */

@media (max-width: 575.98px) {
    .motor-edit-panel {
        width: 100%;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
        animation: motorSlideUp 0.25s ease-out;
    }

    @keyframes motorSlideUp {
        from {
            transform: translateY(40px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .motor-edit-close {
        left: auto;
        right: 10px;
    }
}

/* Body */

.motor-plans-section {
    background: #f3f3f3;
    padding: 20px 0 60px;
}

/* show / hide panes */

.motor-plan-pane {
    display: none;
}

.motor-plan-pane.active {
    display: block;
}

.motor-plans-topbar {
    font-size: 14px;
}

.motor-back-btn {
    background: transparent;
    border: 2px solid #24B2C6;
    color: #24B2C6;

    font-size: 13px;
    border-radius: 0;
    text-decoration: none;
    width: 61px;
}

.motor-back-btn:hover {
    background: #24B2C6;
    color: #ffffff;
    text-decoration: none;
}

.motor-plans-count {
    font-size: 14px;
    color: #555555;
}

.motor-sort-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 13px;
}

.motor-sort-select {
    height: 32px;
    padding: 4px 28px 4px 8px;
    font-size: 13px;
    border-radius: 0;
}

/* Comparison card / table */

.motor-plans-card {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* make both tables share identical column widths */

.motor-plans-table {
    margin-bottom: 0;
    border-collapse: collapse;
    table-layout: auto;
    width: max-content;
    min-width: 100%;
}

.motor-benefits-table {
    margin-bottom: 0;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.motor-plans-table th {
    border: 1px solid #e0e0e0;
    font-size: 13px;
    padding: 10px 8px;
    vertical-align: middle;
}

.motor-plans-table td {
    border: 1px solid #e0e0e0;
    font-size: 13px;
    padding: 10px 8px;
    vertical-align: middle;
}

.motor-plans-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.motor-plans-sticky-col {
    min-width: 190px;
    font-weight: 500;
}

.motor-company-logo {
    max-height: 25px;
    width: auto;
}

/* Buy Now button row */

.motor-buy-btn {
    background: #00bcd4;
    border-color: #00bcd4;
    color: #ffffff;
    font-size: 13px;
    padding: 6px 22px;
    border-radius: 0;
}

.motor-buy-btn:hover {
    background: #00a1b8;
    border-color: #00a1b8;
    color: #ffffff;
}

/* Key benefits */

.motor-benefits-wrap {
    margin-top: 26px;
}

.motor-benefits-title {
    font-size: 14px;
    font-weight: 600;
    color: #7E3E87;
    margin-bottom: 10px;
}

.motor-selected-plan-label {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    margin-left: 90px;
    margin-bottom: -12px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    background: white;
    border: 1px solid white;
}

/* Plan labels with medals */

.motor-selected-plan--gold {
    background: white;
    color: #4A3500;
    margin-top: -25px;
    white-space: normal;
    display: inline-block;
    max-width: 120px;
    text-align: center;
    padding-left: 22px;
    position: relative;
}

.motor-selected-plan--gold::before {
    content: "🏅";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.motor-selected-plan--silver {
    background: white;
    color: #263238;
    margin-top: -25px;
    white-space: normal;
    display: inline-block;
    max-width: 120px;
    text-align: center;
    padding-left: 22px;
    position: relative;
}

.motor-selected-plan--silver::before {
    content: "🥈";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.motor-selected-plan--bronze {
    background: white;
    color: #4E342E;
    margin-top: -25px;
    white-space: normal;
    display: inline-block;
    max-width: 120px;
    text-align: center;
    padding-left: 22px;
    position: relative;
}

.motor-selected-plan--bronze::before {
    content: "🥉";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

/* center row with label + mini details */

.motor-plan-center {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* header mini-details */

.motor-plan-mini-details {
    display: flex;
    align-items: center;
    gap: 20px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: white;
    font-size: 12px;
    margin-left: 0;
}

.mini-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.4);
}

/* Optional: mini details inner styling */

.motor-mini-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-stars {
    color: #FFD700;
    font-size: 13px;
}

.mini-score {
    font-weight: 500;
    opacity: 0.9;
}

.motor-mini-info {
    display: flex;
    align-items: center;
    gap: 28px;
}

.mini-info-block {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mini-info-title {
    opacity: 0.8;
    font-size: 11px;
}

.mini-info-value {
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.motor-benefits-table td {
    border: 1px solid #e0e0e0;
    font-size: 13px;
    padding: 8px 8px;
    vertical-align: middle;
}

.motor-benefit-label {
    white-space: normal;
}

.benefit-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid transparent;
    position: relative;
}

.benefit-yes::after {
    content: "✓";
    position: absolute;
    inset: -2px 0 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #1ab56c;
}

.benefit-no::after {
    content: "✕";
    position: absolute;
    inset: -2px 0 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #e53935;
}

/* extra rows hidden by default */

.benefit-row-extra {
    display: none;
}

.motor-benefits-toggle {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #7E3E87;
    text-decoration: none;
}

.motor-benefits-toggle:hover {
    text-decoration: underline;
}

/* ========================
   Responsive
   ======================== */

@media (max-width: 991px) {
    .motor-plans-sticky-col {
        min-width: 150px;
    }

    /* keep header neat on tablets */
    .motor-plan-center {
        flex-wrap: wrap;
        justify-content: center;
    }

    .motor-plan-mini-details {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .motor-plans-section {
        padding: 16px 0 32px;
    }

    /* header and tabs */
    .motor-plans-header {
        padding: 12px 0;
        height: auto;
    }

    .motor-plan-tabs {
        justify-content: center;
        row-gap: 8px;
    }

    .motor-plan-tab {
        font-size: 12px;
        padding: 4px 8px;
    }

    .plan-icon {
        width: 18px;
        height: 18px;
    }

    /* center header content vertically stacked */
    .motor-plan-center {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .motor-selected-plan-label {
        margin-left: 0;
        margin-bottom: 4px;
    }

    .motor-selected-plan--gold {
        margin-top: 0;
        max-width: 100%;
    }

    .motor-selected-plan--silver {
        margin-top: 0;
        max-width: 100%;
    }

    .motor-selected-plan--bronze {
        margin-top: 0;
        max-width: 100%;
    }

    .motor-plan-mini-details {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    /* top bar layout */
    .motor-plans-topbar .col-md-3 {
        text-align: center;
        margin-bottom: 6px;
    }

    .motor-plans-topbar .col-md-6 {
        text-align: center;
        margin-bottom: 6px;
    }

    .motor-sort-wrap {
        justify-content: center;
        margin-top: 4px;
    }

    .motor-sort-select {
        font-size: 12px;
        height: 30px;
        padding: 3px 24px 3px 6px;
    }

    /* basic mobile table tweaks */
    .motor-plans-table th {
        font-size: 11px;
        padding: 6px 4px;
    }

    .motor-plans-table td {
        font-size: 11px;
        padding: 6px 4px;
    }

    .motor-benefits-table td {
        font-size: 11px;
        padding: 6px 4px;
    }

    .motor-company-logo {
        max-height: 28px;
    }

    .motor-plans-sticky-col {
        min-width: 130px;
    }

    .motor-benefits-wrap {
        margin-top: 18px;
    }

    .motor-benefits-title {
        font-size: 13px;
    }

    .motor-buy-btn {
        padding: 5px 12px;
        font-size: 11px;
    }

    /* ============================
       Mobile layout (no horizontal scroll)
       ============================ */
    .motor-plans-card .table-responsive {
        overflow-x: auto;
    }

    /* Hide logo header row on mobile */
    .motor-plans-table thead {
        display: none;
    }

    /* Stack cells vertically */
    .motor-plans-table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 6px 8px 6px 46%;
        position: relative;
        border: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .motor-benefits-table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 6px 8px 6px 46%;
        position: relative;
        border: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    /* Card-like rows */
    .motor-plans-table tr {
        margin-bottom: 10px;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
    }

    .motor-benefits-table tr {
        margin-bottom: 10px;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
    }

    .motor-plans-table td::before {
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        font-size: 11px;
        content: "";
        white-space: nowrap;
    }

    .motor-benefits-table td::before {
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        font-size: 11px;
        content: "";
        white-space: nowrap;
    }

    .motor-plans-table td.motor-plans-sticky-col {
        padding-left: 8px;
        font-weight: 600;
    }

    .motor-benefits-table td.motor-benefit-label {
        padding-left: 8px;
        font-weight: 600;
    }

    .motor-plans-table td.motor-plans-sticky-col::before {
        content: none;
    }

    .motor-benefits-table td.motor-benefit-label::before {
        content: none;
    }

    .motor-plans-table td:nth-child(2)::before {
        content: "SNIC";
    }

    .motor-benefits-table td:nth-child(2)::before {
        content: "SNIC";
    }

    .motor-plans-table td:nth-child(3)::before {
        content: "BNI";
    }

    .motor-benefits-table td:nth-child(3)::before {
        content: "BNI";
    }

    .motor-plans-table td:nth-child(4)::before {
        content: "GIG";
    }

    .motor-benefits-table td:nth-child(4)::before {
        content: "GIG";
    }

    .motor-plans-table td:nth-child(5)::before {
        content: "Cigna";
    }

    .motor-benefits-table td:nth-child(5)::before {
        content: "Cigna";
    }

    .motor-plans-table td:nth-child(6)::before {
        content: "Orient";
    }

    .motor-benefits-table td:nth-child(6)::before {
        content: "Orient";
    }

    .motor-plans-table td:nth-child(7)::before {
        content: "Gulf";
    }

    .motor-benefits-table td:nth-child(7)::before {
        content: "Gulf";
    }
}


/* ==============================
   Health Insurance Page styles->  has done this code 26/11/2025
   ============================== */
/* -----------------------------
   Health Products — corrected
   ----------------------------- */
.health-products .container {
    max-width: 1140px;
}

/* basic hero (unchanged) */
.health-hero {
    height: 230px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.health-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
    z-index: 1;
}

.health-hero .hero-about-contents {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.health-hero .page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* grid: keep bootstrap defaults — don't force negative margins */
.row.product-grid {
    margin-left: 0;
    margin-right: 0;
}

/* column padding only (prevents horizontal overflow) */
.row.product-grid > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

/* card */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    transition: transform .22s ease, box-shadow .22s ease;
}

/* image area */
.product-card-image {
    background: #EAD7B2;
    padding: 0;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* body */
.product-card-body {
    padding: 18px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #111827;
}

.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1 1 auto;
}

/* action */
.product-action .btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

/* hover */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
}

/* responsive breakpoints */
/* Desktop: keep 3 columns (col-md-4) — no extra CSS needed */
/* Tablet */
@media (max-width: 991px) {
    .product-card-image {
        height: 160px;
    }

    .health-hero {
        height: 200px;
    }

    .health-hero .page-title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .product-card-image {
        height: 140px;
    }

    .health-hero {
        height: 180px;
    }

    .health-hero .page-title {
        font-size: 22px;
    }
}

/* prevent any accidental horizontal scrollbar */
html, body {
    overflow-x: hidden;
}

/* ============================
/Family Insurance-  has done this code - 26-11-2025 */
/* ============================ */
/*=====================================
   FAMILY INSURANCE SECTION
=====================================*/
.family-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

.family-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(16, 24, 40, 0.08);
    display: flex;
    align-items: stretch;
    width: 100%;
}

/* -----------------------------
   LEFT CONTENT
------------------------------*/
.family-content {
    background: #fff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 36px;
}

.family-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.family-copy h6 {
    font-size: 13px;
    font-weight: 700;
    color: #4b4b4b;
}

.family-copy p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* -----------------------------
   FORM
------------------------------*/
.family-form .form-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.family-form .form-control {
    border-radius: 4px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    background: #fff;
}

.family-form .btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 7px 20px;
    border-radius: 4px;
}

/* -----------------------------
   RIGHT IMAGE
------------------------------*/
.family-image-wrap {
    padding: 0;
    display: flex;
    align-items: stretch; /* <-- makes image stretch perfectly */
    justify-content: center;
}

.family-image {
    width: 100%;
    height: 100%; /* <-- full height match */
    object-fit: cover; /* <-- screenshot effect */
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: block;
}

/* -----------------------------
   DESKTOP BEHAVIOR (LARGE)
------------------------------*/
@media (min-width: 992px) {
    .family-card {
        flex-wrap: nowrap;
    }

    .family-image-wrap {
        height: auto; /* match left height automatically */
    }
}


/*...............................................................................*/
/*about us page image front and back -> has done this code 26/11/2024*/
/*...............................................................................*/
.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    background: transparent !important; /* remove white background */
    box-shadow: none !important; /* remove background shadow */
    border: none !important; /* remove any borders */
}

.about-main-image {
    width: 100%;
    display: block;
    border-radius: 30px;
    object-fit: cover;
    background: transparent !important; /* fully transparent */
}

/* front image (bottom-right rounded shape, with white frame) */
.about-images-wrapper .img-front {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    background-size: cover;
    background-position: center;
    border-radius: 0 40px 40px 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border: 1px solid #fff;
}

/* responsive tweaks */
@media (max-width: 992px) {
    .about-image-wrapper {
        max-width: 380px;
    }
}

@media (max-width: 576px) {
    .about-image-wrapper {
        max-width: 100%;
    }

    .about-main-image {
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }
}

/*...............................................................................*/
/*Director -> has done this code 04/12/2024*/
/*...............................................................................*/
/* Horizontal scroll for Board of Directors */
.directors-title {
    font-size: 1.8rem;
    margin-left: .15rem;
}

/* ---------- DESKTOP / TABLET: HORIZONTAL SCROLL ---------- */
/* ---------- DEFAULT: DESKTOP / LARGE TABLET ---------- */
.directors-row {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 24px 1rem 24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

/* hide scrollbar but keep scroll */
.directors-row::-webkit-scrollbar {
    height: 0;
}

.directors-row {
    scrollbar-width: none;
}

/* ✅ EXACT 4 CARDS PER VIEW – NO HALF CARD ON RIGHT */
.directors-row > [class^="col-"] {
    flex: 0 0 calc((100% - 60px) / 4); /* 4 cards, 3 gaps (3×20 = 60)   */
    max-width: calc((100% - 60px) / 4);
}
.dir-photo {
    width: 100%;
    aspect-ratio: 1 / 1;     /* perfect square */
    overflow: hidden;
    background: #f2f2f2;     /* light bg for default */
    display: flex;
    align-items: center;
    justify-content: center;
}

.dir-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ---------- MEDIUM (TABLET) – 3 PER VIEW ---------- */
@media (max-width: 991.98px) and (min-width: 577px) {
    .directors-row > [class^="col-"] {
        flex: 0 0 calc((100% - 40px) / 3); /* 3 cards, 2 gaps (2×20 = 40)   */
        max-width: calc((100% - 40px) / 3);
    }
}

/* ---------- MOBILE: 2 ITEMS PER ROW, NO HORIZONTAL SCROLL ---------- */
@media (max-width: 576px) {
    .directors-row {
        flex-wrap: wrap !important;
        overflow-x: hidden !important;
        gap: 16px;
        padding: 0 16px 1rem 16px;
        justify-content: center;
    }

    .directors-row > [class^="col-"] {
        flex: 0 0 calc(50% - 12px) !important; /* exactly 2 per row          */
        max-width: calc(50% - 12px) !important;
    }
}


/* ============================
/* Motor Personal & Vehicle Info Steps -  has done this code - 24-11-2025 */
/* ============================ */

.motor-plans-header {
    background: #7E3E87;
    padding: 12px 0;
    color: #ffffff;
}

.motor-plan-tabs {
    gap: 8px;
}

.motor-plan-tab {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #ffffff;
    border-radius: 3px;
    padding: 6px 14px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.motor-plan-tab .plan-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.plan-gold {
    background: #ffb300;
}

.plan-silver {
    background: #c0c0c0;
}

.plan-bronze {
    background: #cd7f32;
}

.motor-plan-tab.active {
    background: #ffffff;
    color: #7E3E87;
}

.motor-plans-edit-link {
    font-size: 13px;
    color: #ffffff;
    text-decoration: underline;
}

.motor-plans-edit-link:hover {
    color: #f5f5f5;
}

/* Steps wrapper */
.motor-steps-wrapper {
    background: #f5f5f5;
    padding: 30px 0 50px;
}

/* Stepper */
.motor-back-btn {
    font-size: 13px;
    color: #555555;
}

.motor-back-btn:hover {
    color: #333333;
}

.motor-stepper {
    display: flex;
    align-items: center;
    gap: 0;
}

.motor-stepper-step {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 12px;
    color: #999999;
}

.motor-stepper-step:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -50%;
    right: 50%;
    height: 2px;
    background: #d6d6d6;
    z-index: 0;
}

.motor-stepper-circle {
    width: 26px;
    height: 26px;
    margin: 0 auto 4px;
    border-radius: 50%;
    border: 2px solid #24B2C6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #24B2C6;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.motor-stepper-label {
    line-height: 1.3;
}

.motor-stepper-step-active .motor-stepper-circle {
    background: #24B2C6;
    color: #ffffff;
}

.motor-stepper-step-completed .motor-stepper-circle {
    background: #24B2C6;
    color: #ffffff;
}

.motor-stepper-step-completed:not(:first-child)::before {
    background: #24B2C6;
}

/* Main card */
.motor-main-card {
    background: #ffffff;
    padding: 24px 28px 28px;
    border-radius: 2px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.motor-main-title {
    font-size: 18px;
    font-weight: 600;
    color: #444444;
}

.motor-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #555555;
}

/* Inputs */
.motor-input-label {
    font-size: 12px;
    color: #555555;
}

.motor-field-input {
    font-size: 13px;
    border-radius: 0;
    border: 1px solid #d5d5d5;
    height: 38px;
}

.motor-field-input:focus {
    border-color: #24B2C6;
    box-shadow: 0 0 0 0.12rem rgba(36, 178, 198, 0.25);
}

/* Required documents box */
.motor-documents-box {
    background: #f3fbff;
    border: 1px solid #dbe9f2;
    padding: 14px 16px 16px;
    margin-top: 10px;
}

.motor-documents-desc {
    font-size: 12px;
    color: #555555;
}

.motor-document-item {
    font-size: 13px;
}

.motor-document-label-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.motor-document-icon {
    font-size: 13px;
    color: #5e6a71;
}

.motor-document-label {
    font-size: 13px;
    color: #555555;
}

.motor-document-btn {
    padding: 4px 14px;
    font-size: 11px;
    border-radius: 0;
    border-color: #c4ced4;
    color: #555555;
    background: #ffffff;
}

.motor-document-btn:hover {
    background: #f1f5f7;
    color: #333333;
}

/* Summary cards right side */
.motor-summary-card {
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.motor-summary-header {
    background: #7E3E87;
    color: #ffffff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
}

.motor-summary-body {
    padding: 10px 14px 14px;
}

.motor-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid #eeeeee;
}

.motor-summary-row:last-child {
    border-bottom: none;
}

.motor-summary-row-total {
    font-weight: 600;
}

.motor-help-card {
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    margin-top: 12px;
    overflow: hidden;
}

.motor-help-header {
    background: #7E3E87;
    color: #ffffff;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
}

.motor-help-body {
    padding: 14px;
}

.motor-place-order-btn {
    padding: 8px 40px;
}

.motor-step-panel {
    transition: opacity 0.2s ease;
}

/* Motor Payment Step styling -  has done this code - 24-11-2025 */
.motor-payment-title {
    color: #7e3e87;
    font-weight: 600;
}

.motor-payment-text {
    font-size: 13px;
    color: #777777;
}

.motor-payment-label {
    font-size: 13px;
    font-weight: 600;
    color: #00bcd4;
}

.motor-payment-options .form-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.motor-payment-options .form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #c4c4c4;
    box-shadow: none;
    margin-top: 0;
}

.motor-payment-options .form-check-input:focus {
    box-shadow: none;
}

.motor-payment-options .form-check-input:checked {
    background-color: #24B2C6;
    border-color: #24B2C6;
}

/* PLACE ORDER button */
.motor-place-order-btn {
    background-color: #00bcd4;
    border-color: #00bcd4;
    padding: 10px 60px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.motor-place-order-btn:hover {
    background-color: #00a8be;
    border-color: #00a8be;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .motor-main-card {
        padding: 18px 16px 22px;
    }

    .motor-steps-wrapper {
        padding: 20px 0 30px;
    }

    .motor-stepper-label {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .motor-stepper {
        flex-direction: row;
        gap: 8px;
    }

    .motor-stepper-step:not(:first-child)::before {
        left: -45%;
        right: 45%;
    }

    .motor-main-card {
        padding: 16px 14px 20px;
    }

    .motor-summary-card,
    .motor-help-card {
        margin-top: 8px;
    }

    .motor-back-btn {
        font-size: 12px;
    }
}
/*for motor insurance blade */
/* Vehicle value slider filled progress */
#vehicle_value {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background-color: #e5e7eb;
    background-image: linear-gradient(#24B2C6, #24B2C6);
    background-repeat: no-repeat;
    background-size: 0% 100%; /* THIS controls fill */
    outline: none;
}

/* Webkit track (Chrome / Edge / Safari) */
#vehicle_value::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent; /* IMPORTANT */
    border-radius: 6px;
}

/* Thumb */
#vehicle_value::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #24B2C6;
    border: 3px solid #ffffff;
    margin-top: -6px;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(36,178,198,0.4);
}

/* Firefox */
#vehicle_value::-moz-range-track {
    height: 6px;
    background: transparent;
}

#vehicle_value::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #24B2C6;
    border: 3px solid #ffffff;
    cursor: pointer;
}
/* =========================
   VEHICLE CHIP UI - vehicle make ,model changed one by one

========================= */
.vehicle-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.vehicle-chip {
    background: #0d6efd;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vehicle-chip .remove-chip {
    cursor: pointer;
    font-weight: bold;
    opacity: 0.85;
}
.vehicle-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vehicle-chip {
    background: #67336f;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vehicle-chip .remove-chip {
    cursor: pointer;
    font-weight: 600;
}
/* ===============================
   FIX MODEL YEAR SELECT2 UI
================================ */

/* Force consistent height */
.select2-container--default .select2-selection--single {
    height: 46px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important;
}

/* Center text vertically */
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 46px !important;
    padding-left: 12px !important;
    font-size: 14px !important;
    color: #374151 !important;
}

/* Arrow alignment */
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

/* Placeholder color */
.select2-selection__placeholder {
    color: #9ca3af !important;
}

/* Hover & focus (match other inputs) */
.select2-container--default.select2-container--open
.select2-selection--single,
.select2-container--default
.select2-selection--single:hover {
    border-color: #24B2C6 !important;
    box-shadow: 0 0 0 3px rgba(36, 178, 198, 0.15) !important;
}
/* =========================
   MOTOR RIGHT SUMMARY
========================= */

.motor-summary-wrapper {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    position: sticky;
    top: 110px;
    overflow: hidden;
}

.motor-summary-header {
    background: #7E3E87;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
}

.motor-summary-section {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.motor-summary-section:last-child {
    border-bottom: none;
}

.motor-summary-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.motor-summary-text {
    font-size: 14px;
    font-weight: 500;
}

.motor-summary-sub {
    font-size: 12px;
    color: #6b7280;
}
/* Select2 Question Header */
.select2-question {
    font-weight: 600;
    font-size: 13px;
    padding: 8px 10px;
    background: #f3f6f8;
    color: #333;
    border-bottom: 1px solid #ddd;
    cursor: default;
}

.title-toggle {
    display: flex;
    gap: 16px;
}

.title-toggle .title-btn {
    flex: 1;              /* 🔥 makes each button wide */
    width: 100%;
    padding: 5px 0;      /* height */
    font-size: 16px;
    border-radius: 5px;
    border: 0.5px solid #dee2e6;
    background-color: #7E3E87;
    color: #fff;
}

.title-toggle .title-btn.active {
    border-color: #24B2C6;
    background: #eaf8fb;
    color: #24B2C6;
}
.next-sub-btn:disabled {
    background-color: #cfd4da; /* disabled color */
    border-color: #cfd4da;
    cursor: not-allowed;
    opacity: 0.7;
}
.radio-group.is-invalid {
    border: 1px solid #dc3545;
    padding: 10px;
    border-radius: 6px;
}
#fetchQuotationBtn:disabled {
    background-color: #adb5bd !important; /* grey */
    border-color: #adb5bd !important;
    cursor: not-allowed;
    opacity: 1;
}

.payment-box.premium {
    position: relative;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    background: #fff;
    transition: all 0.25s ease;
}

/* left accent bar */
.payment-box.premium::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    width: 4px;
    height: 80%;
    background: transparent;
    border-radius: 4px;
    transition: background 0.25s ease;
}

/* hover */
.payment-box.premium:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* hide radio */
.payment-box input {
    display: none;
}

/* main row */
.payment-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* radio */
.radio-ui {
    width: 18px;
    height: 18px;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

/* inner dot */
.radio-ui::after {
    content: "";
    width: 8px;
    height: 8px;
    background: #198754;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

/* selected radio */
.payment-box input:checked + .payment-main .radio-ui {
    border-color: #198754;
}

.payment-box input:checked + .payment-main .radio-ui::after {
    transform: translate(-50%, -50%) scale(1);
}

/* selected card */
.payment-box:has(input:checked) {
    border-color: #198754;
    background: #f0fdf4;
    box-shadow: 0 12px 30px rgba(25, 135, 84, 0.18);
}

.payment-box:has(input:checked)::before {
    background: #198754;
}

/* text */
.payment-title {
    font-size: 15px;
}

.payment-desc {
    margin-left: 30px;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}
/*login page*/

.login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dummy background image */
.login-hero {
    position: relative;
    overflow: hidden; /* REQUIRED for curve */
}

/* Background wrapper */
.login-bg {
    position: relative;
    width: 100%;
    height: 35vh;

    /* 👇 Bottom curve only */
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;

    overflow: hidden;
}

/* Image */
.login-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Optional blur */
    filter: blur(2px);
}



/* Login Card */
/* =========================
   AUTH PAGE BASE
========================= */

.login-card-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f3f6fb, #eef2ff);
    padding: 40px 16px;
}

/* =========================
   CARD
========================= */

.login-card {
    background: #ffffff;
    width: 420px;
    padding: 36px 34px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.signup-card {
    width: 640px;
}

/* =========================
   TITLES
========================= */

.login-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 28px;
}

/*!* =========================*/
/*   FORM*/
/*========================= *!*/

/*.form-group {*/
/*    margin-bottom: 18px;*/
/*}*/

/*.form-group label {*/
/*    font-size: 13px;*/
/*    font-weight: 500;*/
/*    color: #374151;*/
/*    margin-bottom: 6px;*/
/*    display: block;*/
/*}*/

/*.form-group input {*/
/*    width: 100%;*/
/*    height: 44px;*/
/*    padding: 0 14px;*/
/*    font-size: 14px;*/
/*    color: #111827;*/
/*    background: #ffffff;*/
/*    border: 1px solid #d1d5db;*/
/*    border-radius: 10px;*/
/*    transition: all 0.2s ease;*/
/*}*/

/*.form-group input::placeholder {*/
/*    color: #9ca3af;*/
/*}*/

/*.form-group input:focus {*/
/*    outline: none;*/
/*    border-color: #2563eb;*/
/*    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);*/
/*}*/

/* =========================
   PASSWORD EYE
========================= */

.password-group {
    position: relative;
}

/*.eye-icon {*/
/*    position: absolute;*/
/*    right: 14px;*/
/*    top: 38px;*/
/*    font-size: 14px;*/
/*    color: #6b7280;*/
/*    cursor: pointer;*/
/*}*/

/*.eye-icon:hover {*/
/*    color: #2563eb;*/
/*}*/

/*!* =========================*/
/*   TWO COLUMN (SIGNUP)*/
/*========================= *!*/

/*.form-row {*/
/*    display: flex;*/
/*    gap: 16px;*/
/*}*/

/*.form-row .form-group {*/
/*    flex: 1;*/
/*}*/

/*!* =========================*/
/*   REMEMBER / FORGOT*/
/*========================= *!*/

/*.form-options {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    font-size: 13px;*/
/*    margin: 12px 0 22px;*/
/*    color: #374151;*/
/*}*/

/*.form-options a {*/
/*    color: #2563eb;*/
/*    text-decoration: none;*/
/*}*/

/*.form-options a:hover {*/
/*    text-decoration: underline;*/
/*}*/

/* =========================
   BUTTON
========================= */

.login-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.35);
}

/* =========================
   FOOTER TEXT
========================= */

.register-text {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 20px;
}

.register-text a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .login-card,
    .signup-card {
        width: 100%;
        padding: 28px 22px;
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .login-title {
        font-size: 22px;
    }
}

/* =========================
   INPUT ICONS
========================= */

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    right: 14px;
    top: 38px;
    font-size: 14px;
    color: #9ca3af;
}

.input-icon input {
    padding-right: 38px;
}

/* =========================
   PASSWORD EYE FIX (INSIDE)
========================= */

.password-group input {
    padding-right: 42px;
}

.eye-icon {
    position: absolute;
    right: 14px;
    top: 38px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    z-index: 2;
}

.eye-icon:hover {
    color: #2563eb;
}

/* =========================
   SIGNUP CARD ENHANCEMENT
========================= */

.signup-card {
    background: linear-gradient(180deg, #ffffff, #f9fafb);
}

.signup-card .login-title {
    text-align: center;
}

.signup-card .login-subtitle {
    text-align: center;
}
/*claim  changes*/
/* ===============================
   Complaint Form Styles
================================ */

.complaint-wrapper {
    max-width: 880px;
    margin: 40px auto;
    padding: 30px 40px;
    background: #f9fdff;
    font-family: Arial, sans-serif;
}

.complaint-title {
    font-size: 20px;
    font-weight: 600;
    color: #6b3fa0;
    margin-bottom: 6px;
}

.complaint-subtitle {
    font-size: 13px;
    color: #555;
    margin-bottom: 25px;
}

.complaint-form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 18px;
}

.complaint-form-group {
    flex: 1;
}

.complaint-form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
}

.complaint-form-group input,
.complaint-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 2px;
    font-size: 13px;
    background: #fff;
}

.complaint-form-group textarea {
    height: 120px;
    resize: none;
}

.complaint-contact-method {
    margin: 10px 0 20px;
}

.complaint-contact-method p {
    font-size: 13px;
    margin-bottom: 8px;
}

.complaint-contact-buttons {
    display: flex;
    gap: 10px;
}

.complaint-contact-btn {
    padding: 8px 16px;
    border: 1px solid #cfd8dc;
    background: #eef3f6;
    font-size: 13px;
    cursor: pointer;
}

.contact-btn.active {
    background: #fff;
    border-color: #4da3ff;
    color: #4da3ff;
}

.complaint-file-upload {
    margin-top: 15px;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    border: 1px solid #cfd8dc;
    background: #f5f7f9;
    cursor: pointer;
}

.submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: #2bb3c6;
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 2px;
}
/*successfull registration form */
.success-message {
    background-color: #e6f9f0;
    color: #0f5132;
    border: 1px solid #b7e4c7;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

/*//sucess message*/
  .slide-down-alert {
      position: relative;
      padding: 12px 16px;
      border-radius: 6px;
      background: #e6f9f0;
      color: #0f5132;
      border: 1px solid #badbcc;
      margin-bottom: 20px;
      animation: slideDown 0.5s ease-out;
  }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.complaint-page {
    display: grid;
    grid-template-columns: 720px 280px;
    gap: 40px;
    align-items: start;
    justify-content: center;
    background: #F3F3F3;
    padding: 30px;
}

/* ===============================
   LEFT : COMPLAINT FORM
================================ */
.complaint-wrapper {
    padding: 35px 40px;
    background: #f9fdff;
    width: 720px;
}

.complaint-title {
    font-size: 20px;
    font-weight: 600;
    color: #6b3fa0;
    margin-bottom: 6px;
}

.complaint-subtitle {
    font-size: 13px;
    color: #555;
    margin-bottom: 25px;
}

/*!* ===============================*/
/*   FORM ELEMENTS*/
/*================================ *!*/
/*.form-row {*/
/*    display: flex;*/
/*    gap: 25px;*/
/*    margin-bottom: 18px;*/
/*}*/

/*.form-group {*/
/*    flex: 1;*/
/*}*/

/*.form-group label {*/
/*    display: block;*/
/*    font-size: 13px;*/
/*    margin-bottom: 6px;*/
/*    color: #333;*/
/*}*/

/*.form-group input,*/
/*.form-group textarea {*/
/*    width: 100%;*/
/*    padding: 10px 12px;*/
/*    border: 1px solid #cfd8dc;*/
/*    border-radius: 2px;*/
/*    font-size: 13px;*/
/*    background: #fff;*/
/*}*/

/*.form-group textarea {*/
/*    height: 120px;*/
/*    resize: none;*/
/*}*/

/* ===============================
   CONTACT METHOD BUTTONS
================================ */
.complaint-contact-method {
    margin: 10px 0 20px;
}

.complaint-contact-method p {
    font-size: 13px;
    margin-bottom: 8px;
}

.complaint-contact-buttons {
    display: flex;
    gap: 10px;
}

.complaint-contact-btn {
    padding: 8px 16px;
    border: 1px solid #cfd8dc;
    background: #eef3f6;
    font-size: 13px;
    cursor: pointer;
}

.complaint-contact-btn.active {
    background: #fff;
    border-color: #4da3ff;
    color: #4da3ff;
}

.complaint-file-upload {
    margin-top: 15px;
}

.complaint-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    border: 1px solid #cfd8dc;
    background: #f5f7f9;
    cursor: pointer;
}

.complaint-submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.complaint-submit-btn {
    background: #2bb3c6;
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 2px;
}
/*successfull registration form */
.success-message {
    background-color: #e6f9f0;
    color: #0f5132;
    border: 1px solid #b7e4c7;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

/*//sucess message*/
.slide-down-alert {
    position: relative;
    padding: 12px 16px;
    border-radius: 6px;
    background: #e6f9f0;
    color: #0f5132;
    border: 1px solid #badbcc;
    margin-bottom: 20px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RIGHT : CONTACT CARD
================================ */
.complaint-contact-card {
    background: #ffffff;
    padding: 25px 22px;
    font-family: Arial, sans-serif;
    width: 280px;
    height: 300px;

    margin-top: 42px; /* 👈 moves the card down */
}

.complaint-contact-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.complaint-contact-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 14px;
}

.complaint-contact-card a {
    color: #555;
    text-decoration: none;
}


/* ===============================
   SOCIAL ICONS
================================ */
.contact-icons {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.contact-icons .icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: #f5f7f9;
    cursor: pointer;
}


/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .complaint-page {
        grid-template-columns: 1fr;
    }

    .complaint-wrapper,
    .complaint-contact-card {
        width: 100%;
    }
}


/*display error message for validation*/
.required {
    color: #dc3545;
}

.error-text {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

input.error {
    border: 1px solid #dc3545;
}
/*login page ui design frontend*/
.ci-login-section {
    min-height: 100vh;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ci-login-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}
/* LEFT IMAGE */
.ci-login-left {
    width: 50%;
    position: relative;
    background: url('/assets/images/frontend/img/background/register.jpeg') center/cover no-repeat; /* image later */
    display: flex;
    align-items: center;
    padding: 60px;
}
.ci-login-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.ci-login-left-content {
    position: relative;
    color: #fff;
    max-width: 420px;
}
.ci-login-left-content h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 14px;
}

.ci-login-left-content p {
    font-size: 14px;
    line-height: 1.6;
}
/* RIGHT GRADIENT */
.ci-login-right {
    width: 50%;
    background: linear-gradient(135deg, #7E3E87, #24B2C6);
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.ci-login-card {*/
/*    width: 360px;*/
/*    background: #fff;*/
/*    padding: 30px 28px;*/
/*    border-radius: 6px;*/
/*    box-shadow: 0 6px 18px rgba(0,0,0,0.08);*/
/*}*/
.ci-login-card {
    width: 420px;
    background: #fff;
    padding: 35px 40px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.ci-login-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #6b3fa0;
    margin-bottom: 25px;
}

/* TABLET */
@media (max-width: 992px) {

    .ci-login-wrapper {
        flex-direction: column;
    }

    .ci-login-left,
    .ci-login-right {
        width: 100%;
    }

    .ci-login-left {
        min-height: 280px;
        padding: 40px 30px;
    }

    .ci-login-card {
        width: 90%;
        margin: 30px 0;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .ci-login-section{
        align-items: flex-start;
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .ci-login-left {
        min-height: 220px;
        padding: 30px 20px;
    }

    .ci-login-left-content h2 {
        font-size: 24px;
    }

    .ci-login-left-content p {
        font-size: 13px;
    }

    .ci-login-card {
        width: 94%;
        padding: 25px 20px;
    }
}

/* Alerts */
.ci-alert-success {
    background: #e6f7ef;
    color: #1b7f4d;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ci-alert-error {
    background: #fdecea;
    color: #b42318;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 12px;
}

/* Form */
.ci-form-group {
    margin-bottom: 16px;
    position: relative;
}

.ci-form-group label {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.ci-form-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    outline: none;
}
/* Error input border */
.ci-form-group input.error {
    border: 1px solid red !important;
    outline: none;
}



.ci-form-group input:focus {
    border-color: #27b7c5;
}

.ci-password-group .ci-eye {
    position: absolute;
    right: 10px;
    top: 34px;
    cursor: pointer;
    font-size: 14px;
    color: #888;
}

/* Errors */
.ci-error {
    border-color: #e03131;
}

.ci-error-text {
    font-size: 11px;
    color: #e03131;
}

/* Forgot */
.ci-forgot {
    text-align: right;
    margin-bottom: 18px;
}

.ci-forgot a {
    font-size: 12px;
    color: #27b7c5;
    text-decoration: none;
}

/* Button */
.ci-login-btn {
    width: 100%;
    background: #27b7c5;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

.ci-login-btn:hover {
    background: #1fa5b2;
}

/* Register */
.ci-register-text {
    margin-top: 18px;
    font-size: 12px;
    text-align: center;
    color: #555;
}

.ci-register-text a {
    color: #27b7c5;
    text-decoration: none;
    font-weight: 500;
}
/*sign up design ui*/
.ci-reg-section {
    min-height: 100vh;
    background: #f5f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ci-reg-wrapper {
    width: 100%;
    min-height: 100vh; /* full screen height */
    display: flex;
}

.ci-reg-left {
    width: 50%;
    position: relative;
    background: url('/assets/images/frontend/img/background/register.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 60px;
}

.ci-reg-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.ci-reg-left-content {
    position: relative;
    color: #fff;
    max-width: 420px;
}
.ci-reg-left-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 14px;
}
.ci-reg-left-content p {
    font-size: 14px;
    line-height: 1.6;
}
/* RIGHT SIDE GRADIENT */
.ci-reg-right {
    width: 50%;
    background: linear-gradient(135deg, #7E3E87, #24B2C6);
    display: flex;
    justify-content: center;
    align-items: center;
}
.ci-reg-card {

    background: #fff;
    padding: 35px 40px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ci-reg-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #6b3fa0;
    margin-bottom: 25px;
}

/* Layout */
.ci-reg-row {
    display: flex;
    gap: 22px;
    margin-bottom: 18px;
}

.ci-reg-group {
    flex: 1;
    position: relative;
}

.ci-reg-group label {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.ci-reg-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
}
.ci-reg-group input.error {
    border: 1px solid red !important;
    outline: none;
}

.ci-reg-group input:focus {
    border-color: #27b7c5;
    outline: none;
}

/* Phone */
.ci-reg-phone-wrap {
    display: flex;
}

.ci-reg-code {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    background: #f1f1f1;
    border: 1px solid #dcdcdc;
    border-right: none;
    font-size: 13px;
    border-radius: 4px 0 0 4px;
}

.ci-reg-phone-wrap input {
    border-radius: 0 4px 4px 0;
}

/* Errors */
.error-text {
    font-size: 11px;
    color: #e03131;
}

/* Button */
.ci-reg-btn-wrap {
    display: flex;
    align-items: flex-end;
}

.ci-reg-btn {
    width: 100%;
    padding: 10px;
    background: #27b7c5;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.ci-reg-btn:hover {
    background: #1fa5b2;
}

/* Footer */
.ci-reg-login-text {
    text-align: center;
    font-size: 12px;
    margin-top: 18px;
    color: #555;
}

.ci-reg-login-text a {
    color: #27b7c5;
    text-decoration: none;
    font-weight: 500;
}
/* =========================
   RESPONSIVE – TABLET & MOBILE
========================= */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {

    .ci-reg-wrapper {
        flex-direction: column;
    }

    .ci-reg-left,
    .ci-reg-right {
        width: 100%;
    }

    .ci-reg-left {
        min-height: 300px;
        padding: 40px 30px;
    }

    .ci-reg-left-content h2 {
        font-size: 26px;
    }

    .ci-reg-card {
        width: 90%;.ci-reg-wrapper
        margin: 30px 0;
    }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {

    .ci-reg-section {
        align-items: flex-start;
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .ci-reg-left {
        min-height: 240px;
        padding: 30px 20px;
    }

    .ci-reg-left-content h2 {
        font-size: 22px;
    }

    .ci-reg-left-content p {
        font-size: 13px;
    }

    .ci-reg-right {
        padding: 20px 0;
    }

    .ci-reg-card {
        width: 94%;
        padding: 25px 20px;
    }

    /* Stack form fields */
    .ci-reg-row {
        flex-direction: column;
        gap: 14px;
    }

    .ci-reg-title {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .ci-reg-btn {
        padding: 12px;
        font-size: 15px;
    }
}


/*forgot password ui design*/
/* ===============================
   FORGOT PASSWORD – UNIQUE UI
   =============================== */

.ci-forgot-section {
    min-height: 100vh;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-forgot-card {
    width: 360px;
    background: #fff;
    padding: 30px 28px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
}

.ci-forgot-title {
    font-size: 18px;
    font-weight: 600;
    color: #6b3fa0;
    margin-bottom: 22px;
}

/* Success */
.ci-forgot-success {
    background: #e6f7ef;
    color: #1b7f4d;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

/* Form */
.ci-forgot-group {
    text-align: left;
    margin-bottom: 18px;
}

.ci-forgot-group label {
    font-size: 13px;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.ci-forgot-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
}


.ci-forgot-group input:focus {
    border-color: #27b7c5;
    outline: none;
}
/* Error input border */
.ci-forgot-group input.ci-forgot-error {
    border: 1px solid red !important;
    outline: none;
}

/* Error text */
.ci-forgot-error-text {
    color: red;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}


/* Errors */
.ci-forgot-error {
    border-color: #e03131;
}

.ci-forgot-error-text {
    font-size: 11px;
    color: #e03131;
}

/* Button */
.ci-forgot-btn {
    width: 100%;
    padding: 10px;
    background: #27b7c5;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}
.ci-forgot-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ci-forgot-btn:hover {
    background: #1fa5b2;
}

/* Back link */
.ci-forgot-back {
    margin-top: 16px;
    font-size: 12px;
}

.ci-forgot-back a {
    color: #555;
    text-decoration: none;
}

.ci-forgot-back a:hover {
    color: #27b7c5;
}




/*keerthi validation changes*/

/*home page*/

.form-control:valid,
.form-control.is-valid
{
    border-color: #ced4da !important;
    background-image: none !important;
    box-shadow: none !important;
}
.is-invalid-custom
{
    border: 1px solid #dc3545 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    outline: none;
    transition: all 0.2s ease-in-out;
}
.is-invalid-custom:focus
{
    border-color: #f2a6a6 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2) !important;
}
.validation-error
{
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    text-align: left;
    font-weight: 500;
}
.success-alert-container {
    display: none;
    margin-bottom: 1.5rem;
}
.success-alert-content {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}
.btn-close:focus {
    box-shadow: none;
}

/*contact us*/

.contact-form input:valid,
.contact-form select:valid,
.contact-form textarea:valid,
.contact-form .form-control:valid
{
    border-color: #ccc !important;
    background-image: none !important;
    box-shadow: none !important;
}
.success-popup {
    display: flex;
    align-items: center;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}
.success-popup .msg {
    flex-grow: 1;

}
.success-popup .close-btn {
    background: none;
    border: none;
    color: #2e7d32;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}
.input-group {
    display: flex;
    width: 100%;
}

.input-group .form-control {
    flex: 1;
    height: 45px;
}
.mobile-input-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}
/* Complaint page*/
.slide-down-alerts {
    transition: opacity 0.8s ease, transform 0.8s ease;
    opacity: 1;
}
.alert-fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

/*products*/
.form-control.is-invalid-custom {
    border: 1px solid #dc3545 !important;
    border-radius: 8px !important;
    background-image: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease-in-out;
}
.form-control.is-invalid-custom:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2) !important;
    outline: none;
}







/* ==============================
   PROFILE SECTION
============================== */
.ci-profile-section {
    padding: 50px 0;
}

.ci-profile-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* ==============================
   HEADER
============================== */
.ci-profile-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.ci-profile-avatar {
    width: 70px;
    height: 70px;
    background: #7e3e87;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.ci-profile-name {
    margin-top: 10px;
    font-weight: 600;
}

.ci-profile-email {
    color: #6c757d;
    font-size: 14px;
}

/* ==============================
   TABS
============================== */
.ci-profile-tabs .ci-profile-tab-link {
    border-radius: 30px;
    padding: 8px 18px;
    margin: 0 6px;
    color: #555;
}

.ci-profile-tabs .ci-profile-tab-link.active {
    background-color: #7e3e87;
    color: #ffffff;
}

/* ==============================
   CONTENT
============================== */
.ci-profile-content {
    background: #fafafa;
    padding: 25px;
    border-radius: 10px;
}

/* ==============================
   OVERVIEW GRID
============================== */
.ci-profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.ci-profile-info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    overflow: hidden;              /* IMPORTANT */
}
.ci-profile-info-label {
    font-size: 13px;
    color: #777;
    display: block;
}

.ci-profile-info-value {
    font-size: 15px;
    font-weight: 600;
    display: block;
    word-break: break-word;        /* breaks long emails */
    overflow-wrap: anywhere;       /* modern browsers */
}
/* ==============================
   FORM
============================== */
.ci-profile-password-form {
    max-width: 450px;
}
.ci-profile-form-control.error-border {
    border: 1px solid #dc3545 !important; /* Bootstrap red */
    box-shadow: none !important;
}

.ci-profile-form-group {
    margin-bottom: 16px;
}

.ci-profile-form-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.ci-profile-btn {
    padding: 8px 24px;
    background-color: #7E3E87;
    color: #ffffff; /* text color for contrast */
    border: none;
}


/* ==============================
   EMPTY STATES
============================== */
.ci-profile-empty-state {
    text-align: center;
    padding: 40px 0;
}

.ci-profile-empty-text {
    color: #777;
    font-size: 15px;
}
.ci-profile-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ci-profile-avatar-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    background: #8c8686;
}

.ci-profile-avatar-form {
    text-align: center;
}

.ci-profile-avatar-change-text {
    font-size: 14px;
    font-weight: 500;
    color: #7E3E87;
    cursor: pointer;
}

.ci-profile-avatar-change-text input {
    display: none;
}
.header-profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/*dropdown profile and logout*/
.ci-user-dropdown-wrapper {
    position: relative;
}

.ci-user-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    margin-top: 6px;
    width: 180px; /* SMALLER WIDTH */
}
.ci-user-dropdown {
    padding: 8px;
    border-radius: 14px;
    border: none;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

/* Divider */
.ci-divider {
    height: 1px;
    background: #ededed;
    margin: 6px 0;
}

/* Item */
.ci-user-dropdown-item {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Icon */
.ci-user-dropdown-item i {
    font-size: 17px;
    color: #6b7280;
    transition: color 0.2s ease;
}

/* Hover */
.ci-user-dropdown-item:hover {
    background: #f6f0f9;
    color: #7E3E87;
}

.ci-user-dropdown-item:hover i {
    color: #7E3E87;
}

/* Logout */
.ci-logout-btn {
    color: #dc2626;
}

.ci-logout-btn i {
    color: #dc2626;
}

.ci-logout-btn:hover {
    background: #fdeaea;
    color: #b91c1c;
}

.ci-logout-btn:hover i {
    color: #b91c1c;
}
/* PASSWORD FIELD FIX */
.password-wrapper {
    position: relative !important;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 48px !important; /* space for eye icon */
}

.password-wrapper .password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 18px;
    color: #777;

    height: 100%;
    pointer-events: auto;
}

.password-wrapper .password-toggle:hover {
    color: #000;
}
.error-border {
    border: 1px solid #dc3545 !important;
}

.error-text {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/*enquiry style for profile*/
.ci-modern-table {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* TABLE HEADER */
.ci-modern-table thead {
    background: #f9fafb;
}

.ci-modern-table th {
    font-size: 13px;
    text-transform: uppercase;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
}

/* TABLE ROWS */
.ci-modern-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

/* STATUS PILL */
.status-pill {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-success {
    background: #dcfce7;
    color: #166534;
}

/* MESSAGE ROW */
.en-message-row td {
    background: #f8fafc;
    font-size: 14px;
    border-bottom: none;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .ci-modern-table table {
        font-size: 14px;
    }
}


