/* Component-specific styles for IChamber */

/* Search Modal Styles */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.search-modal-content {
  background: var(--wef-white);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 32rem;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  animation: slideInDown 0.3s ease-out;
}

.search-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem;
  background: transparent;
  color: var(--wef-charcoal);
}

.search-input::placeholder {
  color: var(--wef-slate);
}

.close-search {
  background: none;
  border: none;
  color: var(--wef-slate);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-search:hover {
  background: var(--wef-light-gray);
  color: var(--wef-charcoal);
}

.search-results {
  padding: 1rem;
  max-height: 60vh;
  overflow-y: auto;
}

.search-result-item {
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--wef-light-gray);
}

.search-result-item h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.search-result-item h4 a {
  color: var(--wef-charcoal);
  text-decoration: none;
}

.search-result-item h4 a:hover {
  color: var(--wef-blue);
}

.search-result-item p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--wef-slate);
  line-height: 1.4;
}

.search-no-results {
  text-align: center;
  color: var(--wef-slate);
  font-size: 0.875rem;
  padding: 2rem;
  margin: 0;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 20rem;
  height: 100vh;
  background: var(--wef-white);
  box-shadow: -10px 0 15px -3px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 100;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  padding: 2rem 1rem;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list li {
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--wef-charcoal);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--wef-light-gray);
  color: var(--wef-blue);
}

