@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* =====================
   BASE VARIABLES
===================== */
:root {
  --bg-light: #ffffff;
  --bg-dark: #000000;
  --text-light: #111111;
  --text-dark: #f5f5f5;
  --muted-light: rgba(120,120,120,.9);
  --muted-dark: rgba(180,180,180,.9);
  --accent: #38bdf8;
  --primary: #38bdf8;
  --section-light: #f7f7f7;
  --section-dark: #131111;
  --border-light: #606b6b;
  --border-dark: #ddd;
  --overlay-light: rgba(255,255,255,0.08);
  --overlay-dark: rgba(0,0,0,0.35);
  --shadow-light: 0 10px 30px rgba(0,0,0,.15);
  --shadow-dark: 0 10px 30px rgba(255,255,255,.1);
}

/* =====================
   THEME MAPPING
===================== */
[data-theme="light"] {
  --bg-nav: var(--bg-light);
  --text-color: var(--text-light);
  --muted-color: var(--muted-light);
  --section-bg: var(--section-light);
  --border-color: var(--border-light);
  --overlay-bg: var(--overlay-light);
  --button-bg: var(--primary);
  --shadow: var(--shadow-light);
}

[data-theme="dark"] {
  --bg-nav: var(--bg-dark);
  --text-color: var(--text-dark);
  --muted-color: var(--muted-dark);
  --section-bg: var(--section-dark);
  --border-color: var(--border-dark);
  --overlay-bg: var(--overlay-dark);
  --button-bg: var(--primary);
  --shadow: var(--shadow-dark);
}

/* =====================
   RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* =====================
   BODY
===================== */
body {
  background: var(--bg-nav);
  color: var(--text-color);
  margin: 1.0rem auto;
  padding: 0 2.5rem;
  transition: background .3s ease, color .3s ease;
}

body a {
  text-decoration: none;
}

.section-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--section-bg);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 100;
}

.nav-brand a {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--muted-color);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  display: block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--text-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-nav);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.theme-toggle i {
  color: var(--text-color);
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.05);
}

/* =====================
   HAMBURGER
===================== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  transition: transform .2s ease, color .2s ease;
  z-index: 1002;
}

.menu-toggle:active {
  transform: scale(0.95);
  color: var(--accent);
}

@keyframes searchPop{
  from{transform:scale(.92); opacity:0;}
  to{transform:scale(1); opacity:1;}
}

/* CLOSE BUTTON */
.close-btn{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;  
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .25s ease;
}

.close-btn:hover{
  transform: scale(1.08);
  filter: brightness(1.1);
}



.home-hero-hero {
    min-height: 82vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 5rem;
    padding: 0.1rem;
    position: relative;
    overflow: hidden;
}

.home-hero-hero::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(56,189,248,.08);
    filter: blur(5px);
    right: -180px;
    top: -180px;
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
}


.home-hero-content h1 {
    font-size: clamp(1.1rem, 4vw, 4.3rem);
    line-height: .98;
    letter-spacing: -.06em;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.home-hero-content h1 span {
    color: var(--accent);
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.3rem;
}

.home-hero-visual {
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



.about-primary-btn,
.about-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: .9rem 1.4rem;
    border: 1px solid var(--accent);
    transition: all .3s ease;
    font-size: .9rem;
    font-weight: 600;
}

.about-primary-btn {
    color: #fff;
    background: var(--accent);
}

.about-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(56,189,248,.25);
}

.about-secondary-btn {
    color: var(--text-color);
    border-color: var(--border-color);
}

.about-secondary-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}



.hero-orbit {
    position: absolute;
    border: 1px solid rgba(56,189,248,.2);
    border-radius: 50%;
}

.orbit-one {
    width: 430px;
    height: 430px;
}

.orbit-two {
    width: 560px;
    height: 560px;
    border-color: rgba(56,189,248,.08);
}

.hero-event-card {
    position: relative;
    z-index: 2;
    width: 320px;
    padding: 1.5rem;
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
    transform: rotate(-4deg);
}

.event-card-top,
.event-card-footer,
.poll-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticket-event-status {
    font-size: .62rem;
    letter-spacing: .12em;
    font-weight: 700;
    color: #22c55e;
}

