/* Professional Matchmaker Color Scheme */
:root {
    --primary-color: #ff5a60;
    --primary-dark: #e6444a;
    --primary-light: #ffb3b6;
    --secondary-color: #1b68a9;
    --secondary-dark: #154d7c;
    --secondary-light: #b3d1e8;
    --accent-color: #ffa726;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-light: #8fa0b3;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-light: rgba(255, 90, 96, 0.1);
    --shadow-medium: rgba(255, 90, 96, 0.15);
    --shadow-dark: rgba(255, 90, 96, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-light: linear-gradient(135deg, #fff5f5 0%, #f0f8ff 100%);
    --success-color: #27ae60;
    --warning-color: #f39c12;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Hero Section */
.hero-matchmaker {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-matchmaker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm20 0c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* background: url('/themes/web/landing/images/mandala/bdbiye.svg'); */
    /* animation: float 25s infinite linear; */
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-80px) rotate(360deg);
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 6px var(--shadow-dark);
}

.hero-content h1 .highlight {
    color: #ffd700;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.earning-highlight {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.earning-highlight p {
    color: #ffd700;}
.earning-highlight h3 {
    color: #ffd700;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Professional Features Grid */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 90, 96, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.feature-card h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Professional Benefits */
.benefit-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px var(--shadow-light);
    border-left: 6px solid var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Success Stories for Matchmakers */
.success-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 35px var(--shadow-light);
    height: 100%;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.matchmaker-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.success-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    position: relative;
}

.success-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.earnings-badge {
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Statistics for Matchmakers */
.stats-section {
    background: var(--gradient-light);
    padding: 6rem 0;
    position: relative;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-light);
    height: 100%;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpolygon points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E");
    /* animation: float 30s infinite linear; */
}

.btn-cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffa726 100%);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 3rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 100%);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    border-radius: 50px;
    padding: 1.2rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Section Spacing */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Pricing Card Styling */
.pricing-card {
    position: relative;
    border: 3px solid var(--primary-color);
}

.price-display {
    text-align: center;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.membership-benefits ul li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Application Form Styling */
.application-form {
    border: 2px solid var(--border-color);
}

.application-form .form-control:focus,
.application-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 90, 96, 0.25);
}

.application-form .form-floating>label {
    color: var(--text-secondary);
}

.application-form .form-floating>.form-control:focus~label,
.application-form .form-floating>.form-select:focus~label {
    color: var(--primary-color);
}

/* File upload styling */
.form-control[type="file"] {
    padding: 0.75rem;
}

.form-control[type="file"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 90, 96, 0.25);
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {

    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .feature-card,
    .benefit-item,
    .success-card,
    .stat-card,
    .btn-cta,
    .btn-secondary {
        transition: none;
    }

    .hero-matchmaker::before,
    .cta-section::before {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --text-primary: #000000;
        --text-secondary: #000000;
    }
}


/* File Upload Styling */
.file-upload-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.file-group {
    position: relative;
    cursor: pointer;
}

.file-group input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-placeholder {
    flex: 1;
    padding: 15px 20px;
    color: var(--text-light);
    font-weight: 400;
    pointer-events: none;
}

.file-group:hover .file-placeholder {
    color: var(--primary-color);
}


/* Invalid Feedback */
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc3545;
    font-weight: 500;
}

.field-group.is-invalid,
.field-group:has(.is-invalid) {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.field-group.is-invalid .icon,
.field-group:has(.is-invalid) .icon {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .field-group input,
    .field-group select,
    .field-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .custom-checkbox label {
        font-size: 0.95rem;
        padding-left: 30px;
    }

    .checkmark {
        height: 20px;
        width: 20px;
    }

    .custom-checkbox .checkmark:after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
    }
}

/* Focus States for Accessibility */
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
}

.custom-checkbox input:focus~.checkmark {
    box-shadow: 0 0 0 3px rgba(255, 90, 96, 0.2);
}

/* Animation for Success States */
.field-group.is-valid {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.field-group.is-valid .icon {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* Loading State */
.field-group.loading {
    pointer-events: none;
    opacity: 0.7;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Custom Checkbox */
.custom-checkbox input[type="checkbox"] {
    height: 22px;
    width: 22px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
}
