:root {
    --primary-custom: #EC017A;
    --secondary-custom: #01216E;
    --light-bg: #F5F7FA;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #E0E0E0;
    --success-color: #10B981;
    --danger-color: #b3071e;
    --warning-color: #F59E0B;
    --primary-gradient: linear-gradient(135deg, #011E60, #5B0E48);
    --text-color: #333333;
}

@font-face {
    font-family: 'SolaimanLipi';
    src: url('/assets/SolaimanLipi.ttf') format('truetype');
}

* {
    font-family: 'SolaimanLipi', sans-serif;
}

body {
    color: var(--text-color);
}

a {
    text-decoration: none;
}

.bg-light-custom {
    background-color: var(--light-bg);
}
.bg-primary-gradient {
    background: var(--primary-gradient);
}

.form-control:hover,
.form-control:focus,
.form-select:hover,
.form-select:focus {
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.15);
    outline: none;
}

.border-info-custom{
    border-color: var(--primary-custom);
}

.btn-gradient {
    background: linear-gradient(90deg, var(--primary-custom), var(--secondary-custom));
    background-size: 200% 100%;
    background-position: left center;
    border: none;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease, background-position 0.5s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.4);
    background-position: right center; /* Slides the gradient */
}

.btn-outline-secondary {
    color: var(--primary-custom);
    background-color: transparent;
    border: 2px solid var(--primary-custom);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(213, 63, 140, 0.1));
    border-color: var(--secondary-custom);
    color: var(--secondary-custom);
    box-shadow: 0 3px 10px rgba(107, 70, 193, 0.15);
    transform: translateY(-2px);
}

.btn-outline-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(107, 70, 193, 0.1);
}

button:focus,
.btn:focus {
    outline: none !important;
}

/* .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} */

.offcanvas-body .navbar-nav .nav-item {
    padding-left: 10px;
    border-left: 3px solid #FFFFFF;
}

.offcanvas-body .navbar-nav .nav-item:hover {
    background-color: var(--light-bg);
    border-color: var(--primary-custom);
}

.navbar-nav .nav-link{
    font-weight: bold;
    font-size: 18px;
}

/* Custom CSS for a modern, sticky bottom navigation */

.modern-bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    padding: 0;
    z-index: 1050;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1) !important;
    border-top: 1px solid #f0f0f0 !important;
    border-radius: 15px;
}

.modern-bottom-nav .navbar-nav {
    height: 100%;
}

.modern-bottom-nav .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.modern-bottom-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    color: #6c757d; /* Muted gray for inactive */
    transition: color 0.3s ease, transform 0.2s ease;
    font-size: 0.75rem; /* Slightly smaller text */
    font-weight: 500;
}

.modern-bottom-nav .nav-link:hover {
    color: var(--primary-custom);
}

.modern-bottom-nav .nav-link i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

/* Active State - Crucial for modern look */
.modern-bottom-nav .nav-link.active-link {
    color: var(--secondary-custom);
    font-weight: 600;
}

.modern-bottom-nav .nav-link.active-link i {
    font-size: 1.4rem; /* Active icon slightly larger */
    transform: translateY(-2px); /* Subtle lift */
    transition: all 0.2s ease;
}

/* Hero Section */
.hero-section-new {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(236, 1, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(1, 33, 110, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* <CHANGE> Add animated shapes for visual interest */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-custom);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-custom);
    bottom: 50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-custom);
    top: 50%;
    left: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content-new {
    max-width: 900px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(236, 1, 122, 0.1);
    border: 1px solid var(--primary-custom);
    border-radius: 50px;
    padding: 8px 16px;
}