.ticket-event-status i {
    font-size: .4rem;
    margin-right: .25rem;
}

.event-card-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 2.5rem 0 1.2rem;
    background: rgba(56,189,248,.12);
    color: var(--accent);
    font-size: 1.7rem;
}

.event-card-label {
    font-size: .62rem;
    color: var(--muted-color);
    letter-spacing: .15em;
}

.event-card h3 {
    font-size: 1.45rem;
    margin: .45rem 0;
}

.event-card p {
    color: var(--muted-color);
    font-size: .78rem;
}

.event-card-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.event-people span {
    font-size: .9rem;
    font-weight: 700;
}

.event-people small {
    color: var(--muted-color);
    margin-left: .35rem;
}

.event-card-footer > i {
    color: var(--accent);
}

.hero-poll-card {
    position: absolute;
    z-index: 3;
    width: 280px;
    padding: 1.3rem;
    background: var(--bg-nav);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
    right: 0;
    bottom: 30px;
    transform: rotate(4deg);
}

.poll-header {
    margin-bottom: 1rem;
}

.poll-header span {
    color: var(--accent);
    font-size: .68rem;
    letter-spacing: .1em;
    font-weight: 700;
}

.poll-header small {
    color: var(--muted-color);
}

.hero-poll-card strong {
    display: block;
    line-height: 1.45;
    margin-bottom: 1.2rem;
}

.poll-option {
    position: relative;
    margin-top: .9rem;
    font-size: .72rem;
}

.poll-option span {
    color: var(--muted-color);
}

.poll-option b {
    float: right;
}

.poll-bar {
    height: 5px;
    margin-top: .45rem;
    background: var(--section-bg);
    overflow: hidden;
}

.poll-bar i {
    display: block;
    height: 100%;
    background: var(--accent);
}

.about-how {
    margin-top:30px;
    padding: 0.1rem;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 5rem;
    align-items: end;
    margin-bottom: 2rem;
}

.section-heading h2,
.about-home-section-content h2 {
    font-size: clamp(1.5rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.section-heading h2 span,
.about-home-section-content h2 span {
    color: var(--accent);
}

.section-heading > p {
    color: var(--muted-color);
    line-height: 1.8;
    max-width: 480px;
}

.about-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-process-item {
    position: relative;
    min-height: 310px;
    padding: 2rem;
    border-right: 1px solid var(--border-color);
    transition: background .3s ease;
}

.about-process-item:last-child {
    border-right: none;
}

.about-process-item:hover {
    background: var(--bg-nav);
}

.process-number {
    font-size: .7rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: .1em;
}

.process-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 3rem 0 1.5rem;
    background: rgba(56,189,248,.1);
    color: var(--accent);
}

.about-process-item h3 {
    font-size: 1.25rem;
    margin-bottom: .8rem;
}

.about-process-item p {
    color: var(--muted-color);
    font-size: .85rem;
    line-height: 1.8;
}

/* =========================================================
   HOME BLOGS & EVENTS LAYOUT
========================================================= */

.home-blogs-events {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Blogs on the left */
.home-blogs {
    width: calc(30% - 10px);
    flex: 0 0 calc(30% - 10px);
    min-width: 0;
    box-sizing: border-box;
  
}

/* Events on the right */
.home-events {
    width: calc(70% - 10px);
    flex: 0 0 calc(70% - 10px);
    min-width: 0;
    background: transparent;
    padding: 0;
    box-sizing: border-box;
}

/* Section headings */
.blogs-events-heading{
    width: 100%;
    margin-bottom: 18px;
    font-size: clamp(1.5rem, 4vw, 1.4rem);
}

/* Inner containers */
.home-blog-articles,
.home-events-list {
    position: relative;
    width: 100%;
    height: 390px;
    min-height: 390px;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* =========================================================
   BLOG CARDS
========================================================= */

.home-blog-article {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity .35s ease,
                visibility .35s ease,
                transform .35s ease;
    box-sizing: border-box;
}

.home-blog-article.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.home-blog-article img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.home-blog-article:hover img {
    transform: scale(1.04);
}

.home-blog-article::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .88) 0%,
        rgba(0, 0, 0, .55) 38%,
        rgba(0, 0, 0, .05) 75%
    );
    pointer-events: none;
}

