:root {
  --primary-color: #003C72;
  --secondary-color: #DAAA00;
  --background-color: #fff;
  --text-color: #180700;
  --border-color: #e5e5e5;
}

@font-face {
  font-family: 'Frutiger';
  src: url('Frutiger.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FrutigerBold';
  src: url('Frutiger-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Frutiger', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 768px;
  margin: 0 auto;
  background-color: white;
  min-height: 100vh;
}

/* Header */
.header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  background: url("./header-pic.jpg") no-repeat center center/cover;
  padding-bottom: 70px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
}

.logo::before {
  content: "";
  width: 900px;
  height: 900px;
  background: rgba(255, 255, 255, 0.60);
  border-radius: 100%;
  position: absolute;
  z-index: 2;
}

.logo-image {
  width: 240px;
  position: relative;
  z-index: 3;
}

.logo-text {
  text-align: left;
}

.logo-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-color);
}

.logo-subtitle {
  font-size: 12px;
  color: #666;
}

.main-content {
  margin-top: -115px;
}

/* Hero Section */
.hero {
  padding: 40px 20px;
}

.hero-content {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 48px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  margin-top: 20px;
  text-align: center;
  color: var(--primary-color);
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}


.headerdivider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.headerdivider::before,
.headerdivider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--secondary-color);
  width: 40%;
  display: inline-block;
}

.headerdivider::before {
  margin-right: 15px;
}

.headerdivider::after {
  margin-left: 12px;
}

.headerdivider img {
  display: inline-block;
  margin: 0 5px;
}

.main-content {
  position: relative;
  z-index: 2;
}

.login-section {
  display: flex;
  flex-direction: row;

}

.login-form {
  padding: 20px 60px 20px 40px;
  background: #003C72;
  flex: 1;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  height: 203px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

form#loginForm {
  margin-top: 15px;
  color: #fff
}

.login-btn {
  margin-top: 24px;
  flex: 1;
  height: 42px;
}

.section-heading {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

.section-text {
  font-size: 14px;
  color: #fff;
  font-weight: 300;
}

.account-info-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.account-info {
  background-color: #fbbf24;
  color: #1e3a8a;
  padding: 20px 30px;
  display: flex;
  width: 447px;
}

.account-info-btn {
  background-color: #E3B617;
  color: #1B0103;
  border: none;
  padding: 11px 16px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
  width: 100%;
}

.account-info-btn:last-child {
  margin-bottom: 0px;
}

.account-info-btn:hover {
  background-color: #FF6227;
  color: #fff
}

.account-info-btn:hover .account-info-text {
  color: #fff
}

.account-info-text {
  font-size: 14px;
  color: #1B0103;
  font-weight: 300;
  opacity: 0.8;
}

.account-scroll {
  display: block;
  transform: rotate(90deg);
  color: #000;
  font-size: 20px;
}

.info-btn {
  background-color: #1e3a8a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.info-btn:hover {
  background-color: #1e40af;
}

/* Not a Volunteer Section */
.not-volunteer {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 40px 60px 40px;
}

.not-volunteer-content {
  flex: 2;
  padding: 40px 40px 40px 0;
}

.not-volunteer-image {
  flex: 1;
  width: 100%;
}

.not-volunteer-image img {
  height: 291px;
  width: 427px;
  border-radius: 10px;
}

.not-volunteer h2 {
  font-size: 30px;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 5px;
}

.not-volunteer p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #180700;
}

.glsp-btn {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-style: italic;
}

.glsp-btn:hover {
  background-color: #FF6227;
}

.volunteer-btn {
  text-decoration: none;
}

.volunteer-btn::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("./visit-icon.png") no-repeat center center/contain;
  margin-left: 8px;
  vertical-align: middle;
}

.not-volunteer-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Signup Section */
.signup {
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
  margin: 0 40px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.signup-image img {
  width: 100%;
  height: 100%;

}

.signup-content {
  padding: 30px 40px;
  flex: 1;
}

.signup h2 {
  color: #1e3a8a;
  font-size: 30px;
}

.signup p {
  color: #180700;
  margin-bottom: 15px;
}

.signup {
  flex-direction: row-reverse;
}

.signup-image {
  flex: 1;
  background: #fefbf2;
  width: 100%;
}

.forgot-password {
  color: var(--secondary-color);
  font-size: 14px;
  font-style: italic;
  cursor: pointer;
  margin-top: 5px;
  display: inline-block;
  width: 100%;
  text-align: right;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-group label {
  font-weight: 300;
  font-style: Light;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0px;

}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(49, 49, 49, 0.10);
  border-radius: 10px;
  font-size: 14px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

.checkbox-group label {
  font-size: 14px;
  color: #666;
}

.captcha-block {
  display: flex;
}
/* Footer */
.footer {
  background-color: #1e3a8a;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: bold;
}

.footer-text {
  font-size: 16px;
}

form#forgotPasswordForm {
  margin-top: 15px;
}

#forgotPasswordForm .form-group {
  max-width: 305px;
}

#forgotPasswordForm .glsp-btn {
  max-width: max-content;
}

#backToLoginLink {
  margin: 0px;
  text-align: left;
  text-decoration: none;
}

#backToLoginLink::before {
  content: "";
  background: url("back.svg") no-repeat center center/contain;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  position: relative;
  top: -1px;
}

.invalid-login-text {
  font-size: 12px;
  margin: 0px;
  position: absolute;
  color: #FF9898
}

/* Responsive Design */

.hero {
  padding: 60px 40px;
}

.login-form .form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 0px;
}

.login-form .form-group {
  flex: 5;
}

.required {
  color: #BE2134;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* .signup-image::before {
  content: "";
  background:  url("signup-pic.jpg") no-repeat center center/cover;
  width: 100%;
  height: 100%;
  display: block;
  background-position: -145px -50px;
  transform: scale(1.2);
} */

.signup-btn {
  margin-top: 10px;
}

.scroll-text-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
  margin-left: 35px;
}

.scroll-text-vertical {
  font-size: 1.1em;
  color: #333;
  height: auto;
  width: auto;
  text-align: center;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  transform: rotate(0deg);
  margin: 0 auto;
  text-transform: uppercase;
  /* No animation, fixed vertical text */
}

.arrow-container {
  margin-top: 2px;
}

.down-arrow {
  display: inline-block;
  font-size: 2em;
  color: #1B0103;
  animation: arrow-bounce 1s infinite alternate;
}

@keyframes arrow-bounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(34px);
  }
}

.get-help-btn {
  text-align: right;
  float: right;
}

.need-help-section {
  padding: 10px 40px 0 40px;
  display: block;
  width: 100%;
  position: relative;
}

.need-help-btn {
  position: fixed;
  bottom: 20px;
  right: 40px;
  background: #ff6a00;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}

/* Modal overlay */

.modal {
  background: #fff;
  width: 610px;
  max-width: 90%;
  border-radius: 10px;
  padding: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9;
  bottom: 0px;
  right: 0px;
}

.close-btn {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}


.support-container {
  display: flex;
  gap: 20px;
}

.support-box {
  flex: 1;
}

.support-box h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.support-box p {
  font-size: 16px;
}

.support-box a {
  text-decoration: none;
  color: #003C72;
  font-style: italic;
}

.divider {
  width: 1px;
  background: #ddd;
}

.support-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background-color: #fbfaf5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.mail-support {
  display: inline-block;
  margin-top: 8px;
}

.mail-support::before {
  content: "";
  background: url("./mail-icon.svg") no-repeat center center/contain;
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  position: relative;
  top: -1px;
}

.full {
  width: 100%;
  float: left;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.2);
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.forgot-mode .form-group {
  width: 100%;
  max-width: 360px;
  /* same as login input width */
}

.forgot-mode .login-btn {
  max-width: 360px;
}

.forgot-mode .login-btn {
  max-width: max-content;
}


.back-to-login {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--secondary-color);
  cursor: pointer;
  font-weight: 500;
  font-style: italic;
}

.back-to-login:hover {
  text-decoration: underline;
}

/* Toggle Switch Styles for Bar Number */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ff6227;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  z-index: 2;
}

/* Add cross and tick icons */
.slider:after {
  content: '\2716';
  /* Unicode cross */
  position: absolute;
  left: 7px;
  top: 3px;
  font-size: 12px;
  color: #ff6227;
  transition: .4s;
  z-index: 3;
}

input:checked+.slider:after {
  content: '\2714';
  /* Unicode tick */
  left: 27px;
  color: var(--primary-color);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--primary-color);
}

input:checked+.slider:before {
  transform: translateX(20px);
}

@media screen and (max-width: 900px) {
  .logo::before {
    width: 100%;
    height: 100%
  }

  .login-form {
    padding: 20px;
    height: auto;
  }
  .footer-content {
    padding: 0 20px;
  }
}

/* Responsive: stack on small screens */
@media (max-width: 860px) {

  .account-info,
  .not-volunteer-image,
  .signup-image {
    display: none;
  }

  .not-volunteer-content {
    padding: 0px 0px 0px 0px;
  }
}

/* Responsive: stack on small screens */
@media (max-width: 600px) {
  .login-form .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-content {
    flex-direction: column;
  }
}
        @keyframes slideInFromRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutToRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        .modal-overlay.active #modalBox {
            animation: slideInFromRight 0.3s ease-out forwards;
        }

        .modal-overlay.closing #modalBox {
            animation: slideOutToRight 0.3s ease-out forwards;
        }
        