/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #f26522, #00b4d8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

nav .logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.vid-container {
  display: flex;
  justify-content: center;
}

/* Menu */
nav ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #90e0ef;
}

/* Hamburger */
.menu-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f26522, #00b4d8);
  color: white;
  padding: 120px 20px 80px;
  text-align: center;
  margin-top: 60px; /* offset for nav */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
}

/* Section Styling */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #f26522;
}

/* Project cards Section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
  margin-bottom: -30px;
}

.project-card {
  background: linear-gradient(135deg, #f26522, #00b4d8);
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  font-size: 15px;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-heading {
  text-decoration: underline;
}

.feature-heading {
  font-size: 25px;
  text-align: center;
  margin-bottom: 10px;
  color: #f26522;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.team-member {
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
  transform: translateY(-5px); /* lift on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* stronger shadow on hover */
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member p {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

.team-member .links a {
  color: #0077b6;
  text-decoration: none;
}

.team-member .links a:hover {
  text-decoration: underline;
}

/* Contact Section */
#contact p {
  text-align: center;
  margin: 8px 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f26522;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: #00b4d8;
}

/* Footer */
footer {
  background: #f9f9f9;
  color: black;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 768px) {
  /* Show hamburger */
  .menu-icon {
    display: block;
  }

  nav ul.menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0077b6;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 20px;
  }

  nav ul.menu li {
    margin-bottom: 15px;
  }

  /* Toggle menu on checkbox */
  #menu-toggle:checked + .menu-icon + ul.menu {
    display: flex;
  }
}
