/* FULL PAGE BLACK BACKGROUND */
body {
  background-color: #000000 !important;
  color: #ffffff;
  margin: 0;
  padding: 0;
  font-family: open-sans, sans-serif;
}

html,
body {
  overflow-x: hidden !important;
}
body.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}
.testimonial-section h2,
.newsletter-title,
.footer-column h5,
.follow-us {
  font-family: Coustard, sans-serif;
}

/* Custom container width */
.container {
  max-width: 1142px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Yellow banner */
.banner {
  background: url("../img/index-images/top-Vector.png") no-repeat center/cover;
  color: #1a1a1a;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  position: relative;
  /* overflow: hidden; */
  z-index: 1000;
}

.navbar {
  z-index: 999;
}

/* MAIN NAVBAR - FIXED POSITIONING */
.navbar-custom {
  /* background-color: #1a1a1a; */
  padding: 0.5rem 0;
  position: relative;
  z-index: 1000;
}

/* MOBILE NAV OVERLAY - SLIDES DOWN FROM TOP */
.navbar-collapse {
  background-color: #1a1a1a;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border-top: 1px solid #333;
}

.navbar-toggler {
  color: #ffba19 !important;
}

.navbar-brand {
  color: #fff !important;
  font-weight: bold;
  font-size: 1rem;
}

.logo-icon {
  width: 35px;
  height: 35px;
  margin-right: 8px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.logo-icon::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 15px;
  background: repeating-linear-gradient(
    90deg,
    #ffd700 0px,
    #ffd700 2px,
    transparent 2px,
    transparent 4px
  );
  background-size: 4px 100%;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-right: 0.5rem;
  padding: 0.5rem 0.8rem !important;
  transition: color 0.3s ease;
  font-size: 14px;
}

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

.dropdown-toggle::after {
  margin-left: 0.5rem;
}

.dropdown-menu {
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  margin-top: 5px;
}

.dropdown-item {
  color: #fff !important;
  padding: 8px 20px;
  transition: background-color 0.3s ease;
  font-size: 14px;
  background-color: #141414 !important;
}

.dropdown-item:hover {
  background-color: #444;
  color: #ffd700 !important;
}

.cart-icon {
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  margin-right: 0.8rem;
  padding: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cart-icon:hover {
  color: #ffd700;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ffd700;
  color: #1a1a1a;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.hero-btn {
  background: #ba3e3e;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding: 9px 30px 11px 31px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #ffc107 0%, #ff9800 100%);
  border-radius: 0 8px 8px 0;
}

.hero-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
  border-radius: 0 0 8px 8px;
}

/* .btn-create-event {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  border: none;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-create-event:hover {
  background: linear-gradient(45deg, #c0392b, #a93226);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
} */

.search-icon {
  color: #fff;
  font-size: 1.1rem;
  margin-right: 0.8rem;
  padding: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.search-icon:hover {
  color: #ffd700;
}

/* Custom navbar toggler for dark theme */
.navbar-toggler {
  border: 1px solid #fff;
  padding: 0.25rem 0.5rem;
}

.nav-divider {
  width: 1px;
  height: 32px;
  background: #e5e4e4;
  opacity: 0.5;
  margin-right: 0.8rem;
}

.event-button {
  background: #ba3e3e;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  font-weight: 400;
  padding: 12px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: none;
  box-shadow: 0 4px 15px rgba(215, 53, 39, 0.3);
}

.event-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
  border-radius: 0 0 8px 8px;
  box-shadow: 2px 2px 4px rgba(255, 193, 7, 0.3);
}

.event-button::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ffc107 0%, #ff9800 100%);
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 0 4px rgba(255, 193, 7, 0.3);
}

.event-button:hover {
  background: linear-gradient(135deg, #e03e2d 0%, #d73527 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 53, 39, 0.4);
  color: white;
}

.event-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(215, 53, 39, 0.3);
}

.event-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(215, 53, 39, 0.25);
}

/* -------------------------------------------------------- */

