/* ================= GLOBAL RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: white;
  scroll-behavior: smooth;
}

/* ================= HEADER ================= */
header {
  position: fixed;
  width: 100%;
  padding: 18px 5%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
}

.logo span {
  color: #1e90ff;
}

.menu-icon {
  font-size: 26px;
  cursor: pointer;
}

/* ================= SIDE MENU ================= */
nav {
  position: fixed;
  right: -100%;
  top: 0;
  height: 100vh;
  width: 280px;
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 80px 30px;
  transition: 0.4s ease;
  box-shadow: -5px 0 20px rgba(0,0,0,0.5);
}

nav a {
  color: white;
  text-decoration: none;
  margin: 15px 0;
  font-size: 18px;
  transition: 0.3s;
}

nav a:hover {
  color: #1e90ff;
  transform: translateX(5px);
}

nav.active {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  background: url('assets/hero.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 3px;
  animation: fadeIn 1.5s ease;
}

.hero p {
  margin-top: 20px;
  font-size: clamp(14px, 2vw, 20px);
  opacity: 0.8;
}

/* ================= SECTIONS ================= */
.section {
  padding: 100px 5%;
  text-align: center;
}

.section.dark {
  background: #111;
}

.section h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 20px;
}

/* ================= TEAM ================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto 0 auto;
}

.member {
  padding: 40px 30px;
  background: #111;
  border-radius: 12px;
  transition: 0.3s;
}

.member:hover {
  transform: translateY(-10px);
  background: #1a1a1a;
}

.member h3 {
  margin-bottom: 10px;
}

.member span {
  color: #1e90ff;
  font-weight: 600;
}

/* ================= BUTTONS ================= */
.button-group {
  margin-top: 40px;
}

.btn {
  padding: 12px 28px;
  background: #1e90ff;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  margin: 10px;
  display: inline-block;
  transition: 0.3s;
  font-weight: 500;
}

.btn:hover {
  transform: scale(1.05);
}

.btn.outline {
  background: transparent;
  border: 2px solid #1e90ff;
}

/* ================= SUBSCRIBE ================= */
.subscribe-form {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input {
  padding: 12px;
  width: 260px;
  border: none;
  border-radius: 6px;
}

.subscribe-form button {
  padding: 12px 25px;
  border: none;
  background: #1e90ff;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-form button:hover {
  opacity: 0.8;
}

/* ================= FOOTER ================= */
footer {
  padding: 40px 20px;
  text-align: center;
  background: #111;
  font-size: 14px;
  opacity: 0.7;
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= MOBILE ================= */
@media(max-width:768px){

  header {
    padding: 15px 20px;
  }

  nav {
    width: 75%;
  }

  .section {
    padding: 80px 20px;
  }

}
