* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.main-container {
  flex: 1;
}
/* Header */
header {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 999;
  padding: 15px 140px;
  background: #fff;
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
}
.nav-menu{
  margin-left: 141px;
}
.nav-menu > ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight:600;
  transition: color 0.3s ease;
  font-size: 14px;
}

.nav-menu a:hover {
  color: #000000;
  font-weight: lighter; 
}
.logo {
  height: 40px;
  width: 229px;
}
.nav-menu li {
  position: relative;
}
.nav-menu .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f1f1f1;
  padding: 0;
  min-width: 260px;
  z-index: 999;
  flex-direction: column;
  border-radius: 0px;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.nav-menu li.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


.nav-menu .dropdown-menu li {
  width: 100%;
}

.nav-menu .dropdown-menu a {
  display: block;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: lighter;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.3s ease;
  border-bottom: 1px solid #fff;
 
}

.nav-menu .dropdown-menu a:hover {
  background-color: #ffffff;
  color: #000;
  font-weight: lighter;
  
}
.nav-menu li.dropdown > a::after {
  content: " ▼";
  font-size: 0.5rem;
  margin-left: 4px;
}
.dashicons.icon {
  font-size: 15px;
  line-height: 1;
  margin-top: 4px;
  margin-right: 1px;
  vertical-align: middle;
  color: #000000;
  
}

/* Main Layout */
.main-container {
  display: flex;
  padding: 0px 60px 0px 140px;
  margin-top: 70px;
  gap: 90px;
}

.left-side {
  flex: 1;
  max-width: 412px;
  margin-top: 20px;
}

.left-side h2 {
  display: block;
  font-size: 24px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: 600;
  unicode-bidi: isolate;
}

form input[type="text"],
form input[type="password"] {
  width: 100%;
  height: 32px;
  padding: 5px;
  margin: 0px;
  color: black;
  background-color: #f4f2f7;
  border: none;
  border-radius: 4px;
}
form input[type="text"] {
  margin-bottom: 2px;
}


.forgotpass-wrap{
  display: flex;
  justify-content: right;
  margin-top: 5px;
}
.checkbox-wrapper {
      display: flex;
      align-items: center;
      font-family: sans-serif;
      font-size: 12px;
    }

    input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      width: 15px;
      height: 15px;
      border: 1px solid #b1adad;
      margin-right: 5px;
      position: relative;
      cursor: pointer;
      border-radius: 2px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 16px 16px;
    }

    input[type="checkbox"]:checked {
      background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%2012L10%2017L20%207%22%20stroke%3D%22black%22%20stroke-width%3D%222%22/%3E%3C/svg%3E");
    }

    label {
      cursor: pointer;
      font-size: 14px;
    }


/* Forgot Password */
#forgotPasswordLink,
#resetpassword {
  float: right;
  font-size: 12px;
  color: #3476d2;
  text-decoration: underline;
  cursor: pointer;
}
#forgotPasswordLink:hover,
#resetpassword:hover {
color: #1952a1;
}
/* Captcha */
.captcha-wrapper{
  margin: 15px 0;
  width: 100%;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  background-color: #f4f2f7;
}

/* Buttons */
.login-btn {
  width: 100%;
  height: 39px;
  padding: 5px;
  background: #a6bde7;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
}

.login-btn.enabled {
  background-color: rgba(29, 135, 255, 1);
  cursor: pointer;
}

.google-btn,
.microsoft-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 39px;
  padding: 6px;
  background-color: #f4f4f4;
  border: none;
  color: black;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-decoration:none;
}

.google-btn img,
.microsoft-btn img {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.google-btn:hover,
.microsoft-btn:hover {
  background-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
  cursor: pointer;
  transition: all 0.3s ease;
}
.google-btn:hover img,
.microsoft-btn:hover img {
  transform: scale(1.1);
}
/* Right side image */
.right-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 557px;
  height: 532px;
}

.right-side img {
  width: 557px;
  height: 532px;
  margin-top: 27px;
}
.divider-text {
  text-align: center;
  color: #888;
  font-size: 12px;
  margin: 10px 0;
  font-weight: 500;
}
/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(46, 46, 46, 1);
  color: white;
  height: 60px;
}
footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}

footer .social a {
  margin-left: 15px;
  text-decoration: none;
  font-weight: bold;
  color: white;
}
#recaptchaModal .custom-modal {
  border-radius: 4px;
  padding: 35px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