.testimonial-section {
  padding: 34px 0;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.testimonial-section h2 .highlight {
  color: #ffc107; /* Yellow highlight */
}

.testimonial-section .stars {
  color: #dc3545; /* Red for stars */
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.testimonial-section p.lead {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.testimonial-section .btn-review {
  background-color: #dc3545; /* Red button */
  border-color: #dc3545;
  color: #fff;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-bottom: 60px;
}

.testimonial-section .btn-review:hover {
  background-color: #c82333; /* Darker red on hover */
  border-color: #bd2130;
}

.testimonial-card {
  background: black !important; /* Dark background for testimonial cards */
  border: 1px solid #c8c8c8 !important; /* Light border */
  border-radius: 25px !important;
  padding: 30px;
  text-align: left;
  margin-bottom: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  justify-content: space-between;
}

.testimonial-card .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.testimonial-card .review-text {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-card .reviewer-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffba19; /* Yellow for reviewer name */
  margin-bottom: 5px;
  font-family: Coustard, sans-serif;
}

.testimonial-card .reviewer-title {
  font-size: 0.9rem;
  color: #888;
}

/* ------------------------------------------------------- */

/* Partners Section Styling */
/* .partners-section {
  padding: 60px 0;
  text-align: center;
}

.partners-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.partners-section h2 .highlight {
  color: #ffc107; 
}

.partners-swiper-container {
  width: 100%;
  padding: 20px 0;
}

.partners-swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px; 
}

.partners-swiper-slide img {
  max-width: 100%;
  max-height: 80px; 
  object-fit: contain;
  filter: grayscale(100%); 
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partners-swiper-slide img:hover {
  opacity: 1;
} */

.company > div > div {
  flex-direction: column;
}
.company-head {
  font-size: 24px;
  font-weight: 500;
  font-family: Coustard, sans-serif;
  text-align: center;
  color: white;
}
.company-rotate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 39px;
  /* gap: 20px; */
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
  }

  .carousel-track {
    justify-content: space-around;
    width: 100%;
  }

  .logo-group:last-child {
    display: none;
  }
}

/* Focus states for accessibility */
.logo-item:focus-within {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}
.logo-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* background: white; */
  border-radius: 12px;
  /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); */
  /* padding: 2rem 0; */
}

