@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #0f172a;
    /* Deep Slate */
    --secondary-color: #1e3a8a;
    /* Royal Blue */
    --accent-color: #eab308;
    /* Elegant Gold */
    --accent-hover: #ca8a04;
    /* Darker Gold */
    --bg-color: #f8fafc;
    /* Light slate bg */
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

::-webkit-scrollbar {
    width: 5px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

/* Thumb (scroll handle) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #33333342, #0000005e);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #555, #222);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    flex: 1;
}

/* Top Header / Announcement Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact span {
    margin-right: 1.5rem;
}

/* Main Navigation Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Primary Buttons */
.btn-join {
    background: var(--secondary-color);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.btn-join:hover {
    background: white;
    color: var(--secondary-color) !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-join::after {
    display: none !important;
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: none;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%), url('https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=1920') center/cover no-repeat;
    padding: 8rem 0 6rem 0;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1.2s ease;
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid white;
    color: white !important;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color) !important;
}

/* Sections Styling */
.section {
    padding: 5rem 0;
}

.section-bg {
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* News Ticker */
.news-ticker-section {
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem 0;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 1rem;
}

.ticker-title {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    /* Higher stack to prevent text bleeding */
}

.ticker-content {
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    /* Prevents flex items from growing and overlapping */
    font-weight: 500;
}

/* Members Grid & Directory */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
}

.member-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-img {
    height: 250px;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-secondary);
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.member-info .role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.member-info .school {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #94a3b8;
    padding: 4rem 0 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #334155;
}

.footer-col h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

/* Inner Page Headers */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(30, 58, 138, 0.85)), url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?q=80&w=1920') center/cover no-repeat;
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.page-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: white;
}

