/* ========== Reset & Base ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e6007e;
    --primary-dark: #c2006a;
    --maroon: #4a2028;
    --maroon-light: #5c2d35;
    --dark: #2d1015;
    --text: #333;
    --text-light: #666;
    --bg: #f9f9f9;
    --white: #fff;
    --border: #ddd;
    --radius: 50px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select {
    font-family: inherit;
}

/* ========== Top Bar ========== */
.top-bar {
    background: var(--white);
    border-bottom: 1px solid #eee;
    font-size: 0.8rem;
    padding: 6px 0;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-select select {
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: var(--text);
    background: var(--white);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: var(--text);
    font-size: 0.78rem;
    transition: color var(--transition);
}

.top-bar-right a:hover {
    color: var(--primary);
}

.top-bar-right .fa-phone,
.top-bar-right .fa-envelope {
    margin-right: 4px;
    color: var(--primary);
}

.btn-stay {
    border: 1px solid var(--primary) !important;
    padding: 4px 16px !important;
    border-radius: 4px;
    color: var(--primary) !important;
    font-weight: 500;
    transition: all var(--transition);
}

.btn-stay:hover {
    background: var(--primary);
    color: var(--white) !important;
}

/* ========== Navbar ========== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 65px;
    flex-wrap: wrap;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    height: 50px;
    width: auto;
}

.yuvashakti-badge {
    background: var(--primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--text);
    padding: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
    white-space: nowrap;
}

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

.nav-links .fa-chevron-down {
    font-size: 0.6rem;
    margin-left: 3px;
}

.nav-links li {
    position: relative;
}

.nav-links li + li::before {
    content: '|';
    color: #ccc;
    font-size: 0.75rem;
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
}

/* Nav Login Button */
.nav-login-btn {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 8px 22px !important;
    border-radius: 6px;
    transition: all 0.3s ease !important;
}

.nav-login-btn:hover {
    background: var(--maroon) !important;
    color: var(--white) !important;
    box-shadow: 0 3px 10px rgba(74, 32, 40, 0.3);
    transform: translateY(-1px);
}

/* ========== Hero ========== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background: #1a0a0e;
}

/* Hero Slider */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.08), rgba(0,0,0,0.3));
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    padding-right: 8%;
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: var(--primary);
    font-weight: 700;
    font-style: italic;
    max-width: 500px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

/* Side Buttons */
.side-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.side-buttons.left {
    left: 0;
}

.side-buttons.right {
    right: 0;
}

.side-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 14px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 0;
}

.side-buttons.left .side-btn {
    transform: rotate(180deg);
}

.side-btn.donation {
    background: var(--primary);
}

.side-btn.darshan {
    background: var(--maroon);
}

.side-btn.pooja-reg {
    background: var(--primary);
    border: 2px solid #fff;
    animation: pulse-glow 2s infinite;
}

.side-btn.happiness {
    background: var(--primary);
}

.side-btn.tours {
    background: var(--maroon);
}

.side-btn:hover {
    filter: brightness(1.15);
    transform: scale(1.03);
}

.side-buttons.left .side-btn:hover {
    transform: rotate(180deg) scale(1.03);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(230, 0, 126, 0.4); }
    50% { box-shadow: 0 0 20px rgba(230, 0, 126, 0.8); }
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background var(--transition);
}

.dot.active {
    background: var(--primary);
}

/* Slider Arrows */
.slider-arrows {
    position: absolute;
    bottom: 25px;
    right: 30px;
    display: flex;
    gap: 8px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
    background: rgba(0, 0, 0, 0.2);
}

.arrow-btn:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

/* ========== Section: Registration ========== */
.section-registration {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #fdf6f9 0%, #fff 40%, #fdf6f9 100%);
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--maroon);
    font-weight: 700;
    margin-bottom: 10px;
}

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

.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0 auto 18px;
    line-height: 1.6;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.title-divider span {
    width: 50px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.title-divider i {
    color: var(--primary);
    font-size: 1rem;
}

/* Registration Card */
.reg-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 20px rgba(74, 32, 40, 0.06);
    border: 1px solid #f0e4e7;
    margin-bottom: 24px;
}

.reg-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.reg-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reg-card-icon.icon-secondary {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
}

.reg-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 2px;
}

.reg-card-desc {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Registration Form Fields */
.reg-row {
    margin-bottom: 22px;
}

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

.reg-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--maroon);
    margin-bottom: 6px;
}

.reg-field label .req {
    color: var(--primary);
}

.reg-field input,
.reg-field select {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e0d5d8;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text);
    background: #fefcfd;
    outline: none;
    transition: all var(--transition);
    font-family: inherit;
}

.reg-field input::placeholder {
    color: #bbb;
}

.reg-field input:focus,
.reg-field select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.08);
}

/* Registering As Row */
.reg-type-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f0e4e7;
    flex-wrap: wrap;
}