#recaptchaModal .modal-dialog {
  margin-top: 70px;
}
#recaptchaModal .modal-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}
#recaptchaModal .g-recaptcha {
  transform: scale(1.3,1.05); 
  transform-origin: 0 0;
}
#recaptchaModal #errormsg {
  margin-top: 12px;
  color: red;
  font-size: 14px;
}
#recaptchaModal .modal-footer {
  border-top: none;
  padding-right: 17px;
}

#recaptchaModal .btn-secondary {
  background-color: #ccc !important;
  color: #333 !important;
  border: none !important;
  padding: 4px 10px;
  font-weight: 500;
  border-radius: 3px;
}

#recaptchaModal .btn-secondary:hover {
  background-color: #b3b3b3 !important;
}

#recaptchaModal .submit-btn {
  background-color: #8e60c7 !important;
  color: white !important;
  border: none !important;
  padding: 4px 10px;
  font-weight: 500;
  border-radius: 3px;
}

#recaptchaModal .submit-btn:hover {
  background-color: #764bb2 !important;
}
#successModal .modal-content {
  border-radius: 10px;
  padding: 30px;
}

#successModal h5 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

#successModal .btn-secondary {
  background-color: #ccc !important;
  color: #333 !important;
  border: none;
  border-radius: 4px;
  font-size:14px;
  width:87px;
  height:36px;
  margin-left:287px;
}
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.password-wrapper span {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #000000;
}

/* Responsive Styles */
/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .nav-menu {
    margin-left: 50px;
  }
  .nav-menu > ul {
    gap: 20px;
  }
  .main-container {
    gap: 60px;
    padding: 0 30px;
  }
  .left-side {
    max-width: 400px;
  }
  .right-side img {
    width: 100%;
    height: auto;
  }
}

/* Mobile and Tablets (≤768px) */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-menu {
    margin-left: 0;
    margin-top: 10px;
  }
  .main-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    margin-top: 100px;
  }
  .left-side {
    max-width: 100%;
  }
  .google-btn,
  .microsoft-btn {
    width: 100%;
  }
  .right-side {
    width: 100%;
    height: auto;
    justify-content: center;
  }
  .right-side img {
    width: 100%;
    height: auto;
    margin-top: 0;
  }
}

/* Mobile Portrait (≤480px) */
@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }
  .nav-menu > ul {
    flex-direction: column;
    gap: 10px;
  }
  .main-container {
    margin-top: 80px;
    padding: 0 15px;
    gap: 20px;
  }
  .left-side h2 {
    font-size: 20px;
  }
  form input[type="text"],
  form input[type="password"] {
    height: 36px;
  }
  .google-btn,
  .microsoft-btn {
    font-size: 14px;
    gap: 8px;
  }
  footer {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    height: auto;
    text-align: center;
  }
  footer .social a {
    margin-left: 10px;
  }
}
/* for mobile nav */
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-left: auto;
    z-index: 1001;
  }

  .nav-menu {
    display: none;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }
  .nav-menu.show {
    display: block;
  }
}
@media (max-width: 768px) {
  .nav-menu li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav-menu .dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: #f1f1f1;
    min-width: 100%;
  }
  .nav-menu .dropdown.open .dropdown-menu {
    display: block;
  }
  .nav-menu li.dropdown > a::after {
    content: " ▼";
    font-size: 0.5rem;
    margin-top: 4px;
  }
}
/* Large desktop screens */
@media (min-width: 1440px) {
  .main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 80px;
    margin-top: 90px;
  }

  header {
    padding: 20px 270px;
  }
  .left-side{
    min-width: 412px;
  }
  .left-side h2 {
    font-size: 28px;
  }

  .google-btn, 
  .microsoft-btn {
    font-size: 18px;
    height: 45px;
  }
}
/* Ultra-wide monitors */
@media (min-width: 1920px) {
  .main-container {
    max-width: 1600px;
    margin: 0 auto;
    gap: 120px;
    margin-top: 90px;
  }

  .right-side img {
    max-width: 600px;
    height: auto;
  }

  footer {
    padding: 30px 120px;
  }
}
/* 4K and very large screens */
@media (min-width: 2560px) {
  body {
    font-size: 18px;
  }

  .main-container {
    max-width: 1800px;
    margin: 0 auto;
    gap: 150px;
    margin-top: 90px;
  }

  .left-side h2 {
    font-size: 32px;
  }

  form input[type="text"],
  form input[type="password"] {
    height: 45px;
    font-size: 16px;
  }

  .login-btn {
    height: 50px;
    font-size: 18px;
  }

  .google-btn,
  .microsoft-btn {
    height: 50px;
    font-size: 18px;
  }
}