.badge-text {
    color: var(--primary-custom);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-highlight {
    background: linear-gradient(135deg, var(--primary-custom), #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================
   ENHANCED SEARCH FORM
   ============================================ */
.search-form-container {
    margin-top: 3rem;
}

.search-form-enhanced {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group-wrapper {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-custom);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.custom-select-wrapper {
    position: relative;
}

.form-select-custom {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--light-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-select-custom:hover {
    border-color: var(--primary-custom);
    background-color: #ffffff;
}

.form-select-custom:focus {
    outline: none;
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(236, 1, 122, 0.1);
    background-color: #ffffff;
}

.btn-search-primary {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-custom), #ff6b9d);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-search-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 1, 122, 0.3);
}

.btn-search-primary:active {
    transform: translateY(0);
}

.search-helper-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-helper-text i {
    color: var(--success-color);
    font-size: 1rem;
}

/* ============================================
   TRUST SECTION - STATISTICS
   ============================================ */
.trust-section {
    background: linear-gradient(135deg, rgba(236, 1, 122, 0.05), rgba(1, 33, 110, 0.05));
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-custom);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages-section {
    background: white;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.package-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    border-color: var(--primary-custom);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(236, 1, 122, 0.15);
}

.package-popular {
    border-color: var(--primary-custom);
    background: linear-gradient(135deg, rgba(236, 1, 122, 0.02), rgba(1, 33, 110, 0.02));
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-custom), #ff6b9d);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    margin-bottom: 1.5rem;
}

.package-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-custom);
}
.package-features {
    list-style: none;
    padding: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.package-features li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i {
    margin-right: 8px;
    color: var(--primary-custom);
}

.package-features li:has(.bi-x-circle) {
    opacity: 0.5;
}

.btn-package-select {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--secondary-custom);
    color: var(--secondary-custom);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-package-select:hover {
    background: var(--secondary-custom);
    color: white;
}

.btn-package-primary {
    background: linear-gradient(135deg, var(--primary-custom), #ff6b9d);
    border-color: var(--primary-custom);
    color: white;
}

.btn-package-primary:hover {
    background: linear-gradient(135deg, #d40066, #ff5588);
    border-color: #d40066;
}
.gateway-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
    width: 30%; /* Adjust size */
    text-align: center;
}

.gateway-item:hover {
    border-color: var(--primary-custom); /* Brand color on hover */
    background-color: rgba(236, 1, 122, 0.05);
}

.gateway-item.selected {
    border-color: var(--secondary-custom) !important;
    box-shadow: 0 0 0 3px rgba(1, 33, 110, 0.1);
}

/* Ensure the image inside is responsive */
.gateway-item img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background: linear-gradient(135deg, rgba(236, 1, 122, 0.05), rgba(1, 33, 110, 0.05));
}

.step-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 1, 122, 0.15);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(236, 1, 122, 0.15);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(236, 1, 122, 0.1), rgba(1, 33, 110, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary-custom);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    background: white;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    /* >>> IMPORTANT: Add position relative for the badge to position correctly <<< */
    position: relative; 
}

/* NEW CSS for Category Badge */
.category-badge {
    position: absolute;
    top: 15px; /* Adjust vertical position */
    right: 15px; /* Adjust horizontal position */
    padding: 6px 12px;
    background-color: var(--primary-custom); /* Use your primary color */
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge:hover {
    background-color: var(--secondary-custom, #3b3b3b);
    color: white;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary-custom);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary-custom);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--secondary-custom);
    gap: 10px;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--primary-custom);
    color: var(--primary-custom);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--primary-custom);
    color: white;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-custom), var(--primary-custom));
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-custom);
}

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

.btn-cta-secondary {
    background: transparent;
    color: white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-custom);
}

/* ============================================
   BACKGROUND GRADIENTS
   ============================================ */
.bg-light-gradient {
    background: linear-gradient(135deg, rgba(236, 1, 122, 0.05), rgba(1, 33, 110, 0.05));
}

