/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

:root {
    --primary-gradient: linear-gradient(90deg, #E53E3E 0%, #1E40AF 100%);
    --primary-color: #1E40AF;
    --secondary-color: #1e40af;
    --accent-color: #E53E3E;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --primary-red: #E53E3E;
    --secondary-blue: #1E40AF;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
/* body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
} */

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(90deg, #E53E3E 0%, #1E40AF 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.search-bar {
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.search-bar input {
    border: none;
    outline: none;
    padding: 12px 20px;
    margin-bottom: 0px;
    box-shadow: none;
}

.search-bar .btn {
    border-radius: 40px;
    padding: 6px 25px;
}

.stats-section {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    /* color: var(--primary-color); */
    color:  #1c40af;
    margin-bottom: 10px;
}

.category-card {
    background: white;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(90deg, #E53E3E 0%, #1E40AF 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.merchant-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}

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

.merchant-logo {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge-verified {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border: none;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
}

.badge-new {
    /* background: linear-gradient(135deg, var(--accent-color), #f59e0b); */
    background: linear-gradient(90deg, #E53E3E 0%, #1E40AF 100%);
    color: white;
    border: none;
}

.cta-section {
    /* background: linear-gradient(135deg, var(--accent-color), #f59e0b); */
    background: linear-gradient(90deg, #E53E3E 0%, #1E40AF 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.broker-benefits {
    background: var(--bg-light);
    padding: 80px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    /* background: var(--primary-color); */
    background: linear-gradient(90deg, #E53E3E 0%, #1E40AF 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.location-filter {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

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

    .stats-section {
        margin-top: -30px;
        padding: 30px 20px;
    }
}

.btn-primary-custom,
.btn-secondary-custom {
    position: relative;
    color: #fff !important;
    /* font-size: 16px !important; */
    border-radius: 50px !important;
    /* font-weight: 600; */
    transition: all 0.3s !important;
    box-shadow: none;
    border: none;
    z-index: 1;
    padding: 4px 20px !important;
    cursor: pointer;
    overflow: hidden;
    background: var(--primary-gradient);
}


.btn-primary-custom::before,
.btn-secondary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* border thickness */
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
  filter: blur(0.5px);
  /* smoothens the edge */
}


.btn-secondary-custom:hover,
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}