 body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #f9f9f9;
      color: #333;
    }

   .navbar {
  background-color: #007bff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0 auto; /* centers the links between logo and buttons */
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  /* padding: 0.2rem 0.5rem; */
  border-radius: 4px;
}

.nav-actions {
  display: flex;
  gap: 0.8rem;
}

.nav-actions .btn {
  padding: 0.4rem 0.8rem;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-actions .btn:hover {
  background-color: #004494;
  transform: scale(1.05);
}



.logo-image {
  width: 45px;          /* smaller size */
  height: 45px;         /* keep it square */
  border-radius: 50%;   /* makes it round */
  object-fit: cover;    /* crop nicely if image isn't square */
  float: left;
  margin:0;         /* align left */
  margin-right: 10px;   /* some spacing from next content */
  display: block;       /* prevents inline spacing issues */
}



/* Hide hamburger by default */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  /* Hide ONLY nav-links */
  .nav-links {
    display: none;
  }

  /* Keep nav-actions visible always */
  .nav-actions {
    display: flex;
  }

  /* Show hamburger button */
  .hamburger {
    display: block;
    margin-left: auto;
  }

  /* When hamburger clicked, show nav-links vertically */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    background-color: #007bff;
    position: absolute;
    top: 60px;  /* adjust for navbar height */
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 0 8px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.2);
  }

  /* Nav links vertical spacing */
  .nav-links.active li {
    margin-bottom: 1rem;
  }
}


.hero{
  padding: 4rem 2rem;
  text-align: center;
  background-color: #e6f2ff;
}
.hero h1{
  font-size: 2.5rem;
}
    .features {
      padding: 2rem;
      text-align: center;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .feature-card {
      background: white;
      padding: 1rem;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      animation: shakeIn 0.6s ease;
    }

    .feature-card:hover {
      transform: translateY(-5px) scale(1.02);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
      animation: shake 0.5s;
    }

    .feature-card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 1rem;
    }

    @keyframes shakeIn {
      0% { transform: scale(0.9); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }

    @keyframes shake {
      0%, 100% { transform: translateY(-5px) rotate(0deg); }
      25% { transform: translateY(-5px) rotate(1deg); }
      50% { transform: translateY(-5px) rotate(-1deg); }
      75% { transform: translateY(-5px) rotate(1deg); }
    }

    .cta {
      background-color: #f1f9ff;
      padding: 3rem 2rem;
      text-align: center;
    }
footer {
  background-color: #007bff;
  color: white;
  padding: 3rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 1px solid white;
  padding-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section ul li:hover {
  color: #d1ecff;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1rem;
}



    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        background-color: #007bff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
      }

      .nav-links.show {
        display: flex;
      }

      .hamburger {
        display: block;
      }
    }




/* Register / login page Style */





   body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: linear-gradient(to right, #e6f2ff, #f1f9ff);
      color: #333;
    }

    .form-container {
      max-width: 420px;
      margin: 4rem auto;
      background: white;
      padding: 2.5rem;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
      text-align: center;
    }

    .logo-text {
      font-size: 2rem;
      font-weight: bold;
      color: #007bff;
      margin-bottom: 1rem;
    }

    h2 {
      color: #007bff;
      margin-bottom: 1.5rem;
    }

    form {
      text-align: left;
    }

    label {
      font-weight: bold;
      display: block;
      margin-top: 1rem;
      margin-bottom: 0.3rem;
      color: #333;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
      width: 100%;
      padding: 0.75rem;
      margin-bottom: 0.3rem;
      border: 2px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
      transition: border 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
    }

    input:focus {
      border-color: #007bff;
      box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
      outline: none;
    }

    input.invalid {
      border-color: red !important;
    }

    input.valid {
      border-color: #007bff !important;
    }

    .error-msg {
      color: red;
      font-size: 0.85rem;
      height: 18px; /* reserve space even when empty */
      margin-bottom: 0.3rem;
    }

    .btn {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
      margin-top: 1.5rem;
      width: 100%;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .btn:hover {
      background-color: #0056b3;
      transform: scale(1.05);
    }




    /* login page  */




    
.login-container {
  max-width: 420px;
  margin: 4rem auto;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
  text-align: center;
}

.login-logo {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 1rem;
  text-align: center;
}

.login-heading {
  color: #007bff;
  margin-bottom: 1.5rem;
}

#loginForm {
  text-align: left;
}