.bg-gradient-primary {
    background: linear-gradient(
        135deg,
        var(--secondary-custom) 0%,
        var(--primary-custom) 100%
    );
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-section-new {
        padding: 60px 20px 40px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .search-form-enhanced {
        padding: 1.5rem;
    }

    .form-grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .btn-search-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

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

    .package-card {
        padding: 1.5rem;
    }

    .package-price {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* <CHANGE> Hide animated shapes on mobile for better performance */
    .shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .badge-text {
        font-size: 0.8rem;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .form-select-custom {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .blog-card {
        margin-bottom: 1rem;
    }

    .blog-image {
        height: 150px;
    }

    .search-helper-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   ADDITIONAL UTILITY CLASSES
   ============================================ */
.text-primary-custom {
    color: var(--primary-custom) !important;
}

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

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

/* SEO-Friendly heading hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 700;
    line-height: 1.2;
}


/* Blog Details Section */
.blog-details-section {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #6b46c1;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Blog Header */
.blog-header {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-meta {
    margin-bottom: 20px;
}

.blogdetails-category {
    display: inline-block;
    background: linear-gradient(135deg, #6b46c1, #d53f8c);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

.blog-info span {
    display: flex;
    align-items: center;
}

.blog-info i {
    margin-right: 5px;
    color: #6b46c1;
}

.blogdetails-content {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.blog-footer {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

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

.blog-share .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-share .share-btn.facebook {
    background-color: #3b5998;
}

.blog-share .share-btn.twitter {
    background-color: #1da1f2;
}

.blog-share .share-btn.whatsapp {
    background-color: #25d366;
}

.blog-share .share-btn.copy {
    background-color: #6c757d;
}

.blog-share .share-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .divider-line {
        width: 60px;
    }

    .divider-icon {
        width: 35px;
        height: 35px;
    }
}

/* Footer */

/* Custom Dropdown Styling */
.customDropdown {
    position: relative;
    display: block;
    width: 100%;
}

.dropdown-trigger {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #495057;
}

/* Add a dropdown arrow */
.dropdown-trigger::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-custom);
    border-bottom: 2px solid var(--primary-custom);
    transform: rotate(45deg);
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* Rotate arrow when dropdown is open */
.dropdown-trigger.active::after {
    transform: rotate(-135deg);
}

.dropdown-trigger:hover,
.dropdown-trigger:focus {
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.15);
    outline: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-custom) #f0f0f0;
}

/* Custom scrollbar for webkit browsers */
.dropdown-content::-webkit-scrollbar {
    width: 8px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 8px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-custom), var(--secondary-custom));
    border-radius: 8px;
}

.dropdown-content div {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content div:last-child {
    border-bottom: none;
}

.dropdown-content div:hover {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(213, 63, 140, 0.1));
    color: var(--primary-custom);
}

.dropdown-content .back {
    font-weight: bold;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
}

.dropdown-content .back::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-left: 2px solid var(--primary-custom);
    border-bottom: 2px solid var(--primary-custom);
    transform: rotate(45deg);
    margin-right: 10px;
}

/* Animation for dropdown opening */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

/* Active state for the dropdown trigger */
.dropdown-trigger.active {
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.15);
}


/* Login */
.register-section {
    background-color: var(--ight-bg); 
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px),
                      radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.register-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.register-card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-color: var(--primary-custom);
}

.register-card-header {
    padding: 40px 30px 20px;
}

.register-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--secondary-custom);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 8px 15px rgba(1, 33, 110, 0.2); 
    border: 5px solid rgba(255, 255, 255, 0.5);
}

.register-title {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.register-subtitle {
    color: #6c757d;
    margin-bottom: 0;
}

.register-card-body {
    padding: 20px 40px 40px;
}

.custom-input {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    height: auto;
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.15);
}

.form-floating>.custom-input {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating>label {
    padding: 1rem 0.75rem;
}

.gender-select {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
}

.gender-label {
    display: block;
    margin-bottom: 10px;
    color: #6c757d;
    font-size: 0.9rem;
}

.gender-options {
    display: flex;
    gap: 15px;
}

.gender-option {
    flex: 1;
    margin: 0;
    cursor: pointer;
}

.gender-option input {
    display: none;
}

.gender-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gender-option input:checked+.gender-option-inner {
    border-color: var(--primary-custom);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(213, 63, 140, 0.1));
}

.gender-option i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-custom);
}

.login-link a {
    color: var(--primary-custom);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: var(--secondary-custom);
    text-decoration: underline;
}

.register-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    /* সলিড সেকেন্ডারি কালার ব্যবহার করা হলো */
    background-color: var(--secondary-custom); 
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(1, 33, 110, 0.3);
}

.register-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.3);
}

.register-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.register-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .register-card-body {
        padding: 20px 20px 30px;
    }

    .register-title {
        font-size: 1.5rem;
    }

    .register-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Biodatas */
.biodatas-section {
    background-color: var(--light-bg);
    min-height: 100vh;
}

.filter-sidebar {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* position: sticky; */
    top: 20px;
}

.filter-header {
    background: linear-gradient(135deg, var(--primary-custom), #ff6b9d);
    color: #fff;
    padding: 15px 20px;
}

.filter-header h3 {
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Custom Accordion Styles */
.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.custom-accordion .accordion-button {
    padding: 15px 20px;
    font-weight: 600;
    color: var(--text-color);
    background-color: #fff;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary-custom);
    background-color: #f8f0ff;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b46c1' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.custom-accordion .accordion-body {
    padding: 15px 20px;
}

/* Form Element Styles */
.filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.custom-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.custom-select:focus {
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.15);
}

/* Range Slider Styles */
.range-slider-container {
    padding: 10px 0;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--primary-custom);
    font-weight: 500;
}

