/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: black;
}
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

header.white-bg {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Hover effect: apply white background */
header:hover {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Force background white when menu is open */
header.menu-open {
  background-color: white !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Logo */
.logo img {
  height: 40px;
  width: auto;
}
.logo {
  font-size: 1.5em;
  font-weight: bold;
}

/* Desktop Nav */
nav.desktop-menu {
  display: flex;
  flex: 1;
  justify-content: center;
}
.desktop-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.desktop-menu li {
  cursor: pointer;
}

.login-icon i {
  font-size: 24px;
  color: #000000;
  cursor: pointer;
  transition: color 0.3s;
}

.login-icon i:hover {
  color: #007bff;
}
/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Hamburger active (into X) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: white;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  text-align: left;
  padding: 20px;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu li {
  margin-bottom: 15px;
  cursor: pointer;
}

/* Show mobile menu when active */
.mobile-menu.open {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .desktop-menu {
    display: none;
  }
}

nav ul li a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007BFF;
}

.mobile-menu a {
  text-decoration: none;
  color: #000000; /* Blue color */
  font-size: 1rem;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #0056b3; /* Darker blue on hover */
}
/* Video section */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.content {
  padding: 100px 20px;
}

/* Responsive */
@media (max-width: 768px) {
  nav.desktop-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.show {
    display: block;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .login-icon {
    position: absolute;
    right: 20px;
  }
}

.card-section {
  padding: 40px 20px;
  background: #000;
  overflow: hidden;
}
.card-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none;    /* Firefox */
}
.card-slider::-webkit-scrollbar {
  display: none;
}
.card {
  background: white;
  width: 80vw;
  max-width: 280px;
  height: 400px;
  flex: 0 0 auto;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.03);
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}
.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-back {
  background: white;
  color: black;
  padding: 20px;
  box-sizing: border-box;
  transform: translateY(100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card.show .card-front {
  transform: translateY(-100%);
}
.card.show .card-back {
  transform: translateY(0);
}

/* Responsive layout */
@media (min-width: 768px) {
  .card-slider {
    flex-wrap: wrap;
    justify-content: space-between;
    overflow-x: visible;
  }
  .card {
    width: calc(25% - 15px);
    max-width: none;
  }
}
.card-button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.card-button:hover {
  background-color: #333;
}

