/* Fonts & Reset */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0B0D23, #1A1C3C);
  color: #fff;
  overflow-x: hidden;
  transition: background 0.5s ease;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navigation */
nav {
  background: linear-gradient(90deg, #FF7F0F, #FFB347);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

nav .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

nav .nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav .nav-links li {
  margin-left: 20px;
}

nav .nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

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

nav .nav-links a:hover::after {
  width: 100%;
}

nav .nav-links a:hover {
  color: #FFD700;
  transform: translateY(-2px);
}

/* Burger Menu */
.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1A1C3C, #0B0D23);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #FF7F0F, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Section Titles */
h2, h3 {
  background: linear-gradient(90deg, #FF7F0F, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards for Projects, Team, News */
.project-grid, .team-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.project-card, .team-card, .news-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover, .team-card:hover, .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 183, 71, 0.3);
}

.project-card h3, .team-card h3, .news-card h3 {
  margin-top: 0;
}

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Lists */
ul li {
  margin-bottom: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}

ul li:hover {
  color: #FFB347;
  transform: translateX(5px);
}

/* Footer */
footer {
  background: #0B0D23;
  color: #FFD700;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

footer .socials a {
  margin: 0 10px;
  color: #FFD700;
  transition: color 0.3s ease;
}

footer .socials a:hover {
  color: #FFB347;
}

/* Buttons */
button, .btn {
  background: linear-gradient(90deg, #FF7F0F, #FFD700);
  border: none;
  padding: 10px 20px;
  color: #0B0D23;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #FFB347;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive */

@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden initially */
    flex-direction: column;
    background: linear-gradient(90deg, #FF7F0F, #FFB347);
    position: absolute;
    top: 60px; /* below navbar */
    right: 0;
    width: 200px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.nav-active {
    display: flex; /* shows when active */
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  .burger {
    display: block;
  }
    }