.range-slider {
    position: relative;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    margin: 20px 0;
}

.range-track {
    position: absolute;
    height: 100%;
    background: linear-gradient(to right, var(--primary-custom), var(--secondary-custom));
    border-radius: 3px;
}

.range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    z-index: 2;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--primary-custom);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--primary-custom);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

/* Custom Checkbox Styles */
.custom-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.checkbox-label {
    position: relative;
    padding-left: 28px;
    line-height: 20px;
}

.checkbox-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked+.checkbox-label:before {
    background-color: var(--primary-custom);
    border-color: var(--primary-custom);
}

.custom-checkbox input:checked+.checkbox-label:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Filter Actions */
.filter-actions {
    display: flex;
    gap: 10px;
    padding: 20px;
    background-color: #fff;
}

.btn-filter-reset {
    flex: 1;
    padding: 12px;
    background-color: var(--light-bg);
    color: #6c757d;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-filter-reset:hover {
    background-color: #e9ecef;
    color: #495057;
}

/* Biodatas Container Styles */
.biodatas-container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.biodatas-header {
    text-align: center;
    margin-bottom: 30px;
}

.biodatas-header h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.biodatas-header p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Biodatas Grid */
.biodatas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Biodata Card Styles */
.biodata-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.biodata-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.1);
    border-color: var(--primary-custom);
}

.biodata-card a {
    color: #f1f1f1;
    text-decoration: none;
}

.biodata-card .head {
    background: var(--secondary-custom);
    text-align: center;
    padding: 20px 0 15px;
    border: 1px solid var(--secondary-custom);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
}

.biodata-shortlisted-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    font-size: 20px;
}

.biodata-card .head img {
    max-width: 100px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #fff;
    /* White background */
    padding: 5px;
    /* Add padding to create a border space */
    border: 2px solid var(--secondary-custom);
    /* Circular border */
}
/* Pagination Styles */
.biodatas-pagination {
    margin-top: 30px;
}

.pagination .page-link {
    color: var(--primary-custom);
    border-color: #e2e8f0;
    padding: 8px 16px;
}

.pagination .page-item.active .page-link {
    color: #fff;
    background: var(--secondary-custom);
    border-color: var(--secondary-custom);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}

#biodataDetails .biodata-card .head img {
    max-width: 120px;
    padding: 3px;
}

.biodata-card .head h2 {
    color: #fff;
    font-size: 1.3rem;
    margin: 15px 0 2px;
    font-weight: 400;
}

.biodata-card .head h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 15px 0 2px;
    font-weight: bold;
}

.biodata-card .body {
    background-color: #fff;
    border: 1px solid #d5d5d5;
    padding: 20px 20px 25px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px
}

.biodata-card .btn-search-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#biodataDetails .biodata-card .body {
    background-color: var(--secondary-custom);
    border: 1px solid var(--secondary-custom);
    color: #fff;
}

.biodata-card .body .each-item:first-child {
    border-top: 1px solid #d5d5d5;
}

.biodata-card .body .each-item {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #d5d5d5;
}

.biodata-card .body .each-item label {
    border-right: 1px solid #d5d5d5;
}

.biodata-card .body .each-item label,
.biodata-card .body .each-item p {
    flex: 0 0 50%;
    text-align: center;
    padding: 5px;
    margin: 0;
    font-size: 14px;
}

#biodataDetails .biodata-card .body .each-item label {
    font-size: 16px;
    font-weight: bold;
}

#biodataDetails .biodata-card .body .each-item p {
    font-size: 16px;
}

#biodataDetails .biodata-card .body .each-item {
    border-top: 1px solid #d5d5d5;
}

#biodataDetails .card {
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: solid var(--secondary-custom);
}

.table-equal tbody th, td{
    width: 50%;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .biodatas-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* biodata details page */
.biodata-details-section {
    background-color: var(--light-bg);
    min-height: 100vh;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;                 /* Full width */
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;

    background-color: transparent;       /* Transparent background */
    color: var(--primary-custom);        /* Text color */
    border: 2px solid var(--primary-custom); /* Outline border */
    cursor: pointer;
}

.action-btn:hover {
    background-color: var(--primary-custom); /* Fill on hover */
    color: #fff;                              /* Text turns white */
}

.shortlist-btn {
    background: linear-gradient(135deg, var(--primary-custom), var(--secondary-custom));
    color: white;
}

.shortlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.2);
}

.share-btn {
    background-color: var(--light-bg);
    color: #6c757d;
    border: 1px solid #e2e8f0;
}

