/* public/css/events.css - Complete Consolidated & Optimized Styles */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary) 0%, #1a2530 100%);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* ========== MODERN HEADER STYLES ========== */
.custom-navbar {
    background: var(--gradient-dark);
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.custom-navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.custom-navbar .navbar-brand img {
    height: 45px;
    transition: transform 0.3s ease;
}

.custom-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

.custom-navbar .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.6rem 1.2rem !important;
    margin: 0 0.15rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
    width: 70%;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    background: rgba(255,255,255,0.08);
}

.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== COMPACT HERO SECTION ========== */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.4;
}

/* ========== EVENT CARDS & GRID STYLES ========== */
/* Modern Compact Design */
.compact-event-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    overflow: hidden;
    height: 100%;
}

.compact-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.compact-event-image {
    height: 160px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s ease;
}

.compact-event-card:hover .compact-event-image {
    transform: scale(1.05);
}

.compact-event-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.compact-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.badge-featured {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.badge-upcoming {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-completed {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.compact-event-content {
    padding: 1rem;
}

.compact-event-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-event-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.compact-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
}

.compact-meta-item i {
    width: 14px;
    margin-right: 6px;
    font-size: 0.7rem;
}

.compact-event-actions {
    padding: 0.75rem;
    border-top: 1px solid #f8f9fa;
    background: #fafbfc;
}

.compact-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Grid Layout */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Event Cards */
.event-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: var(--white);
    margin-bottom: 2rem;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.event-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s ease;
}

.event-card:hover .event-image {
    transform: scale(1.08);
}

.event-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
}

.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.75rem;
}

