/* --- CSS Variables & Theme --- */
:root {
    /* Colors inspired by the logo (Blue & White theme) */
    --primary: #154593;
    /* Dark Logo Blue */
    --primary-light: #2B6CB0;
    /* Lighter Accent Blue */
    --primary-dark: #0e306b;
    --secondary: #e2e8f0;
    --accent: #f59e0b;

    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    --border: #e2e8f0;

    /* Layout & Utilities */
    --radius: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-blue: 0 10px 25px -5px rgba(21, 69, 147, 0.4);

    --transition: all 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background-color: #f1f5f9;
}

/* --- Typography --- */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(21, 69, 147, 0.3);
}

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

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating pill when scrolled */
.navbar.scrolled {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
    padding: 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.4s ease;
    animation: navContainerFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navContainerFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.navbar.scrolled .nav-container {
    padding: 0.6rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo i {
    color: var(--primary);
    -webkit-text-fill-color: initial;
    filter: drop-shadow(0 2px 4px rgba(21, 69, 147, 0.3));
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 100px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a.active {
    color: var(--primary);
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Redesigned Log In button: text only with hover effect */
.nav-auth .btn-outline {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    border-radius: 8px;
    box-shadow: none;
}

.nav-auth .btn-outline::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-auth .btn-outline:hover {
    background: rgba(241, 245, 249, 0.8);
    color: var(--primary);
}

.nav-auth .btn-outline:hover::after {
    width: 40%;
}

/* Redesigned Sign Up button: sleek glowing pill */
.nav-auth .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shine effect on Sign Up hover */
.nav-auth .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 1;
}

.nav-auth .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
}

.nav-auth .btn-primary:hover::before {
    left: 200%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    padding: 10rem 2rem 5rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 600px));
    justify-content: center;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #e0e7ff;
    color: var(--primary);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.glowing-badge {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(43, 108, 176, 0.3);
    box-shadow: 0 0 15px rgba(43, 108, 176, 0.2);
    backdrop-filter: blur(10px);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 2.5rem;
}

/* Hero Search Bar */
.hero-search-bar {
    display: flex;
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hero-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 69, 147, 0.1), var(--shadow-lg);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.75rem;
}

.search-icon {
    color: var(--text-muted);
}

.search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--text-main);
    font-family: inherit;
}

.search-btn {
    border-radius: calc(var(--radius-lg) - 0.25rem);
    padding: 0.75rem 1.5rem;
}

/* Hero Stats (Avatars) */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-stats p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.avatars-group {
    display: flex;
    align-items: center;
}

.avatars-group img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    object-fit: cover;
}

.avatars-group img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    background: var(--bg-main);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Hero Image/Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-blue);
    position: relative;
}

.featured-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 10px rgba(229, 46, 113, 0.3);
    z-index: 10;
}

.event-mockup {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    width: 350px;
    box-shadow: var(--shadow);
}

.mockup-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
}

.mockup-body {
    padding: 1.5rem;
}

.mockup-top-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mockup-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 8px;
    width: max-content;
    height: max-content;
}

.mockup-date .month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.mockup-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.mockup-details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    line-height: 1.3;
}

.mockup-details p {
    margin: 0;
    font-size: 0.875rem;
}

.mockup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.price-tag {
    font-weight: 800;
    color: var(--text-main);
    font-size: 1.125rem;
}

.get-tickets-btn i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.get-tickets-btn:hover i {
    transform: translateX(3px);
}

.floating-element {
    position: absolute;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 4s ease-in-out infinite alternate;
    z-index: 5;
}

.floating-element.el-1 {
    top: 20%;
    left: -30px;
    color: #10b981;
}

.floating-element.el-2 {
    bottom: 20%;
    right: -40px;
    color: var(--primary);
    animation-delay: 1s;
}

/* --- Sections & Layout --- */
.section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* --- Events Grid --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(21, 69, 147, 0.12);
}

.event-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.event-card:hover .event-img {
    transform: scale(1.08);
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    opacity: 0.6;
    transition: opacity 0.4s;
}

.event-card:hover .event-overlay {
    opacity: 0.2;
}