.home-blog-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    padding: 6px 11px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-blog-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 30px;
    box-sizing: border-box;
}

.home-blog-overlay h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.home-blog-overlay p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.7;
}

.home-blog-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: gap .25s ease, color .25s ease;
}

.home-blog-overlay a:hover {
    gap: 12px;
    color: #fff;
}

/* =========================================================
   EVENT CARDS
========================================================= */

.home-event {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 390px;
    padding: 30px;
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity .35s ease,
                visibility .35s ease,
                transform .35s ease;
}

.home-event.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.home-event-status {
    width: fit-content;
    margin-bottom: 25px;
    padding: 6px 11px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-event-status.upcoming {
    background: rgba(56, 189, 248, .12);
    color: var(--primary);
}

.home-event-status.past {
    background: var(--overlay-bg);
    color: var(--muted-color);
}

.home-event h3 {
    margin: 0 0 25px;
    color: var(--text-color);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
}

.home-event-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-event-meta span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted-color);
    font-size: 12px;
}

.home-event-meta i {
    width: 20px;
    color: var(--primary);
    font-size: 13px;
    text-align: center;
}

/* =========================================================
   NAVIGATION
========================================================= */

.home-blog-navigation,
.home-event-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin-top: 18px;
}

.home-blog-nav-btn,
.home-event-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-color);
    cursor: pointer;
    transition: background .25s ease,
                color .25s ease,
                border-color .25s ease,
                transform .25s ease;
}

.home-blog-nav-btn:hover,
.home-event-nav-btn:hover {
    background: var(--button-bg);
    border-color: var(--button-bg);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.more-events {
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 14px;

    border: 1px solid var(--border-color);
    border-radius: 3px;

    color: var(--text-color);

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.more-events:hover {
    background: var(--button-bg);
    border-color: var(--button-bg);
    color: var(--bg-dark);
}

.home-more-blogs{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    margin-left: auto;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-color);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease,
                color .25s ease,
                border-color .25s ease;
}

.home-more-blogs:hover,
.home-more-events:hover {
    background: var(--button-bg);
    border-color: var(--button-bg);
    color: var(--bg-dark);
}

.single-event-card .buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #008080;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-event-card .buy-btn:hover {
    background: #006b6b;
    transform: translateY(-1px);
}

/* Free event */
.single-event-card .free-event-btn {
    background: #198754;
}

.single-event-card .free-event-btn:hover {
    background: #157347;
}


/* ================================
   FLOATING CONTACT BUTTONS
================================ */
.floating-contact {
  position: fixed;
  bottom: 80px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999999;
  pointer-events: auto;
}

.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  font-size: 22px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background 0.3s ease;
}

.call-btn {
  background-color: #007bff;
}

.contact-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}


/* ================================
   BACK TO TOP BUTTON
================================ */
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 25px;
  display: none;
  padding: 12px 14px;
  font-size: 18px;
  background-color: var(--text-color);
  color: var(--bg-nav);
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: green;
}

/* =========================================================
   RESPONSIVE LAYOUT
========================================================= */

@media (max-width: 600px) {
    .home-blogs-events {
        flex-direction: column;
        gap: 30px;
    }

    .home-blogs,
    .home-events {
        width: 100%;
        flex: 0 0 100%;
    }

    .home-blog-overlay {
        padding: 20px;
    }

    .home-blog-overlay h3,
    .home-event h3 {
        font-size: 21px;
    }

    .home-event {
        padding: 20px;
    }
}



/* ================================================================
   RESPONSIVE STYLES
================================================================ */

