/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

a {
  color: var(--primary-color);
}

:root {
  --danger-color: #ff0000;
  --success-color: #27ae60;
  --primary-color: #40b1f7;
  --secondary-color: #1a77b0;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(64, 177, 247, 0.3);
  --border-radius: 7px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
  color: var(--white); /* Use your CSS variable properly */
}

.navbar.scrolled {
  background: var(--primary-color);
  box-shadow: var(--shadow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.page-header {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.navbar.scrolled.page-header {
  background: var(--primary-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark); /* Use your CSS variable properly */
  /* color: var(--white); */
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

.nav-link.btn-primary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.navbar.scrolled .nav-link.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.navbar.scrolled .nav-link.btn-primary:hover {
  background-color: var(--white);
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding-top: 70px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  color: var(--text-dark);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Hero Graphics */
.hero-graphic {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(-50px);
  animation: dropIn 0.8s ease-out forwards;
}

@keyframes dropIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-card.card-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 25%;
  right: 20%;
  animation-delay: 1s;
}

.floating-card.card-3 {
  top: 40%;
  left: 10%;
  animation-delay: 2s;
}

.floating-card.card-4 {
  top: 55%;
  right: 20%;
  animation-delay: 3s;
}

.card-icon {
  font-size: 1.5rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.icon-bg {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.author-info h4 {
  font-weight: 600;
  color: var(--text-dark);
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.cta .btn-primary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.slide-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero-container {
    grid-template-columns: 11fr;
    text-align: left;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: left;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .navbar.scrolled .nav-link {
    color: var(--primary-color); /* Use your CSS variable properly */
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(64, 177, 247, 0.1);
}

.form-control:hover {
  border-color: var(--primary-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

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

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close:hover {
  color: var(--text-dark);
}

/* Accordion Styles */
.accordion {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.accordion-header {
  background: var(--bg-light);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
}

.accordion-header:hover {
  background: #f0f0f0;
}

.accordion-header.active {
  background: var(--primary-color);
  color: var(--white);
}

.accordion-icon {
  transition: var(--transition);
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

.accordion-body {
  padding: 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Card Hover Effects */
.card-hover {
  transition: var(--transition);
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}
.align-center {
  align-items: center;
}
.gap-1 {
  gap: 0.5rem;
}
.gap-2 {
  gap: 1rem;
}
.gap-3 {
  gap: 1.5rem;
}

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

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

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

@media (max-width: 767px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    width: 100%;
  }
}

.search-section {
  margin-bottom: 2rem;
}

.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e1e8ed;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(64, 177, 247, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
}

.suggested-eventsq {
  background: linear-gradient(135deg, rgba(64, 177, 247, 0.05), rgba(26, 119, 176, 0.05));
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
  border: 1px solid rgba(64, 177, 247, 0.1);
}

.suggested-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.suggested-carousel::-webkit-scrollbar {
  height: 6px;
}

.suggested-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.suggested-carousel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.suggested-card {
  min-width: 280px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.suggested-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.event-title-section {
  flex: 1;
}

.event-price-section {
  text-align: right;
  margin-left: 1rem;
}

.btn:focus,
.form-control:focus,
.filter-tab:focus,
.accordion-header:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(64, 177, 247, 0.1);
}

/* Event System Styles */
.events-hero {
  margin-top: 70px;
  height: 500px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.events-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(360deg);
  }
}

.events-hero-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  position: relative;
}

.events-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease-out;
}

.events-hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: slideInUp 1s ease-out 0.3s both;
}

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

.hero-search-container {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  position: relative;
  animation: slideInUp 1s ease-out 0.6s both;
}

.hero-search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-search-input:focus {
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.hero-search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
}

.hero-filter-container {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  animation: slideInUp 1s ease-out 0.6s both;
}

.hero-filter-input {
  width: 100%;
  padding: 1rem 1rem 1rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-filter-input:focus {
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.hero-filter-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.2rem;
}

.hero-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.9s both;
}

.hero-filter-tab {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.hero-filter-tab.active,
.hero-filter-tab:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Suggested Events Section */
.suggested-eventsq {
  padding: 3rem 0;
  background: var(--bg-light);
}

.suggested-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.suggested-carousel::-webkit-scrollbar {
  height: 8px;
}

.suggested-carousel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.suggested-carousel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.suggested-card {
  min-width: 300px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.suggested-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.suggested-card-image {
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
}

.suggested-card-content {
  padding: 1.5rem;
}

.suggested-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.suggested-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.suggested-card-price {
  color: var(--primary-color);
  font-weight: 600;
}

/* Main Events Grid */
.events-main {
  padding: 4rem 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.share-btn i {
    transition: color 0.3s ease;
}

.share-btn:hover i {
    color: var(--secondary-color);
}

.event-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(0);
}

.event-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.event-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
  position: relative;
}

.event-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.event-card-content {
  padding: 1.5rem;
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.event-card-title {
  flex: 1;
}

.event-card-title h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.0;
}

.event-card-title h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.event-card-title h3 a:hover {
  color: var(--primary-color);
}

.event-card-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.event-card-price {
  background: rgba(64, 177, 247, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 0.9rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.event-card-details {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.event-card-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.event-card.hidden {
  display: none;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  display: none;
}

.no-results.show {
  display: block;
}

.no-results h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.no-results p {
  color: var(--text-light);
}

/* Event Details Page */
.event-detail-hero {
  margin-top: 70px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  display: flex;
  align-items: center; /* vertical center */
  justify-content: flex-start; /* horizontal start */
  overflow: hidden;
  padding-left: 20px; /* optional: add some space from edge */
}


.event-detail-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.event-detail-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

/*.event-category {*/
/*  background: var(--text-dark);*/
/*  color: var(--white);*/
/*  padding: 0.4rem 0.9rem;*/
/*  border-radius: var(--border-radius);*/
/*  font-weight: 600;*/
/*  font-size: 0.9rem;*/
/*  margin-bottom: 0.9rem;*/
/*}*/

.event-category {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.event-detail-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.event-detail-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1.1rem;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Ticket Selection */
.ticket-selection {
  padding: 4rem 0;
}

.ticket-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ticket-types {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-type {
  border: 2px solid #e1e8ed;
  border-radius: var(--border-radius);
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.ticket-type:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ticket-type.selected {
  border-color: var(--primary-color);
  background: rgba(64, 177, 247, 0.05);
  box-shadow: var(--shadow-hover);
}

.ticket-type-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ticket-type-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.ticket-type-closed {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--danger-color);
}

.ticket-type-soldout {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.ticket-type-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
}

.ticket-type-description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.ticket-quantity {
  display: none;
  padding-top: 0.5rem;
  border-top: 1px solid #e1e8ed;
  margin-top: 0.5rem;
}

.ticket-quantity.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 100px;
  }
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.quantity-input {
  width: 80px;
  text-align: center;
  padding: 0.5rem;
  border: 2px solid #e1e8ed;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
}

/* Ticket Summary */
.ticket-summary {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.summary-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
  text-align: center;
}

.summary-items {
  margin-bottom: 0.1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.10rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item-name {
  font-weight: 500;
  color: var(--text-dark);
}

.summary-item-details {
  color: var(--text-light);
  font-size: 0.9rem;
}

.summary-item-discount {
  font-weight: 600;
  color: var(--success-color);
}

.summary-item-price {
  font-weight: 600;
  color: var(--primary-color);
}

.summary-total {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.2rem;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.summary-total-price {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.buy-now-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: none;
}

.buy-now-btn.show {
  display: block;
  animation: slideInUp 0.3s ease-out;
}

.buy-now-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

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

.modal-content {
  background: var(--white);
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideInUp 0.3s ease-out;
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 2rem;
}

.buyer-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  /*display: flex;*/
  /*flex-direction: column;*/
  /*gap: 0.5rem;*/
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
}

.form-input {
  padding: 0.75rem;
  border: 2px solid #e1e8ed;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(64, 177, 247, 0.1);
}

.order-summary {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.order-summary h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.confirm-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.confirm-btn:hover {
  background: var(--secondary-color);
}

.confirm-btn:disabled {
  background: var(--text-light);
  cursor: not-allowed;
}

/* More Events Section */
.more-events {
  padding: 4rem 0;
  background: var(--bg-light);
}

.more-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-hero-title {
    font-size: 2.5rem;
  }

  .hero-filter-tabs {
    gap: 0.5rem;
  }

  .hero-filter-tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

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

  .event-card {
    max-width: none;
  }

  .ticket-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ticket-summary {
    position: static;
  }

  .event-detail-title {
    font-size: 2rem;
  }

  .event-detail-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .events-hero {
    height: 400px;
  }

  .events-hero-title {
    font-size: 2rem;
  }

  .hero-search-input {
    padding: 0.75rem 0.75rem 0.75rem 0.75rem;
  }

  .suggested-card {
    min-width: 250px;
  }

  .event-card-header {
    flex-direction: column;
    gap: 1rem;
  }

  .event-card-price {
    align-self: flex-start;
  }
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    .filter-label {
        text-align: center;
    }
}

.suggested-events-slides {
    display: flex;
    gap: 15px;
    transition: transform 0.6s ease-in-out; /* smooth slide animation */
    will-change: transform;
}

.suggested-event-slide {
    flex: 0 0 100%;
    background: white;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.suggested-event-slide:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-image {
    flex: 0 0 100px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

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

.suggested-events-dots {
    text-align: center;
    margin-top: 0px;
}

.dot {
    cursor: pointer;
    font-size: 60px;
    padding: 0 5px;
    color: #999;
    transition: transform 0.3s ease, color 0.3s ease;
}

.dot.active {
    font-weight: bold;
    color: #000;
    transform: scale(1);
}

/* Desktop - 3 per slide */
@media (min-width: 768px) {
    .suggested-event-slide {
        flex: 0 0 calc(33.333% - 10px);
    }
}

/* Ensure all event cards are always visible */
.event-card {
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

/* Remove any fade-in animations that might cause visibility issues */
.fade-in {
    animation: none !important;
}
    
/* Blog System Styles */

/* Loader Styles */
.load-more-loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 0;
}

.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    max-width: 350px;
    margin: auto; /* prevents stretching when only 1 blog */
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero {
  margin-top: 70px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s infinite linear;
}

.blog-hero-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  position: relative;
}

.blog-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease-out;
}

.blog-hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: slideInUp 1s ease-out 0.3s both;
}

.blog-search-container {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  animation: slideInUp 1s ease-out 0.6s both;
}

.blog-search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.blog-search-input:focus {
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.blog-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.9s both;
}

.blog-filter-tab {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.blog-filter-tab.active,
.blog-filter-tab:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Featured Articles */
.featured-articles {
  padding: 3rem 0;
  background: var(--bg-light);
}

.featured-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.featured-carousel::-webkit-scrollbar {
  height: 8px;
}

.featured-carousel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.featured-carousel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.featured-card {
  min-width: 350px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.featured-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
}

.featured-card-content {
  padding: 1.5rem;
}

/* Blog Grid */
.blog-main {
  padding: 4rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(0);
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
}

.blog-card-content {
  padding: 1.3rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.article-category {
  background: rgba(64, 177, 247, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
}

.article-date {
  color: var(--text-light);
  font-size: 0.8rem;
}

.blog-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.0;
}

.blog-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.read-time {
  color: var(--text-light);
  font-size: 0.8rem;
}

.read-more-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
}

.read-more-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

/* Load More */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  padding: 1rem 2rem;
}

/* Newsletter Section */
.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Blog Detail Styles */
.article-hero {
  margin-top: 70px;
  padding: 4rem 0 2rem;
  background: var(--bg-light);
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-light);
}

/*.article-hero-content {*/
/*  max-width: 800px;*/
/*  margin: 0 auto;*/
/*}*/

.article-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-title {
  color: var(--text-light);
  font-size: 0.9rem;
}

.article-actions {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.action-btn {
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.action-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Article Content */
.article-content {
  padding: 2rem 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-main {
  max-width: 800px;
}

.article-image {
  height: 300px;
  max-width: 100%;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem; /* Adjusted from 6rem */
  color: var(--white);
  margin-bottom: 2rem;
  overflow: hidden;
}



.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: inherit;
}

.article-body {
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-body .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.article-body h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.article-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--text-dark);
}

.article-body p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.article-body blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: var(--border-radius);
}

/* Article Tags */
.article-tags {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #f0f0f0;
}

.article-tags h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.tag {
  background: rgba(64, 177, 247, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Social Share */
.social-share {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #f0f0f0;
}

.social-share h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Aligns buttons to the left */
    gap: 10px; /* Space between buttons */
}

.share-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.share-btn.facebook {
  background: #1877f2;
  color: var(--white);
}

.share-btn.twitter {
  background: #1da1f2;
  color: var(--white);
}

.share-btn.linkedin {
  background: #0077b5;
  color: var(--white);
}

.share-btn.email {
  background: var(--text-light);
  color: var(--white);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Author Bio */
.author-bio {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  display: flex;
  gap: 1.5rem;
}

.author-avatar-large {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-bio-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.author-bio-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 1rem;
}

.author-social-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.author-social-link:hover {
  color: var(--secondary-color);
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.sidebar-widget h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 1.2rem;
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
}

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

.toc-list a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.toc-list a:hover {
  color: var(--primary-color);
}

/* Related Articles */
.related-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-article {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.related-article:hover {
  background: var(--bg-light);
}

.related-article-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-article-content h5 {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.related-article-content h5 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.related-article-content h5 a:hover {
  color: var(--primary-color);
}

.related-date {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Newsletter Widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.newsletter-widget h4 {
  color: var(--white);
}

.newsletter-widget p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-newsletter-input {
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

.sidebar-newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Comments Section */
.comments-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.comments-container {
  max-width: 800px;
  margin: 0 auto;
}

.comments-container h3 {
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Comment Form */
.comment-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.comment-form h4 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-input {
  padding: 0.75rem;
  border: 2px solid #e1e8ed;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(64, 177, 247, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e8ed;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  resize: vertical;
  margin-bottom: 1rem;
  font-family: inherit;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(64, 177, 247, 0.1);
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 600;
  color: var(--text-dark);
}

.comment-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.comment-content p {
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.comment-reply {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.comment-reply:hover {
  color: var(--secondary-color);
}

/* More Articles */
.more-articles {
  padding: 4rem 0;
  background: var(--white);
}

.more-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
  .blog-hero-title {
    font-size: 2.5rem;
  }

  .blog-filter-tabs {
    gap: 0.5rem;
  }

  .blog-filter-tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

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

  .featured-card {
    min-width: 280px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-actions {
    margin-left: 0;
    margin-top: 1rem;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    height: 400px;
  }

  .blog-hero-title {
    font-size: 2rem;
  }

  .blog-search-input {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  }

  .featured-card {
    min-width: 250px;
  }

  .article-author-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment {
    flex-direction: column;
  }

  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}