/* public/css/events.css - Complete Consolidated & Optimized Styles */
:root {
    --primary: #014c82;
    --secondary: #0269b3;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #002b4a;
    --white: #ffffff;
    --gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, #014c82 0%, #013b63 100%);
    --gradient-dark: linear-gradient(135deg, #014c82 0%, #013b63 100%);
    --gradient-accent: linear-gradient(135deg, #0269b3, #014c82);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* ========== MODERN HEADER STYLES ========== */
.custom-navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Compact Header Logo & Brand */
.compact-header {
    background: var(--gradient-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0;
    z-index: 1050;
}

.logo-brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compact-logo-img {
    height: 50px;
    width: auto;
    max-width: 160px;
    display: block;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
}

.company-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.company-name-small {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
    margin-top: 2px;
    display: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.custom-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

.custom-navbar .nav-link {
    color: #fff !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.active,
.custom-navbar .nav-link:focus,
.custom-navbar .nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}

.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%;
}

.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");
}

/* ========== HERO SECTION - Consistent with Header ========== */
.hero-section {
    background: var(--gradient-dark) !important;
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 12px;
    min-height: 140px;
    display: flex;
    align-items: center;
}

.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;
    padding: 0;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.4;
}

/* ========== BUTTONS - Consistent with Header ========== */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-dark);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
    background: linear-gradient(135deg, #1a2530, #2c3e50);
    color: white;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-dark);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-accent);
    border: none;
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    color: white;
}

.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--gradient-accent);
    color: white;
}

.btn-modern {
    background: var(--gradient-dark);
    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(44, 62, 80, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-modern:hover {
    background: var(--gradient-dark);
    color: white;
}

.btn-register-modern {
    background: var(--gradient-dark);
    border: none;
    border-radius: 50px;
    padding: 16px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-register-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-register-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.4);
}

.btn-register-modern:hover::before {
    left: 100%;
}

.btn-register-modern:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-register {
    background: var(--gradient-dark);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.3);
    color: white;
    text-decoration: none;
}

/* ========== EVENT CARDS & GRID STYLES ========== */
.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;
    color: var(--primary);
}

.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;
}

/* ========== REGISTRATION PAGE STYLES ========== */
.registration-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: white;
}

.event-preview-card {
    background: var(--gradient-dark);
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.event-preview-card::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");
    pointer-events: none;
}

.event-image-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.event-image-wrapper:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.event-detail-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.event-detail-item i {
    font-size: 1.1rem;
    color: #ffcc99;
    width: 20px;
    text-align: center;
}

.event-detail-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-section {
    padding: 40px;
}

.form-group-modern {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-label-modern {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-modern {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    background: white;
}

.form-control-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
    outline: none;
}

.form-control-modern:read-only {
    background-color: #f8f9fa;
    color: #2c3e50;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.validation-icon {
    position: absolute;
    right: 16px;
    top: 35px;
    font-size: 1.2rem;
}

.validation-icon.valid {
    color: #10b981;
}

.validation-icon.error,.error{
    color: #ef4444;
}

.character-counter {
    font-size: 0.8rem;
    margin-top: 6px;
    text-align: right;
    font-weight: 500;
}

.character-counter.text-danger {
    color: #ef4444 !important;
}

.character-counter.text-warning {
    color: #f59e0b !important;
}

.character-counter.text-success {
    color: #10b981 !important;
}

.terms-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 16px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.95rem;
    color: #2d3748;
    cursor: pointer;
    padding-left: 5px;
}

.form-check-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* ========== SUCCESS PAGE STYLES ========== */
.success-container {
    background: var(--gradient-dark);
    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");
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.success-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 90%;
    margin: 2rem;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.3);
    position: relative;
    animation: bounceIn 1s ease-out 0.3s both;
}

.success-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.2; }
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

.confirmation-badge {
    background: var(--gradient-dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
    animation: fadeIn 0.8s ease-out 0.6s both;
}

/* ========== MODERN FOOTER STYLES ========== */
.custom-footer {
    background: var(--gradient-dark);
    color: white;
    padding: 1.5rem 0 0.5rem;
    margin-top: 2rem;
    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;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 8px;
    filter: brightness(0) invert(1);
    max-width: 140px;
    display: block;
}

.footer-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffcc99;
    margin-bottom: 0;
}

