/* Customer Dashboard Specific Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body.customer-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

/* Navbar */
.customer-navbar {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hero Section (New Design) */
.customer-hero-new {
    background: url('../images/banner.png') center right no-repeat;
    background-size: cover;
    position: relative;
    padding: 60px 0;
    color: white;
    height: auto;
    min-height: 420px;
    margin-bottom: 20px;
}

.hero-main-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.hero-sub-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #fcd34d;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 400;
    color: #e2e8f0;
    margin-bottom: 20px;
    max-width: 80%;
    line-height: 1.4;
}

.hero-feature-boxes {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.hero-f-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 5px;
    text-align: center;
    width: 110px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-f-box p {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 10px 0 0 0;
    line-height: 1.2;
}

.icon-wrap-blue {
    width: 35px;
    height: 35px;
    background: #1e3a8a;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.icon-wrap-orange {
    width: 35px;
    height: 35px;
    background: #ea580c;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hero-img-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img-container img {
    max-width: 120%;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* Category Cards Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.insure-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    cursor: pointer;
}

.insure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-check-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    color: white;
    z-index: 2;
}

/* Card Specific Colors */
.card-motor .card-check-badge {
    background: #1e3a8a;
}

.card-motor .card-title {
    color: #1e3a8a;
}

.card-motor .btn-arrow {
    background: #2563eb;
}

.card-motor .card-icon-lg {
    background: linear-gradient(to bottom, #dbeafe, #eff6ff);
    border: 4px solid #bfdbfe;
}

.card-health .card-check-badge {
    background: #e11d48;
}

.card-health .card-title {
    color: #e11d48;
}

.card-health .btn-arrow {
    background: #e11d48;
}

.card-health .card-icon-lg {
    background: linear-gradient(to bottom, #ffe4e6, #fff1f2);
    border: 4px solid #fecdd3;
}

.card-life .card-check-badge {
    background: #059669;
}

.card-life .card-title {
    color: #059669;
}

.card-life .btn-arrow {
    background: #059669;
}

.card-life .card-icon-lg {
    background: linear-gradient(to bottom, #d1fae5, #ecfdf5);
    border: 4px solid #a7f3d0;
}

.card-travel .card-check-badge {
    background: #ea580c;
}

.card-travel .card-title {
    color: #ea580c;
}

.card-travel .btn-arrow {
    background: #ea580c;
}

.card-travel .card-icon-lg {
    background: linear-gradient(to bottom, #ffedd5, #fff7ed);
    border: 4px solid #fed7aa;
}

.card-home .card-check-badge {
    background: #0d9488;
}

.card-home .card-title {
    color: #0d9488;
}

.card-home .btn-arrow {
    background: #0d9488;
}

.card-home .card-icon-lg {
    background: linear-gradient(to bottom, #ccfbf1, #f0fdfa);
    border: 4px solid #99f6e4;
}

.card-business .card-check-badge {
    background: #1e40af;
}

.card-business .card-title {
    color: #1e40af;
}

.card-business .btn-arrow {
    background: #1e40af;
}

.card-business .card-icon-lg {
    background: linear-gradient(to bottom, #dbeafe, #eff6ff);
    border: 4px solid #bfdbfe;
}

.card-personal .card-check-badge {
    background: #7c3aed;
}

.card-personal .card-title {
    color: #7c3aed;
}

.card-personal .btn-arrow {
    background: #7c3aed;
}

.card-personal .card-icon-lg {
    background: linear-gradient(to bottom, #ede9fe, #f5f3ff);
    border: 4px solid #ddd6fe;
}

.card-vehicle .card-check-badge {
    background: #ea580c;
}

.card-vehicle .card-title {
    color: #ea580c;
}

.card-vehicle .btn-arrow {
    background: #ea580c;
}

.card-vehicle .card-icon-lg {
    background: linear-gradient(to bottom, #ffedd5, #fff7ed);
    border: 4px solid #fed7aa;
}

.card-icon-lg {
    width: 165px;
    height: 165px;
    border-radius: 50%;
    margin: 10px auto 10px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.8);
}

.card-icon-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 500;
    z-index: 2;
}

.btn-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 2;
    text-decoration: none;
}

.insure-card:hover .btn-arrow {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Features Footer Strip */
.features-strip {
    background: #ffffff;
    border-top: 2px solid #f1f5f9;
    padding: 25px 10px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.feature-icon {
    font-size: 2rem;
}

.feature-text h6 {
    margin: 0 0 2px 0;
    font-weight: 800;
    font-size: 0.75rem;
    color: #1e293b;
    text-transform: uppercase;
}

.feature-text p {
    margin: 0;
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

/* Feature specific colors */
.f-shield {
    color: #1e40af;
}

.f-lock {
    color: #059669;
}

.f-user {
    color: #7c3aed;
}

.f-clock {
    color: #e11d48;
}

.f-clipboard {
    color: #ea580c;
}

/* 4 Wheelers section */
.four-wheelers-section {
    margin: 50px 0;
    text-align: center;
}

.four-wheelers-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #334155;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.four-wheelers-title::before,
.four-wheelers-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #cbd5e1;
}

.four-wheelers-title::before {
    margin-right: 20px;
}

.four-wheelers-title::after {
    margin-left: 20px;
}

.four-wheelers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.four-wheeler-card {
    text-align: center;
    position: relative;
    padding: 10px;
}

.four-wheeler-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #e2e8f0;
}

.four-wheeler-card img {
    height: 75px;
    object-fit: contain;
    margin-bottom: 12px;
}

.four-wheeler-card h6 {
    font-weight: 800;
    font-size: 0.8rem;
    color: #0f172a;
    margin: 0;
}

.four-wheeler-card p {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    margin: 3px 0 0 0;
}

/* Footer Bottom Strip */
.customer-footer {
    margin-top: 50px;
}

.footer-contact-strip {
    background: #0f172a;
    color: #f8fafc;
    padding: 30px 40px;
}

.footer-brand i {
    font-size: 1.2rem;
}

.footer-brand span {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-item {
    font-size: 0.95rem;
    color: #f8fafc;
}

.footer-item i {
    font-size: 1.25rem;
    color: #f8fafc;
}

.footer-item a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-item a:hover {
    color: #fcd34d;
}

.footer-bottom-bar {
    background: #020617;
    padding: 15px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-strip {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .four-wheelers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .four-wheelers-title::before,
    .four-wheelers-title::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .insure-card {
        padding: 15px 10px;
    }

    .card-icon-lg {
        width: 110px;
        height: 110px;
        margin: 5px auto;
    }

    .card-title {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .card-desc {
        font-size: 0.65rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .btn-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .feature-item {
        width: 100%;
        justify-content: center;
    }

    .customer-hero-new {
        background-image: url('../images/bannermobile.jpg');
        background-position: top center;
        background-size: 100% auto;
        background-repeat: no-repeat;
        height: 0;
        padding-top: 49%;
        /* Exact aspect ratio of the image */
        min-height: 0 !important;
        margin-bottom: 0 !important;
    }

    .customer-hero-new .container {
        display: none !important;
    }

    .customer-hero {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}