:root {
    --primary-green: rgb(3, 58, 14);
    --secondary-green: rgb(45, 87, 44);
    --soft-green: rgb(242, 246, 242);
    --accent-sage: #7C9473;
    --text-dark: #333333;
    --text-light: #ECF0F1;
    --section-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --border-color: #e0e0e0;
  }
  
  /* Base Styles */
  body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: var(--soft-green);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
  }
  
  /* Navigation */
  .navbar {
    background-color: var(--primary-green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.8rem 1.5rem;
  }
  
  .navbar-brand {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1.5rem;
  }
  
  .nav-link {
    color: var(--text-light) !important;
    padding: 0.5rem 1rem;
    font-weight: 500;
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .dropdown-item.active, .dropdown-item:active {
    background-color: var(--accent-sage);
  }
  
  /* Hero Section */
  #title {
    background: linear-gradient(to right, var(--primary-green), var(--secondary-green));
    padding: 7rem 0 3rem;
  }
  
  .subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
  }
  
  .subtitle h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
  }
  
  /* Learning Sections */
  .learning-sections {
    padding: 2rem 1rem 4rem;
  }
  
  .learning-section {
    background: var(--section-bg);
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 8px 20px var(--shadow-color);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    padding: 2rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
  }
  
  .learning-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-sage);
  }
  
  .learning-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--accent-sage);
    transition: width 0.3s ease;
  }
  
  .learning-section:hover:before {
    width: 100%;
    opacity: 0.05;
  }
  
  .section-icon {
    color: var(--accent-sage);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .learning-section h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .learning-section p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .section-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-sage);
    font-weight: 600;
    transition: padding-left 0.3s ease;
  }
  
  .learning-section:hover .section-footer {
    padding-left: 10px;
  }
  
  /* Footer */
  #footer {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
  }
  
  #footer h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  #footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-sage);
  }
  
  .footer-about p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .footer-links ul li {
    margin-bottom: 0.7rem;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
  }
  
  .footer-links a:hover {
    color: var(--text-light);
    padding-left: 5px;
    text-decoration: none;
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    transition: all 0.3s ease;
  }
  
  .social-links a:hover {
    color: var(--accent-sage);
    transform: translateY(-5px);
  }
  
  .social-links a[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 100;
  }
  
  .copyright-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .copyright {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .subtitle h1 {
      font-size: 2rem;
    }
    
    #footer {
      padding: 3rem 0 1.5rem;
      text-align: center;
    }
    
    #footer h4:after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .social-links {
      justify-content: center;
    }
    
    .footer-links, .footer-about {
      margin-bottom: 2rem;
    }
  }
  
  /* Game Page Elements */
  #bodyGame {
    background-color: var(--soft-green);
    min-height: 100vh;
    padding-top: 2rem;
  }
  
  #level-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .btnG {
    width: 200px;
    height: 200px;
    margin: 1rem;
    border: 10px solid #333;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background-position: center;
    background-size: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
  .btnG:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }