/* ============================================
   UNION SITE PREMIUM DESIGN SYSTEM
   Maharashtra Rajya Swatantra Vidyut Kantrati Kamgar Sanghatna
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    --primary: #1a237e;
    --primary-light: #283593;
    --primary-dark: #0d1642;
    --primary-glow: rgba(26, 35, 126, 0.15);
    --accent: #ff6f00;
    --accent-light: #ff8f00;
    --accent-dark: #e65100;
    --accent-glow: rgba(255, 111, 0, 0.15);
    --success: #00c853;
    --danger: #d32f2f;
    --warning: #ffa000;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8888a0;
    --text-white: #ffffff;
    --bg-body: #f0f2f8;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-section-alt: #f5f6fa;
    --bg-dark: #0d1642;
    --bg-dark-accent: #1a2155;
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(26, 35, 126, 0.12);
    --shadow-accent-glow: 0 8px 32px rgba(255, 111, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    --font-body: 'Poppins', 'Noto Sans Devanagari', 'Segoe UI', sans-serif;
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    --gradient-accent: linear-gradient(135deg, #ff6f00 0%, #ff8f00 50%, #ffa000 100%);
    --gradient-hero: linear-gradient(135deg, #0d1642 0%, #1a237e 40%, #283593 100%);
    --gradient-dark: linear-gradient(135deg, #0d1642 0%, #1a2155 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Bilingual Toggle ---- */
[lang="en"] .mr,
[lang="mr"] .en {
    display: none;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-weight: 400;
}

/* ---- Constitution Insight Blocks ---- */
.constitution-insight {
    padding: 2.6rem 0;
    background: var(--bg-white);
}

.constitution-insight--muted {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.constitution-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.constitution-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
}

.constitution-card h3 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
    color: var(--primary);
}

.constitution-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.constitution-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-secondary);
    display: grid;
    gap: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.65;
}

.constitution-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--accent);
    background: rgba(255, 111, 0, 0.08);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
}

/* ---- Scroll Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Header Banner ---- */
.header-banner {
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.revolutionary-photos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef0f8 100%);
    overflow-x: auto;
}

.revolutionary-photos img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 3px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.revolutionary-photos img:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2rem;
    gap: 2rem;
    background: var(--bg-white);
}

.banner-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.banner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.banner-text-wrapper {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.banner-main-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--danger);
    line-height: 1.25;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.banner-registration {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.banner-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-top: 2px;
}