.share-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

.action-btn i {
    margin-right: 8px;
}


/* Education History Styles */
.education-history {
    margin-top: 20px;
}

.education-history h4 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.1rem;
}


.lock-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-custom), var(--secondary-custom));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}


.login-prompt {
    margin-top: 20px;
}

.login-prompt p {
    color: #6c757d;
    margin-bottom: 10px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--light-bg);
    color: #6c757d;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

.login-btn i {
    margin-right: 8px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-btn:active {
    transform: translateY(0);
}

.youtube-btn{
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-custom);
}

.google-btn,
.youtube-btn,
.email-btn {
    background-color: #fff !important;
    color: #333;
}

.google-btn:hover,
.youtube-btn:hover,
.email-btn:hover {
    background-color: var(--light-bg);
}

.btn-icon,
.auth-btn i {
    margin-right: 12px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.account-status {
    text-align: center;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.dashboard-profile-header {
    background-color: var(--light-purple) !important;
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .info-row {
        flex-direction: column;
    }

    .info-title {
        flex: 0 0 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .biodata-tabs .nav-link {
        padding: 8px 12px;
    }

    .biodata-tabs .nav-link i {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    .biodata-tabs .nav-link span {
        font-size: 0.8rem;
    }
}

/* dashboard */

/* Dashboard Section */
.dashboard-section {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    position: sticky;
    top: 20px;
}

/* Profile Card */
.profile-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-header {
    background: linear-gradient(135deg, #6b46c1, #d53f8c);
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

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

.profile-name {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-actions {
    padding: 20px;
}

.complete-biodata-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.complete-biodata-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
    color: white;
}

.complete-biodata-btn i {
    margin-right: 8px;
}

/* Sidebar Menu */
.sidebar-menu {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    border-bottom: 1px solid #f0f0f0;
}

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

.menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-link:hover {
    background-color: #f8f9fa;
    color: #6b46c1;
}

.menu-item.active .menu-link {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(213, 63, 140, 0.1));
    color: var(--secondary-custom);
    border-right: 3px solid var(--secondary-custom);
}

.menu-link i {
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Dashboard Header */
.dashboard-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-header p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Dashboard Cards */
.dashboard-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.1);
}

.dashboard-cards .card-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 10px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.card-title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
}

.card-body {
    padding: 10px 20px 20px;
}

/* Connection Card */
.connection-card .card-icon {
    background: linear-gradient(135deg, #6b46c1, #d53f8c);
    color: white;
}

.connection-count {
    text-align: center;
    margin-bottom: 15px;
}

.count-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #6b46c1;
}

.count-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.connection-info {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 15px;
}

.purchase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.purchase-btn i {
    margin-right: 8px;
}

/* Views Card */
.views-card .card-icon {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
    color: white;
}

.view-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 600;
    color: #2c3e50;
}

/* Shortlisted Card */
.shortlisted-card .card-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
}

.shortlisted-count {
    text-align: center;
}

/* My Shortlist Card */
.my-shortlist-card .card-icon {
    background: linear-gradient(135deg, #e83e8c, #fd7e14);
    color: white;
}

.my-shortlist-count {
    text-align: center;
    margin-bottom: 15px;
}

.view-list-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b46c1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-list-btn:hover {
    color: #d53f8c;
}

.view-list-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.view-list-btn:hover i {
    transform: translateX(5px);
}

/* Purchases Card */
.purchases-card .card-icon {
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: white;
}

.purchases-count {
    text-align: center;
    margin-bottom: 15px;
}

/* Base Card Style */
.dashboard-card {
    background-color: white;
    border-radius: 18px; /* Slightly larger radius for modern look */
    box-shadow: 0 8px 25px rgba(1, 33, 110, 0.08); /* Shadow uses secondary color for depth */
    border: 1px solid var(--border-color); /* Subtle border for definition */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(1, 33, 110, 0.15); /* More pronounced hover shadow */
}

/* Card Header & Icon */
.card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%; /* Changed to circle for a friendlier look */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.6rem;
    color: white; /* Icons should be white for contrast */
}

.card-title h3 {
    font-size: 1.3rem; /* Slightly larger title */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0px; /* Reduced margin */
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.count-number {
    display: block;
    font-size: 3rem; /* Larger count number */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 5px;
}

.proposal-card .card-icon {
    background: var(--primary-custom); /* Pink/Red for action/proposal */
    box-shadow: 0 4px 10px rgba(236, 1, 122, 0.4);
}

.proposal-card .count-number {
    color: var(--primary-custom);
}

/* Proposal Purchase Button - Use a gradient for high impact CTA */
.proposal-card .purchase-btn {
    background: var(--primary-gradient); 
    /* ... existing purchase-btn styles ... */
}

.contact-view-card .card-icon {
    background: var(--secondary-custom); /* Dark Blue for premium/contact access */
    box-shadow: 0 4px 10px rgba(1, 33, 110, 0.4);
}

.contact-view-card .count-number {
    color: var(--secondary-custom);
}

/* Contact View Purchase Button - Use the other brand color for distinction */
.contact-view-card .purchase-btn {
    background-color: var(--secondary-custom);
    /* ... existing purchase-btn styles ... */
}

/* --- Pending Proposals Card --- */
.pending-card .card-icon {
    background-color: var(--warning-color);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.pending-card .count-number {
    color: var(--warning-color);
}

.pending-card .view-list-btn {
    color: var(--warning-color);
}

.pending-card .view-list-btn:hover {
    color: var(--warning-color);
}

/* --- Biodata Views Card (Stat Card) --- */
.views-card .card-icon {
    /* Success color is great for positive stats */
    background-color: var(--success-color); 
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.views-card .card-title h3 {
    color: var(--text-primary);
}

.stat-item {
    border-bottom: 1px solid var(--border-color); /* Use theme border color */
}

.stat-value {
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Purchases Card (History Card) --- */
.purchases-card .card-icon {
    /* Secondary Blue for history/account management */
    background-color: var(--secondary-custom); 
    box-shadow: 0 4px 10px rgba(1, 33, 110, 0.4);
}

.purchases-card .count-number {
    color: var(--secondary-custom);
}

.purchases-card .view-list-btn {
    color: var(--secondary-custom);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .dashboard-header h2 {
        font-size: 1.8rem;
    }

    .dashboard-cards .card-header {
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}


/* Status Badge Styling */
.status-container {
    display: inline-block;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: none;
}

/* Published = Emerald */
.status-badge.published {
    background-color: #34D399; /* medium green */
    color: #ffffff;
}

/* Pending = Amber */
.status-badge.pending, .status-badge.archived, .status-badge.delete_request{
    background-color: #FBBF24; /* amber */
    color: #ffffff;
}

/* Rejected = Rose */
.status-badge.rejected {
    background-color: #F87171; /* soft red */
    color: #ffffff;
}

/* Incomplete = Cool Gray */
.status-badge.incomplete {
    background-color: #9CA3AF; /* gray */
    color: #ffffff;
}

/* Step Progress Styling */
.pill-step-tracker {
    padding: 1rem;
    background-color: #f4f1fc;
    border-radius: 10px;
}

.pill-step {
    background-color: #e0e0e0;
    color: #555;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: 0.3s ease;
}

.pill-step.active {
    background-color: var(--secondary-custom);
    color: #fff;
}

.pill-step.completed {
    background-color: var(--primary-custom);
    color: #fff;
}

.step-check {
    display: inline-block;
}
.pill-step:not(.completed) .step-check {
    display: none;
}


/* View Button Styling */
.view-biodata-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
    transition: all 0.3s ease;
}

.view-biodata-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
    color: white;
}

/* Form Card Styling */
.biodata-form-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-bottom: 30px;
}

/* Decorative Elements */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.circle-1 {
    width: 150px;
    height: 150px;
    background-color: rgba(107, 70, 193, 0.05);
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 100px;
    height: 100px;
    background-color: rgba(213, 63, 140, 0.05);
    bottom: 50px;
    left: -30px;
}

.circle-3 {
    width: 70px;
    height: 70px;
    background-color: rgba(107, 70, 193, 0.05);
    bottom: -20px;
    right: 100px;
}

/* Card Header Styling */
.biodata-form-header {
    background: var(--primary-gradient);
    padding: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

/* Card Body Styling */
.biodata-form-body {
    padding: 30px;
    position: relative;
    min-height: 400px;
}

/* Custom Loader Styling */
.custom-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-items: center;
    z-index: 10;
}

.loader-spinner {
    display: flex;
    gap: 10px;
}

.loader-spinner .spinner-grow {
    width: 15px;
    height: 15px;
}

.loader-spinner .spinner-grow.text-primary {
    background-color: var(--primary-custom);
}

.loader-spinner .spinner-grow.text-secondary {
    background-color: var(--secondary-custom);
}

.loader-text {
    color: var(--text-color);
    font-weight: 500;
}

/* Form Footer Styling */
.biodata-form-footer {
    padding: 20px 30px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Navigation Buttons */
.nav-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.prev-btn {
    background-color: var(--secondary-custom);
    color: #fff;
}

.prev-btn:hover:not(:disabled) {
    background-color: #cbd5e1;
}

.next-btn {
    background: var(--primary-custom);
    color: white;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Styling - These will apply to the AJAX loaded form */
.biodata-form .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.biodata-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.biodata-form .form-control:focus {
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.2);
}

.biodata-form .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.biodata-form .form-select:focus {
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .biodata-header {
        text-align: center;
    }

    .status-container,
    .step-progress-container {
        margin-bottom: 15px;
    }

    .biodata-form-body {
        padding: 20px 15px;
    }
}

.bg-light-primary {
    background-color: #e0dcfe !important;
}


#loader {
    display: none;
    /* Hide loader by default */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Show loader and disable content when .loading is added */
.card-body.loading #loader {
    display: flex;
}

.card-body.loading form {
    opacity: 0.5;
    pointer-events: none;
}

@media (min-width: 768px) {

    .modern-bottom-nav,
    .navbar-toggler {
        display: none;
    }
}

/* Footer Styles */
.footer-section {
    background-color: #0A1A4F;
    color: #F5F7FA;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        margin-bottom: 20px;
    }
}

img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.5rem; /* Slightly rounded corners */
    font-size: 1rem;
    line-height: 1.5;
    /* Adding a subtle shadow for depth */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
}

/* 1. ✅ Success Alert (for sign-up confirmation, data saved, etc.) */
.alert-success {
    --bs-alert-bg: #E6F7F3; /* Very light background using success color */
    --bs-alert-color: var(--success-color); /* Dark text using success color */
    --bs-alert-border-color: #C1EADF; /* Subtle border for definition */
}
/* Ensure links inside the success alert match the theme */
.alert-success .alert-link {
    color: #0b8e66;
    font-weight: 600;
}

/* 2. ⚠️ Warning Alert (for incomplete profile, attention needed) */
.alert-warning {
    --bs-alert-bg: #FFF9E6; /* Very light background using warning color */
    --bs-alert-color: var(--warning-color); /* Dark text using warning color */
    --bs-alert-border-color: #FFECC4;
}
.alert-warning .alert-link {
    color: #e38f00;
    font-weight: 600;
}

/* 3. ❌ Danger/Error Alert (for login failure, form errors) */
.alert-danger {
    --bs-alert-bg: #FDECEC;
    --bs-alert-color: var(--danger-color);
    --bs-alert-border-color: #F8C3C3;
}
.alert-danger .alert-link {
    color: #c02b38;
    font-weight: 600;
}

/* 4. ℹ️ Info Alert (for general instructions, notices) */
.alert-info {
    --bs-alert-bg: #E6F0FF;
    --bs-alert-color: var(--info-color);
    --bs-alert-border-color: #C2D8FF;
}
.alert-info .alert-link {
    color: #0c57c5;
    font-weight: 600;
}

/* 5. ⭐ Primary Alert (Using your brand's Primary Color for important, positive actions) */
.alert-primary {
    /* Use the dark secondary color for the background to make it stand out */
    --bs-alert-bg: var(--secondary-custom); 
    --bs-alert-color: white; /* White text for contrast */
    --bs-alert-border-color: #00194E; 
}
.alert-primary .alert-link {
    color: #D2E0FF; /* Light contrast color for links */
    font-weight: 600;
}

/* 6. secondary Alert (Using your brand's Pink/Red for a softer notice) */
.alert-secondary {
    --bs-alert-bg: #FFE5F0; /* Light background using primary-custom color */
    --bs-alert-color: var(--primary-custom); /* Dark text using primary-custom color */
    --bs-alert-border-color: #F8C3D8;
}
.alert-secondary .alert-link {
    color: #c70068;
    font-weight: 600;
}

/* --- 1. Fix Alignment, Height, and Padding --- */

/* Single Select Box */
.select2-container--default .select2-selection--single {
    /* Base styling to match your select box */
    height: 44px; /* Adjust if needed, 12px padding + ~20px font-size = 44px */
    border-radius: 8px; 
    background-color: var(--light-bg); /* Match your light-bg default */
    transition: all 0.3s ease;
}

/* Inner elements for vertical alignment */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    /* Align text vertically and control inner spacing */
    padding-top: 5px; /* Adjust top/bottom padding to center the text */
    padding-left: 14px; /* Match your left padding */
    line-height: 1.5; /* Often fixes vertical issues */
    color: #fff;
}

