/* ===== Global Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
  line-height: 1.6;
}

/* ===== Navbar ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo img {
  width: 55px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

nav .logo img:hover {
  transform: scale(1.08);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: #ff9800;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ff9800;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #fff;
}

nav a:hover::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 20px;
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9800, #e65100);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin-bottom: 35px;
  color: #f1f1f1;
}

.hero img {
  max-width: 500px;
  width: 90%;
  margin-top: 40px;
  border-radius: 16px;
  border: 3px solid #ff9800;
  box-shadow: 0 8px 30px rgba(255, 152, 0, 0.4);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero img:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 40px rgba(255, 152, 0, 0.6);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: #ff9800;
  color: #fff;
  font-weight: 600;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #e65100;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255, 152, 0, 0.4);
}

/* ===== Features Section ===== */
.features {
  padding: 90px 20px;
}

.features h2 {
  font-size: 2.4rem;
  margin-bottom: 50px;
  color: #ff9800;
  font-weight: 700;
  text-align: center;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #161616;
  border-radius: 16px;
  padding: 25px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 152, 0, 0.4);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 12px;
}

.card h3 {
  color: #ff9800;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: #ddd;
}

/* ===== Gallery Section ===== */
.gallery {
  padding: 90px 20px;
}

.gallery h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #ff9800;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.5);
}

/* ===== Apply Section ===== */
.apply {
  padding: 80px 20px;
  text-align: center;
}

.apply h2 {
  font-size: 2.4rem;
  color: #ff9800;
  margin-bottom: 20px;
}

.apply p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #ddd;
}

/* ===== Join Section ===== */
.join {
  padding: 90px 20px;
  background: linear-gradient(135deg, #ff9800, #e65100, #ffb74d);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  text-align: center;
}

.join-card {
  background: rgba(0, 0, 0, 0.65);
  padding: 50px 30px;
  border-radius: 20px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
  transition: transform 0.4s ease;
}

.join-card:hover {
  transform: translateY(-8px);
}

.join-card h2 {
  font-size: 2.6rem;
  color: #ff9800;
  margin-bottom: 20px;
}

.join-card p {
  font-size: 1.15rem;
  color: #eee;
  margin-bottom: 25px;
}

.join-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.join-buttons .btn {
  font-size: 1rem;
  padding: 12px 25px;
}

/* ===== Footer ===== */
footer {
  background: #111;
  padding: 3rem 2rem 1.5rem;
  color: #bbb;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-about {
  flex: 1 1 250px;
}

.footer-logo {
  max-width: 60px;
  margin-bottom: 1rem;
}

.footer-links,
.footer-socials {
  flex: 1 1 150px;
}

.footer-links h4,
.footer-socials h4 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links ul,
.footer-socials ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-socials li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-socials a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-socials a:hover {
  color: #ff9800;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #222;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom a {
  color: #ff9800;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #e65100;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    gap: 12px;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #ff9800;
    cursor: pointer;
  }
}
