/* nav */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap");
nav,
.nav-links {
  display: flex;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  height: 11vh;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
nav {
  background: linear-gradient(120deg, #2c8ae9, rgb(119, 206, 233), #2c78c5);
  background-size: 200% 200%;
  animation: gradientMove 15s ease infinite;
}

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

nav a {
  color: white; /* Initial color of links */
  text-decoration: none;
  transition: color 300ms ease;
}
nav a.active {
  color: #ffcc00;
  font-weight: 600;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.nav-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 5px;
  display: inline-block;
  transition: all 0.3s ease;
  perspective: 1000px;
}
.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffcc00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* 3D Hover Effect */
.nav-links a:hover {
  transform: translateZ(50px) scale(1.05);
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Active State */
.nav-links a.active {
  color: #ffcc00;
  font-weight: 700;
}

a {
  color: white;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: #ffcc00;
  text-decoration: none;
}

.logo {
  font-size: 2.5rem;
  font-family: "Cinzel", serif;
  font-weight: 600;
  color: #25476a;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 24px;
  width: 30px;
  cursor: pointer;
  gap: 5px;
}

.hamburger-icon span {
  width: 28px;
  height: 3px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 200px;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.menu-links.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}
.menu-links a:hover {
  background-color: #f2f2f2;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 430px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}
@media (max-width: 1100px) {
  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(120deg, #2c8ae9, rgb(119, 206, 233), #2c78c5);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    position: sticky;
    top: 0;
    z-index: 999;
  }

  #desktop-nav {
    display: none;
  }

  .menu-links {
    display: block;
  }
}

/* Project Page Styles - Reusable CSS for all project pages */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #246eb9;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(135, 206, 235, 0.3);
}

.back-button:hover {
  background: #5fb3d4;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(135, 206, 235, 0.4);
}

.project-card {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.project-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e9ecef;
}

.project-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.course-name {
  font-size: 1.25rem;
  color: #246eb9;
  font-weight: 500;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #87ceeb;
  border: 1px solid #e9ecef;
}

.section h2 {
  color: #246eb9;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.tool-tag {
  background: linear-gradient(135deg, #2c8ae9, #76cee9);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(44, 138, 233, 0.2);
}
.tool-tag:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1f6fd4, #4dbbe4);
}

.project-description {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid #246eb9;
  margin-bottom: 3rem;
}

.project-description h2 {
  color: #246eb9;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
}

.video-section {
  margin-bottom: 3rem;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list i {
  color: #667eea;
  width: 20px;
}

.team-member {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

/* Utility Classes */
.highlight {
  background: linear-gradient(135deg, #2c8ae9 0%, #76cee9 100%);
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 6px rgba(44, 138, 233, 0.15);
}

.pulse {
  animation: pulse 2s infinite;
}

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .project-card {
    padding: 2rem 1.5rem;
  }

  .project-title {
    font-size: 2rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }
}

/* Additional styles for different project types */
.project-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-badge {
  background: #667eea;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

@media screen and (max-width: 600px) {
  .logo {
    font-size: 1.5rem;
  }
}
