/* Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Hero */
.hero{
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 5%;
}

/* Nav */
nav{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 8%;
  display: flex;
  justify-content: space-between;
  z-index: 2000;
}
nav .logo{
  width: 130px;
}
nav ul{
  display: flex;
  align-items: center;
  gap: 24px;
}
nav ul li{
  list-style: none;
  font-style: italic;
  animation: slideUp 1s ease;
}
nav ul li a{
  text-decoration: none;
  color: #4b0000;
  font-size: 18px;
  font-weight: 600;
  transition: color .3s;
}
nav ul li a:hover{
  color: #d48400;
}

/* Content */
.content{
  color: #4b0000;
  text-align: center;
}
.content h1{
  font-size: 60px;
  color: #4b0000;
  transition: 0.5s;
  font-weight: 600;
}
.content h1:hover{
  -webkit-text-stroke: 2px #4b0000;
  color: transparent;
}
.content p{
  font-size: 30px;
  margin: 20px 0;
  transition: 0.5s;
  font-weight: 600;
}
.content p:hover{
  -webkit-text-stroke: 2px #4b0000;
  color: transparent;
}
.content a{
  display: inline-block;
  background: rgba(75,0,0,0.55);
  color: black;
  font-size: 24px;
  border: 2px solid #4b0000;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 20px;
}

/* Background video */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;           /* behind page content */
  pointer-events: none;  /* allow clicks through the video */
}

/* remove/override previous aspect-ratio tweaks — object-fit:cover handles scaling */
@media (min-aspect-ratio: 16/9),
       (max-aspect-ratio: 16/9) {
  .bg-video {
    width: 100vw;
    height: 100vh;
  }
}

/* Logo landing animation */
.logo-landing {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1s 2.5s forwards;
}
.logo-container {
  text-align: center;
}
.logo-animation {
  width: 180px;
  opacity: 0;
  transform: scale(0.7);
  animation: logoIn 1.2s .2s forwards;
}
.logo-animation1 {
  opacity: 0;
  animation: textIn 1s 1.2s forwards;
}

@keyframes logoIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes textIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}

/* Small utility animation */
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/*button style*/
.card1 {
transform-style: preserve-3d;
  will-change: transform;
  transition: transform .5s;
}
.card1:hover {
  transform: translateZ(10px) rotateX(20deg) rotateY(20deg);
}

.card1:hover .card_title {
  transform: translateZ(50px);
}

/* Mobile nav (simple hamburger) */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  position: absolute;
  top: 28px;
  right: 40px;
  height: 30px;
  width: 40px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2001;
}
.nav-toggle-label span {
  display: block;
  height: 4px;
  width: 100%;
  background: #4b0000;
  border-radius: 2px;
  margin-bottom: 6px;
  transition: 0.3s;
}
.nav-toggle-label span:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .content h1 { font-size: 40px; }
  .content p { font-size: 20px; }
  nav ul { display: none; } /* enable your mobile menu here */
  .nav-toggle-label { display: flex; }
}
/* Footer */
.copyright {
  text-align: center;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #4b0000;
}