/* Arrow Position */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px; /* Make the arrow container match height */
    width: 20px;
    right: 12px;
}

/* Arrow Icon (Replacing the default triangle) */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none !important; /* Remove the default triangle */
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover State (Mimicking your :hover) */
.select2-container--default:hover .select2-selection--single {
    border-color: var(--primary-custom);
    background-color: #ffffff;
}

/* Focus State (Mimicking your :focus) */
.select2-container--default.select2-container--focus .select2-selection--single {
    outline: none;
    border-color: var(--primary-custom);
    box-shadow: 0 0 0 3px rgba(236, 1, 122, 0.1);
    background-color: #ffffff;
}

/* --- 2. Fix Hover Color & Text Visibility --- */

/* This eliminates the blue background and sets the primary color */
.select2-container--default .select2-results__option--highlighted:not(.select2-results__option--selected) {
    /* Overrides the stubborn default blue/light background */
    background-color: var(--primary-custom) !important; 
    /* This makes the text visible on your dark hover background */
    color: white !important; 
}

/* This fixes the text color for selected (not hovered) items */
.select2-container--default .select2-results__option--selected {
    color: var(--secondary-custom) !important; /* Ensure selected text is visible */
}

/* Also ensure the search input box inside the dropdown doesn't have an old focus color */
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary-custom) !important;
    box-shadow: 0 0 0 3px rgba(236, 1, 122, 0.1) !important;
}

