:root {
  --navy: #0B1F3A;
  --navy-light: #142d52;
  --teal: #0D8F84;
  --teal-light: #12b5a8;
  --gold: #F5A623;
  --white: #FFFFFF;
  --off-white: #F7F8FC;
  --gray-100: #F0F2F7;
  --gray-200: #E2E6F0;
  --gray-400: #8B94A8;
  --gray-600: #4A5568;
  --text: #0B1F3A;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Sora', sans-serif;
  background: var(--off-white);
  color: var(--text);
  min-height: 100vh;
}
/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  background: linear-gradient(30deg, #7502af 10%, #5a0b85 90%);
  padding: 80px 48px 64px;
  position: relative;
  margin-top: 10px;
  overflow:visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 143, 132, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 143, 132, 0.15);
  border: 1px solid rgba(13, 143, 132, 0.3);
  color: var(--teal-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: #ffffff;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 820px;
  line-height: 1.7;
  font-weight: 300;
  text-align:center;
  margin:auto;	  	
}

.hero-stats {
	 display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #f5f0ff;
    border-radius: 24px;
    padding: 50px 40px;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto -90px auto;
    position: relative;
    z-index: 20;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	top:0px;
	
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.8em;
    font-weight: 900;
    color: #7b00b8;
    margin: 0 0 8px;
  display: block;
}

.stat-label {
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
  display: block;
  color: #333;
}

.stat-item{
    flex: 1;
    text-align: center;
    border-right: 2px solid rgba(0,0,0,0.15);
    padding: 0 20px;
    min-height: 100px;
}

.stat-item:last-child{
    border-right: none;
}

.events-section{
    background: white;
    padding-top:70px;
}

/* ============================================================
   FILTERS BAR
   ============================================================ */

.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 48px;
  position: sticky;
  top: 68px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	margin-top:70px;
}

.filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin:auto;	
  justify-content:center;	
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Sora', sans-serif;
}

.filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(13, 143, 132, 0.04);
}

.filter-btn.active {
  background: linear-gradient(180deg, #6a06a0 0%, #7b00b8 100%);
  border-color: #fff;
  color: var(--white);
}

.filter-divider {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.section-count {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ============================================================
   EVENT CARDS GRID
   ============================================================ */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  align-items: stretch;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.1);
  border-color: var(--teal);
}

.event-card.upcoming {
  border-top: 3px solid #7b00b8;
}

.card-date-strip {
  background: linear-gradient(180deg, #6a06a0 0%, #7b00b8 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-date {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-event-name {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

/* ============================================================
   EVENT LOGO PLACEMENT
   Puts the logo in the white space to the right of the
   City / Type / Attendees rows on upcoming cards.
   ============================================================ */

.card-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.card-content-row .card-meta {
  margin-bottom: 0;
}

.event-logo-img {
 height: 120px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
}

.meta-label {
  font-weight: 600;
  color: var(--gray-400);
  min-width: 80px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-value {
  color: var(--gray-600);
  font-size: 13px;
}

.card-logo {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-logo-placeholder {
  height: 36px;
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7b00b8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.card-cta:hover { gap: 10px; }
.card-cta svg { transition: transform 0.2s; }
.card-cta:hover svg { transform: translateX(2px); }

/* ============================================================
   FEATURED CARD (spans 2 columns)
   ============================================================ */

.event-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.featured-description {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.featured-speakers {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.speaker-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border-radius: 100px;
  padding: 6px 12px 6px 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom:10px;	
}

.speaker-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
 
 	background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Sora', sans-serif;
    white-space: nowrap;
	
	
}

.btn-primary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background-color: #f4e7ff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-content: center;
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(123, 0, 184, 0.18) 0%, transparent 70%);
}

.cta-banner h2 {
  font-family: 'Sora', sans-serif;
 
  position: relative;
	font-size: 24px;
    font-weight: 600;
    color: #1b1139;
    margin-bottom: 12px;

}

.cta-banner p {
  position: relative;
  font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.5;
}

.cta-banner .cta-btn-wrap {
  display: flex !important;
  gap: 16px;
  justify-content: center;
  position: relative;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.contact-pill-btn {
  display: inline-block;
  border-radius: 100px;
  padding: 14px 36px;
  background: linear-gradient(180deg, #AA49DB 0%, #5B2775 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-size: 14px;
  font-family: 'Sora', sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.contact-pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-primary{
	 background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.25);
	color: rgba(255,255,255,0.9);
	
}

/* ============================================================
   FOOTER
   ============================================================ */




/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.event-card { animation: fadeUp 0.4s ease both; }
.event-card:nth-child(2) { animation-delay: 0.05s; }
.event-card:nth-child(3) { animation-delay: 0.10s; }
.event-card:nth-child(4) { animation-delay: 0.15s; }
.event-card:nth-child(5) { animation-delay: 0.20s; }
.event-card:nth-child(6) { animation-delay: 0.25s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
  .event-card.featured { grid-column: span 2; flex-direction: column; }
  .event-card.featured .card-date-strip { flex-direction: row; min-width: unset; }
  nav { padding: 0 24px; }
  .hero { padding: 56px 24px; }
  .hero h1 { font-size: 36px; }
  .main { padding: 40px 24px; }
  .filters-bar { padding: 16px 24px; }
}

@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-card.featured { grid-column: span 1; }
  .nav-links { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 28px; }
  .card-content-row { flex-direction: column; align-items: flex-start; }
  .event-logo-img { margin-top: 12px; }
}

/* Responsive2   */



@media (max-width: 767px){

    #typeFilters{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    #typeFilters button,
    #typeFilters .filter-btn{
        width:100%;
        text-align:center;
    }

}

@media (max-width:767px){
.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(123, 0, 184, 0.18) 0%, transparent 70%);
}
	
}