/*
 * =====================================================
 * VELLALAR PILLAI MATRIMONY - Theme CSS
 * Design inspired by scamatrimony.com
 * =====================================================
 */

/* ========== Google Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors */
    --primary: #a40034;
    --primary-dark: #8a002c;
    --primary-light: #c4003f;
    --primary-rgb: 164, 0, 52;

    /* Secondary Colors */
    --secondary: #ff6b6b;
    --secondary-dark: #ee5a5a;

    /* Accent Colors */
    --gold: #f7941d;
    --gold-light: #ffb347;
    --purple: #6c5ce7;
    --teal: #00b894;

    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Background Colors */
    --bg-light: #f5f5f5;
    --bg-cream: #fff9f5;
    --bg-gradient: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #f5f0ff 100%);

    /* Text Colors */
    --text-dark: #212529;
    --text-body: #555555;
    --text-muted: #6c757d;
    --text-light: #999999;

    /* Border Colors */
    --border: #e5e5e5;
    --border-light: #f0f0f0;

    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 25px rgba(164, 0, 52, 0.25);

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========== Utility Classes ========== */
.section-padding {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-bg-gradient {
    background: var(--bg-gradient);
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding: 0 20px;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-header .subtitle::before {
    left: -20px;
}

.section-header .subtitle::after {
    right: -20px;
}

.section-header .title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header .title span {
    color: var(--primary);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.btn-secondary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

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

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

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

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-rounded {
    border-radius: var(--radius-full);
}

/* ========== HEADER STYLES ========== */

/* Top Header */
.top-header {
    background: var(--primary);
    padding: 8px 0;
    color: var(--white);
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-header-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.top-header-left a:hover {
    opacity: 0.85;
}

.top-header-left i {
    font-size: 16px;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header-right .social-links {
    display: flex;
    gap: 10px;
}

.top-header-right .social-links a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.top-header-right .social-links a:hover {
    background: var(--white);
    color: var(--primary);
}

/* Main Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 55px;
    width: auto;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    transform: scaleX(1);
}

/* Dropdown Menu */
.main-nav ul li.has-submenu > a {
    position: relative;
    padding-right: 25px;
}

.main-nav ul li.has-submenu > a::before {
    content: '\f107';
    font-family: 'IcoFont';
    position: absolute;
    right: 0;
    font-size: 12px;
    transition: var(--transition);
    color: var(--text-muted);
}

.main-nav ul li.has-submenu:hover > a::before {
    transform: rotate(180deg);
    color: var(--primary);
}

.main-nav ul li .submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid rgba(164, 0, 52, 0.08);
    overflow: hidden;
}

.main-nav ul li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu divider */
.main-nav ul li .submenu li:not(:last-child) {
    border-bottom: 1px solid rgba(164, 0, 52, 0.06);
}

.main-nav ul li .submenu li:first-child a {
    border-radius: var(--radius) var(--radius) 0 0;
}

.main-nav ul li .submenu li:last-child a {
    border-radius: 0 0 var(--radius) var(--radius);
}

.main-nav ul li .submenu li {
    position: relative;
}

.main-nav ul li .submenu li a {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.main-nav ul li .submenu li a i {
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
    width: 18px;
    text-align: center;
}

.main-nav ul li .submenu li a::after {
    display: none;
}

.main-nav ul li .submenu li a:hover {
    background: linear-gradient(90deg, rgba(164, 0, 52, 0.08) 0%, rgba(164, 0, 52, 0.02) 100%);
    border-left-color: var(--primary);
    padding-left: 23px;
    color: var(--primary);
}

.main-nav ul li .submenu li a:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.main-nav ul li .submenu li a.active {
    background: linear-gradient(90deg, rgba(164, 0, 52, 0.12) 0%, rgba(164, 0, 52, 0.04) 100%);
    border-left-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding-left: 23px;
}

.main-nav ul li .submenu li a.active i {
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .btn {
    padding: 10px 22px;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-register {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: var(--white);
}

.btn-register:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.mobile-menu-toggle span:first-child {
    top: 12px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle span:last-child {
    bottom: 12px;
}

.mobile-menu-toggle.active span:first-child {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

/* ========== HERO / BANNER SECTION ========== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #f8f5ff 100%);
    padding: 60px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(164, 0, 52, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    top: 10%;
    left: 5%;
    width: 80px;
    opacity: 0.6;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    top: 20%;
    right: 10%;
    width: 120px;
    opacity: 0.5;
    animation-delay: 1s;
}

.hero-shapes .shape-3 {
    bottom: 15%;
    left: 10%;
    width: 100px;
    opacity: 0.4;
    animation-delay: 2s;
}

.hero-shapes .shape-4 {
    bottom: 30%;
    right: 5%;
    width: 60px;
    opacity: 0.5;
    animation-delay: 3s;
}

.hero-shapes .shape-5 {
    top: 50%;
    left: 50%;
    width: 150px;
    opacity: 0.3;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

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

.hero-text {
    padding-right: 30px;
}

.hero-text .subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.hero-text .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--primary);
    position: relative;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(164, 0, 52, 0.15);
    z-index: -1;
}

.hero-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 480px;
}

.hero-text .hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.hero-image .circle-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(164, 0, 52, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Search Box */
.hero-search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.hero-search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-search-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    text-align: center;
}

.hero-search-box h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.hero-search-box > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 14px;
}

.search-form .form-group {
    margin-bottom: 20px;
}

.search-form .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-form .form-control,
.search-form .form-select {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: var(--transition);
    appearance: none;
}

.search-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a40034' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 40px;
}

.search-form .form-control:focus,
.search-form .form-select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(164, 0, 52, 0.1);
}

.search-form .age-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form .age-range .form-select {
    flex: 1;
}

.search-form .age-range span {
    color: var(--text-muted);
    font-weight: 500;
}

.search-form .btn-search {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.work-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.work-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    z-index: 0;
}

.work-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.work-step-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.work-step-icon::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px dashed rgba(164, 0, 52, 0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.work-step-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.work-step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 35px;
    height: 35px;
    background: var(--gold);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4);
}

.work-step:hover .work-step-icon {
    background: var(--primary);
    transform: scale(1.05);
}

.work-step:hover .work-step-icon::before {
    border-color: rgba(255, 255, 255, 0.3);
}

.work-step:hover .work-step-icon img {
    filter: brightness(0) invert(1);
}

.work-step h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.work-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.work-step-arrow {
    position: absolute;
    top: 55px;
    right: -45px;
    width: 60px;
    opacity: 0.5;
}

/* ========== RECENTLY REGISTERED MEMBERS SECTION ========== */
.recent-members {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Brides Section - Alternate Background */
.recent-brides {
    background: var(--white);
}

/* Member Card - Circular Photo Style */
.member-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-card-photo {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.member-card-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.member-card:hover .member-card-photo img {
    border-color: var(--primary);
    transform: scale(1.05);
}

.member-card-photo .verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid var(--white);
}

.member-card-info {
    flex: 1;
    width: 100%;
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-name a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.member-name a:hover {
    color: var(--primary-dark);
}

.member-id-age {
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-details {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.member-details li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-details li:last-child {
    border-bottom: none;
}

.member-details li i {
    color: var(--primary);
    width: 18px;
    text-align: center;
    font-size: 14px;
}

/* Members Empty State */
.members-empty-state {
    text-align: center;
    padding: 80px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.members-empty-state .empty-state-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(164, 0, 52, 0.1) 0%, rgba(247, 148, 29, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.members-empty-state .empty-state-icon i {
    font-size: 60px;
    color: var(--primary);
}

.members-empty-state h4 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.members-empty-state p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Badge Styles */
.badge {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

.badge-verified {
    background: var(--teal);
    color: var(--white);
}

.badge-featured {
    background: var(--gold);
    color: var(--white);
}

.badge-new {
    background: var(--primary);
    color: var(--white);
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

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

.stat-item i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us {
    padding: 80px 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(164, 0, 52, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(164, 0, 52, 0.1) 0%, rgba(247, 148, 29, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature-card-icon i {
    font-size: 38px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-card-icon {
    background: var(--primary);
}

.feature-card:hover .feature-card-icon i {
    color: var(--white);
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--white) 50%, #f5f0ff 100%);
    text-align: center;
    position: relative;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-section::before { top: 0; }
.cta-section::after { bottom: 0; }

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.cta-content h2 span {
    color: var(--primary);
}

.cta-content p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========== FOOTER STYLES ========== */
.footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    color: var(--white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget {
    margin-bottom: 30px;
}

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

.footer-logo img {
    max-height: 50px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-widget h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links li a::before {
    content: '\ea5f';
    font-family: 'IcoFont';
    font-size: 10px;
    color: var(--primary);
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact li i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.footer-contact li span {
    line-height: 1.7;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-copyright a {
    color: var(--primary);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ========== BREADCRUMB ========== */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Override Bootstrap Breadcrumb */
.breadcrumb-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.breadcrumb-section .breadcrumb-item {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-section .breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-section .breadcrumb-item.active {
    color: var(--gold);
}

.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    content: '/' !important;
    color: rgba(255, 255, 255, 0.5);
    padding-right: 8px;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.breadcrumb-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.breadcrumb-nav a,
.breadcrumb-nav span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav i {
    font-size: 12px;
    color: var(--gold);
}

.breadcrumb-nav span.active {
    color: var(--gold);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1199px) {
    .hero-text h1 {
        font-size: 40px;
    }

    .profile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .top-header {
        display: none;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        padding: 15px 0;
    }

    .main-nav ul li a::after {
        display: none;
    }

    .main-nav ul li .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
        border: none;
        background: rgba(164, 0, 52, 0.03);
        margin-top: 5px;
        border-radius: 0;
    }

    .main-nav ul li.has-submenu.open .submenu {
        display: block;
    }

    .main-nav ul li .submenu li a {
        padding: 12px 15px;
        border-left: none;
        border-bottom: 1px solid rgba(164, 0, 52, 0.08);
    }

    .main-nav ul li .submenu li:last-child a {
        border-bottom: none;
    }

    .main-nav ul li .submenu li a:hover,
    .main-nav ul li .submenu li a.active {
        background: rgba(164, 0, 52, 0.1);
        padding-left: 20px;
        border-left: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .subtitle::before {
        display: none;
    }

    .hero-text .subtitle {
        padding-left: 0;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-text .hero-btns {
        justify-content: center;
    }

    .work-steps {
        flex-wrap: wrap;
    }

    .work-steps::before {
        display: none;
    }

    .work-step {
        max-width: 100%;
        flex: 0 0 calc(50% - 15px);
    }

    .work-step-arrow {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .section-header .title {
        font-size: 28px;
    }

    .hero-search-box {
        padding: 25px;
    }

    .hero-search-box h3 {
        font-size: 20px;
    }

    .work-step {
        flex: 0 0 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text .hero-btns {
        flex-direction: column;
    }

    .hero-text .hero-btns .btn {
        width: 100%;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .breadcrumb-content h1 {
        font-size: 28px;
    }
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* ========== ALERTS ========== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    animation: slideDown 0.3s ease;
}

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

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.alert-dismissible {
    padding-right: 50px;
}

.alert-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.alert-close:hover {
    opacity: 1;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 80px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state h4 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(164, 0, 52, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a40034' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 40px;
}

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

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.card-body {
    padding: 25px;
}

.card-footer {
    padding: 15px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

/* ========== TABLES ========== */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.table th {
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr:hover {
    background: var(--bg-light);
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
    pointer-events: none;
}
