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

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

/* Header Styling */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 140px;
}

/* Navbar */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 8px 12px;
  transition: all 0.3s ease-in-out;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #3cd316;
}

/* Mobile Menu Toggle */
.mobile-menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Slide-in menu for mobile */
.overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.4);
  z-index: 999;
  display: none;
}

.overlay.show {
  display: block;
}

.nav-links.show {
  position: fixed;
  top: 0;
  right: 0;
  flex-direction: column;
  width: 220px;
  height: 100%;
  background-color: #fff;
  padding: 80px 20px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

/* Container Flexbox */
.banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #fff;
  gap: 70px;
}

/* Image container */
.banner-left {
  flex: 1;
  max-width: 500px;
}

.banner-left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}




.student-login-btn {
  background-color: #3cd316;
  color: white !important;
  padding: 10px;
  display: block;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
}

.student-login-btn:hover {
  background-color: #2fb90e;
}


/* Login Panel */
/* Login panel (already styled, just confirming) */
.login-panel {
  flex: 1;
  max-width: 400px;
  width: 100%;
  background: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}


.login-panel h2 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  font-size: 24px;
}

.login-panel input[type="email"],
.login-panel input[type="password"],
.login-panel input[type="submit"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.login-links {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  display: block;
  padding: 0 10px;
}

.login-links p {
   margin: 6px 0;
  line-height: 1.4;
  white-space: normal;  /* ✅ Allow wrapping */
  word-break: break-word;  /* ✅ Break long words if needed */
}


.login-links a {
  color: #3cd316;
  text-decoration: none;
  font-weight: bold;
}

.login-links a:hover {
  text-decoration: underline;
}




.login-panel a {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #3cd316;
  text-decoration: none;
}

.login-panel a:hover {
  text-decoration: underline;
}


.signin {
  background: #3cd316;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.signin:hover {
  background: #2fb90e;
}

/* Features Section */
#Features {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 15px;
}

.tabs {
  display: flex;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tabs-left img,
.feature-icon {
  width: 60px;
}


.tabs-right {
  padding-left: 20px;
}

.tabs-right h2 {
  margin-bottom: 10px;
  color: #3cd316;
}

/* Footer */
.footer {
  background: #003f5c;
  color: #fff;
  padding: 30px 15px;
}

.footer1 {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left img {
  margin-bottom: 10px;
}

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

.footer-mid ul li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 5px 0;
}

.footer-mid ul li a:hover {
  text-decoration: none;
  color: rgb(255, 153, 0);
  display: block;
  padding: 5px 0;
}

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

.footer-right ul li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 5px 0;
}

.footer-right ul li a:hover {
  text-decoration: none;
  color: rgb(255, 153, 0);
  display: block;
  padding: 5px 0;
}

/*
.footer-right p {
  line-height: 1.6;
}
*/

.copyright {
  text-align: center;
  padding: 8px 10px;
  font-size: 14px;
  color: white;
  background-color:rgb(255, 115, 0);
  border-top: 1px solid #e0e0e0;
  position: relative;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -100%;
    width: 220px;
    height: 100%;
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex !important;
    right: 0;
  }

  .mobile-menu-icon {
    display: block;
  }

  .tabs {
    flex-direction: column;
    text-align: center;
  }

  .tabs-right {
    padding-left: 0;
    margin-top: 10px;
  }

  .footer1 {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

    .banner {
    flex-direction: column;
    padding: 20px 15px;
    text-align: center;
    gap: 20px;
  }

  .banner-left,
  .login-panel {
    max-width: 90%;
  }

  .banner-left img {
    margin-bottom: 20px;
  }

  .login-panel {
    margin: 0 auto;
    max-width: 90%;
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .copyright {
    font-size: 13px;
    padding: 12px 8px;
  }
}
