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

  body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
  }

  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header Styles */
  .header {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
  }

  .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0 0 50px 50px;
    z-index: -1;
  }

  .header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
  }

  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
  }

  /* Search and Filter Section */
  .search-filter {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .filters-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .search-box {
    position: relative;
  }

  .search-box input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .search-box input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  }

  .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #667eea;
  }

  .filter-select {
    padding: 18px 25px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .filter-select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  }

  /* Organizers Grid */
  .organizers-container {
    margin-bottom: 60px;
  }

  .organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
  }

  .organizer-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
  }

  .organizer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .organizer-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
  }

  .organizer-card:hover::before {
    transform: scaleX(1);
  }

  .verified-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
  }

  .organizer-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
  }

  .organizer-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    font-weight: bold;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  }

  .organizer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .organizer-info h3 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .stars {
    color: #ffd700;
    font-size: 1.1rem;
  }

  .rating span:last-child {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .location {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
  }

  .organizer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
  }

  .stat {
    text-align: center;
    transition: transform 0.3s ease;
  }

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

  .stat .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 4px;
  }

  .stat .label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .organizer-description {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
  }

  .organizer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
  }

  .tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
  }

  .view-details-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .view-details-btn::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;
  }

  .view-details-btn:hover::before {
    left: 100%;
  }

  .view-details-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
  }

  @keyframes slideIn {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 35px;
    border-radius: 25px 25px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
  }

  .close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
  }

  .modal-body {
    padding: 40px;
  }

  .organizer-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .profile-left {
    text-align: center;
    background: rgba(102, 126, 234, 0.05);
    padding: 30px;
    border-radius: 20px;
  }

  .profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
  }

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

  .profile-left h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
  }

  .profile-left p {
    margin-bottom: 10px;
    color: #4a5568;
    font-weight: 500;
  }

  .profile-right h3 {
    color: #2d3748;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .profile-right p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .event-list {
    list-style: none;
    display: grid;
    gap: 20px;
  }

  .event-list li {
    background: rgba(102, 126, 234, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
  }

  .event-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
  }

  .event-list strong {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 700;
  }

  /* Responsive Design */

  /* Large tablets and small desktops (1024px - 1199px) */
  @media (max-width: 1199px) {
    .container {
      max-width: 1024px;
      padding: 0 25px;
    }
    
    .organizers-grid {
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 25px;
    }
    
    .filters-row {
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 15px;
    }
    
    .modal-content {
      width: 92%;
      max-width: 1000px;
    }
  }

  /* Regular tablets (768px - 1023px) */
  @media (max-width: 1023px) {
    .header {
      padding: 50px 0 35px;
    }
    
    .header::before {
      border-radius: 0 0 30px 30px;
    }
    
    .header h1 {
      font-size: clamp(2rem, 4vw, 3.5rem);
      margin-bottom: 12px;
    }
    
    .header p {
      font-size: 1rem;
    }
    
    .search-filter {
      padding: 25px;
      margin-bottom: 35px;
      border-radius: 20px;
    }
    
    .organizers-grid {
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 20px;
    }
    
    .organizer-card {
      padding: 30px;
      border-radius: 20px;
    }
    
    .organizer-avatar {
      width: 80px;
      height: 80px;
      font-size: 2rem;
    }
    
    .organizer-info h3 {
      font-size: 1.3rem;
    }
    
    .stat .number {
      font-size: 1.6rem;
    }
    
    .modal-content {
      width: 95%;
      margin: 3% auto;
    }
    
    .modal-header {
      padding: 30px;
    }
    
    .modal-header h2 {
      font-size: 1.6rem;
    }
    
    .modal-body {
      padding: 35px;
    }
    
    .profile-avatar {
      width: 130px;
      height: 130px;
      font-size: 2.5rem;
    }
  }

  /* Mobile landscape and small tablets (640px - 767px) */
  @media (max-width: 767px) {
    .container {
      padding: 0 20px;
    }
    
    .header {
      padding: 40px 0 30px;
    }
    
    .header h1 {
      font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    
    .back-btn {
      padding: 8px 16px;
      font-size: 0.9rem;
      margin-top: 12px;
    }
    
    .search-filter {
      padding: 20px;
      border-radius: 15px;
    }
    
    .filters-row {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    
    .search-box input {
      padding: 15px 22px 15px 50px;
      font-size: 0.9rem;
    }
    
    .search-icon {
      left: 18px;
      font-size: 1.1rem;
    }
    
    .filter-select {
      padding: 15px 22px;
      font-size: 0.9rem;
    }
    
    .organizers-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
    
    .organizer-card {
      padding: 25px;
      border-radius: 15px;
    }
    
    .verified-badge {
      top: 20px;
      right: 20px;
      padding: 6px 12px;
      font-size: 0.75rem;
    }
    
    .organizer-header {
      flex-direction: column;
      text-align: center;
      gap: 15px;
      margin-bottom: 20px;
    }
    
    .organizer-avatar {
      width: 70px;
      height: 70px;
      font-size: 1.8rem;
    }
    
    .organizer-info h3 {
      font-size: 1.2rem;
      margin-bottom: 6px;
    }
    
    .rating {
      justify-content: center;
      margin-bottom: 6px;
    }
    
    .location {
      justify-content: center;
      font-size: 0.9rem;
    }
    
    .organizer-stats {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 15px;
      margin-bottom: 20px;
    }
    
    .stat .number {
      font-size: 1.4rem;
    }
    
    .stat .label {
      font-size: 0.75rem;
    }
    
    .organizer-description {
      font-size: 0.9rem;
      margin-bottom: 20px;
    }
    
    .organizer-tags {
      gap: 8px;
      margin-bottom: 20px;
    }
    
    .tag {
      padding: 6px 12px;
      font-size: 0.75rem;
    }
    
    .view-details-btn {
      padding: 14px 28px;
      font-size: 0.9rem;
    }
    
    .modal-content {
      width: 98%;
      margin: 5% auto;
      border-radius: 15px;
      max-height: 85vh;
    }
    
    .modal-header {
      padding: 25px;
      border-radius: 15px 15px 0 0;
    }
    
    .modal-header h2 {
      font-size: 1.4rem;
    }
    
    .close {
      width: 35px;
      height: 35px;
      font-size: 1.8rem;
    }
    
    .modal-body {
      padding: 30px;
    }
    
    .organizer-profile {
      grid-template-columns: 1fr;
      gap: 25px;
      text-align: center;
      margin-bottom: 30px;
    }
    
    .profile-left {
      padding: 25px;
    }
    
    .profile-avatar {
      width: 120px;
      height: 120px;
      font-size: 2.2rem;
      margin: 0 auto 15px;
    }
    
    .profile-left h3 {
      font-size: 1.2rem;
      margin-bottom: 12px;
    }
    
    .profile-right h3 {
      font-size: 1.4rem;
      margin-bottom: 15px;
      justify-content: center;
    }
    
    .profile-right p {
      margin-bottom: 25px;
    }
    
    .event-list {
      gap: 15px;
    }
    
    .event-list li {
      padding: 18px;
      border-radius: 12px;
    }
    
    .event-list strong {
      font-size: 1rem;
    }
  }

  /* Mobile portrait (480px - 639px) */
  @media (max-width: 639px) {
    .container {
      padding: 0 18px;
    }
    
    .header {
      padding: 35px 0 25px;
    }
    
    .header::before {
      border-radius: 0 0 25px 25px;
    }
    
    .organizer-stats {
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      padding: 12px;
    }
    
    .stat .number {
      font-size: 1.2rem;
      margin-bottom: 2px;
    }
    
    .stat .label {
      font-size: 0.7rem;
    }
    
    .modal-header {
      padding: 20px;
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
    
    .close {
      align-self: flex-end;
      margin-top: -10px;
    }
  }

  /* Small mobile phones (max 479px) */
  @media (max-width: 479px) {
    .container {
      padding: 0 15px;
    }
    
    .header {
      padding: 30px 0 20px;
    }
    
    .header h1 {
      font-size: clamp(1.6rem, 8vw, 2.2rem);
      margin-bottom: 8px;
    }
    
    .header p {
      font-size: 0.9rem;
      line-height: 1.5;
    }
    
    .back-btn {
      padding: 6px 14px;
      font-size: 0.85rem;
      gap: 6px;
    }
    
    .search-filter {
      padding: 18px;
      margin-bottom: 25px;
    }
    
    .search-box input {
      padding: 12px 18px 12px 45px;
      font-size: 0.85rem;
    }
    
    .search-icon {
      left: 15px;
      font-size: 1rem;
    }
    
    .filter-select {
      padding: 12px 18px;
      font-size: 0.85rem;
    }
    
    .organizer-card {
      padding: 20px;
      border-radius: 12px;
    }
    
    .verified-badge {
      top: 15px;
      right: 15px;
      padding: 5px 10px;
      font-size: 0.7rem;
    }
    
    .organizer-avatar {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
    }
    
    .organizer-info h3 {
      font-size: 1.1rem;
    }
    
    .rating {
      gap: 6px;
    }
    
    .stars {
      font-size: 1rem;
    }
    
    .rating span:last-child {
      font-size: 0.8rem;
    }
    
    .location {
      font-size: 0.85rem;
    }
    
    .organizer-stats {
      padding: 10px;
      gap: 6px;
    }
    
    .stat .number {
      font-size: 1.1rem;
    }
    
    .stat .label {
      font-size: 0.65rem;
    }
    
    .organizer-description {
      font-size: 0.85rem;
      line-height: 1.6;
    }
    
    .tag {
      padding: 5px 10px;
      font-size: 0.7rem;
    }
    
    .view-details-btn {
      padding: 12px 24px;
      font-size: 0.85rem;
    }
    
    .modal-content {
      width: 100%;
      height: 100vh;
      margin: 0;
      border-radius: 0;
      max-height: 100vh;
    }
    
    .modal-header {
      padding: 18px;
      border-radius: 0;
    }
    
    .modal-header h2 {
      font-size: 1.2rem;
    }
    
    .close {
      width: 32px;
      height: 32px;
      font-size: 1.5rem;
    }
    
    .modal-body {
      padding: 20px;
    }
    
    .profile-left {
      padding: 20px;
    }
    
    .profile-avatar {
      width: 100px;
      height: 100px;
      font-size: 2rem;
      margin: 0 auto 12px;
    }
    
    .profile-left h3 {
      font-size: 1.1rem;
      margin-bottom: 10px;
    }
    
    .profile-left p {
      font-size: 0.9rem;
      margin-bottom: 8px;
    }
    
    .profile-right h3 {
      font-size: 1.2rem;
      margin-bottom: 12px;
    }
    
    .profile-right p {
      font-size: 0.9rem;
      margin-bottom: 20px;
    }
    
    .event-list {
      gap: 12px;
    }
    
    .event-list li {
      padding: 15px;
      border-radius: 10px;
      border-left-width: 3px;
    }
    
    .event-list strong {
      font-size: 0.95rem;
    }
  }

  /* Extra small devices (max 360px) */
  @media (max-width: 360px) {
    .container {
      padding: 0 12px;
    }
    
    .organizer-stats {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    
    .stat .number {
      font-size: 1.3rem;
    }
    
    .stat .label {
      font-size: 0.7rem;
    }
    
    .organizer-tags {
      gap: 6px;
    }
    
    .tag {
      padding: 4px 8px;
      font-size: 0.65rem;
    }
    
    .search-box input {
      padding: 10px 15px 10px 40px;
      font-size: 0.8rem;
    }
    
    .search-icon {
      left: 12px;
      font-size: 0.9rem;
    }
    
    .filter-select {
      padding: 10px 15px;
      font-size: 0.8rem;
    }
    
    .view-details-btn {
      padding: 10px 20px;
      font-size: 0.8rem;
    }
  }

  /* Landscape orientation adjustments */
  @media (max-height: 500px) and (orientation: landscape) {
    .header {
      padding: 20px 0 15px;
    }
    
    .header h1 {
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      margin-bottom: 5px;
    }
    
    .header p {
      font-size: 0.9rem;
    }
    
    .search-filter {
      padding: 15px;
      margin-bottom: 20px;
    }
    
    .organizer-card {
      padding: 20px;
    }
    
    .organizer-header {
      gap: 15px;
      margin-bottom: 15px;
    }
    
    .organizer-stats {
      margin-bottom: 15px;
    }
    
    .modal-content {
      max-height: 95vh;
      margin: 1% auto;
    }
    
    .modal-header {
      padding: 20px;
    }
    
    .modal-body {
      padding: 25px;
    }
  }

  /* High DPI / Retina displays */
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .organizer-avatar,
    .profile-avatar {
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
    }
  }

  /* Print styles */
  @media print {
    body {
      background: white;
      color: black;
    }
    
    .header::before,
    .search-filter,
    .back-btn,
    .view-details-btn,
    .modal {
      display: none;
    }
    
    .organizer-card {
      background: white;
      border: 1px solid #ccc;
      box-shadow: none;
      break-inside: avoid;
      margin-bottom: 20px;
    }
    
    .organizer-card:hover {
      transform: none;
    }
  }

  /* Reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    
    .organizer-card:hover {
      transform: none;
    }
    
    .view-details-btn:hover {
      transform: none;
    }
    
    .stat:hover {
      transform: none;
    }
    
    .tag:hover {
      transform: none;
    }
    
    .event-list li:hover {
      transform: none;
    }
  }