.banner-address-wrapper {
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.banner-address {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-white);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

/* ---- Navigation ---- */
header nav {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

nav .nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.lang-toggle {
    background: var(--gradient-accent);
    color: var(--text-white);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    font-size: 0.9rem;
    box-shadow: var(--shadow-accent-glow);
    letter-spacing: 0.02em;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 111, 0, 0.35);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 2px solid var(--border-medium);
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
}

/* ---- Hero Section ---- */
.hero {
    background: var(--gradient-hero);
    color: var(--text-white);
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 73, 171, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 10s ease-in-out infinite reverse;
}

@keyframes heroGlow {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(20px, -20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
    letter-spacing: -0.02em;
    animation: fadeInDown 0.8s ease forwards;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.92;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* ---- Buttons ---- */
.cta-button,
[data-section="cta_button"] {
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-accent-glow);
    border: 2px solid transparent;
    letter-spacing: 0.03em;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.cta-button:hover,
[data-section="cta_button"]:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(255, 111, 0, 0.4);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ---- Section Styles ---- */
.about-section,
.events-section,
.contact-section,
.history-section,
.mission-section,
.values-section,
.members-section,
.membership-info,
.registration-form-section,
.map-section,
.office-hours-section,
.faq-section {
    padding: 5rem 0;
}

.about-section,
.history-section,
.values-section,
.registration-form-section,
.office-hours-section {
    background: var(--bg-white);
}

.events-section,
.mission-section,
.members-section,
.membership-info,
.map-section,
.faq-section {
    background: var(--bg-section-alt);
}

/* ---- Premium Card System ---- */
.about-subsection,
.value-card,
.member-card,
.contact-info,
.contact-form,
.office-card,
.faq-item,
.membership-content,
.form-container {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-subsection:hover,
.value-card:hover,
.member-card:hover,
.office-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(26, 35, 126, 0.1);
}

/* Gradient top accent bar for cards */
.about-subsection::before,
.value-card::before,
.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.about-subsection {
    margin-top: 3rem;
    padding: 2.5rem;
}

.subsection-heading {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p,
.about-content-simple {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-charter-section {
    padding-top: 2.75rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 46%, #ffffff 100%);
}

.about-charter-shell {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1.2rem;
    margin: 0 auto 1.2rem;
    max-width: 1020px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.about-charter-intro {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 0.95rem;
}

.about-charter-intro p {
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.78;
    color: var(--text-secondary);
    margin: 0 0 0.95rem;
}

.about-charter-pill-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.about-charter-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    padding: 0.58rem 0.7rem;
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
}

.about-charter-pill i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.about-charter-grid {
    margin-top: 1rem;
}

.about-values-grid {
    margin-top: 1.2rem;
}

.about-vmo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-vmo-card {
    text-align: left;
    padding: 1.35rem 1.15rem 1.2rem;
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.about-vmo-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.about-value-icon {
    font-size: 1.45rem;
    margin-bottom: 0;
    color: var(--accent-light);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 111, 0, 0.12);
}

.about-vmo-card .value-title {
    margin-bottom: 0;
    font-size: 1.03rem;
    text-align: center;
    width: 100%;
}

.about-point-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.58rem;
    text-align: left;
}

.about-point-list li {
    position: relative;
    padding-left: 1.05rem;
    font-size: 0.89rem;
    line-height: 1.58;
    color: var(--text-secondary);
    text-align: left;
}

.about-point-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
}

.about-actions {
    margin-top: 1.4rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.about-link-btn {
    text-decoration: none;
    border: 1px solid #d6dde8;
    border-radius: var(--radius-sm);
    padding: 0.72rem 1rem;
    color: var(--text-primary);
    background: var(--bg-white);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.about-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.about-link-btn-primary {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--text-white);
}

.about-link-btn-secondary {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-white);
}

.home-section-btn {
    padding: 0.82rem 1.2rem;
    font-size: 0.94rem;
    box-shadow: var(--shadow-md);
}

/* Remove top accent borders from Home/About cards */
#about .value-card::before,
#contact .value-card::before,
.values-section .value-card::before,
.about-members-shell::before,
#events .program-card::before,
#sabhas .program-card::before,
.site-walkthrough-section .walkthrough-card::before,
.site-walkthrough-section .walkthrough-card::after {
    content: none;
}

.inspiration-section-home .inspiration-card,
.inspiration-section-home .inspiration-card.founder {
    border-top: 1px solid #dbe4ef;
}

.about-representation-panel {
    margin: 1rem auto 0;
    max-width: 1020px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

.about-representation-panel .objective-title {
    margin-bottom: 0.75rem;
}

.about-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.about-pillar-card {
    border: 1px solid #dfe7f3;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.about-pillar-card .objective-title {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.about-pillar-card .objective-text {
    margin-bottom: 0;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.62;
}

.about-governance-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-members-shell {
    max-width: 1020px;
    margin: 0 auto;
}

.about-members-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.about-members-block {
    border: 1px solid #dde5f1;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.about-members-block .objective-title {
    font-size: 1.02rem;
    margin-bottom: 0.45rem;
}

.about-members-block .objective-text {
    margin-bottom: 0;
    text-align: left;
}

/* ---- Values Grid ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.value-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.value-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---- Members Section ---- */
.members-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.certification-section {
    background: var(--bg-white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.cert-card {
    background: var(--bg-light);
    border-left: 5px solid var(--accent);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.cert-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.8;
    color: var(--primary);
    margin: 0;
}

/* Inspiration Section */
.inspiration-section {
    padding: 4.2rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.inspiration-grid-modern {
    margin-top: 0.5rem;
}

.inspiration-card {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    padding: 1.05rem;
    display: grid;
    gap: 0.85rem;
    text-align: center;
}

.inspiration-card::before {
    display: none;
}

.inspiration-card.founder::before {
    display: none;
}

.inspiration-card.founder {
    border-top-color: var(--accent-dark);
}

.inspiration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.inspiration-image {
    width: 122px;
    height: 122px;
    border-radius: 16px;
    padding: 3px;
    background: #ffffff;
    border: 2px solid #1e40af;
    box-shadow: 0 0 0 2px rgba(255, 111, 0, 0.18), var(--shadow-sm);
    flex-shrink: 0;
    margin: 0 auto;
}

.inspiration-card.founder .inspiration-image {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(230, 81, 0, 0.2), var(--shadow-sm);
}

.inspiration-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.inspiration-name {
    font-size: 1.08rem;
    color: var(--primary);
    font-weight: 800;
    margin: 0;
    line-height: 1.35;
}

.inspiration-role-text {
    margin: -0.2rem 0 0;
    color: var(--accent-dark);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
}

.inspiration-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.62;
    margin: 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.member-card {
    padding: 2rem;
    text-align: center;
}

.member-card::before {
    height: 4px;
    background: var(--gradient-primary);
}

.member-image {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.member-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 16px rgba(26, 35, 126, 0.2);
    transition: var(--transition);
}

.member-card:hover .member-image img {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.3);
}

.member-position {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.member-name {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
}

.member-contact {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 1rem;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-value {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

/* ---- Members Directory Page ---- */
.members-portal {
    padding: 4rem 0 5rem;
}

.members-stats-strip {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.4rem;
}

.member-stat-card {
    background: var(--bg-white);
    border: 1px solid #dce3f4;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(15, 26, 62, 0.08);
    padding: 1rem 1.1rem;
    min-width: 260px;
    text-align: center;
}

.member-stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.member-stat-card .stat-value {
    margin-top: 0.4rem;
    color: var(--primary);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.members-directory-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 1.5rem;
    padding: 0.9rem;
    background: var(--bg-white);
    border: 1px solid #dce3f4;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 26, 62, 0.05);
}

.directory-search {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.directory-search::before {
    content: '\1F50D';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    opacity: 0.65;
    pointer-events: none;
}

.directory-search input {
    width: 100%;
    border: 1.5px solid #d7deef;
    border-radius: 10px;
    background: #f8faff;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.7rem 0.8rem 0.7rem 2.2rem;
    transition: var(--transition);
}

.directory-search input:focus {
    outline: none;
    border-color: #a9bbe7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.12);
}

.directory-filters select {
    min-width: 170px;
    border: 1.5px solid #d7deef;
    border-radius: 10px;
    background: #f8faff;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.68rem 2rem 0.68rem 0.75rem;
}

.directory-filters select:focus {
    outline: none;
    border-color: #a9bbe7;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.12);
}

.members-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.member-profile-card {
    background: #fff;
    border: 1px solid #dce3f4;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 26, 62, 0.07);
    padding: 1.2rem 1.05rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.member-profile-card:hover {
    transform: translateY(-6px);
    border-color: #b8c8ea;
    box-shadow: 0 14px 36px rgba(15, 26, 62, 0.14);
}

.member-category-chip {
    margin-bottom: 0.8rem;
    border-radius: 999px;
    padding: 0.22rem 0.8rem;
    font-size: 0.74rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.member-category-chip--senior {
    background: #eef4ff;
    color: #1e3a8a;
    border-color: #c7d6f8;
}

.member-category-chip--executive {
    background: #ecfdf5;
    color: #047857;
    border-color: #b7ecd7;
}

.member-category-chip--general {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

.member-profile-avatar-wrap {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d5def3;
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.2);
    margin-bottom: 0.85rem;
    background: #fff;
}

.member-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-profile-name {
    font-size: 1.08rem;
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.member-profile-role {
    font-size: 0.88rem;
    color: var(--accent-dark);
    font-weight: 600;
    line-height: 1.45;
    min-height: 2.5em;
}

.member-profile-contact {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #d7deef;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.2rem;
}

.member-contact-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 700;
}

.member-contact-value {
    font-size: 0.92rem;
    color: var(--primary);
    font-weight: 700;
    text-align: left;
}

.member-call-btn {
    margin-top: 0.8rem;
    width: 100%;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.55rem 0.85rem;
    transition: var(--transition);
}

.member-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.members-directory-empty {
    grid-column: 1 / -1;
    border: 1px dashed #ccd8ef;
    border-radius: 14px;
    background: #f8faff;
    padding: 2.6rem 1rem;
    text-align: center;
}

.members-directory-empty h3 {
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.members-directory-empty p {
    color: var(--text-secondary);
}

.member-skeleton-card {
    pointer-events: none;
}

.member-skeleton-circle {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e8edf9 25%, #f6f9ff 50%, #e8edf9 75%);
    background-size: 220% 100%;
    animation: memberPulse 1.35s linear infinite;
}

.member-skeleton-line {
    height: 12px;
    border-radius: 999px;
    margin-top: 0.85rem;
    background: linear-gradient(90deg, #e8edf9 25%, #f6f9ff 50%, #e8edf9 75%);
    background-size: 220% 100%;
    animation: memberPulse 1.35s linear infinite;
}

@keyframes memberPulse {
    0% {
        background-position: 220% 0;
    }

    100% {
        background-position: -220% 0;
    }
}

/* ---- Unified Program Cards (Events + Sabhas + Home) ---- */
.events-grid,
.sabha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.2rem;
}

.program-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7d7ba;
    box-shadow: 0 14px 34px rgba(15, 26, 62, 0.1);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1e3a8a;
    z-index: 3;
}

.program-card:hover {
    transform: translateY(-7px);
    border-color: #f1c88b;
    box-shadow: 0 20px 44px rgba(15, 26, 62, 0.16);
}

.program-media {
    position: relative;
    height: 244px;
    overflow: hidden;
    background: #e9edf8;
}

.program-media .event-cover-photo,
.program-media .event-cover-video,
.program-media .sabha-media-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.program-card:hover .program-media .event-cover-photo,
.program-card:hover .program-media .event-cover-video,
.program-card:hover .program-media .sabha-media-btn img {
    transform: scale(1.07);
}

.event-cover-video {
    object-fit: cover;
}

.program-media .event-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 62, 0.28);
    opacity: 1;
    pointer-events: none;
}

.program-media .sabha-media-btn {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    display: block;
    background: transparent;
    cursor: zoom-in;
}

.program-media .sabha-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    background: #e8eefc;
}

.program-content {
    padding: 1.2rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.84rem;
    flex: 1;
}

.event-card-topline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.program-meta-text {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.program-meta-text i {
    color: #1e3a8a;
}

.program-card .event-title {
    font-size: 1.2rem;
    line-height: 1.36;
    color: #0f1b4d;
    margin: 0;
    letter-spacing: -0.01em;
}

.program-card .event-description {
    margin: 0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-card .event-location {
    display: flex;
    align-items: flex-start;
    gap: 0.48rem;
    color: #475569;
    font-size: 0.9rem;
    margin: 0;
}

.program-card .event-location-icon {
    color: #1e3a8a;
    margin-top: 0.12rem;
}

.program-card .event-actions {
    margin-top: auto;
    padding-top: 0.35rem;
}

.program-card .view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    background: #1e3a8a;
    color: var(--text-white);
    padding: 0.72rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 8px 18px rgba(15, 37, 87, 0.22);
    letter-spacing: 0.015em;
}

.program-card .view-more-btn i {
    transition: transform 0.2s ease;
}

.program-card .view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 37, 87, 0.35);
    background: #173175;
}

.program-card .view-more-btn:hover i {
    transform: translateX(3px);
}

.program-card .view-more-btn:disabled,
.program-card .view-more-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---- Events/Sabhas Carousel (Home Page) ---- */
.events-carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 62px;
    border-radius: 24px;
    border: 1px solid #e7d7ba;
    box-shadow: 0 16px 34px rgba(15, 26, 62, 0.1);
    background: #f7faff;
}

.events-carousel-wrapper {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.events-carousel-wrapper .home-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
}

.events-carousel-container .program-card {
    min-height: 100%;
}

.events-carousel-container .program-media {
    height: 248px;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.98);
    color: #c97f14;
    border: 2px solid #f1c88b;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.carousel-nav-btn:hover {
    background: #f59e0b;
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev-btn {
    left: 12px;
}

.carousel-next-btn {
    right: 12px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem 0;
}

.indicator-dot {
    width: 40px;
    height: 4px;
    background: var(--border-medium);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.indicator-dot.active {
    background: #1e3a8a;
    width: 50px;
}

/* ---- Sabha Page Shell + Media Modal ---- */
.sabha-showcase {
    padding: 2.8rem 0 4rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f8f5 100%);
}

.sabha-head {
    text-align: center;
    margin-bottom: 1.4rem;
}

.sabha-head h2 {
    color: #0f172a;
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.sabha-head p {
    color: #475569;
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.sabha-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    border: 1px dashed #cbd5e1;
    background: #fff;
    border-radius: 14px;
    padding: 2.2rem 1rem;
    color: #475569;
}

.sabha-media-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
}

.sabha-media-modal.show {
    display: flex;
}

.sabha-media-modal img {
    max-width: min(96vw, 1200px);
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.sabha-media-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

/* ---- Home Site Walkthrough ---- */
.site-walkthrough-section {
    padding: 4.6rem 0;
    background: #ffffff;
}

.walkthrough-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 2.2rem;
}

.walkthrough-card {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    text-align: left;
    background: #ffffff;
    border: 1px solid #dbe3f1;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 26, 62, 0.08);
    padding: 1.35rem 1.15rem 1.2rem;
    min-height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
}

.walkthrough-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    background: #1e3a8a;
}

.walkthrough-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 3px;
    border-radius: 0 16px 0 0;
    background: #f59e0b;
}

.walkthrough-card:hover {
    transform: translateY(-5px);
    border-color: #c8d7f1;
    box-shadow: 0 16px 32px rgba(30, 58, 138, 0.12);
}

.walkthrough-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    margin-bottom: 0.22rem;
}

.walkthrough-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    color: #1e3a8a;
    border: 1px solid rgba(245, 158, 11, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.walkthrough-title {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.35;
    color: #0f1b4d;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.walkthrough-description {
    margin: 0;
    color: #475569;
    font-size: 0.89rem;
    line-height: 1.58;
    text-align: left;
    flex: 1;
}

.walkthrough-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.58rem 0.82rem;
    color: var(--text-white);
    background: var(--gradient-primary);
    font-size: 0.84rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    align-self: center;
}

.walkthrough-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    border-color: transparent;
}

/* ---- Contact Section ---- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.contact-info,
.contact-form {
    padding: 2.5rem;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--accent);
    min-width: 28px;
    padding-top: 2px;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 3px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ---- Forms ---- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

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

.submit-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(26, 35, 126, 0.25);
    letter-spacing: 0.03em;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(26, 35, 126, 0.35);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---- Registration Page ---- */
.membership-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
}

.membership-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 800;
    position: relative;
}

.membership-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.membership-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.membership-highlight {
    background: linear-gradient(135deg, #f0f2ff 0%, #e8eaff 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    border-right: 4px solid var(--accent);
    margin: 2rem 0;
}

.membership-list {
    padding: 0;
}

.membership-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.membership-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.35rem;
    line-height: 1;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.form-title {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.prefix-radio {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.prefix-radio input[type="radio"] {
    width: auto;
    margin-right: 0.3rem;
}

.declaration-checkbox {
    background: linear-gradient(135deg, #f0f2ff 0%, #e8eaff 100%);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(26, 35, 126, 0.1);
    margin: 2rem 0;
}

.declaration-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 0.8rem;
}

/* ---- Register Page Refresh ---- */
.register-page .register-hero {
    padding: 3.2rem 0 2.2rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 111, 0, 0.16) 0, rgba(255, 111, 0, 0) 42%),
        radial-gradient(circle at 86% 10%, rgba(26, 35, 126, 0.2) 0, rgba(26, 35, 126, 0) 46%),
        linear-gradient(135deg, #eaf0ff 0%, #f5f8ff 48%, #eef3ff 100%);
    border-bottom: 1px solid #dbe5ff;
}

.register-page .register-hero-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border-radius: 22px;
    border: 1px solid #d6e0ff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 255, 0.96));
    box-shadow: 0 18px 40px rgba(13, 22, 66, 0.08);
    position: relative;
    overflow: hidden;
}

.register-page .register-hero-shell::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.13) 0%, rgba(26, 35, 126, 0) 70%);
    pointer-events: none;
}