/* --- Fix 1: Text Visibility on Hover/Highlight --- */

/* This targets the options in the dropdown menu */
.select2-container--default .select2-results__option {
    /* Set the default text color for all options (fixes invisible text on un-hover) */
    color: var(--text-primary); 
    padding: 10px 15px; /* Ensures padding remains constant */
}

/* This targets the option currently being hovered over */
.select2-container--default .select2-results__option--highlighted:not(.select2-results__option--selected) {
    /* GUARANTEE the background is your brand color */
    background-color: var(--primary-custom) !important; 
    /* GUARANTEE the text is white */
    color: white !important; 
}

/* --- Fix 2: Remove Blue Tones --- */

/* Ensures no blue on selected items */
.select2-container--default .select2-results__option--selected {
    background-color: var(--primary-custom) !important; 
    color: var(--secondary-custom) !important;
}

/* Clear all default background for search input */
.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: white !important;
}

/* --- Fix 3: Alignment and Height Consistency --- */

/* The main select element wrapper */
.select2-container--default .select2-selection--single {
    height: 44px;
    line-height: 42px; /* Set line-height close to height to vertically center content */
    background-color: var(--light-bg);
}

/* The inner text container */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    /* Use padding and line-height for vertical alignment */
    padding-left: 14px; 
    padding-right: 36px;
    line-height: 40px; /* Force line-height to center text visually */
    color: var(--text-primary);
}