.footer-about {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffcc99;
    position: relative;
    padding-bottom: 0.3rem;
}

.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.5rem;
}

.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: 1rem;
    margin-top: 1.5rem;
}

.copyright {
    font-size: 0.85rem;
    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: 1rem;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.policy-links a:hover {
    color: #ffcc99;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    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);
}

/* ========== POLICY PAGES STYLES ========== */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.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-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.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(44, 62, 80, 0.1);
    border-left: 4px solid var(--primary);
    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);
}

/* ========== 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(--gradient-dark) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    color: white !important;
}

.fc-button:hover {
    background: linear-gradient(135deg, #1a2530, #2c3e50) !important;
    transform: translateY(-1px);
}

.fc-button-primary:not(:disabled).fc-button-active {
    background: var(--primary) !important;
}

.fc-day-today {
    background-color: rgba(44, 62, 80, 0.1) !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);
}

/* ========== FILTER STYLES ========== */
.modern-filter-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e3e6ed 100%);
    border-radius: 16px;
    padding: 0.6rem 0.5rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 12px rgba(60,60,90,0.08);
    border: 1px solid #e0e3ea;
}

.filter-input {
    border: 1px solid #cfd8dc;
    color: #2c3e50;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 1px 4px rgba(60,60,90,0.04);
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.filter-input:focus {
    background: #f5f7fa;
    box-shadow: 0 0 0 2px var(--primary);
    border-color: var(--primary);
}

.filter-label {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* ========== UTILITY CLASSES ========== */
.text-gradient {
    background: var(--gradient-dark);
    -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 {
    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: 992px) {
    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Header */
    .compact-header .container {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
    }
    
    .logo-brand-container {
        gap: 8px;
    }
    
    .compact-logo-img {
        height: 36px;
        max-width: 110px;
        padding: 0;
    }
    
    .company-name {
        font-size: 1.05rem;
        display: none !important;
    }
    
    .company-name-small {
        display: block !important;
    }
    
    .custom-navbar {
        padding: 0.3rem 0 !important;
    }
    
    .custom-navbar .nav-link {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.9rem;
    }
    
    /* Mobile Hero */
    .hero-section {
        padding: 1rem 0;
        margin: 0.5rem 0 1rem 0;
        border-radius: 8px;
        min-height: 100px;
    }
    
    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Mobile Grid */
    .compact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .compact-event-image {
        height: 140px;
    }
    
    /* Mobile Registration */
    .event-preview-card {
        padding: 20px;
    }
    
    .event-preview-card .row {
        flex-direction: column;
        text-align: center;
    }
    
    .event-preview-card .col-auto {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .event-image-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .event-preview-card h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .event-detail-item {
        padding: 8px 12px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-group-modern {
        margin-bottom: 1.2rem;
    }
    
    .form-label-modern {
        font-size: 0.8rem;
    }
    
    .form-control-modern {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .validation-icon {
        top: 40px;
    }
    
    .terms-modern {
        padding: 15px;
        margin: 20px 0;
    }
    
    /* Mobile Success */
    .success-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
    }
    
    .success-icon i {
        font-size: 2.5rem;
    }
    
    /* Mobile Footer */
    .custom-footer {
        padding: 1rem 0 0.25rem !important;
    }
    
    .footer-logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-heading {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .policy-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Mobile Calendar */
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .fc-toolbar-title {
        font-size: 1.2rem;
    }
    
    /* Mobile Filters */
    .modern-filter-container {
        padding: 1rem;
    }
    
    #gridViewFiltersCollapse,
    #calendarFiltersCollapse {
        display: block !important;
    }
}

@media (max-width: 576px) {
    /* Extra Small Devices */
    .hero-section {
        padding: 0.8rem 0;
        min-height: 80px;
    }
    
    .hero-title {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .compact-event-image {
        height: 120px;
    }
    
    .event-image-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .event-preview-card h4 {
        font-size: 1rem;
    }
    
    .event-detail-item i {
        font-size: 0.9rem;
    }
    
    .event-detail-item span {
        font-size: 0.8rem;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .form-control-modern {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .validation-icon {
        top: 38px;
        font-size: 1rem;
    }
    
    .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .form-check-label {
        font-size: 0.85rem;
    }
    
    .btn-register-modern {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .success-card {
        padding: 1.5rem 1rem;
    }
    
    .confirmation-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-logo {
        height: 30px;
    }
    
    .footer-brand-text {
        font-size: 0.9rem;
    }
    
    .footer-about {
        font-size: 0.8rem;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
    
    .policy-links a {
        font-size: 0.7rem;
        margin: 0 0.5rem;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn, 
    .compact-btn, 
    .event-details-btn,
    .form-check-input {
        min-height: 44px;
        min-width: 44px;
    }
    
    input, select, textarea {
        font-size: 16px !important;
    }
    
    #loading-indicator {
        position: sticky;
        bottom: 0;
        background: rgba(248, 249, 250, 0.9);
        backdrop-filter: blur(5px);
        padding: 1rem;
        z-index: 100;
    }
}

/* Print Styles */
@media print {
    .custom-navbar,
    .hero-section,
    .modern-filter-container,
    .btn,
    .custom-footer,
    .action-section {
        display: none !important;
    }
    
    .compact-event-card,
    .registration-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000000;
        --secondary: #0000ff;
    }
    
    .compact-event-card,
    .registration-card {
        border: 2px solid var(--dark);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* 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;
    }
    
    .compact-event-card:hover,
    .event-image-wrapper:hover,
    .btn:hover {
        transform: none;
    }
}
/* ========== EVENT MODAL DETAILS STYLES ========== */
.event-modal-modern {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}

/* Hero Image Section */
.modal-image-hero {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.modal-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modal-image-hero:hover .modal-hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* Hero Badges */
.hero-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-badge.featured {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.hero-badge.upcoming {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.hero-badge.completed {
    background: rgba(108, 117, 125, 0.9);
    color: white;
}

/* Hero Title Overlay */
.hero-title-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: white;
}

.modal-event-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.modal-event-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.meta-item i {
    font-size: 0.8rem;
}

/* Details Content */
.modal-details-content {
    padding: 30px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Details Sections */
.details-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
    display: flex;
    align-items: center;
}

.section-title i {
    color: var(--primary);
}

.description-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.95rem;
    border: 1px solid #e9ecef;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.info-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.info-card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-card-content {
    flex: 1;
}

.info-card-content h4 {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-primary {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.info-secondary {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0;
}

.info-secondary i {
    width: 12px;
    color: var(--primary);
}

/* Action Section */
.action-section {
    margin-top: 30px;
    text-align: center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    background: var(--gradient-dark);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(1, 76, 130, 0.3);
    width: 100%;
    max-width: 400px;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(1, 76, 130, 0.4);
    color: white;
    text-decoration: none;
}

.action-btn i {
    transition: transform 0.3s ease;
}

.action-btn:hover i.fa-arrow-right {
    transform: translateX(5px);
}

.action-note {
    margin-top: 15px;
    color: #6c757d;
    font-size: 0.85rem;
}

.completed-message {
    background: #f8f9fa;
    color: #6c757d;
    padding: 20px;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Error State */
.error-state {
    padding: 40px 20px;
}

.error-icon {
    color: var(--danger);
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal-image-hero {
        height: 250px;
    }
    
    .hero-title-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .modal-event-title {
        font-size: 1.5rem;
    }
    
    .modal-event-meta {
        gap: 10px;
    }
    
    .meta-item {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    .modal-details-content {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .info-card {
        padding: 12px;
    }
    
    .action-btn {
        padding: 14px 25px;
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .modal-image-hero {
        height: 200px;
    }
    
    .hero-badges {
        top: 15px;
        left: 15px;
        right: 15px;
    }
    
    .hero-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .modal-event-title {
        font-size: 1.2rem;
    }
    
    .modal-details-content {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .description-content {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .info-primary {
        font-size: 0.9rem;
    }
    
    .info-secondary {
        font-size: 0.75rem;
    }
}