:root {
    --brand: #0052cc;
    --brand-dark: #003087;
    --accent: #00b4d8;
    --muted: #64748b;
    --bg: #c9d2eb;
    --card: #ffffff;
    --glass: rgba(243, 233, 233, 0.92);
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 400;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    background: linear-gradient(180deg, #e6edff 0%, var(--bg) 100%);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 24px;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  .hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: white;
    padding: 32px 40px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    animation: pulse 8s infinite ease-in-out;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
  }
  
  .hero h1 {
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .hero .tagline {
    font-size: 15px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .controls {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  
  .search {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid rgba(12, 11, 11, 0.2);
    min-width: 320px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
  }
  
  .search:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
  }
  
  .search input {
    border: 0;
    outline: 0;
    font-size: 14px;
    width: 100%;
    background: transparent;
    color: rgb(17, 16, 16);
  }
  
  .search input::placeholder {
    color: rgba(20, 19, 19, 0.7);
  }
  
  .btn {
    padding: 10px 16px;
    border-radius: 10px;
    border: 0;
    background: #0b91eb;
    color: rgb(48, 45, 45);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
  
  .btn.secondary {
    background:#0b91eb;
    border: 1px solid var(--brand);
  }
  
  .btn.secondary:hover {
    background: var(--brand);
    border-color: var(--accent);
  }
  
  .tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
    background:#0b91eb;
    padding: 6px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
  }
  
  .tab {
    padding: 10px 20px;
    background:#cfdae4;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    transition: all 0.3s ease;
  }
  
  .tab:hover {
    color: var(--brand);
  }
  
  .tab.active {
    background: white;
    color: var(--brand);
    box-shadow: var(--shadow);
  }
  
  main {
    display: grid;
    grid-template-columns: 260px 1fr 360px;
    gap: 24px;
    align-items: start;
  }
  
  @media (max-width: 1200px) {
    main {
      grid-template-columns: 1fr;
    }
  
    .search {
      min-width: 100%;
    }
  }
  
  .sidebar {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
    position: sticky;
    top: 24px;
  }
  
  .sidebar:hover {
    transform: translateY(-4px);
  }
  
  .section-title {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--brand);
    font-weight: 600;
  }
  
  .dropdown {
    position: relative;
    margin-bottom: 16px;
  }
  
  .dropdown-btn {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .dropdown-btn:hover {
    border-color: var(--accent);
  }
  
  .dropdown-btn::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 700;
    transition: transform 0.3s ease;
  }
  
  .dropdown-btn.active::after {
    transform: rotate(180deg);
  }
  
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown-content.show {
    max-height: 800px;
    padding: 2px 0;
    border: 1px solid #e2e8f0;
    border-top: none;
  }
  
  .dropdown-item {
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  
  .dropdown-item:hover {
    background: #f8fafc;
    color: var(--brand);
  }
  
  .dropdown-item.active {
    background: linear-gradient(90deg, var(--brand), var(--accent));
    color: white;
  }
  
  .dropdown-item i {
    width: 18px;
    text-align: center;
  }
  
  .filters {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  select,
  input[type="date"],
  input[type="file"] {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
  }
  
  select:focus,
  input[type="date"]:focus,
  input[type="file"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
    outline: none;
  }
  
  .events-container {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
  }
  
  .events-container:hover {
    transform: translateY(-4px);
  }
  
  .events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
  
  .event-card {
    background: var(--card);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #0e60ca;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    position: relative;
    overflow: hidden;
  }
  
  .event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand);
  }
  
  .event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--brand);
    transition: width 0.3s ease;
  }
  
  .event-card:hover::before {
    width: 4px;
  }
  
  .event-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  .date-box {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: #e8ecf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
  }
  
  .date-box .day {
    font-weight: 700;
    font-size: 18px;
    color: var(--brand);
  }
  
  .date-box .month {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
  }
  
  .date-box .time {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
  }
  
  .event-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .event-title {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .event-description {
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }
  
  .tag {
    font-size: 11px;
    padding: 4px 8px;
    background: #e6edff;
    border-radius: 999px;
    color: var(--brand);
    white-space: nowrap;
  }
  
  .event-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .map-card,
  .featured {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
    position: sticky;
    top: 24px;
  }
  
  .map-card:hover,
  .featured:hover {
    transform: translateY(-4px);
  }
  
  .map-frame {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    border: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .form-row.full {
    grid-column: 1/-1;
  }
  
  label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
  }
  
  input[type="text"],
  input[type="date"],
  input[type="time"],
  select,
  textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  input:focus,
  select:focus,
  textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
    outline: none;
  }
  
  textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  .small-muted {
    font-size: 13px;
    color: var(--muted);
  }
  
  .chip {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--brand);
    background: #1271d1;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
  }
  
  .chip:hover {
    background: var(--brand);
    color: white;
  }
  
  footer {
    margin-top: 32px;
    background: var(--brand-dark);
    color: white;
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section h4 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-decoration: none;
  }
  
  .footer-section a:hover {
    color: var(--accent);
  }
  
  .footer-social {
    display: flex;
    gap: 12px;
  }
  
  .footer-social a {
    font-size: 18px;
    color: white;
    transition: color 0.3s ease;
  }
  
  .footer-social a:hover {
    color: var(--accent);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .modal-backdrop.show {
    display: flex;
    opacity: 1;
  }
  
  .modal {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.7);
    transform: translateY(40px);
    transition: transform 0.4s ease;
  }
  
  .modal-backdrop.show .modal {
    transform: translateY(0);
  }
  
  .modal .close {
    float: right;
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.3s ease;
  }
  
  .modal .close:hover {
    color: var(--brand);
  }
  
  @media (max-width: 768px) {
    .form-grid {
      grid-template-columns: 1fr;
    }
  
    .map-frame {
      height: 240px;
    }
  
    .map-card,
    .featured {
      padding: 16px;
    }
  
    .hero {
      padding: 20px;
    }
  
    .hero h1 {
      font-size: 22px;
    }
  
    .search {
      min-width: 100%;
    }
  
    .controls {
      flex-direction: column;
    }
  
    main {
      gap: 16px;
    }
  
    .events-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .footer-social {
      justify-content: center;
    }
  }
  
  @media (min-width: 769px) and (max-width: 1200px) {
    .events-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .footer-container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (min-width: 1201px) {
    .events-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }