/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* Mobile background */
  background-color: darkgreen;
}

/* Blur overlay */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  z-index: -1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== NAVBAR STYLES ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 100%;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
  position: relative;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(255, 231, 97);
  text-decoration: none;
  cursor: pointer;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  padding-left: 15px;
}

/* Mobile Menu - Hidden by default, shows as sidebar */
.navbar-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.7rem;
  position: fixed;
  height: 100vh;
  width: 280px;
  top: 0;
  left: -100%;
  padding: 6rem 2rem;
  box-shadow: 10px 0 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  background: rgba(0, 50, 0, 0.95);
  transition: left 0.4s ease-in-out;
  border-right: 2px solid gold;
  z-index: 998;
  list-style: none;
  margin: 0;
}

.navbar-menu.active {
  left: 0;
}

.navbar-menu li {
  width: 100%;
}

.navbar-menu li a {
  text-decoration: none;
  color: gold;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 12px 25px;
  border-radius: 25px;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.navbar-menu li a:hover,
.navbar-menu li a.active { 
  color: #162530;
  background: rgba(255, 217, 0, 0.8);
  border: 2px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Navbar Toggle - Show only on mobile */
.navbar-toggle {
  display: flex;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  z-index: 1000;
  position: relative;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 3px 0;
  background: rgb(255, 231, 97);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

.navbar-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay when mobile menu is open */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 997;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Tablet view */
@media (min-width: 769px) {
  .navbar-container {
    padding: 0 2rem;
  }
  
  .navbar-logo {
    font-size: 1.8rem;
  }
  
  /* Hide mobile toggle and overlay on tablet/desktop */
  .navbar-toggle {
    display: none;
  }
  
  .mobile-menu-overlay {
    display: none !important;
  }
  
  /* Show navbar menu as horizontal on tablet/desktop */
  .navbar-menu {
    position: static;
    flex-direction: row;
    height: auto;
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    left: 0;
    gap: 1rem;
  }
  
  .navbar-menu li {
    width: auto;
  }
  
  .navbar-menu li a {
    font-size: 1rem;
    padding: 8px 20px;
    width: auto;
    margin-top: 0;
  }
}

/* Desktop view */
@media (min-width: 1025px) {
  .navbar-container {
    max-width: 1600px;
  }
  
  .navbar-menu {
    gap: 1.5rem;
  }
  
  .navbar-menu li a {
    font-size: 1.1rem;
    padding: 10px 25px;
  }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  .navbar-menu {
    width: 280px;
  }
  
  .navbar-menu li a {
    font-size: 1.1rem;
    padding: 12px 20px;
    margin-top: 10px;
  }
}

/* Skill Development Section Styles */
#skill-development {
  flex: 1;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section {
  background: rgba(0, 70, 0, 0.8);
  padding: 1.5rem;
  border-radius: 15px;
  width: 95%;
  max-width: 1200px;
  margin: 1rem auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 215, 0, 0.5);
}

.section h2 {
  text-align: center;
  color: #ffeb3b;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  line-height: 1.5;
}

.skill-development-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Skill Assessment */
.skill-assessment {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.skill-assessment h3 {
  color: #ffeb3b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

.skill-assessment p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.assessment-btn {
  background: linear-gradient(to right, #ffeb3b, #ffc107);
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  color: #006400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 300px;
}

.assessment-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: rgba(0, 80, 0, 0.95);
  margin: 10% auto;
  padding: 1.5rem;
  border-radius: 15px;
  width: 95%;
  max-width: 600px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  position: relative;
  color: white;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffeb3b;
}

.close:hover {
  color: #ffc107;
}

.assessment-progress {
  margin-bottom: 1.5rem;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress {
  height: 100%;
  background: linear-gradient(to right, #ffeb3b, #ff9800);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}

#progressText {
  font-size: 0.85rem;
  color: #ccc;
}

.assessment-questions {
  margin-bottom: 1.5rem;
}

.question {
  display: none;
}

.question.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.question h4 {
  color: #ffeb3b;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.option {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.95rem;
}

.option:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.option.selected {
  background: rgba(255, 235, 59, 0.2);
  border-color: #ffeb3b;
}

.assessment-nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffeb3b;
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Skill Recommendations */
.skill-recommendations {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.skill-recommendations h3 {
  color: #ffeb3b;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.3rem;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.recommendation-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.2rem;
  border-radius: 8px;
  border-left: 4px solid #ffeb3b;
}

.recommendation-card h4 {
  color: #ffeb3b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.recommendation-card p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.priority {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.priority.high {
  background: rgba(255, 87, 87, 0.3);
  color: #ffeb3b;
}

.priority.medium {
  background: rgba(255, 193, 7, 0.3);
  color: #ffeb3b;
}

.priority.low {
  background: rgba(76, 175, 80, 0.3);
  color: #ffeb3b;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.resource-link {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  color: #ffeb3b;
  transition: all 0.3s ease;
  text-align: center;
}

.resource-link:hover {
  background: rgba(255, 235, 59, 0.2);
  transform: translateY(-2px);
}

/* Learning Resources */
.learning-resources {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.learning-resources h3 {
  color: #ffeb3b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

.resource-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
  background: rgba(255, 235, 59, 0.2);
  border-color: #ffeb3b;
  color: #ffeb3b;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.resource-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.resource-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.resource-icon {
  font-size: 1.8rem;
  color: #ffeb3b;
  margin-bottom: 1rem;
  text-align: center;
}

.resource-card h4 {
  color: #ffeb3b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-align: center;
}

.resource-card p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.resource-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.level, .duration {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Tablet view */
@media (min-width: 601px) {
  #skill-development {
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    margin: 2rem auto;
  }
  
  .section h2 {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .skill-development-container {
    gap: 2rem;
  }
  
  .skill-assessment, .skill-recommendations, .learning-resources {
    padding: 2rem;
  }
  
  .assessment-btn {
    width: auto;
    padding: 1rem 2rem;
  }
  
  .assessment-nav {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav-btn {
    width: auto;
  }
  
  .modal-content {
    margin: 5% auto;
    padding: 2rem;
  }
  
  .resource-links {
    flex-direction: row;
    justify-content: center;
  }
  
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .recommendations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop view */
@media (min-width: 1025px) {
  .section h2 {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .recommendations-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .resource-links {
    flex-direction: row;
  }
}

/* Focus states for accessibility */
button:focus,
select:focus,
input:focus {
  outline: 2px solid #ffeb3b;
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Ensure proper layout with footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#skill-development {
  flex: 1;
}

/* Footer styles for skill development page */
.footer {
  background: rgba(0, 30, 0, 0.9);
  padding: 3rem 2rem 1rem;
  margin-top: auto;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #ffeb3b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffeb3b;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #ffeb3b;
  color: #006400;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  font-size: 0.9rem;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

  .footer-section ul {
    padding: 0;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.8rem;
  }
}