@media (max-width: 1024px) {
  .section-nav {
    padding: 1rem;
  }

  .home-hero-visual {
        min-height: 430px;
    }

    .about-process {
        grid-template-columns: repeat(2, 1fr);
    }

     .about-process-item:nth-child(2) {
        border-right: none;
    }

    .about-process-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 900px) {
  body {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    flex-direction: column;
    background: var(--section-bg);
    padding: 0;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1002;
  }

  .nav-links.active {
    width: 100%;
  }

  .nav-links li:first-child {
    padding-top: 50px;
  }

  .nav-links li {
    width: 90%;
    align-items: stretch;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    pointer-events: auto;
    position: relative;
  }
  .nav-links li a:active {
    background: rgba(56, 189, 248, 0.15);
  }
  .nav-links li a:hover {
    background: rgba(56, 189, 248, 0.08);
    padding-left: 1.8rem;
  }
  .nav-links li a::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
  }
  .nav-links li a:hover::before {
    width: 16px;
  }
  .nav-links li a::after {
    display: none;
  }
  .nav-links li button {
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    position: relative;
    gap: 0.75rem;
  }
  .nav-links li button:active {
    background: rgba(56, 189, 248, 0.15);
  }
  .nav-links li button:hover {
    background: rgba(56, 189, 248, 0.08);
    padding-left: 1.8rem;
  }
  .nav-links li button::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
  }
  .nav-links li button:hover::before {
    width: 16px;
  }
  .nav-links .search-btn {
    width: 100%;
    height: auto;
    border: none;
    background: transparent;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    justify-content: flex-start;
    color: var(--text-color);
    transform: none;
  }
  .nav-links .search-btn i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-right: 0.75rem;
  }
  .nav-links .search-btn:hover {
    transform: none;
  }
  .nav-links .theme-toggle {
    width: 100%;
    height: auto;
    border: none;
    background: transparent;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    justify-content: flex-start;
    color: var(--text-color);
    border-radius: 0;
  }
  .nav-links .theme-toggle i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-right: 0.75rem;
  }
  .nav-links .theme-toggle:hover {
    transform: none;
  }

   .home-hero-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-hero-content h1 {
        font-size: 3.3rem;
    }

     .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .home-hero-visual {
        min-height: 390px;
        transform: scale(.9);
    }
    .orbit-one {
        width: 320px;
        height: 320px;
    }
    .orbit-two {
        width: 400px;
        height: 400px;
    }

    .hero-event-card {
        width: 280px;
    }

      .hero-poll-card {
        right: -5px;
        width: 240px;
    }

     .home-hero-hero {
        padding: 4rem 1rem;
    }

     .about-how,
    .about-platform {
        padding: 5rem 1rem;
    }

     .about-process {
        grid-template-columns: 1fr;
    }

     .about-process-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .about-process-item:last-child {
        border-bottom: none;
    }
}