.register-page .register-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #c8d5ff;
    background: #eef3ff;
    color: #1f2a7a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.register-page .register-hero-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: #0f1c5f;
}

.register-page .register-hero-subtitle {
    color: #4f5d87;
    line-height: 1.75;
    max-width: 780px;
}

.register-page .hero .hero-quick-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.register-page .hero .hero-quick-link-alt {
    display: inline-block;
    padding: 1rem 2.3rem;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.48);
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.02rem;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.55s forwards;
    opacity: 0;
}

.register-page .hero .hero-quick-link-alt:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
}

.register-page .register-hero-actions {
    margin-top: 1.6rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
}

.register-page .register-hero-track-btn {
    display: inline-block;
    padding: 0.82rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 35, 126, 0.22);
    color: #17226f;
    background: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    transition: var(--transition);
}

.register-page .register-hero-track-btn:hover {
    transform: translateY(-2px);
    background: #ecf1ff;
    border-color: rgba(26, 35, 126, 0.45);
}

.register-page .membership-info {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #f7f9ff 0%, #f0f4ff 100%);
}

.register-page .membership-content {
    max-width: 1080px;
    padding: clamp(1.4rem, 3vw, 3rem);
    border-radius: 22px;
    border: 1px solid #dce5ff;
    box-shadow: 0 14px 38px rgba(13, 22, 66, 0.08);
}