.carousel-track {
  display: flex;
  width: calc(200% + 40px);
  animation: scroll 20s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------Newsletter Section----------------- */
.newsletter-section {
  background-color: #131313;
  padding: 60px 0;
  position: relative;
  max-width: 1398px;
  margin: 0 auto;
  border-radius: 10px;
}

.newsletter-title {
  font-size: 46px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
}

.newsletter-title .highlight {
  color: #ffba19;
}

.newsletter-subtitle {
  color: #cccccc;
  font-size: 18px;
  margin-bottom: 30px;
}

/* ------------------------------------------------- */
/* .email-form {
  display: flex;
  max-width: 400px;
  border: 1px solid white;
  border-radius: 6px;
  overflow: hidden; 
}

.email-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background-color: #111;
  color: #fff;
  font-size: 0.95rem;
  border-right: 1px solid transparent; 
}

.email-input::placeholder {
  color: #ccc;
}

.email-input:focus {
  outline: none;
  background-color: #1a1a1a;
}

.join-btn {
  background-color: #c84545;
  border: none;
  color: white;
  padding: 12px 25px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0 6px 6px 0;
}

.join-btn:hover {
  background-color: #a73838;
} */
/* ------------------------------------------------- */

.email-wrapper {
  position: relative;
  max-width: 400px;
}

.email-form {
  display: flex;
  background-color: #111;
  border: 1px solid white;
  border-radius: 6px;
  overflow: hidden;
  /* position: relative; */
}

.email-input {
  flex: 1;
  padding: 12px 15px;
  background-color: #111;
  color: #fff;
  border: none;
  font-size: 0.95rem;
}

.email-input::placeholder {
  color: #ccc;
}

.email-input:focus {
  outline: none;
  background-color: #1a1a1a;
}

.join-btn {
  position: absolute;
  top: -3px;
  right: 3px;

  height: 100%;
  background-color: #c84545;
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 6px 6px 0;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.join-btn:hover {
  background-color: #a73838;
}

.newsletter-illustration {
  max-width: 604px;
  min-height: 377px;
  position: absolute;
  top: 11px;
}

.newsletter-illustration img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/*-------------------------------------- Footer Section------------------- */
.footer-section {
  /* background-color: #1a1a1a; */
  padding: 72px 0 20px;
}

.footer-logo {
  color: #f4b942;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-description {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-column h5 {
  color: #ffba19;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f4b942;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.social-icon.instagram {
  background-color: #ba3e3e;
}
.social-icon.facebook {
  background-color: #ba3e3e;
}
.social-icon.twitter {
  background-color: #ba3e3e;
}
.social-icon.linkedin {
  background-color: #ba3e3e;
}

.follow-us {
  color: #ffba19;
  font-weight: 500;
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  color: white;
  font-size: 0.8rem;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

/* ------changed portion-------------------------- */

/* Highlighted change: New styles for responsive button visibility */
/* Hide desktop button by default, show on screens >= 480px */
.create-event-desktop-wrapper {
  display: none; /* Hidden by default */
  margin-right: 1rem; /* Adjust as needed for spacing */
}

/* Hide mobile button on screens >= 480px */
.event-buutons {
  display: block; /* Visible by default on small screens */
}

/* ------------------------------------------------- */

/* ---------------------------------------------------------------- */
/* DESKTOP - NORMAL POSITIONING */
@media screen and (min-width: 992px) {
  .navbar-collapse {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    box-shadow: none !important;
    border-top: none !important;
    background-color: transparent !important;
  }
  .create-event-desktop-wrapper{
    display: none!important;
  }
}

/* ---------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .newsletter-illustration {
    top: 39px;
  }
}
/* ---------------------------------------------------------------- */

/* MOBILE NAV OPTIMIZATIONS - OVERLAY STYLE */
@media screen and (max-width: 992px) {
  .blur-bg-mobile {
    background: rgba(0, 0, 0, 0.85); /* dark semi-transparent */
    backdrop-filter: blur(10px); /* blur effect */
    border-radius: 0;
    padding: 1.5rem;
    position: absolute;
    top: 100%; /* directly below navbar */
    left: 0;
    width: 100%;
    z-index: 999;
  }

  .navbar-collapse {
    padding: 1rem;
    margin-top: 0;
  }

  .nav-divider {
    display: block;
  }

  .navbar-nav {
    margin-top: 0;
    width: 100%;
    text-align: left;
    
  }

  .navbar-nav .nav-link {
    margin-right: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid #333;
  }

  .dropdown-item {
    text-align: center !important;
  }

  .search-icon,
  .cart-icon {
    display: none !important;
  }

  .event-buutons {
    display: flex;
    justify-content: center;
  }

  .navbar-nav .nav-item {
    width: 100%;
    text-align: left;
  }

  .navbar-nav .nav-item:last-child {
    margin-top: 1rem;
    text-align: center;
  }

  .navbar-nav .nav-item .btn-create-event {
    text-align: center;
    width: auto;
    display: inline-block;
  }

  .navbar-nav .search-icon,
  .navbar-nav .cart-icon {
    padding: 0.5rem 0;
    margin-right: 1rem;
    display: inline-block;
  }

  /* Hide divider on mobile */
  .divider-item {
    display: none;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    /* background-color: transparent; */
    padding: 0;
    margin: 0;
    background: #1a1a1a !important;
  }

  .dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
    background-color: #2a2a2a;
    margin-bottom: 2px;
  }
  /* changedportion-------------------- */

  .event-buutons {
    display: none; 
  }

  /* -------------------------------- */

  .testimonial-section h2 {
    font-size: 2.5rem;
  }
  .testimonial-section p.lead {
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 25px;
  }
  .testimonial-card .review-text {
    font-size: 0.95rem;
  }

  .newsletter-illustration {
    margin-top: 30px;
    top: -4%;
    left: 38%;
  }
}

/* ------------------------------------------------ */

@media screen and (max-width: 768px) {
  /* Small devices and down */
  .testimonial-section h2 {
    font-size: 2rem;
  }
  .testimonial-section .stars {
    font-size: 1.3rem;
  }
  .testimonial-section p.lead {
    font-size: 0.95rem;
  }
  .testimonial-card {
    margin-bottom: 20px; /* Reduce margin for stacked cards */
  }

  .newsletter-section {
    padding-bottom: 93px;
  }

  .newsletter-title {
    font-size: 2rem;
    text-align: center;
  }

  .newsletter-subtitle {
    text-align: center;
  }

  .email-form {
    margin: 0 auto;
  }

  .newsletter-illustration {
    height: 200px;
  }

  .footer-section {
    padding: 0px 0 20px;
  }

  .newsletter-illustration {
    display: none;
  }

  .footer-section .row {
    text-align: center;
  }

  .footer-column,
  .footer-logo,
  .footer-description,
  .follow-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 41px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }
  .newsletter-section > div > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .join-btn {
    position: absolute;
    top: 56px;
    /* right: 3px; */
    height: 100%;
    width: 100%;
    background-color: #c84545;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
}

/* ---------------------------------------------------- */
@media screen and (max-width: 576px) {
  /* Extra small devices and down */
  .testimonial-section h2 {
    font-size: 1.8rem;
  }
  .testimonial-section p.lead {
    font-size: 0.9rem;
  }
  .testimonial-section .btn-review {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .testimonial-card {
    padding: 20px;
  }
  .testimonial-card .review-text {
    font-size: 0.9rem;
  }
  .testimonial-card .avatar {
    width: 50px;
    height: 50px;
  }
  
}

/* ----------------------------------------------------- */
@media screen and (max-width: 480px) {
  .newsletter-title {
    font-size: 1.6rem;
  }

  .newsletter-illustration {
    height: 180px;
  }
  .newsletter-subtitle{
    font-size: 16px;
  }
  /* changedportion--------------- */

  .event-buutons{
    display: block;
    text-align: center;
  }
}

/* -------------------------------------------------------- */
@media screen and (max-width: 320px) {
  /* Specific for 320px width */
  .testimonial-section h2 {
    font-size: 1.6rem;
  }
  .testimonial-section .stars {
    font-size: 1.1rem;
  }
  .testimonial-section p.lead {
    font-size: 0.85rem;
  }
  .testimonial-section .btn-review {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
  .testimonial-card {
    padding: 15px;
  }
  .testimonial-card .review-text {
    font-size: 0.85rem;
  }
  .testimonial-card .avatar {
    width: 45px;
    height: 45px;
  }
  .testimonial-card .reviewer-name {
    font-size: 1rem;
  }
  .testimonial-card .reviewer-title {
    font-size: 0.8rem;
  }
}

@media (min-width: 480px) {
  .create-event-desktop-wrapper {
    display: block; /* Show on screens 480px and wider */
  }
  /* Push toggler to the right when desktop button is visible */
  .navbar-toggler {
    margin-left: auto;
  }
  /* Hide on screens 480px and wider */
  /*  */
}