/*HOME EVENTS */
.events-list {
    padding: 4px 0 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.single-event-card {
    background: var(--bg-nav);
    border: 1px solid var(--border-color);
    border-radius: 4px; box-shadow: var(--shadow);
    overflow: hidden;
    display: flex; flex-direction: column;
    cursor: pointer; position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.single-event-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.single-event-card img { width: 100%; height: 210px; object-fit: cover; display: block; }

.single-event-body {
    display: flex; flex-direction: column;
    flex: 1; padding: 0 16px 16px;
}

.badge {
    position: absolute; top: 12px; left: 12px;
    background: #16a34a; color: #fff;
    padding: 5px 11px; font-size: 0.72rem;
    border-radius: 5px; font-weight: 600;
}
.badge.out { background: #dc2626; }

            .single-event-card .event-title { padding: 14px 0 8px; }
            .single-event-card .event-title h2 {
                margin: 0; font-size: 1rem; font-weight: 700;
                color: var(--text-color); line-height: 1.35;
            }

            /* buy button — works whether it's a direct child or inside .product-card-body */
            .single-event-body > a.buy-btn,
            .single-event-body > a.buy-btn {
                display: block; margin-top: auto;
                text-align: center;
                background: var(--button-bg); color: #fff;
                padding: 13px 0; border-radius: 4px;
                text-decoration: none; font-weight: 600; font-size: 0.9rem;
                transition: opacity 0.25s, transform 0.2s;
                border: none; cursor: pointer;
            }
            .product-card > a.buy-btn:hover,
            .product-card-body > a.buy-btn:hover { opacity: 0.85; transform: translateY(-2px); }

            .primary-poster { display: block; }
            .posters-gallery {
                display: flex; gap: 8px; overflow-x: auto;
                padding: 8px 0 4px; scrollbar-width: none;
            }
            .posters-gallery::-webkit-scrollbar { display: none; }
            .posters-gallery img {
                width: 64px; height: 64px; object-fit: cover;
                border-radius: 6px; flex-shrink: 0; cursor: pointer;
                border: 2px solid transparent;
                transition: border-color 0.2s, transform 0.2s;
            }
            .posters-gallery img:hover { border-color: var(--primary); transform: scale(1.05); }

            /* ── Product category table ── */
            .event-category-table { flex: 1; }
            .event-category-table table {
                width: 100%; border-collapse: collapse;
                font-size: 0.82rem; margin: 8px 0 14px;
            }
            .event-category-table th,
            .event-category-table td {
                border: 1px solid var(--border-color); padding: 7px 9px;
                transition: border-color .3s ease;
            }
            .event-category-table th {
                background: var(--section-bg); font-weight: 600;
                text-align: left; width: 28%; color: var(--text-color);
                transition: background .3s ease, color .3s ease;
            }
            .event-category-table td { font-weight: 500; color: var(--text-color); }
            .event-category-table tr:nth-child(even) td { background: var(--overlay-bg); }
            .event-category-table td span {
                display: inline-block; padding: 2px 6px; border-radius: 4px;
                background: var(--primary); color: #fff; font-weight: 600; font-size: 0.78rem;
            }


            /* Event ticketing */
            button,
    input,
    select {
        font: inherit;
    }

    a {
        color: inherit;
    }

    /* =====================
       BREADCRUMB
    ===================== */
    .breadcrumb {
        width: 100%;
        background: var(--section-bg);
        border-bottom: 1px solid var(--border-color);
    }

    .breadcrumb-container {
        width: min(1200px, calc(100% - 32px));
        margin: 0 auto;
        min-height: 54px;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        font-size: .82rem;
    }

    .breadcrumb-container a {
        color: var(--text-color);
        text-decoration: none;
        font-weight: 500;
        transition: color .2s, opacity .2s;
    }

    .breadcrumb-container a:hover {
        color: var(--primary);
    }

    .breadcrumb-container a i {
        margin-right: 5px;
    }

    .bc-sep {
        color: var(--muted-color);
        display: inline-flex;
        align-items: center;
    }

    .bc-current {
        color: var(--muted-color);
        font-weight: 500;
        max-width: 400px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* =====================
       EVENT HERO
    ===================== */
    .event-header {
        position: relative;
        overflow: hidden;
        background: linear-gradient(
            135deg,
            var(--section-bg),
            var(--bg-nav)
        );
        border-bottom: 1px solid var(--border-color);
    }

    .event-header::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: var(--primary);
    }

    .event-header-container {
        width: min(1200px, calc(100% - 32px));
        margin: 0 auto;
        padding: 46px 0;
        display: grid;
        grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
        gap: 42px;
        align-items: center;
    }

    .event-header-image {
        position: relative;
        overflow: hidden;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        background: var(--section-bg);
        box-shadow: var(--shadow);
        aspect-ratio: 16 / 10;
    }

    .event-header-image::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid var(--overlay-bg);
        border-radius: inherit;
        pointer-events: none;
    }

    .event-header-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .event-header-content {
        min-width: 0;
    }

    .event-header-content h1 {
        margin-bottom: 25px;
        color: var(--text-color);
        font-size: clamp(1.8rem, 4vw, 3.2rem);
        line-height: 1.15;
        font-weight: 800;
        letter-spacing: -.8px;
    }

    .event-header-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .meta-item {
        min-width: 0;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
        background: var(--overlay-bg);
        border: 1px solid var(--border-color);
        border-radius: 4px;
        transition: border-color .2s, transform .2s, background .2s;
    }

    .meta-item:hover {
        border-color: var(--primary);
        transform: translateY(-2px);
    }

    .meta-item > i {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
        display: grid;
        place-items: center;
        border-radius: 4px;
        background: var(--primary);
        color: var(--bg-dark);
        font-size: .9rem;
    }

    .meta-item div {
        min-width: 0;
    }

    .meta-item strong {
        display: block;
        margin-bottom: 2px;
        color: var(--muted-color);
        font-size: .7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .7px;
    }

    .meta-item span {
        display: block;
        color: var(--text-color);
        font-size: .86rem;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

    .event-description {
        margin-top: 16px;
        padding: 16px 18px;
        background: var(--overlay-bg);
        border: 1px solid var(--border-color);
        border-left: 3px solid var(--primary);
        border-radius: 4px;
        color: var(--muted-color);
        font-size: .87rem;
        line-height: 1.7;
    }

    .event-description i {
        color: var(--primary);
    }

    /* =====================
       MAIN CONTENT
    ===================== */
    .event-details-container {
        width: min(1200px, calc(100% - 32px));
        margin: 0 auto;
        padding: 42px 0 60px;
        display: grid;
        grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr);
        gap: 28px;
        align-items: start;
    }

    .event-info-section,
    .tickets-sidebar {
        min-width: 0;
    }

    .event-info-section {
        padding: 26px;
        background: var(--bg-nav);
        border: 1px solid var(--border-color);
        border-radius: 4px;
        box-shadow: var(--shadow);
    }

    .section-title {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 22px;
        padding-bottom: 13px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        font-size: 1.15rem;
        font-weight: 700;
    }

    .section-title::after {
        content: "";
        position: absolute;
    }

    .section-title i {
        color: var(--primary);
    }

    /* =====================
       EVENT INFORMATION TABLE
    ===================== */
    .event-info-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: fixed;
        overflow: hidden;
        border: 1px solid var(--border-color);
        border-radius: 4px;
    }

    .event-info-table tr:nth-child(even) {
        background: var(--overlay-bg);
    }

    .event-info-table tr:hover {
        background: var(--section-bg);
    }

    .event-info-table th,
    .event-info-table td {
        padding: 13px 15px;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
        vertical-align: middle;
        font-size: .83rem;
        overflow-wrap: anywhere;
    }

    .event-info-table tr:last-child th,
    .event-info-table tr:last-child td {
        border-bottom: 0;
    }

    .event-info-table th {
        width: 135px;
        color: var(--muted-color);
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .45px;
    }

    .event-info-table td {
        color: var(--text-color);
        font-weight: 500;
    }

    /* =====================
       GALLERY
    ===================== */
    .gallery-section {
        margin-top: 34px;
    }

    .gallery-title {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 17px;
        color: var(--text-color);
        font-size: .98rem;
        font-weight: 700;
    }

    .gallery-title i {
        color: var(--primary);
    }

    .poster-gallery {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .poster-item {
        position: relative;
        overflow: hidden;
        min-width: 0;
        aspect-ratio: 4 / 5;
        background: var(--section-bg);
        border: 1px solid var(--border-color);
        border-radius: 4px;
        box-shadow: var(--shadow);
        transition: transform .2s, border-color .2s;
    }

    .poster-item:hover {
        transform: translateY(-4px);
        border-color: var(--primary);
    }

    .poster-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .3s;
    }

    .poster-item:hover img {
        transform: scale(1.04);
    }

    .poster-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 5px 9px;
        border-radius: 4px;
        background: var(--primary);
        color: var(--bg-dark);
        font-size: .67rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .4px;
    }

    /* =====================
       TICKETS SIDEBAR
    ===================== */
    .tickets-sidebar {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .ticket-form {
        margin: 0;
    }

    .ticket-card {
        padding: 20px;
        background: var(--bg-nav);
        border: 1px solid var(--border-color);
        border-radius: 4px;
        box-shadow: var(--shadow);
        transition: transform .2s, border-color .2s;
    }

    .ticket-card:hover {
        transform: translateY(-2px);
        border-color: var(--primary);
    }

    .ticket-card.out-of-stock {
        opacity: .72;
    }

    .ticket-type {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        font-size: .9rem;
        font-weight: 700;
    }

    .ticket-type i {
        color: var(--primary);
    }

    .ticket-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 14px 0;
    }

    .ticket-info label {
        color: var(--muted-color);
        font-size: .76rem;
        font-weight: 500;
    }

    .ticket-info span {
        color: var(--text-color);
        font-size: .8rem;
        font-weight: 700;
    }

    .ticket-quantity-selector {
        margin-top: 2px;
    }

    .quantity-label {
        display: block;
        margin-bottom: 8px;
        color: var(--muted-color);
        font-size: .74rem;
        font-weight: 600;
    }

    .quantity-input-group {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        height: 42px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        overflow: hidden;
    }

    .quantity-btn {
        border: 0;
        background: var(--section-bg);
        color: var(--text-color);
        cursor: pointer;
        transition: background .2s, color .2s;
    }

    .quantity-btn:hover {
        background: var(--primary);
        color: var(--bg-dark);
    }

    .quantity-input {
        width: 100%;
        min-width: 0;
        border: 0;
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
        outline: 0;
        background: var(--bg-nav);
        color: var(--text-color);
        text-align: center;
        font-weight: 600;
        appearance: textfield;
    }

    .quantity-input::-webkit-outer-spin-button,
    .quantity-input::-webkit-inner-spin-button {
        margin: 0;
        appearance: none;
    }

    .add-to-cart-btn {
        width: 100%;
        margin-top: 14px;
        min-height: 44px;
        padding: 10px 15px;
        border: 1px solid var(--primary);
        border-radius: 4px;
        background: var(--button-bg);
        color: var(--bg-dark);
        cursor: pointer;
        font-size: .8rem;
        font-weight: 700;
        transition: filter .2s, transform .2s;
    }

    .add-to-cart-btn:hover:not(:disabled) {
        filter: brightness(.9);
        transform: translateY(-1px);
    }

    .add-to-cart-btn:disabled {
        background: var(--section-bg);
        border-color: var(--border-color);
        color: var(--muted-color);
        cursor: not-allowed;
    }

    /* =====================
       CART SUMMARY
    ===================== */
    .summary-card {
        padding: 20px;
        background: var(--bg-nav);
        border: 1px solid var(--border-color);
        border-radius: 4px;
        box-shadow: var(--shadow);
    }

    .summary-title {
        display: flex;
        align-items: center;
        gap: 9px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        font-size: .92rem;
        font-weight: 700;
    }

    .summary-title i {
        color: var(--primary);
    }

    .cart-table {
        width: 100%;
        margin-top: 15px;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .cart-table th,
    .cart-table td {
        padding: 9px 5px;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
        vertical-align: middle;
        overflow-wrap: anywhere;
    }

    .cart-table th {
        color: var(--muted-color);
        font-size: .64rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .35px;
    }

    .cart-table td {
        color: var(--text-color);
        font-size: .7rem;
        font-weight: 500;
    }

    .grand-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
        color: var(--text-color);
        font-size: .86rem;
        font-weight: 700;
    }

    .grand-total span:last-child {
        color: var(--primary);
        font-size: 1rem;
    }

    /* =====================
       CHECKOUT
    ===================== */
    .checkout-form {
        padding-top: 3px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-label {
        display: block;
        margin-bottom: 7px;
        color: var(--muted-color);
        font-size: .72rem;
        font-weight: 600;
    }

    .form-select {
        width: 100%;
        min-height: 43px;
        padding: 9px 12px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        outline: 0;
        background: var(--bg-nav);
        color: var(--text-color);
        font-size: .78rem;
        cursor: pointer;
        transition: border-color .2s, box-shadow .2s;
    }

    .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 2px var(--overlay-bg);
    }

    /* =====================
       M-PESA PHONE
    ===================== */
    .mpesa-phone-group {
        display: none;
    }

    .mpesa-phone-wrapper {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 43px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        background: var(--bg-nav);
    }

    .mpesa-prefix {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 0 11px;
        background: var(--section-bg);
        border-right: 1px solid var(--border-color);
        color: var(--text-color);
        font-size: .76rem;
        font-weight: 600;
    }

    .mpesa-phone-input {
        width: 100%;
        min-width: 0;
        padding: 9px 12px;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--text-color);
        font-size: .78rem;
    }

    .mpesa-phone-input::placeholder {
        color: var(--muted-color);
        opacity: .75;
    }

    .mpesa-hint {
        margin-top: 6px;
        color: var(--muted-color);
        font-size: .64rem;
        line-height: 1.5;
    }

    .mpesa-hint i {
        color: var(--primary);
        margin-right: 3px;
    }

    .mpesa-status {
        display: none;
        margin: 12px 0;
        padding: 11px 12px;
        border: 1px solid var(--primary);
        border-radius: 4px;
        background: var(--overlay-bg);
        color: var(--text-color);
        font-size: .72rem;
        line-height: 1.5;
    }

    .mpesa-status.show {
        display: block;
    }

    .checkout-btn {
        width: 100%;
        min-height: 45px;
        padding: 10px 15px;
        border: 1px solid var(--primary);
        border-radius: 4px;
        background: var(--button-bg);
        color: var(--bg-dark);
        cursor: pointer;
        font-size: .78rem;
        font-weight: 700;
        transition: filter .2s, transform .2s;
    }

    .checkout-btn:hover:not(:disabled) {
        filter: brightness(.9);
        transform: translateY(-1px);
    }

    .checkout-btn:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

    /* =====================
       EMPTY CART
    ===================== */
    .cart-empty {
        padding: 32px 10px;
        color: var(--muted-color);
        text-align: center;
        font-size: .78rem;
        font-weight: 500;
    }

    .cart-empty i {
        display: block;
        margin-bottom: 10px;
        color: var(--primary);
        font-size: 1.8rem;
    }

    /* =====================
       RESPONSIVE
    ===================== */
    @media (max-width: 1000px) {
        .event-header-container {
            grid-template-columns: 340px minmax(0, 1fr);
            gap: 28px;
        }

        .event-details-container {
            grid-template-columns: minmax(0, 1fr) 360px;
        }

        .poster-gallery {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 820px) {
        .event-header-container {
            grid-template-columns: 1fr;
            padding: 35px 0;
        }

        .event-header-image {
            width: min(100%, 520px);
            margin: 0 auto;
        }

        .event-header-content h1 {
            font-size: 2rem;
        }

        .event-details-container {
            grid-template-columns: 1fr;
            padding-top: 30px;
        }

        .tickets-sidebar {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: start;
        }

        .summary-card {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 600px) {
        .breadcrumb-container,
        .event-header-container,
        .event-details-container {
            width: min(100% - 22px, 1200px);
        }

        .breadcrumb-container {
            min-height: 48px;
            font-size: .74rem;
        }

        .event-header-container {
            padding: 28px 0;
        }

        .event-header-content h1 {
            margin-bottom: 18px;
            font-size: 1.65rem;
        }

        .event-header-meta {
            grid-template-columns: 1fr;
        }

        .meta-item {
            padding: 12px;
        }

        .event-details-container {
            padding: 25px 0 45px;
            gap: 20px;
        }

        .event-info-section {
            padding: 17px;
            border-radius: 4px;
        }

        .section-title {
            font-size: 1rem;
        }

        .event-info-table th,
        .event-info-table td {
            padding: 10px 9px;
            font-size: .72rem;
        }

        .event-info-table th {
            width: 105px;
            font-size: .64rem;
        }

        .poster-gallery {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .tickets-sidebar {
            grid-template-columns: 1fr;
        }

        .summary-card {
            grid-column: auto;
        }

        .ticket-card,
        .summary-card {
            padding: 16px;
        }

        .cart-table th,
        .cart-table td {
            padding: 8px 3px;
            font-size: .62rem;
        }
    }

    @media (max-width: 420px) {
        .event-header-content h1 {
            font-size: 1.45rem;
        }

        .event-description {
            font-size: .78rem;
        }

        .poster-gallery {
            grid-template-columns: 1fr 1fr;
        }

        .poster-badge {
            top: 7px;
            left: 7px;
            padding: 4px 7px;
            font-size: .58rem;
        }

        .event-info-table th {
            width: 90px;
        }
    }