/* The Placeholder Text */
.select2-container--default .select2-selection__single .select2-selection__placeholder {
    line-height: 40px; /* Ensure placeholder text is also centered */
}

/* Match your custom arrow positioning/height */
.select2-container--default .select2-selection__arrow {
    height: 40px; 
    line-height: 40px;
}

.custom-table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

@media (max-width: 760px) {
    .custom-table{
        table-layout: auto;
    }
}

.btn-success{
    background-color: var(--success-color);
}
.btn-danger{
    background-color: var(--danger-color);
}
.bg-secondary-custom{
    background: var(--secondary-custom) !important;
    color: #fff !important;
}

.page-hero-section {
    background: linear-gradient(135deg, var(--primary-custom), #ff6b9d 100%);
    position: relative;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.page-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="transparent"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
    z-index: 0;
}

.page-hero-section .container {
    position: relative;
    z-index: 10;
}

.dropzone {
    border: 2px dashed var(--secondary-custom);
    border-radius: 0.5rem;
    background-color: #f3f6ff;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dropzone:hover {
    border-color: #2001ad;
    background-color: #e6f0ff;
}
.dz-message {
    font-size: 1.25rem;
    color: #495057;
    margin: 0;
}
.dz-message h3 {
    color: var(--secondary-custom);
    font-weight: 600;
    margin-top: 0.5rem;
}
.dropzone .dz-preview .dz-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.truncate {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}