.reg-label-pill {
    background: #fdf0f5;
    border: 1.5px solid #f0d0dd;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--maroon);
    white-space: nowrap;
}

.reg-label-pill i {
    margin-right: 6px;
    color: var(--primary);
}

.reg-radio-group {
    display: flex;
    gap: 14px;
}

.reg-radio input[type="radio"] {
    display: none;
}

.reg-radio-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1.5px solid #e0d5d8;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text);
    background: var(--white);
    transition: all var(--transition);
    font-weight: 500;
}

.reg-radio-box i {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: color var(--transition);
}

.reg-radio input[type="radio"]:checked + .reg-radio-box {
    border-color: var(--primary);
    background: #fdf0f5;
    color: var(--primary);
}

.reg-radio input[type="radio"]:checked + .reg-radio-box i {
    color: var(--primary);
}

.reg-radio-box:hover {
    border-color: var(--primary);
}

/* Add Member Button */
.btn-add-member {
    margin-left: auto;
    background: var(--primary);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}

.btn-add-member:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.25);
}

/* No Members Message */
.no-members-msg {
    text-align: center;
    padding: 30px 20px;
    color: #bbb;
}

.no-members-msg i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #e0d5d8;
}

.no-members-msg p {
    font-size: 0.85rem;
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Dynamic Member Row */
.member-entry {
    background: #fefcfd;
    border: 1.5px solid #f0e4e7;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 16px;
    animation: slideUp 0.3s ease;
}

.member-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.member-entry-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--maroon);
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-entry-header h4 .member-num {
    background: var(--primary);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.btn-remove {
    color: #c0392b;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition);
    padding: 4px 10px;
    border-radius: 6px;
}

.btn-remove:hover {
    background: #fdeaea;
    color: #e74c3c;
}

.member-entry-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.member-entry-fields label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--maroon);
    margin-bottom: 5px;
}

.member-entry-fields input,
.member-entry-fields select {
    width: 100%;
    padding: 9px 14px;
    border: 1.5px solid #e0d5d8;
    border-radius: 8px;
    font-size: 0.84rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition);
    font-family: inherit;
}

.member-entry-fields input:focus,
.member-entry-fields select:focus {
    border-color: var(--primary);
}

/* Submit Area */
.reg-submit-area {
    text-align: center;
    margin-top: 36px;
}

.btn-reg-submit {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(74, 32, 40, 0.2);
}

.btn-reg-submit:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 126, 0.3);
}

/* Success Message */
.reg-success {
    margin-top: 24px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    padding: 18px 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    animation: slideUp 0.4s ease;
}

.reg-success i {
    color: #16a34a;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.reg-success p {
    color: #15803d;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
}

/* ========== Upcoming Events List ========== */
.events-section {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 20px rgba(74, 32, 40, 0.06);
    border: 1px solid #f0e4e7;
}

.events-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.events-section-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.events-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 2px;
}

.events-section-desc {
    font-size: 0.82rem;
    color: var(--text-light);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #fefcfd;
    border: 1.5px solid #f0e4e7;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.event-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 18px rgba(230, 0, 126, 0.08);
    transform: translateY(-2px);
}

.event-date-badge {
    width: 72px;
    min-width: 72px;
    height: 80px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.event-date-day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.event-date-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.event-date-year {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 1px;
}

.event-details {
    flex: 1;
    min-width: 0;
}

.event-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.event-meta-item i {
    color: var(--primary);
    font-size: 0.78rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.event-action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.event-location-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid #e0d5d8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.event-location-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fdf0f5;
}

.event-register-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.event-register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(230, 0, 126, 0.3);
}

/* ========== Footer Strip ========== */
.footer-strip {
    height: 6px;
    background: linear-gradient(to right, var(--maroon), var(--primary), var(--maroon));
}

/* ========== Modal Overlay ========== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

/* Modal Hero Card (Steps 1 & 2 - with image) */
.modal-hero-card {
    display: flex;
    width: 100%;
    max-width: 800px;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
    position: relative;
}

.modal-hero-img {
    flex: 1;
    min-width: 0;
}

.modal-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-hero-body {
    flex: 0 0 380px;
    background: var(--white);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-close-light {
    color: var(--white);
    background: rgba(0, 0, 0, 0.35);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 12px;
    right: 12px;
}

.modal-close-light:hover {
    background: var(--primary);
    color: var(--white);
}

/* Modal Card (Step 3 - form only) */
.modal-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

.modal-card-large {
    max-width: 900px;
    padding: 36px 40px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: color var(--transition);
    z-index: 5;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--maroon);
    margin-bottom: 28px;
    font-weight: 700;
}

/* ========== Buttons ========== */
.btn-primary {
    background: var(--maroon);
    color: var(--white);
    padding: 14px 30px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: var(--maroon-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 32, 40, 0.3);
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
}

/* ========== Form Styles ========== */
.form-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--maroon);
    margin-bottom: 24px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