/* Hamburger Menu Animation */
.mobile-menu-btn {
  position: relative;
  z-index: 101;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Lightbox Styles */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox-modal.active {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: none;
  border: none;
  color: var(--wef-white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
  text-align: center;
  margin-top: 1rem;
  color: var(--wef-white);
}

.lightbox-info h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  color: var(--wef-white);
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 20rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.notification-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification-info {
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
}

.notification-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Header Scrolled State */
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Enhanced Tab Styles */
.tabs-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  width: 100%;
  overflow-x: auto;
}

.tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--wef-gray);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
  opacity: 1;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--wef-white);
  border-color: var(--wef-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tab-icon {
  transition: transform 0.3s ease;
}

.tab-btn:hover .tab-icon {
  transform: scale(1.1);
}

/* Enhanced Card Hover Effects */
.impact-card,
.platform-card,
.gallery-item {
  position: relative;
  overflow: hidden;
}

.impact-card::before,
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.impact-card:hover::before,
.platform-card:hover::before {
  opacity: 0.1;
}

/* Video Overlay Enhancement */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.hero-video-container:hover .video-overlay {
  opacity: 1;
}

.video-play-button {
  background: var(--wef-white);
  color: var(--wef-navy);
  border: none;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.video-play-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.video-play-button:hover::before {
  opacity: 1;
}

.video-play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  color: var(--wef-white);
}

.video-play-button svg {
  position: relative;
  z-index: 1;
  margin-left: 2px; /* Center the play icon visually */
}

/* Enhanced Form Styles */
.newsletter-form {
  position: relative;
}

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

@media (min-width: 640px) {
  .form-group {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--wef-white);
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: var(--wef-gray);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--wef-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  color: var(--wef-white);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.newsletter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4f46e5, var(--wef-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.newsletter-btn:hover::before {
  opacity: 1;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.newsletter-btn svg {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.newsletter-btn:hover svg {
  transform: translateX(2px);
}

/* Enhanced Gallery Styles */
.gallery-item {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  mix-blend-mode: overlay;
}

.gallery-item:hover::before {
  opacity: 0.3;
}

.gallery-item:hover {
  transform: scale(1.05) rotate(1deg);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: var(--wef-white);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Enhanced Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  color: var(--wef-white);
  border: 1px solid var(--wef-blue);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4f46e5, var(--wef-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5) !important;
  color: var(--wef-white) !important;
  border: 1px solid var(--wef-blue) !important;
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5, var(--wef-blue)) !important;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5) !important;
  color: var(--wef-white) !important;
  border: 1px solid var(--wef-blue) !important;
  position: relative;
  z-index: 1;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #4f46e5, var(--wef-blue)) !important;
}

.btn-secondary::before {
  background: linear-gradient(135deg, #4f46e5, var(--wef-blue));
}

.btn-secondary:hover::before {
  opacity: 1;
}

/* Platform Icon Enhancement */
.platform-icon {
  position: relative;
  overflow: hidden;
}

.platform-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4f46e5, var(--wef-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1rem;
}

.platform-card:hover .platform-icon::before {
  opacity: 1;
}

.platform-icon svg {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon svg {
  transform: scale(1.1) rotate(5deg);
}

/* Chart Enhancement */
.chart-circle {
  position: relative;
  animation: rotate360 10s linear infinite;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.chart-inner {
  animation: counterRotate 10s linear infinite;
}

@keyframes counterRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* Responsive Enhancements */
@media (max-width: 767px) {
  .search-modal {
    padding: 2rem 1rem;
  }
  
  .search-modal-content {
    max-height: 90vh;
  }
  
  .lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .lightbox-close {
    top: -1rem;
    right: -1rem;
    font-size: 1.5rem;
  }
  
  .notification {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
  
  .tab-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--wef-blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
}

/* Error States */
.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.success {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* About Page Specific Styles */
.mission-points {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .mission-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mission-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mission-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  border-radius: 0.75rem;
  color: var(--wef-white);
  flex-shrink: 0;
}

.mission-content h3 {
  color: var(--wef-white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mission-content p {
  color: var(--wef-gray);
  font-size: 0.875rem;
  line-height: 1.6;
}

.mission-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mission-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Goals Grid */
.goals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .goals-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.goal-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.goal-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.goal-item:hover::before {
  opacity: 0.1;
}

.goal-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--wef-blue);
}

.goal-number {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  color: var(--wef-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.5rem auto;
}

.goal-item h3 {
  color: var(--wef-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.goal-item p {
  color: var(--wef-gray);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Platforms Page Specific Styles */
.platform-detail {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.platform-detail h3 {
  color: var(--wef-white);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.platform-detail p {
  color: var(--wef-gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.platform-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .platform-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  border-radius: 0.5rem;
  color: var(--wef-white);
  flex-shrink: 0;
}

.feature-text {
  color: var(--wef-white);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Contact Page Specific Styles */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: var(--wef-white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--wef-white);
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--wef-gray);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--wef-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  border-radius: 0.75rem;
  color: var(--wef-white);
  margin-bottom: 1rem;
}

.contact-info-item h3 {
  color: var(--wef-white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  color: var(--wef-gray);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Events Page Specific Styles */
.events-calendar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .events-calendar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--wef-blue);
}

.event-date {
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  color: var(--wef-white);
  padding: 1rem;
  text-align: center;
}

.event-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-content {
  padding: 1.5rem;
}

.event-title {
  color: var(--wef-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.event-description {
  color: var(--wef-gray);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--wef-gray);
  font-size: 0.75rem;
}

.event-location,
.event-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* News Page Specific Styles */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--wef-blue);
}

.news-image {
  height: 12rem;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--wef-blue);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.news-title {
  color: var(--wef-white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--wef-gray);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-link {
  color: var(--wef-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.news-link:hover {
  color: var(--wef-light-blue);
}

/* Member Directory Specific Styles */
.member-search {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.search-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .search-filters {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.filter-label {
  color: var(--wef-white);
  font-size: 0.875rem;
  font-weight: 600;
}

.filter-select,
.filter-input {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--wef-white);
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
}

.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.member-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: var(--wef-blue);
}

.member-avatar {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wef-white);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem auto;
}

.member-name {
  color: var(--wef-white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.member-company {
  color: var(--wef-blue);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.member-industry {
  color: var(--wef-gray);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: var(--wef-white);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
  background: linear-gradient(135deg, var(--wef-blue), #4f46e5);
  border-color: var(--wef-blue);
}

/* Forum in the News Section */
.wef-news-section {
  background: #ffffff;
  padding: 4rem 0;
}

.wef-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wef-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1.5rem;
}

.wef-news-title {
  color: #2d3748;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.wef-press-releases {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.wef-press-releases:hover {
  color: #1d4ed8;
}

.wef-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e5e5e5;
}

.wef-news-column {
  position: relative;
  border-right: 1px solid #e5e5e5;
  padding: 2rem 2rem 0 0;
}

.wef-news-column:last-child {
  border-right: none;
  padding-right: 0;
}

.wef-news-column:first-child {
  padding-left: 0;
}

.wef-news-column:nth-child(2) {
  padding-left: 2rem;
}

.wef-news-column:nth-child(3) {
  padding-left: 2rem;
}

.wef-news-item {
  padding: 0 0 2rem 0;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
}

.wef-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.wef-news-item h3 {
  color: #2d3748;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  font-family: 'Inter', sans-serif;
}

.wef-news-source {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.wef-news-source:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .wef-news-grid {
    grid-template-columns: 1fr;
  }
  
  .wef-news-column {
    border-right: none;
    padding: 2rem 0 0 0;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .wef-news-column:last-child {
    border-bottom: none;
  }
  
  .wef-news-column:nth-child(2),
  .wef-news-column:nth-child(3) {
    padding-left: 0;
  }
}

/* Spotlight Section */
.spotlight-section {
  background: #ffffff;
  padding: 4rem 0;
}

.spotlight-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1.5rem;
}

.spotlight-title {
  color: #2d3748;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  font-family: 'Inter', sans-serif;
}

.spotlight-subtitle {
  color: #718096;
  font-size: 1.125rem;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.spotlight-more-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  margin-top: 1rem;
}

.spotlight-more-link:hover {
  color: #1d4ed8;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  height: 600px;
}

.spotlight-featured {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.spotlight-featured:hover {
  transform: translateY(-4px);
}

.spotlight-secondary {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.spotlight-secondary:hover {
  transform: translateY(-4px);
}

.spotlight-small-grid {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.spotlight-small {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.spotlight-small:hover {
  transform: translateY(-4px);
}

.spotlight-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1e293b;
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.spotlight-featured .spotlight-image {
  height: 400px;
  min-height: 400px;
}

.spotlight-secondary .spotlight-image {
  height: 250px;
  min-height: 250px;
}

.spotlight-small .spotlight-image {
  height: 320px;
  min-height: 320px;
}

.spotlight-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}

.spotlight-small .spotlight-content {
  padding: 1.5rem 1rem 1rem;
}

.spotlight-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #60a5fa;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.spotlight-featured-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: white;
  font-family: 'Inter', sans-serif;
}

.spotlight-title-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: white;
  font-family: 'Inter', sans-serif;
}

.spotlight-small .spotlight-title-text {
  font-size: 0.875rem;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  
  .spotlight-featured {
    grid-column: 1;
    grid-row: 1;
  }
  
  .spotlight-secondary {
    grid-column: 1;
    grid-row: 2;
  }
  
  .spotlight-small-grid {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .spotlight-featured .spotlight-image,
  .spotlight-secondary .spotlight-image {
    height: 300px;
  }
  
  .spotlight-small .spotlight-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .spotlight-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .spotlight-more-link {
    margin-top: 1rem;
  }
  
  .spotlight-title {
    font-size: 2rem;
  }
  
  .spotlight-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .wef-news-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .wef-news-title {
    font-size: 2rem;
  }
  
  .wef-news-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .wef-news-container {
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .wef-news-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .wef-news-title {
    font-size: 2rem;
  }
  
  .wef-news-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .wef-news-container {
    padding: 0 1rem;
  }
}  text-decoration: underline;
}

@media (max-width: 768px) {
  .wef-news-grid {
    grid-template-columns: 1fr;
  }
  
  .wef-news-column {
    border-right: none;
    padding: 2rem 0 0 0;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .wef-news-column:last-child {
    border-bottom: none;
  }
  
  .wef-news-column:nth-child(2),
  .wef-news-column:nth-child(3) {
    padding-left: 0;
  }
}

/* Spotlight Section */
.spotlight-section {
  background: #ffffff;
  padding: 5rem 0;
}

.spotlight-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 2rem;
}

.spotlight-title {
  color: #1f2937;
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.025em;
}

.spotlight-subtitle {
  color: #6b7280;
  font-size: 1.25rem;
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.spotlight-more-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.spotlight-more-link:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 2.5rem;
  height: 650px;
}

.spotlight-featured {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.2);
}

.spotlight-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.3);
}

.spotlight-secondary {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.15);
}

.spotlight-secondary:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.25);
}

.spotlight-small-grid {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.spotlight-small {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.12);
}

.spotlight-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.2);
}

.spotlight-single {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.15);
}

.spotlight-single:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.25);
}

.spotlight-single .spotlight-image {
  height: 280px;
  min-height: 280px;
}

.spotlight-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1e293b;
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.spotlight-featured .spotlight-image {
  height: 400px;
  min-height: 400px;
}

.spotlight-secondary .spotlight-image {
  height: 250px;
  min-height: 250px;
}

.spotlight-small .spotlight-image {
  height: 320px;
  min-height: 320px;
}

.spotlight-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 3rem 2rem 2rem;
  color: white;
}

.spotlight-small .spotlight-content {
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.80));
}

.spotlight-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  background: rgba(96, 165, 250, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.spotlight-featured-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: white;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.spotlight-title-text {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: white;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.spotlight-small .spotlight-title-text {
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 600;
}

.spotlight-small .spotlight-category {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.5rem;
}


@media (max-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  
  .spotlight-featured {
    grid-column: 1;
    grid-row: 1;
  }
  
  .spotlight-secondary {
    grid-column: 1;
    grid-row: 2;
  }
  
  .spotlight-small-grid {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .spotlight-featured .spotlight-image,
  .spotlight-secondary .spotlight-image {
    height: 300px;
  }
  
  .spotlight-small .spotlight-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .spotlight-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .spotlight-more-link {
    margin-top: 1rem;
  }
  
  .spotlight-title {
    font-size: 2rem;
  }
  
  .spotlight-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .wef-news-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .wef-news-title {
    font-size: 2rem;
  }
  
  .wef-news-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .wef-news-container {
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .wef-news-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .wef-news-title {
    font-size: 2rem;
  }
  
  .wef-news-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .wef-news-container {
    padding: 0 1rem;
  }
}