.register-page .membership-title {
    margin-bottom: 1.8rem;
}

.register-page .membership-content>.membership-text {
    padding: 1.3rem 1.4rem;
    border: 1px solid #e0e7fb;
    border-radius: 14px;
    background: #ffffff;
}

.register-page .membership-content>.membership-text h3 {
    font-size: 1.1rem;
}

.register-page .membership-highlight {
    border-left: 0;
    border-right: 0;
    border: 1px solid #d8e2ff;
    border-radius: 16px;
    margin: 1.4rem 0;
    background: linear-gradient(180deg, #eef3ff 0%, #f8faff 100%);
}

.register-page .membership-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.register-page .membership-list li {
    margin-bottom: 0;
    border: 1px solid #dde6ff;
    border-radius: 12px;
    background: #fff;
    padding: 0.9rem 0.95rem 0.9rem 2rem;
}

.register-page .registration-form-section {
    padding-top: 4.2rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #f4f7ff 0%, #edf2ff 100%);
}

.register-page .form-container {
    max-width: 980px;
    padding: clamp(1.4rem, 3vw, 3rem);
    border-radius: 22px;
    border: 1px solid #d9e3ff;
    box-shadow: 0 16px 40px rgba(13, 22, 66, 0.08);
}

.register-page #registrationForm {
    display: grid;
    gap: 0.2rem;
}