/* OTP form spacing */
#otpForm .form-group {
    margin-bottom: 16px;
}

/* Form Rows */
.form-row {
    margin-bottom: 20px;
}

.form-row.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Registering As Row */
.registering-as-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.label-pill {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--maroon);
    white-space: nowrap;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 28px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--text);
    font-weight: 400;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

/* ========== Add Members ========== */
.add-members-section {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.add-members-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.btn-add {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--maroon);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition);
}

.btn-add:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Member Row */
.member-row {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
    animation: slideUp 0.3s ease;
}

.member-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.member-row-header h4 {
    font-size: 0.9rem;
    color: var(--maroon);
    font-weight: 600;
}

.btn-remove-member {
    color: #c0392b;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition);
}

.btn-remove-member:hover {
    color: #e74c3c;
}

.member-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.member-fields input,
.member-fields select {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition);
}

.member-fields input:focus,
.member-fields select:focus {
    border-color: var(--primary);
}

/* ========== Submit & Success ========== */
.form-actions {
    margin-top: 30px;
}

.btn-submit {
    background: var(--maroon);
    color: var(--white);
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition);
}

.btn-submit:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.3);
}

.success-message {
    margin-top: 16px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========== Utility ========== */
.hidden {
    display: none !important;
}

/* ========== Responsive ========== */

/* Tablet */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        border-top: 1px solid #eee;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li + li::before {
        display: none;
    }

    .nav-links a {
        padding: 10px 0;
        width: 100%;
        display: block;
    }

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

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-quote {
        font-size: 1.3rem;
    }

    .side-btn {
        padding: 10px 6px;
        font-size: 0.65rem;
    }

    .modal-card-large {
        max-width: 95%;
        padding: 24px;
    }

    .form-row.three-col {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .modal-hero-card {
        max-width: 95%;
    }

    .modal-hero-body {
        flex: 0 0 320px;
        padding: 30px 24px;
    }

    .section-registration {
        padding: 50px 0 60px;
    }

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

    .reg-card {
        padding: 24px;
    }

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

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

    .btn-add-member {
        margin-left: 0;
        margin-top: 8px;
    }

    .events-section {
        padding: 24px;
    }

    .event-item {
        gap: 16px;
        padding: 18px 20px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        padding: 6px 14px;
    }

    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        font-size: 0.72rem;
    }

    .nav-left {
        gap: 8px;
    }

    .logo img {
        height: 38px;
    }

    .yuvashakti-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    .hero {
        height: 55vh;
        min-height: 350px;
        justify-content: center;
    }

    .hero-content {
        padding-right: 0;
        padding: 0 20px;
        text-align: center;
    }

    .hero-quote {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .side-buttons {
        display: none;
    }

    .slider-arrows {
        right: 15px;
        bottom: 15px;
    }

    .arrow-btn {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }

    .modal-hero-card {
        flex-direction: column;
        max-width: 95%;
        min-height: auto;
    }

    .modal-hero-img {
        max-height: 200px;
    }

    .modal-hero-body {
        flex: none;
        padding: 28px 20px;
    }

    .modal-card {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .form-heading {
        font-size: 1.2rem;
    }

    .form-row.three-col {
        grid-template-columns: 1fr;
    }

    .registering-as-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .member-fields {
        grid-template-columns: 1fr;
    }

    .modal-card-large {
        padding: 20px 16px;
    }

    .section-registration {
        padding: 40px 0 50px;
    }

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

    .section-subtitle {
        font-size: 0.85rem;
    }

    .reg-card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .reg-grid-3 {
        grid-template-columns: 1fr;
    }

    .reg-type-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .reg-radio-group {
        width: 100%;
    }

    .reg-radio-box {
        padding: 10px 18px;
        font-size: 0.88rem;
    }

    .member-entry-fields {
        grid-template-columns: 1fr;
    }

    .member-entry {
        padding: 16px;
    }

    .events-section {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .events-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-item {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 16px;
    }

    .event-date-badge {
        width: 100%;
        min-width: unset;
        height: auto;
        flex-direction: row;
        gap: 8px;
        padding: 10px 16px;
        border-radius: 10px;
    }

    .event-date-day {
        font-size: 1.2rem;
    }

    .event-date-month {
        font-size: 0.78rem;
        margin-top: 0;
    }

    .event-date-year {
        font-size: 0.7rem;
        margin-top: 0;
    }

    .event-action {
        justify-content: stretch;
    }

    .event-register-btn {
        flex: 1;
        text-align: center;
        padding: 12px 20px;
    }

    .event-location-link {
        width: 44px;
        height: 44px;
    }

    .reg-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-add-member {
        width: 100%;
        justify-content: center;
    }

    .btn-reg-submit {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }

    .reg-success {
        flex-direction: column;
        text-align: center;
    }

    .reg-success p {
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .top-bar {
        display: none;
    }

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

    .modal-card {
        padding: 22px 16px;
    }
}