.event-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.event-category {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.event-status {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.event-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-date-row {
    margin-bottom: 0.75rem;
}

.event-date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    background: #e0e7ff;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

.event-date i {
    margin-right: 0.25rem;
}

.event-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.event-card:hover .event-info h3 {
    color: var(--primary);
}

.event-location {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-attendees {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.avatars-group.mini img,
.avatars-group.mini .avatar-more {
    width: 28px;
    height: 28px;
    border-width: 1px;
}

.event-attendees span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.price-block {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.event-price {
    font-weight: 800;
    color: var(--text-main);
    font-size: 1.25rem;
}

.btn-ticket {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.btn-ticket i {
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.event-card:hover .btn-ticket i {
    transform: translateX(4px);
}

/* --- Manager Dashboard Mockup --- */
.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.dashboard-mockup {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.dash-header {
    background: var(--bg-dark);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
    margin-right: 6px;
}

.dots span:nth-child(2) {
    background: #ffbd2e;
}

.dots span:nth-child(3) {
    background: #27c93f;
}

.dash-title {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

.dash-body {
    padding: 2rem;
}

.stat-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    flex: 1;
    padding: 1rem;
    background: var(--bg-main);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.stat-trend.positive {
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
}

.chart-mockup {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.chart-mockup .bar {
    flex: 1;
    background: var(--primary-light);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.chart-mockup .bar:hover {
    background: var(--primary);
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 2rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.875rem;
}

/* --- Auth Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text-main);
}

.auth-container {
    padding: 2.5rem;
}

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

.auth-header h2 {
    margin-bottom: 0.5rem;
}

.auth-tabs {
    display: flex;
    background: var(--bg-main);
    border-radius: var(--radius);
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: calc(var(--radius) - 4px);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

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

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.forgot-password {
    font-size: 0.875rem;
    color: var(--primary);
    text-align: right;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* --- New Sections Styling --- */
/* Marquee */
.marquee-section {
    background-color: var(--bg-card);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    gap: 4rem;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: var(--transition);
}

.marquee-content span:hover {
    opacity: 1;
    color: var(--primary);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-20% - 0.8rem));
    }
}

/* --- Process Timeline Section --- */
.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.steps-bg-shape {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(21, 69, 147, 0.03) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.process-container {
    padding: 4rem 0 2rem;
    position: relative;
}

.process-line {
    position: absolute;
    top: 6.5rem;
    /* Aligns with center of icons */
    left: 16.66%;
    right: 16.66%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 0;
}

.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

.process-container.animated .process-line::after {
    width: 100%;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.process-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-icon-box {
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.5s ease;
    background-clip: padding-box;
    z-index: 2;
}

.process-step.visible .process-icon-box {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 8px rgba(21, 69, 147, 0.1);
}

.pulse-ring {
    position: absolute;
    inset: -12px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0;
}

.process-step:hover .pulse-ring {
    animation: pulseIconRing 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseIconRing {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.process-content {
    padding: 0 1rem;
}

.step-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.process-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.process-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Advanced Stats Section --- */
.stats-section {
    background: #0b1120;
    /* Very dark blue */
    color: white;
    padding: 3rem 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-bg-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(21, 69, 147, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    z-index: 0;
    opacity: 0.5;
}

.stats-glow-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    top: -150px;
    left: -150px;
    opacity: 0.3;
}

.stats-glow-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #0ea5e9;
    filter: blur(150px);
    bottom: -150px;
    right: -150px;
    opacity: 0.2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-glass-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-glass-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-glass-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-glass-box:hover::before {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(21, 69, 147, 0.2), rgba(14, 165, 233, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.stat-glass-box:hover .stat-icon-wrapper {
    transform: rotate(0deg);
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
}

.stat-icon-wrapper i {
    font-size: 1.25rem;
    color: #38bdf8;
    transform: rotate(-45deg);
    transition: all 0.4s ease;
}

.stat-glass-box:hover .stat-icon-wrapper i {
    transform: rotate(0deg);
    color: white;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: linear-gradient(90deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-glass-box p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

/* --- Advanced Testimonials Section --- */
.testimonials-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(21, 69, 147, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.testimonial-marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full bleed trick */
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    z-index: 20;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

.testimonial-marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.testimonial-marquee-content {
    display: flex;
    gap: 2rem;
    padding-left: 2rem;
    /* Matches gap */
    animation: marquee-test 30s linear infinite;
    will-change: transform;
}

.testimonial-marquee-content.reverse {
    animation: marquee-test-rev 35s linear infinite;
}

.testimonial-marquee-container:hover .testimonial-marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-test {
    0% {
        transform: translateX(0);
    }

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

@keyframes marquee-test-rev {
    0% {
        transform: translateX(-50%);
    }

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

.testimonial-card {
    width: 400px;
    flex-shrink: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    white-space: normal;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(21, 69, 147, 0.08);
}

.stars {
    color: #f59e0b;
    font-size: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Newsletter */
.cta-container {
    background: var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: 3rem 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    box-shadow: 0 20px 40px rgba(21, 69, 147, 0.15);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 600px;
}

.cta-content h2 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

.cta-form-container {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 400px;
}

.cta-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.5rem 1.25rem;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-form button {
    white-space: nowrap;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

/* Icon Animations */
@keyframes iconBounce {

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

    50% {
        transform: scale(1.15);
    }
}

.step-card:hover .animated-icon {
    animation: iconBounce 0.5s ease;
}

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

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

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

.stats-section .animated-icon {
    animation: pulseIcon 3s infinite ease-in-out;
}

/* --- Animations & Effects --- */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(2deg);
    }

    50% {
        transform: translateY(-15px) rotate(-1deg);
    }

    100% {
        transform: translateY(0px) rotate(2deg);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

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

/* Enhancing the hero section with gradient bg */
.hero {
    background: linear-gradient(-45deg, var(--bg-main), #e0e7ff, var(--bg-main), #dbeafe);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Decorative Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation-delay: 2s;
    animation-direction: reverse;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(21, 69, 147, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(21, 69, 147, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    animation-delay: 4s;
    opacity: 0.3;
}

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Dashboard Bar Animation */
.chart-mockup .bar {
    height: 0 !important;
    /* Starts at 0 */
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.dashboard-mockup.animated .chart-mockup .bar {
    height: var(--target-height) !important;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Mobile Menu & Sticky Header --- */
/* (Navbar scroll transition logic moved to main navbar block) */
.nav-links.active,
.nav-auth.active {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 3D Tilt Effect on Cards */
.tilt-card {
    transform-style: preserve-3d;
}

.tilt-card>* {
    transform: translateZ(20px);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .process-line {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .hero,
    .two-col,
    .cta-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .cta-form-container {
        width: 100%;
        max-width: 100%;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links,
    .nav-auth {
        display: none;
        width: 100%;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary);
        z-index: 101;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-image .event-mockup {
        width: 100%;
    }

    .cta-container {
        padding: 2rem 1rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .marquee-content span {
        font-size: 1.25rem;
    }

    .step-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .auth-container {
        padding: 1.5rem;
    }
}

/* --- Dedicated Auth Pages (Login & Signup) --- */
.auth-page {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-main);
}

.auth-hero {
    display: none;
}

@media (min-width: 900px) {
    .auth-hero {
        display: flex;
        flex: 1;
        position: relative;
        background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1200&q=80');
        background-size: cover;
        background-position: center;
        flex-direction: column;
        justify-content: center;
        padding: 4rem;
        color: white;
    }

    .auth-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(11, 17, 32, 0.9), rgba(21, 69, 147, 0.7));
    }

    .auth-hero-content {
        position: relative;
        z-index: 1;
        max-width: 500px;
    }

    .auth-hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .auth-hero-content p {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.8);
    }
}

.auth-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 3rem;
}

.auth-logo i {
    color: var(--primary);
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Role Toggle Switch */
.role-toggle-container {
    background: #f1f5f9;
    padding: 0.3rem;
    border-radius: 999px;
    display: flex;
    position: relative;
    margin-bottom: 2rem;
}

.role-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s;
    border: none;
    background: transparent;
    font-size: 0.95rem;
}

.role-btn.active {
    color: var(--primary-dark);
}

.role-slider {
    position: absolute;
    top: 0.3rem;
    bottom: 0.3rem;
    width: calc(50% - 0.3rem);
    background: white;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

/* Forms */
.auth-form-page {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.input-group input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.2s;
    color: var(--text-main);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(21, 69, 147, 0.1);
}

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

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.125rem;
    border-radius: var(--radius);
}

.auth-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-bottom a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-bottom a:hover {
    text-decoration: underline;
}

/* Event Manager specific fields hidden by default */
#managerFields {
    display: none;
}

/* --- Event Details Page --- */
.event-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    color: white;
    margin-top: 0;
    /* Navbar is fixed */
}

.event-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.event-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: -1;
}

.event-banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: white;
}

.event-meta-info {
    display: flex;
    gap: 2rem;
    font-size: 1.125rem;
    opacity: 0.9;
}

.event-meta-info i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.event-details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-card {
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(21, 69, 147, 0.08);
}

.content-card h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
}

.speaker-profile {
    text-align: center;
}

.speaker-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    border: 3px solid white;
}

.speaker-profile h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
}

.speaker-profile p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.schedule-timeline {
    border-left: 2px solid var(--primary-light);
    padding-left: 2rem;
    margin-left: 1rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
}

.timeline-time {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
}

.timeline-content p {
    margin: 0;
    color: var(--text-muted);
}

/* Sticky Sidebar */
.event-sidebar {
    position: sticky;
    top: 100px;
}

.ticket-selection-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
}

.ticket-selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(21, 69, 147, 0.08);
}

.ticket-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.ticket-header h3 {
    margin: 0;
}

.ticket-tier {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.ticket-tier:hover {
    border-color: var(--primary-light);
    background: rgba(239, 246, 255, 0.5);
}

.ticket-tier.premium {
    border-color: var(--primary);
    background: rgba(239, 246, 255, 0.3);
}

.ticket-info h4 {
    margin: 0 0 0.5rem 0;
}

.ticket-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.ticket-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.ticket-price-row .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--border);
}

.qty-selector input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 600;
    outline: none;
    pointer-events: none;
    /* disable direct typing for this mockup */
}

.ticket-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.secure-checkout {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .event-details-layout {
        grid-template-columns: 1fr;
    }

    .event-sidebar {
        position: static;
    }
}

.timeline-item {
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item:hover::before {
    border-color: var(--secondary);
    background: var(--primary-light);
}

/* --- Event Management Page --- */
.content-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-split-section.reverse .split-content {
    order: 1;
}

.content-split-section.reverse .split-image {
    order: 2;
}

.management-form {
    animation: fadeIn 0.4s ease-out;
}

@media (max-width: 768px) {
    .content-split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-split-section.reverse .split-content {
        order: 2;
    }

    .content-split-section.reverse .split-image {
        order: 1;
    }
}

/* --- Innovative Form Styling --- */
.management-form .input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.management-form .input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s;
}

.management-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.management-form .input-wrapper i {
    position: absolute;
    left: 1.2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s;
    pointer-events: none;
}

.management-form input,
.management-form select,
.management-form textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    background: rgba(248, 250, 252, 0.8);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.management-form .input-wrapper.textarea-wrapper {
    align-items: flex-start;
}

.management-form .input-wrapper.textarea-wrapper i {
    top: 1.2rem;
}

.management-form input:focus,
.management-form select:focus,
.management-form textarea:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(21, 69, 147, 0.1);
}

.management-form .input-wrapper:focus-within i {
    color: var(--primary);
}

.management-form .input-group:focus-within label {
    color: var(--primary);
}

.management-form select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(21, 69, 147, 0.1);
    border-color: var(--primary-light);
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(21, 69, 147, 0.1), rgba(14, 165, 233, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

.contact-info-text p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
/* --- Contact Page Wireframe Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-left-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-right-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 1rem;
}

/* Form Card */
.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form input, .contact-form textarea {
    background: #f8fafc;
    border: 2px solid transparent;
    padding: 1rem 1.125rem;
    font-size: 1rem;
    border-radius: var(--radius);
    outline: none;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.contact-form input:focus, .contact-form textarea:focus {
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 8px 20px rgba(21, 69, 147, 0.08);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-transmit {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    width: 100%;
    padding: 1.25rem;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1.5px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-transmit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}

/* Why Reach Out */
.why-reach-out-card {
    background: #0f172a;
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(21, 69, 147, 0.15);
}

.why-reach-out-card h3 {
    color: #38bdf8;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    border-left: 4px solid #38bdf8;
    padding-left: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.reach-out-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reach-out-list li {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.reach-title {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.reach-title i {
    color: #38bdf8;
    font-size: 0.75rem;
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.reach-title strong {
    color: white;
    font-weight: 600;
}

/* Right Column Sections */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 800;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item .label, .hours-item .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p, .hours-item p {
    margin: 0.35rem 0;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
}

.link-blue {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.link-blue:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Social Icons */
.social-icons-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons-row a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.social-icons-row a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(21, 69, 147, 0.2);
    border-color: var(--primary);
}

/* Location Cards */
.location-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.loc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.loc-header i {
    color: var(--primary);
    font-size: 1.25rem;
}

.loc-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.location-card p {
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
}