#loginForm label {
  font-weight: bold;
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  color: #333;
}

#loginForm input[type="text"],
#loginForm input[type="email"],
#loginForm input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.3rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  padding-right: 2.5rem; /* space for eye icon */
}

#loginForm input:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
  outline: none;
}

#loginForm input.invalid {
  border-color: red !important;
}

#loginForm input.valid {
  border-color: #007bff !important;
}

.login-error-msg {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  min-height: 1.2em; /* keeps space even if no message */
}

.login-password-wrapper {
  position: relative;
}

.login-toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  user-select: none;
  color: #007bff;
}

.login-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: background-color 0.3s, transform 0.2s;
}

.login-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}




















/* About Page Stylings */





     * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #f9f9f9;
      color: #333;
      overflow-x: hidden;
    }

    .navbar {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #007bff;
      padding: 1rem 2rem;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      transition: background-color 0.3s ease;
      min-height: 70px;
    }

    .navbar .logo {
      margin-right: auto;
      color: white;
      font-size: 1.5rem;
      font-weight: bold;
    }

    main {
      padding-top: 100px;
    }

    .nav-links {
      display: flex;
      gap: 1rem;
      list-style: none;
      margin-left: auto;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      padding: 0.5rem 1rem;
      border-radius: 4px;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .nav-links a:hover {
      background-color: #0056b3;
      transform: translateY(-2px);
    }

    .hamburger {
      display: none;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: white;
      margin-left: 1rem;
    }

    .about-section {
      padding: 4rem 2rem;
      background-color: #e6f2ff;
      text-align: center;
    }

    .about-section h1 {
      font-size: 2.5rem;
    }

    .about-section p {
      font-size: 1.1rem;
      max-width: 800px;
      margin: 1rem auto;
    }

    .highlight-section {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 3rem;
      padding: 0 2rem;
    }

    .highlight-box {
      background-color: #ffffff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      padding: 2rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
      animation: fadeIn 0.6s ease-in-out;
    }

    .highlight-box:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      background-color: #5cacf3;
      color: whitesmoke;
      animation: shake 0.4s;
    }

    .highlight-box h3 {
      color: #103a67;
      margin-bottom: 1rem;
    }

footer {
  position: relative;
  padding: 1rem 2rem; /* add vertical + horizontal padding */
  background-color: #007bff;
  color: white;
  text-align: center; /* center text horizontally */
  /* Remove fixed height */
  /* height: 80px; */
  display: flex;
  align-items: center;  /* vertical center all children */
  justify-content: center; /* center horizontally */
  gap: 20px; /* space between text and video */
}

footer p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 1.1rem;
  white-space: nowrap; /* keep text in one line */
}

footer video {
  width: 240px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;          /* don’t shrink the video */
  margin-left:750px;       /* space between text and video */
}


.extra-info {
  color: white;
  font-size: 0.95rem;
  max-width: 220px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  cursor: default;
}

.extra-info:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffd167; /* elegant vibrant yellow/gold */
}

.extra-info h4 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.extra-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.extra-info li {
  margin-bottom: 8px; /* space between each line */
  line-height: 1.4;
}




    @keyframes shake {
      0% { transform: translateX(0); }
      25% { transform: translateX(-5px); }
      50% { transform: translateX(5px); }
      75% { transform: translateX(-5px); }
      100% { transform: translateX(0); }
    }

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

    @media (max-width: 1024px) {
      .highlight-section {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        background-color: #007bff;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 1rem;
      }

      .nav-links.show {
        display: flex;
      }

      .hamburger {
        display: block;
      }

      .highlight-section {
        grid-template-columns: 1fr;
      }
    }