* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.navbar {
    background-color: #1a1924;
    padding: 10px 20px;
}
.navbar .fa-bars{
    color: white;
    background-color: purple;
}

.navbar-brand {
    width: 20%;
    font-weight: 600;
    color: #8b6cff;
}

.nav-item a {
    position: relative;
    color: #ccc !important;
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-item a:hover {
    scale: 1.1;
    color: white;
    color: #fff !important;
}

.nav-item a::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #8b6cff;
    /* Purple underline */
    transition: width 0.3s ease-in-out;
    transform: translateY(4px);
}

.nav-item a:hover::after {
    width: 100%;
}

.navbar-collapse .btn-dark {
    border-radius: 10px;
    padding: 2%;
    width: 5vw;
    height: 5vh;
}

.navbar-collapse .btn-dark :hover {
    color: rgb(51, 49, 49);
    scale: 1.1;
}

.navbar-collapse .btn-dark {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.navbar-collapse .btn-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(139, 108, 255, 0.2);
    /* Light purple glow */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: inherit;
}

.navbar-collapse .btn-dark:hover {
    border-color: #8b6cff;
}

.navbar-collapse .btn-dark:hover::before {
    opacity: 1;
}

/* Animated Underline for Navbar Items */
.nav-link {
    position: relative;
    color: #ccc !important;
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #8b6cff;
    /* Purple underline */
    transition: width 0.3s ease-in-out;
    transform: translateY(4px);
}

.nav-link:hover {
    color: #fff !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e1e2f, #282842);
    padding: 60px 20px;
}

/* Tagline Styling */
.tagline {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Highlight Text */
.highlight {
    color: #a77bff;
}

/* Buttons */
.btn-primary {
    background-color: #a77bff;
    border: none;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #915eff;
    box-shadow: 0 0 15px rgba(167, 123, 255, 0.7);
}

.btn-dark:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Stats Section */
.stats-container {
    margin-top: 40px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 12px;
    min-width: 120px;
    transition: transform 0.3s ease-in-out;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h2 {
    color: #fff;
    font-weight: bold;
    font-size: 1.8rem;
}

.stat-box p {
    color: #ddd;
    font-size: 0.9rem;
}

/* signin page */
/* Back Link */
.back-link {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.back-link a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link a:hover {
    color: #fff;
}

/* Card Container */
.login-container {
    margin-top: 10%;
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-card {
    background: #1a1a24;
    padding: 30px;
    border-radius: 14px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Lock Icon Circle */
.icon-circle {
    background: #a77bff;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Title & Subtitle */
h2 {
    margin-top: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #a77bff;
}

.subtitle {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Form Inputs */
form {
    text-align: left;
}

label {
    font-size: 0.85rem;
    margin-top: 12px;
    display: block;
    color: #ddd;
}

.input-box {
    background: #262633;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.input-box i {
    color: #777;
    margin-right: 10px;
}

.input-box input {
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    flex: 1;
    font-size: 0.95rem;
}

/* Forgot Password */
.forgot {
    text-align: right;
    margin-top: 5px;
}

.forgot a {
    color: #a77bff;
    font-size: 0.8rem;
    text-decoration: none;
}

.forgot a:hover {
    text-decoration: underline;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    background: #a77bff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #915eff;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #333;
}

.divider:not(:empty)::before {
    margin-right: 10px;
}

.divider:not(:empty)::after {
    margin-left: 10px;
}

/* Google Button */
.btn-google {
    width: 100%;
    background: #262633;
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-google:hover {
    background: #333344;
}

/* Signup Link */
.signup {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 15px;
    color: #aaa;
}

.signup a {
    color: #a77bff;
    text-decoration: none;
}

.signup a:hover {
    text-decoration: underline;
}

/* signup page */
/* Main Container */
.signup-container {
    margin-top: 7%;
    margin-left: 38%;
    width: 100%;
    max-width: 400px;
}

/* Card */
.signup-card {
    background: #1a1a24;
    padding: 30px;
    border-radius: 14px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Icon Circle */
.icon-circle {
    background: #a77bff;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

/* Title & Subtitle */
h2 {
    margin-top: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #a77bff;
}

.subtitle {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Form */
form {
    text-align: left;
}

label {
    font-size: 0.85rem;
    margin-top: 12px;
    display: block;
    color: #ddd;
}

/* Input Box */
.input-box {
    background: #262633;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.input-box i {
    color: #777;
    margin-right: 10px;
}

.input-box input {
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    flex: 1;
    font-size: 0.95rem;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: linear-gradient(90deg, #915eff, #a77bff);
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #7a4eff, #915eff);
}

.btn-google {
    width: 100%;
    background: #262633;
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-google:hover {
    background: #333344;
    color: white;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #333;
}

.divider:not(:empty)::before {
    margin-right: 10px;
}

.divider:not(:empty)::after {
    margin-left: 10px;
}

/* Sign in text */
.signin-text {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 15px;
    color: #aaa;
}

.signin-text a {
    color: #a77bff;
    text-decoration: none;
}

.signin-text a:hover {
    text-decoration: underline;
}


body {
    font-family: Arial, sans-serif;
    background-color: #0f0f1a;
    color: white;
    margin: 0;
    padding: 0;
}

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

.search-filter {
    display: flex;
    gap: 10px;
    background: #1c1c2b;
    padding: 15px;
    border-radius: 15px;
}

.search-filter input, 
.search-filter select, 
.search-filter button {
    background: #11111a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    outline: none;
}

.search-filter input {
    flex: 1;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background: #1c1c2b;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(127, 57, 251, 0.3);
}

.event-image {
    position: relative;
}

.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #7f39fb;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.event-content {
    padding: 15px;
}

.event-content h3 {
    margin: 5px 0;
    font-size: 1.1rem;
    word-break: break-word;
}

.details {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.register-btn {
    display: inline-block;
    background: #7f39fb;
    padding: 10px 15px;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.load-more {
    margin: 30px auto;
    text-align: center;
}

.load-more button {
    background: #7f39fb;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.load-more button:hover {
    background: #6a2edb;
}

@media (max-width: 600px) {
    .search-filter {
        flex-direction: column;
    }
}

/* Share Menu */
.share-menu {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 10px;
    background: #11111a;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    z-index: 10;
}

.share-menu a {
    display: inline-block;
    margin: 5px;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.share-btn {
    background: #444;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    color: white;
    margin-top: 5px;
}

.share-btn:hover {
    background: #7f39fb;
}

/* Add More Form */
.add-more {
    background:#1c1c2b;
    margin-top:40px;
    padding:20px;
    border-radius:15px;
}

.add-more input, .add-more button {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #11111a;
    color: white;
    font-size: 14px;
}

.add-more button {
    background: #7f39fb;
    font-weight: bold;
    cursor: pointer;
}

.add-more button:hover {
    background: #6a2edb;
}

/*body {
  font-family: 'Segoe UI', sans-serif;
}

h2, h4, h5 {
  color: #ffffff;
}

.bg-secondary {
  background-color: #2b2b2b !important;
  color: #ffffff;
  border-radius: 8px;
}

.btn-primary {
  background-color: #5b4dff;
  border: none;
}

.btn-primary:hover {
  background-color: #473dcc;
}

footer h6 {
  color: #ffffff;
}
*/

body {
  background-color: #121212;
  color: white;
}

.bg-secondary {
  background-color: purple !important;
}

.btn-outline-light svg,
.btn-outline-light i {
  margin-right: 6px;
}

.btn svg,
.btn i {
  vertical-align: middle;
}

.community-section {
  display: none;
}

.community-section.active {
  display: block;
}