/* Form Styles (Contact & Join) */
.form-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: -3rem auto 0 auto;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    /* margin-top: -3rem; */
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background: var(--secondary-color);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
    color: white;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.info-item h5 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.form-box {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
    min-width: 0;
    /* Prevents grid items from expanding beyond track */
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

input[type="file"].form-control {
    max-width: 100%;
    overflow: hidden;
}

.btn-submit {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    background: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .btn-join {
        margin-top: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-box,
    .form-container {
        padding: 2rem 1.25rem;
        max-width: 100%;
    }

    .step-tracker {
        gap: 30px;
        margin-bottom: 2rem;
    }

    .step-tracker::after {
        width: 120px;
    }

    .step-label {
        font-size: 0.72rem;
        letter-spacing: 0px;
    }

    .payment-gateway-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Refactored Shared Utility & Helper Classes */
.top-social a {
    margin-left: 15px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    background: #1e293b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-links a i {
    font-size: 0.7rem;
    margin-right: 5px;
}

.footer-contact-list {
    color: #94a3b8 !important;
}

.footer-contact-list li {
    margin-bottom: 1rem;
}

.footer-contact-list li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.ticker-icon {
    color: var(--accent-color);
    margin-right: 5px;
}

.split-feature {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.split-feature-title {
    font-size: 2.5rem;
    margin: 0.5rem 0 1.5rem 0;
}

.split-feature h4 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.split-feature p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.split-feature-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-fluid {
    width: 100%;
    display: block;
}

.img-round-shadow {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.section-dark-cta {
    background: #1e3a8a;
    color: white;
    text-align: center;
}

.section-dark-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.section-dark-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-light-blue-bg {
    background: #eef2f6;
}

.vision-mission-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.vision-card {
    border-left: 6px solid var(--secondary-color);
}

.mission-card {
    border-left: 6px solid var(--accent-color);
}

.vision-mission-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.vision-card .vision-mission-card-icon {
    color: var(--secondary-color);
}

.mission-card .vision-mission-card-icon {
    color: var(--accent-color);
}

.vision-mission-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vision-mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.container-small {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-inline {
    display: inline-block;
}

.rounded-square {
    border-radius: 6px !important;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stats-number {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stats-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
}

.page-header-deep {
    padding-bottom: 8rem !important;
}

.page-header-moderately-deep {
    padding-bottom: 7rem !important;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs-spaced {
    margin-top: 1rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.form-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.form-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-container h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.form-container p.form-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Alerts styles to remove inlines from CodeBehind and HTML */
.alert {
    display: block;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.text-center {
    text-align: center !important;
}

.margin-bottom-none {
    margin-bottom: 0 !important;
}

.form-section-divider {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.form-section-divider-top {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-star {
    color: red;
}

.submit-wrap {
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: center;
}

.submit-wrap p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: left;
}

.btn-large-submit {
    padding: 1.2rem !important;
    font-size: 1.1rem !important;
    max-width: 400px;
}

/* Re-engineering Select2 structure to perfectly blend with AVP Sabha Global Form Theme */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 47px !important;
    /* Precision padding + borders */
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important;
    transition: var(--transition) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary) !important;
    padding-left: 1rem !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px !important;
    right: 12px !important;
}

/* Pixel-Perfect Realignment of the Clear '×' Icon */
.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 32px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    line-height: 1 !important;
    height: auto !important;
    z-index: 5 !important;
    transition: color 0.2s ease;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #ef4444 !important;
}

/* Hover & Focus States */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default .select2-selection--single:focus-within {
    outline: none !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1) !important;
}

/* Popup Dropdown Panel styling */
.select2-dropdown {
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-lg) !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    margin-top: 4px !important;
}

/* Live Search Box styling */
.select2-container--default .select2-search--dropdown {
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    outline: none !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.08) !important;
}

/* Option Rows styling */
.select2-container--default .select2-results__option--selectable {
    padding: 10px 1.25rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.925rem !important;
    color: var(--text-secondary) !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.select2-container--default .select2-results__option--selectable:last-child {
    border-bottom: none !important;
}

/* Active/Hovered Option */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
}

/* Selected Option checkmark placeholder indicator */
.select2-container--default .select2-results__option--selected {
    background-color: #eff6ff !important;
    color: var(--secondary-color) !important;
    font-weight: 500 !important;
}

/* Step Progress Tracker Styling */
.step-tracker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    gap: 100px;
}

.step-tracker::after {
    content: '';
    position: absolute;
    height: 2px;
    background: #e2e8f0;
    width: 220px;
    z-index: 1;
    top: 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    background: #ffffff;
    padding: 0 15px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #e2e8f0;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.step-item.active .step-circle {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-item.active .step-label {
    color: var(--secondary-color);
}

/* Payment Screen Widgets */
.payment-gateway-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.payment-qr-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.payment-qr-card img {
    max-width: 220px;
    border-radius: 8px;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    background: white;
    padding: 5px;
}

.payment-info-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.gateway-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.gateway-row:last-child {
    border-bottom: none;
}

.gateway-key {
    font-weight: 600;
    color: #64748b;
    font-size: 0.9rem;
}

.gateway-val {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.payment-prompt-banner {
    background: #fefce8;
    border: 1px solid #fef08a;
    color: #854d0e;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .payment-gateway-grid {
        grid-template-columns: 1fr;
    }

    .step-tracker {
        gap: 40px;
    }

    .step-tracker::after {
        width: 100px;
    }
}

/* ==========================================
   Certified Live Registry Marquee Section
   ========================================== */
.registry-ticker-section {
    background: #f1f5f9;
    padding: 2.25rem 0;
    border-top: 1.5px solid #e2e8f0;
    border-bottom: 1.5px solid #e2e8f0;
    overflow: hidden;
}

.registry-flex-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.registry-anchor-badge {
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.35);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.registry-anchor-badge i {
    font-size: 1.35rem;
    color: #fbbf24;
}

.registry-anchor-content {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0.75rem;
}

.registry-anchor-content h5 {
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: #bfdbfe;
}

.registry-anchor-content h4 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #ffffff;
}

.registry-stream-container {
    flex-grow: 1;
    overflow: hidden;
    min-width: 250px;
    display: flex;
    align-items: center;
}

.registry-marquee {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
}

.registry-member-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    padding: 0.4rem 1.15rem;
    border-radius: 30px;
    margin-right: 0.5rem;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.registry-member-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.registry-member-pill i {
    color: #10b981;
    margin-right: 0.6rem;
    font-size: 0.88rem;
}

.registry-member-name {
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
}

.registry-member-divider {
    color: #cbd5e1;
    margin: 0 0.65rem;
    font-weight: 300;
}

.registry-member-school {
    color: #1e40af;
    font-weight: 800;
    font-size: 0.95rem;
}

.registry-no-data {
    color: #64748b;
    font-style: italic;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ==========================================================================
   STEP 2 PAYMENT GATEWAY MODULE
   ========================================================================== */
.invoice-card {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 4px solid #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.invoice-icon {
    background: #eff6ff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.invoice-content {
    flex-grow: 1;
}

.invoice-meta {
    font-size: 0.8rem;
    color: #64748b;
    border-left: 1px solid #eaeaea;
    padding-left: 1.5rem;
    max-width: 320px;
    line-height: 1.4;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.invoice-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.invoice-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-top: 0.2rem;
}

.invoice-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
}

.invoice-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.invoice-desc-title {
    color: #475569;
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.payment-form-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.step2-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* ==========================================================================
   STEP 2 RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    .invoice-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .invoice-meta {
        border-left: none;
        border-top: 1px solid #eaeaea;
        padding-left: 0;
        padding-top: 1rem;
        max-width: 100%;
        width: 100%;
    }

    .payment-form-container {
        padding: 1.25rem;
    }

    .step2-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .step2-actions .btn-submit {
        width: 100% !important;
        text-align: center;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   JOIN.ASPX SPECIFIC MODULAR CLASSES (REFACTORED FROM INLINE)
   ========================================================================== */
.form-desc {
    margin-bottom: 2rem;
}

.optional-text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: normal;
}

.label-note {
    color: #94a3b8;
    font-weight: normal;
    font-size: 0.8rem;
}

.file-input-control {
    padding: 0.65rem 1rem !important;
}

.file-input-help {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
}

.submit-wrap {
    margin-top: 1.5rem;
}

.empty-qr-placeholder {
    padding: 2rem 0;
    color: #94a3b8;
}

.empty-qr-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.empty-qr-text {
    font-size: 0.85rem;
}

.gateway-val-dark {
    color: #1e293b !important;
}

.gateway-val-navy {
    color: #1e3a8a !important;
}

.gateway-upi-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f8fafc;
}

.gateway-upi-title {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.gateway-upi-badge {
    border-bottom: none !important;
    background: #f1f5f9;
    padding: 10px 1rem !important;
    border-radius: 6px;
}

.gateway-upi-val {
    color: #059669 !important;
    font-family: monospace;
}

.payment-label {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.payment-utr-input {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.payment-utr-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
    display: block;
}

.payment-affirm-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-back-action {
    background: #e2e8f0 !important;
    color: #475569 !important;
    width: auto;
    min-width: 220px;
}

.gateway-card-title {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.payment-card-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 1rem;
}

.gateway-main-title {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.step2-actions .btn-submit:last-child {
    flex: 1;
}