.badge-featured {
    background: linear-gradient(135deg, var(--warning), #e67e22);
    color: white;
}

.badge-upcoming {
    background: linear-gradient(135deg, var(--success), #229954);
    color: white;
}

.badge-completed {
    background: linear-gradient(135deg, var(--gray), #566573);
    color: white;
}

.event-meta {
    font-size: 0.9rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.event-meta-item i {
    width: 16px;
    margin-right: 8px;
    color: var(--secondary);
}

/* ========== FILTER STYLES ========== */
/* Modern Filter Design */
.modern-filter-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-input {
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.filter-input:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.filter-label {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.filter-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: none;
}

/* ========== BUTTON STYLES ========== */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #2980b9);
    border-color: var(--secondary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #2980b9, var(--secondary));
}

.btn-outline-primary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-modern {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0.5rem;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.btn-outline-modern:hover {
    background: #3498db;
    color: white;
}

.btn-register-modern {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-register-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

.btn-register-modern:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========== FORM STYLES ========== */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-group-modern {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label-modern {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-modern {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control-modern:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    transform: translateY(-2px);
}

.form-control-modern.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.form-control-modern.valid {
    border-color: #27ae60;
    box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.25);
}

.error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.validation-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
}

.validation-icon.valid {
    color: #27ae60;
}

.validation-icon.error {
    color: #e74c3c;
}

.character-counter {
    text-align: right;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.character-counter.near-limit {
    color: #f39c12;
}

.character-counter.over-limit {
    color: #e74c3c;
}

/* ========== CALENDAR STYLES ========== */
.calendar-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.calendar-loading::before {
    content: 'Loading calendar events...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 500;
}

.fc {
    font-family: inherit;
    border-radius: 12px;
}

.fc .fc-toolbar {
    padding: 1rem;
    margin-bottom: 0;
}

.fc-toolbar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.fc-button {
    background: var(--secondary) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
}

.fc-button:hover {
    background: #2980b9 !important;
}

.fc-day-today {
    background-color: rgba(52, 152, 219, 0.1) !important;
}

.fc .fc-toolbar-title {
    font-size: 1.4rem;
    color: var(--primary);
}

.fc .fc-button {
    background: var(--secondary) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    text-transform: capitalize;
}

.fc .fc-button:hover {
    background: #2980b9 !important;
    transform: translateY(-1px);
}

.fc .fc-button-active {
    background: var(--primary) !important;
}

.fc .fc-daygrid-day-number,
.fc .fc-col-header-cell-cushion {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
}

.fc-event {
    border: none;
    border-radius: 6px;
    padding: 2px 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fc-daygrid-event-dot {
    display: none;
}

.legend-color {
    min-width: 16px;
    min-height: 16px;
}

/* ========== MODAL STYLES ========== */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modern-modal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modern-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.modern-modal .modal-body {
    padding: 2rem;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background: var(--light);
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    background: var(--light);
    border-radius: 0 0 15px 15px;
    padding: 1.5rem;
}

/* Event Modal Details */
.event-modal-modern {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

.modal-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.event-header-content {
    position: relative;
    z-index: 2;
}

.featured-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.event-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-meta-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.event-tag,
.event-status {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-status.upcoming {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.event-status.completed {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
}

.modal-body-content {
    padding: 0 0.5rem;
}

.event-image-section {
    width: 100%;
}

.event-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
}

.event-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-image-container:hover .event-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-image-container:hover .image-overlay {
    opacity: 1;
}

.description-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.event-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.key-info-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.key-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.key-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.key-info-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.key-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.key-info-content {
    flex: 1;
}

.key-info-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.key-info-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

.key-info-subtext {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 0.25rem;
}

.action-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
}

.btn-register {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

/* ========== REGISTRATION STYLES ========== */
.registration-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
}

.registration-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    margin-bottom: 2rem;
}

.event-preview-card {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 0 0 2rem 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.event-image-container {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-section {
    padding: 0 2rem 2rem 2rem;
}

.terms-modern {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #3498db;
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-detail-item i {
    color: #ffcc99;
    width: 16px;
}

/* ========== SUCCESS PAGE STYLES ========== */
.success-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.success-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.success-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 90%;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-details {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #6c757d;
}

.detail-value {
    font-weight: 700;
    color: #2c3e50;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========== MODERN FOOTER STYLES ========== */
.custom-footer {
    background: var(--gradient-dark);
    color: white;
    padding: 2.5rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.custom-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 50px;
    margin-right: 15px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffcc99;
    margin-bottom: 0;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #ffcc99;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ffcc99;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ffcc99;
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info li i {
    margin-right: 10px;
    margin-top: 3px;
    color: #ffcc99;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.policy-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.policy-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.policy-links a:hover {
    color: #ffcc99;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffcc99;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ========== UTILITY CLASSES ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary), #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

.shadow-medium {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.shadow-strong {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15) !important;
}

.border-radius-lg {
    border-radius: 16px !important;
}

.border-radius-xl {
    border-radius: 20px !important;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    /* Mobile Header */
    .custom-navbar {
        padding: 0.5rem 0;
    }

    .custom-navbar .navbar-brand img {
        height: 35px;
    }

    .custom-navbar .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.15rem 0;
    }

    /* Mobile Hero */
    .hero-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Mobile Event Cards */
    .compact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .compact-event-card {
        margin-bottom: 0;
    }

    .compact-event-image {
        height: 140px;
    }

    .compact-event-content {
        padding: 0.75rem;
    }

    .compact-event-title {
        font-size: 0.9rem;
    }

    /* Mobile Filter */
    .modern-filter-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }

    .filter-input {
        font-size: 0.85rem;
    }

    /* Mobile Modal */
    .modal-header-section {
        padding: 1.5rem;
        margin: -1rem -1rem 1.5rem -1rem;
    }

    .event-title {
        font-size: 1.3rem;
    }

    .key-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .key-info-item {
        padding: 0.75rem;
    }

    .key-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Mobile Registration */
    .registration-card {
        margin: 1rem;
        border-radius: 12px;
    }

    .event-preview-card {
        padding: 1.5rem;
        border-radius: 12px 12px 0 0;
    }

    .form-section {
        padding: 0 1rem 1rem 1rem;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Success Page */
    .success-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }

    .success-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .success-actions .btn {
        width: 100%;
        margin: 0;
    }

    /* Mobile Calendar */
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 1rem;
    }

    .fc-toolbar-title {
        font-size: 1.2rem;
    }

    .fc .fc-button {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem;
    }

    /* Mobile Buttons */
    .btn-modern {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }

    .btn-register-modern {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Mobile Forms */
    .form-control-modern {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .form-group-modern {
        margin-bottom: 1rem;
    }

    /* Mobile Footer */
    .custom-footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-logo-container {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .footer-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-heading {
        margin-top: 1.5rem;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .policy-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .policy-links a {
        margin: 0 0.75rem 0.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .copyright {
        text-align: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    /* Extra Small Devices */
    .hero-title {
        font-size: 1.25rem;
    }

    .compact-event-image {
        height: 120px;
    }

    .compact-event-title {
        font-size: 0.85rem;
    }

    .compact-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .modal-body-content {
        padding: 0;
    }

    .description-section,
    .key-info-section {
        padding: 1rem;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .success-title {
        font-size: 1.75rem;
    }

    /* Footer Mobile Adjustments */
    .custom-footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-about {
        font-size: 0.85rem;
        text-align: center;
    }

    .policy-links a {
        margin: 0 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 1200px) {
    /* Large Desktop Optimizations */
    .compact-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .custom-navbar,
    .btn-modern,
    .modal-footer,
    .success-actions,
    .custom-footer {
        display: none !important;
    }

    .event-card,
    .compact-event-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000000;
        --secondary: #0000ff;
        --success: #008000;
        --danger: #ff0000;
        --warning: #ffff00;
        --info: #00ffff;
        --light: #ffffff;
        --dark: #000000;
    }

    .event-card,
    .compact-event-card {
        border: 2px solid var(--dark);
    }

    .btn {
        border: 2px solid currentColor;
    }

    .custom-footer {
        background: #000000;
        border-top: 3px solid #ffffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .event-card:hover,
    .compact-event-card:hover {
        transform: none;
    }

    .event-image,
    .compact-event-image {
        transition: none;
    }

    .footer-links a:hover {
        transform: none;
    }

    .social-links a:hover {
        transform: none;
    }
}
/* ========== POLICY PAGES STYLES ========== */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.policy-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.policy-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 3rem;
    margin-bottom: 3rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.policy-subsection {
    margin-bottom: 1.5rem;
}

.policy-subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.policy-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-note {
    background: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.policy-contact {
    background: var(--light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.last-updated {
    background: var(--light);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--warning);
}

.data-categories {
    background: rgba(39, 174, 96, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--success);
}

/* Policy Pages Mobile Responsive */
@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-section-title {
        font-size: 1.3rem;
    }

    .policy-header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .policy-content {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }
    
    .policy-header {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }

    .policy-section {
        margin-bottom: 2rem;
    }

    .policy-list {
        padding-left: 1rem;
    }
}