* {
    margin: 0;
    padding: 0;
}

html, body {
    /* min-height: 100vh; */
    font-family: 'Noto Sans Bengali', sans-serif !important;
    font-weight: 300 !important;
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
}

.custom-green-bg {
    background-color: #0A400C !important;
}

a, a:hover {
    text-decoration: none;
}

.myform-area {
    flex: 1;
    padding: 20px 0; /* Reduced padding */
    background: #f1f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.myform-area .form-area {
    position: relative;
    width: 100%;
    max-width: 600px; /* Reduced width */
    max-height: 70vh; /* Limit height to fit viewport */
    overflow: hidden;
    box-shadow: 0 0 20px 0 #e1e1e1; /* Slightly smaller shadow */
    display: flex;
    flex-direction: row;
}

.myform-area .form-area .form-content,
.myform-area .form-area .form-input {
    position: relative;
    width: 50%;
    height: auto; /* Allow dynamic height */
    float: left;
    box-sizing: border-box;
}

.myform-area .form-area .form-content {
    padding: 20px 15px; /* Reduced padding */
    background: #F0F6F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.myform-area .form-area .form-content h2 {
    color: #fff;
    font-size: 20px; /* Smaller heading */
}

.myform-area .form-area .form-input {
    background: #fff;
    padding: 20px 15px; /* Reduced padding */
    box-shadow: 0 0 20px 0 #e1e1e1; /* Adjusted shadow */
}

.myform-area .form-area .form-input h2 {
    margin-bottom: 15px; /* Reduced margin */
    color: #07315B;
    font-size: 18px; /* Smaller heading */
}

.myform-area .form-area .form-input input {
    position: relative;
    height: 40px; /* Reduced input height */
    padding: 10px 0; /* Reduced padding */
}

.myform-area .form-area .form-input input,
.myform-area .form-area .form-input textarea {
    text-transform: none;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    border: none;
    border-bottom: 2px solid #e1e1e1;
    color: #07315B;
    font-size: 14px; /* Smaller font */
}

.myform-area .form-area .form-input form .form-group {
    position: relative;
    margin-bottom: 0.75rem; /* Reduced margin */
}

.myform-area .form-area .form-input form .form-group label {
    text-transform: none;
    top: 10px; /* Adjusted for smaller input */
    left: 0;
    pointer-events: none;
    font-size: 12px; /* Smaller font */
    color: #595959;
    margin-bottom: 0;
    transition: all .4s; /* Faster transition */
}

.myform-area .form-area .form-input input:focus ~ label,
.myform-area .form-area .form-input textarea:focus ~ label,
.myform-area .form-area .form-input input:valid ~ label,
.myform-area .form-area .form-input textarea:valid ~ label {
    top: -10px;
    opacity: 0;
    left: 0;
    color: rgba(103, 58, 183);
    font-size: 10px; /* Smaller font */
    color: #07315B;
    font-weight: bold;
}

.myform-area .form-area .form-input input:focus,
.myform-area .form-area .form-input textarea:focus,
.myform-area .form-area .form-input input:valid,
.myform-area .form-area .form-input textarea:valid {
    border-bottom: 2px solid rgba(103, 58, 183);
}

.myform-area .form-area .form-text {
    margin-top: 15px; /* Reduced margin */
}

.myform-area .form-area .form-text span a {
    color: rgba(103, 58, 183);
}

.myform-area .form-area .myform-button {
    margin-top: 15px; /* Reduced margin */
}

.myform-area .form-area .myform-button .myform-btn {
    width: 100%;
    height: 40px; /* Smaller button height */
    font-size: 15px; /* Smaller font */
    background: #075d24;
    border: none;
    border-radius: 25px; /* Adjusted for smaller button */
    color: #ffffff;
    cursor: pointer;
    transition: all .5s;
}

.myform-area .form-area .myform-button .myform-btn:hover {
    background: #3e9b39;
}

/* Footer styling */
footer {
    padding: 10px 0; /* Compact footer */
    background: #f8f9fa;
    text-align: center;
    font-size: 14px;
}

/* Version text */
.form-input .row.mt-3 {
    margin-top: 5px !important; /* Reduced margin */
}

.form-input .row.mt-3 p {
    font-size: 12px; /* Smaller version text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .myform-area .form-area {
        max-width: 90%;
        max-height: 80vh; /* Adjusted for mobile */
        flex-direction: column; /* Stack vertically on small screens */
    }

    .myform-area .form-area .form-content,
    .myform-area .form-area .form-input {
        width: 100%;
        float: none;
    }

    .myform-area .form-area .form-content {
        height: 80px; /* Smaller logo section */
        padding: 10px;
    }

    .myform-area .form-area .form-input {
        padding: 15px;
    }

    .myform-area .form-area .form-input h2 {
        font-size: 16px;
    }
}


/* Custom CSS */
.content {
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
  min-height: 100vh;
}

.gap-4 {
  gap: 1.5rem !important;
}

.main-body {
  width: 100%;
  height: fit-content;
}

.body-image {
  width: 100%;
}

.navbar-custom {
  padding: 2px 0;
}

.navbar-custom .navbar-nav-custom {
  justify-content: end;
  padding: 5px 0;
}

.navbar-custom .nav-item {
  text-align: start;
}

.navbar-custom .navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  padding: 8px 16px;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:active {
  color: #808080;
}

.nav-buttons-section {
  padding: 8px 0;
}

.login-btn {
  color: white;
  border: none;
  border-radius: 50px;
  background-color: #008026;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-btn:hover, .login-btn:active {
  background-color: #00581b;
}

.dropdown-menu {
  cursor: pointer;
  box-shadow: 0px 4px 15px rgb(0, 0, 0, 0.2);
}

.dropdown-menu .dropdown-item:active {
  background-color: #808080;
}

.toggler-btn {
   display: none;
  border: none;
  background-color: transparent;
  font-size: 24px;
}

.toggler-btn i {
  color: #008026;
}

.section-info {
  background-color: #ebf3f4;
  padding-top: 60px;
  padding-bottom: 80px;
}

.section-info .header-main {
  font-size: 1.8em;
  font-weight: 400;
  color: #222;
}

.card-info {
  background: #fff;
  border: 2px solid #00A816;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 2px 4px 8px #0000001a;
  height: 100%;
  text-align: center;
}

.card-info .card-text {
  font-size: 20px;
  font-weight: 600;
  color: #075E24;
}

.info-icon {
  width: fit-content;
  height: fit-content;
  background-color: #61BD87;
  padding: 14px;
  border-radius: 20px;
  margin: auto;
}

.info-icon img {
  width: 85px;
}

.footer {
  color: #757575;
  font-size: 15px;
}

.container {
  padding-right: 1em;
  padding-left: 1em;
}

@media (max-width: 991px) {
  .nav-buttons-section {
    width: 100%;
    justify-content: space-between;
  }

  .toggler-btn {
    display: block;
  }
}