/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
    color: #333;
    overflow-x: hidden;
  }
  
  .container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
  }
  
  /* Header */
  header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
  }
  
  .nav-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  header h1 {
    margin: 0;
  }
  
  header h1 a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  nav a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
  }
  
  nav a.active,
  nav a:hover {
    color: #4caf50;
  }
  
  
  /* Hero Section */
  #hero {
    background: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
  }
  
  .hero-content {
    background-color: rgba(0,0,0,0.6);
    padding: 60px;
    border-radius: 15px;
    animation: fadeInUp 1s ease forwards;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .hero-content .btn {
    background: linear-gradient(to right, #ffeb3b, #fbc02d);
    color: #333;
    border: none;
    padding: 14px 30px;
    font-size: 1.1rem;
    margin-top: 35px; /* moved down a bit */
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
  }
  
  .hero-content .btn:hover {
    background: #4caf50;
    transform: scale(1.05);
  }
  
  
  /* Highlights Section */
  #highlight {
    background: #fff;
    padding: 70px 20px;
    animation: fadeIn 1s ease forwards;
  }
  
  #highlight h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #4caf50;
  }
  
  .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .feature-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    min-width: 250px;
    max-width: 320px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .feature-box:hover {
    transform: translateY(-8px);
    background: #e8f5e9;
  }
  
  .feature-box h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #388e3c;
  }
  
  .feature-box p {
    font-size: 1rem;
    color: #555;
  }
  
  /* Footer */
  footer {
    background: #333;
    color: white;
    padding: 25px;
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
  }
  
  footer a {
    color: #ffeb3b;
    text-decoration: none;
    margin-left: 10px;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
    /* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

  }
  /* Scroll to Top Button Styles (hidden by default) */
#toTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 16px;
  font-size: 1.2rem;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
  display: none;
  z-index: 1000;
}

#toTopBtn:hover {
  background: #388e3c;
  transform: scale(1.1);
}

/* Fade-in helper classes for smooth animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add subtle hover scale effect on nav links */
nav a:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Add subtle hover scale effect on buttons */
.hero-content .btn:hover {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}
/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .hero-content {
    padding: 30px 20px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  #highlight {
    padding: 50px 15px;
  }

  #highlight h3 {
    font-size: 1.5rem;
  }

  .features {
    flex-direction: column;
    gap: 20px;
  }

  .feature-box {
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.6rem;
  }

  .hero-content .btn {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  nav a {
    font-size: 0.95rem;
  }
}
