/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Tahoma, sans-serif;
  scroll-behavior: smooth;
  color: white;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  z-index: 999;
}

header h1 {
  font-size: 1.8rem;
}

header p {
  font-size: 0.9rem;
}

/* Navigation */
.container ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.container ul li a {
  text-decoration: none;
  color: aliceblue;
  font-size: 18px;
  padding: 0.5rem 1rem;
  position: relative;
}

.container ul li a::before,
.container ul li a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: aliceblue;
  transform: scaleX(0);
  transition: transform 0.4s;
  border: 2px double rgb(106, 197, 253);
}

.container ul li a::before {
  top: 0;
  left: 0;
  transform-origin: left;
}

.container ul li a::after {
  bottom: 0;
  left: 0;
  transform-origin: right;
}

.container ul li a:hover::before,
.container ul li a:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  padding: 0 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3));
  color: white;
}

.back-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Content */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.content h1 {
  font-size: 5rem;
  font-weight: 600;
  color: rgb(3, 194, 252);
  transition: 0.5s;
}

.content h1:hover {
  -webkit-text-stroke: 2px white;
  color: rgba(11, 224, 224, 0.39);
}

.content p {
  font-size: 1.2rem;
  margin: 1rem 0;
}

.content a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  border: 2px solid white;
  padding: 12px 40px;
  transition: background-color 0.3s, color 0.3s;
}

.content a:hover {
  background-color: #fff;
  color: black;
}

/* Footer */
footer {
  background: linear-gradient(to right, #2e4053, #1b2631);
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 1rem;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color: #58a6ff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive Design */
/* Base Styles (Desktop First) */
.role {
  display: block;
}

/* Tablet & Below: Hide .role */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    text-align: center;
    align-items: center;
  }
  .home {
    display: none;
  }
  .role {
    display: none !important;
  }

  .container ul {
    flex-direction: row;
    align-items: center;
  }

  .content h1 {
    font-size: 3rem;
  }

  .content p {
    font-size: 1rem;
  }

  .content a {
    padding: 10px 30px;
    font-size: 18px;
  }
}

/* Mobile Specific */
@media (max-width: 480px) {
  .content h1 {
    font-size: 2.2rem;
  }
  .home {
    display: none;
  }
  .content p {
    font-size: 0.95rem;
  }

  .container ul li a {
    font-size: 16px;
    padding: 0.5rem 1rem;
  }
}

/* Landscape Specific Enhancements */
@media screen and (orientation: landscape) and (min-width: 769px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem;
    margin-bottom: 30px;
  }

  .role {
    display: block !important;
  }

  .container ul {
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
  }

  .container ul li a {
    font-size: 18px;
    padding: 0.5rem 1rem;
  }
}
