body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  height: 100%;
  color: #fff;
  overflow-x: hidden;
}

/* Background video */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.55);
}

header {
  padding: 80px 20px 40px;
  text-align: center;
  animation: fadeInDown 1s ease;
}

header h1 {
  font-size: 4.5rem;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  animation: fadeInUp 1.2s ease;
}

.brand {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: #111;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;

  background-size: cover;   /* ✅ fill the entire tile */
  background-position: center;
  background-repeat: no-repeat;
}


.brand::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 1;
}

.brand:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.brand h2, .brand p {
  position: relative;
  z-index: 2;
}

.brand h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.brand p {
  color: #ffcc00;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.brand-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 15px;
  overflow: hidden;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
  font-size: 0.9rem;
  color: #ddd;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeIn 1.5s ease;
}

@media (max-width: 768px) {
  .brands {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