.register-page .form-group {
    margin-bottom: 1.1rem;
}

.register-page .form-group label {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 0.55rem;
}

.register-page .form-group input,
.register-page .form-group textarea,
.register-page .form-group select {
    border: 1.5px solid #d8e1fb;
    border-radius: 11px;
    background: #fff;
}

.register-page .prefix-radio {
    display: grid;
    gap: 0.7rem;
}

.register-page .prefix-radio .radio-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.78rem 0.92rem;
    border-radius: 10px;
    border: 1px solid #dbe3f8;
    background: #f8faff;
    transition: var(--transition);
}

.register-page .prefix-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 0.22rem;
    flex-shrink: 0;
    accent-color: #1a237e;
}

.register-page .prefix-radio .radio-choice label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.45;
    color: #1f2f66;
}

.register-page .prefix-radio input[type="radio"]:checked {
    box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.16);
}

.register-page .prefix-radio input[type="radio"]:checked+label {
    color: #111b56;
    font-weight: 600;
}

.register-page .prefix-radio .radio-choice:hover {
    border-color: #c4d2fb;
    background: #f2f6ff;
}

.register-page .prefix-radio .radio-choice:focus-within {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.14);
    transition: var(--transition);
}

.register-page .declaration-checkbox {
    border-radius: 14px;
    border: 1px solid #ced8fb;
    background: linear-gradient(180deg, #eef3ff 0%, #f9fbff 100%);
}

.register-page .declaration-checkbox>label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}

.register-page .declaration-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #1a237e;
}

.register-page .submit-btn {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    box-shadow: 0 10px 26px rgba(26, 35, 126, 0.26);
}

.register-page .submit-btn:hover {
    box-shadow: 0 16px 36px rgba(26, 35, 126, 0.32);
}

.register-page .register-tracking {
    background: linear-gradient(180deg, #edf2ff 0%, #f5f8ff 100%);
    border-top: 1px solid #dde5ff;
}

.register-page .register-tracking .tracking-card {
    max-width: 980px;
    border: 1px solid #d9e1ff;
    box-shadow: 0 14px 34px rgba(13, 22, 66, 0.08);
}

.register-page .tracking-search-btn {
    background: #1a237e;
    border: 1px solid #1a237e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.22);
}

.register-page .tracking-search-btn:hover {
    background: #283593;
    border-color: #283593;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(26, 35, 126, 0.28);
}

.register-page footer {
    padding-top: 2.4rem;
}

.register-page footer .footer-links ul {
    gap: 0.75rem;
}

.register-page footer .footer-links a {
    border: 1px solid transparent;
}

.register-page footer .footer-links a:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
    .register-page .hero .hero-quick-links {
        flex-direction: column;
        align-items: stretch;
    }

    .register-page .hero .hero-quick-links .cta-button,
    .register-page .hero .hero-quick-link-alt {
        width: 100%;
        text-align: center;
    }

    .register-page .register-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .register-page .register-hero-actions .btn-primary,
    .register-page .register-hero-track-btn {
        text-align: center;
        width: 100%;
    }

    .register-page .membership-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .register-page .register-hero {
        padding: 2rem 0 1.6rem;
    }

    .register-page .membership-content>.membership-text {
        padding: 1rem;
    }
}

/* ---- Office Hours ---- */
.office-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.office-card {
    padding: 2rem;
    text-align: center;
}

.office-name {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.office-hours {
    color: var(--text-secondary);
    line-height: 1.8;
}

.office-contact {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-light);
}

.office-phone {
    color: var(--accent);
    font-weight: 700;
}

/* ---- FAQ ---- */
.faq-item {
    margin-bottom: 0.8rem;
    border-radius: var(--radius-md) !important;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.faq-question:hover {
    opacity: 0.92;
}

.faq-question::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---- Emergency Section ---- */
.emergency-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: var(--text-white);
    text-align: center;
}

.emergency-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.emergency-phone {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.8rem 0;
    color: #ffd54f;
}

.emergency-description {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* ---- Map Section ---- */
.map-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-top: 2.5rem;
}

.map-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #f0f2f8 0%, #e4e8f0 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    border: 2px dashed var(--border-medium);
}

.map-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-section-alt);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ---- Footer ---- */
footer {
    background: var(--gradient-dark);
    color: var(--text-white);
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
}

.footer-links a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.footer-logo:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ---- Floating Register Button ---- */
.floating-register-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gradient-accent);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-accent-glow);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: floatPulse 3s ease-in-out infinite;
}

@keyframes floatPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.floating-register-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(255, 111, 0, 0.45);
    animation: none;
}

.floating-register-btn::before {
    content: '📝';
    font-size: 1.1rem;
}

.floating-register-btn span {
    white-space: nowrap;
}

/* ---- Success Message ---- */
.success-message {
    display: none;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    color: #1b5e20;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 2rem;
    border: 1px solid #a5d6a7;
    box-shadow: var(--shadow-md);
}

.success-message.show {
    display: block;
}

/* ---- Keyframe Animations ---- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Modal Styles ---- */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(13, 22, 66, 0.85);
    backdrop-filter: blur(8px);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    width: 92%;
    max-width: 900px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.modal-close,
.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover,
.close-modal:hover {
    background: rgba(211, 47, 47, 0.8);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem 2.5rem;
}

.modal-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    background: var(--bg-section-alt);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.info-label {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Image Slider ---- */
.slider-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-media-frame {
    min-width: 100%;
    height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b122f;
    cursor: zoom-in;
}

.slider-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f0f2f8;
}

.slider-video {
    background: #0b122f;
}

.slider-media-type {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.slider-expand-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slider-prev-btn {
    left: 12px;
}

.slider-next-btn {
    right: 12px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.slider-dot {
    width: 32px;
    height: 3px;
    background: var(--border-medium);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

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

.slider-counter {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* ---- Media Lightbox ---- */
.media-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(4px);
}

.media-lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-lightbox-stage {
    width: min(92vw, 1280px);
    height: min(82vh, 860px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    background: #020617;
}

.media-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
}

.media-lightbox-close:hover {
    background: rgba(220, 38, 38, 0.9);
}

.media-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
}

.media-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.media-lightbox-prev {
    left: 22px;
}

.media-lightbox-next {
    right: 22px;
}

.media-lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
}

/* ---- Back to Home ---- */
.back-to-home {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-section-alt);
}

.home-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.25);
}

.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.35);
}

/* ---- Values Grid (Home About Preview) ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
}

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

.value-title {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.value-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- Stats Counter Section ---- */
.stats-section .stat-card {
    padding: 1.5rem 1rem;
}

.stats-section .counter {
    font-family: var(--font-heading);
}



/* ---- Primary Button Link ---- */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(26, 35, 126, 0.25);
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(26, 35, 126, 0.35);
    color: var(--text-white);
}

/* ---- Notice Ticker ---- */
.notice-ticker {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    margin-top: 2px;
}

.ticker-label {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 10px solid var(--primary);
    z-index: -1;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 3rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.ticker-item::before {
    content: '•';
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.5rem;
    line-height: 0;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

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

    .events-carousel-container {
        padding: 0 56px;
    }

    .events-carousel-wrapper .home-carousel-slide {
        padding: 1rem;
    }

    .events-carousel-container .program-media {
        height: 228px;
    }

    .about-charter-shell {
        grid-template-columns: 1fr;
    }

    .about-vmo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .notice-ticker {
        height: 35px;
    }

    .ticker-label {
        padding: 0 0.6rem;
        font-size: 0.7rem;
    }

    .ticker-label::after {
        border-top: 17.5px solid transparent;
        border-bottom: 17.5px solid transparent;
        border-left: 8px solid var(--primary);
    }

    .ticker-item {
        font-size: 0.75rem;
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.3rem;
        padding: 1rem;
        background: var(--bg-white);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

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

    .nav-links a {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    nav .nav-container {
        position: relative;
        justify-content: center;
        padding: 0.6rem 1rem;
        min-height: 60px;
    }

    .banner-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 1rem 0.5rem;
        gap: 0.8rem;
    }

    .banner-logo {
        width: 65px;
        height: 65px;
        order: -1;
    }

    .banner-text-wrapper {
        width: 100%;
    }

    .banner-main-title {
        font-size: clamp(10px, 3.3vw, 1.15rem);
        line-height: 1.3;
        white-space: nowrap;
    }

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

    .banner-registration {
        font-size: 0.72rem;
    }

    .banner-address {
        font-size: 0.72rem;
    }

    .revolutionary-photos {
        gap: 4px;
        padding: 8px 8px;
        justify-content: space-between;
    }

    .revolutionary-photos img {
        height: 52px;
        border-width: 1px;
        padding: 2px;
    }

    .hero {
        padding: 4rem 0 3rem;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .events-carousel-container {
        padding: 0 46px;
        border-radius: 16px;
    }

    .events-carousel-wrapper .home-carousel-slide {
        padding: 0.75rem;
    }

    .events-carousel-container .program-media {
        height: 200px;
    }

    .events-carousel-container .program-content {
        padding: 1rem;
    }

    .events-carousel-container .program-card .view-more-btn {
        width: 100%;
        justify-content: center;
    }

    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .contact-grid,
    .events-grid,
    .sabha-grid {
        grid-template-columns: 1fr;
    }

    .site-walkthrough-section {
        padding: 3.5rem 0;
    }

    .walkthrough-grid {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .walkthrough-card {
        padding: 1rem;
    }

    .walkthrough-link {
        width: 100%;
        justify-content: center;
    }

    .members-directory-toolbar {
        padding: 0.75rem;
    }

    .directory-search {
        min-width: 100%;
    }

    .members-directory-grid {
        grid-template-columns: 1fr;
    }

    .events-section .events-grid,
    .sabha-grid {
        gap: 1.15rem;
    }

    .program-media {
        height: 210px;
    }

    .program-content {
        padding: 1rem 1rem 1.15rem;
    }

    .program-card .event-title {
        font-size: 1.1rem;
    }

    .program-card .view-more-btn {
        width: 100%;
        justify-content: center;
    }

    .sabha-showcase {
        padding: 2rem 0 2.8rem;
    }

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

    .about-vmo-grid {
        grid-template-columns: 1fr;
    }

    .about-pillar-grid,
    .about-members-grid {
        grid-template-columns: 1fr;
    }

    .about-charter-pill-row {
        grid-template-columns: 1fr;
    }

    .about-charter-shell {
        padding: 1rem;
    }

    .about-representation-panel,
    .about-pillar-card,
    .about-members-block {
        padding: 0.9rem;
    }

    .about-charter-intro p {
        text-align: left;
        font-size: 0.98rem;
        line-height: 1.75;
    }

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

    .inspiration-card {
        padding: 0.95rem;
    }

    .membership-content,
    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .modal-content {
        width: 95%;
        max-height: 92vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

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

    .slider-media-frame {
        height: 260px;
    }

    .media-lightbox-stage {
        width: 94vw;
        height: 74vh;
    }

    .media-lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .media-lightbox-prev {
        left: 12px;
    }

    .media-lightbox-next {
        right: 12px;
    }

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

    footer {
        padding: 2.5rem 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .banner-logo {
        width: 55px;
        height: 55px;
    }

    .banner-main-title {
        font-size: 1rem;
    }

    .revolutionary-photos img {
        height: 42px;
    }

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

    .about-link-btn {
        width: 100%;
    }

    .about-actions {
        gap: 0.55rem;
    }

    .inspiration-image {
        width: 96px;
        height: 96px;
    }

    .inspiration-name {
        font-size: 0.95rem;
    }

    .member-profile-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        min-height: 45vh;
        padding: 3rem 0 2.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .membership-content,
    .form-container {
        padding: 1.5rem 1rem;
    }

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

    .slider-media-frame {
        height: 220px;
    }

    .media-lightbox-caption {
        bottom: 14px;
        font-size: 0.8rem;
    }
}

/* ---- Highlight titles (about page) ---- */
.highlight-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-weight: 800;
    text-align: center;
}

.objective-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-weight: 700;
    text-align: center;
}

.objective-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: justify;
}

.mission-content,
.mission-objective {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-objective {
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-light);
}

.mission-objective:last-child {
    border-bottom: none;
}

.mission-vision {
    margin-bottom: 2.5rem;
}

.vision-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
}

.history-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.history-highlight {
    margin: 2.5rem 0;
}

/* ---- Scroll reveal utility (JS adds .visible) ---- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Payment Page Styles ---- */
.payment-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-success-icon {
    font-size: 4rem;
    color: #059669;
    margin-bottom: 1rem;
    animation: paymentBounce 0.6s ease;
}

@keyframes paymentBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.payment-title {
    font-size: 1.8rem;
    color: #065f46;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.payment-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.payment-amount-card {
    background: linear-gradient(135deg, #1e3a8a, #312e81);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.amount-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amount-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    letter-spacing: -1px;
}

.payment-qr-section {
    text-align: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.payment-qr-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.qr-code-wrapper {
    display: inline-block;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.qr-code-img {
    width: 220px;
    height: 220px;
    display: block;
}

.qr-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.upi-id-display {
    margin-top: 0.65rem;
    color: #334155;
    font-size: 0.9rem;
}

.upi-id-display strong {
    margin-left: 0.35rem;
    color: #1e3a8a;
    word-break: break-all;
}

.payment-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
}

.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.payment-divider span {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.payment-apps-section {
    margin-bottom: 2rem;
}

.payment-apps-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.payment-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-app-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem 0.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.payment-app-btn img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.payment-app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.phonepe-btn {
    background: #f3e8ff;
    color: #5b21b6;
    border-color: #ddd6fe;
}

.phonepe-btn:hover {
    background: #ede9fe;
    border-color: #c4b5fd;
}

.gpay-btn {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.gpay-btn:hover {
    background: #bfdbfe;
    border-color: #93c5fd;
}

.paytm-btn {
    background: #d1fae5;
    color: #047857;
    border-color: #a7f3d0;
}

.paytm-btn:hover {
    background: #a7f3d0;
    border-color: #6ee7b7;
}

.app-hint {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.app-hint i {
    color: var(--accent);
}

.payment-screenshot-section {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-screenshot-section h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.screenshot-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.screenshot-upload-area {
    margin-bottom: 1rem;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2.5rem;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-placeholder:hover {
    border-color: var(--primary);
    background: #f0f4ff;
}

.upload-placeholder i {
    font-size: 2.5rem;
    color: #94a3b8;
}

.upload-placeholder p {
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
}

.screenshot-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.screenshot-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
    background: #f1f5f9;
}

.remove-screenshot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.remove-screenshot:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.submit-screenshot-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-screenshot-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.submit-screenshot-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3);
}

.payment-note {
    display: flex;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.payment-note i {
    color: #d97706;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-note p {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.5;
}

.done-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.done-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 35, 126, 0.3);
}

@media (max-width: 600px) {
    .payment-apps-grid {
        grid-template-columns: 1fr;
    }

    .payment-amount-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .amount-value {
        font-size: 2.5rem;
    }

    .qr-code-img {
        width: 180px;
        height: 180px;
    }

    .payment-title {
        font-size: 1.4rem;
    }
}

/* ---- Application Tracking Styles ---- */
.tracking-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eaf6 100%);
}

.tracking-card {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(26, 35, 126, 0.1);
}

.tracking-title {
    text-align: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.tracking-title i {
    margin-right: 0.3rem;
}

.tracking-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tracking-search {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.tracking-input-group {
    flex: 1;
    position: relative;
}

.tracking-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.tracking-input-group input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.tracking-input-group input:focus {
    border-color: var(--primary);
    outline: none;
}

.tracking-search-btn {
    padding: 0.9rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: inherit;
}

.tracking-search-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.tracking-app-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s;
}

.tracking-app-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tracking-app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tracking-app-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.tracking-app-id {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.tracking-status-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.tracking-app-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tracking-detail-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
}

.tracking-detail-row i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    color: var(--primary);
}

.tracking-not-found {
    text-align: center;
    padding: 2rem 1rem;
}

.tracking-not-found h4 {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.tracking-not-found p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.tracking-error {
    text-align: center;
    padding: 1rem;
    background: #fee2e2;
    border-radius: 10px;
    color: #991b1b;
    font-weight: 500;
}

@media (max-width: 600px) {
    .tracking-search {
        flex-direction: column;
    }

    .tracking-card {
        padding: 1.5rem;
    }

    .tracking-app-header {
        flex-direction: column;
    }
}

/* ---- Enterprise Tracking Timeline ---- */
.tracking-timeline {
    position: relative;
    padding: 0;
    margin: 1.5rem 0 0 0;
    list-style: none;
}

.timeline-step {
    position: relative;
    padding-left: 48px;
    padding-bottom: 28px;
    min-height: 60px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

/* Vertical connecting line */
.timeline-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    width: 3px;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 2px;
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-step.step-completed::before {
    background: linear-gradient(180deg, #059669, #10b981);
}

/* Step circle */
.timeline-circle {
    position: absolute;
    left: 3px;
    top: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Completed step circle */
.step-completed .timeline-circle {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

/* Active step circle — pulsing */
.step-active .timeline-circle {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
    }
}

/* Pending step circle */
.step-pending .timeline-circle {
    background: #e2e8f0;
    color: #94a3b8;
    border: 2px solid #cbd5e1;
}

/* Step content */
.timeline-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.step-completed .timeline-content {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.step-active .timeline-content {
    background: #eff6ff;
    border-color: #bfdbfe;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}

.timeline-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.step-pending .timeline-title {
    color: #94a3b8;
}

.timeline-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.step-pending .timeline-desc {
    color: #cbd5e1;
}

.timeline-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #059669;
    font-weight: 600;
    margin-top: 4px;
    background: rgba(5, 150, 105, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
}

.step-active .timeline-time {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

/* Download button inside timeline */
.timeline-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.timeline-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* Tracking app info header within timeline card */
.tracking-app-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.tracking-app-info-left h3 {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 2px 0;
}

.tracking-app-info-left span {
    font-size: 0.82rem;
    color: #64748b;
}

.tracking-overall-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .timeline-step {
        padding-left: 40px;
        padding-bottom: 20px;
    }

    .timeline-circle {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
        left: 3px;
    }

    .timeline-step::before {
        left: 14px;
    }

    .timeline-content {
        padding: 10px 12px;
    }

    .timeline-title {
        font-size: 0.85rem;
    }

    .timeline-download-btn {
        width: 100%;
        justify-content: center;
    }

    .tracking-app-info {
        flex-direction: column;
        align-items: flex-start;
    }
}