/* RESET */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  background: #ffffff;
  padding-left: 40px;
  position: relative; /* IMPORTANT for popup positioning */
}

.logo img {
  height: 55px;
}

/* LOGIN BUTTON */
.login-btn {
  border: 1px solid #2c7be5;
  padding: 8px 18px;
  color: #2c7be5;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  background: white;
  display: flex;
  align-items: center;
}

/* Arrow */
#arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
/* OVERLAY */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* MODAL BOX */
.modal-content {
  width: 600px;
  max-width: 90%;
  margin: 80px auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
}

/* HEADER (LIGHT GREY BAR) */
.modal-header {
  background: #f1f1f1;
  padding: 18px 25px;
  font-size: 24px;
  color: #333;
}

/* BODY TEXT */
.modal-body {
  padding: 40px 25px;
  font-size: 20px;
  color: #333;
  line-height: 1.6;
}

/* FOOTER */
.modal-footer {
  padding: 20px 25px;
  text-align: right;
}

/* OK BUTTON */
.modal-footer button {
  padding: 10px 28px;
  background: #2f5d85;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 2px;
}

.modal-footer button:hover {
  background: #244a6a;
}
/* Rotate arrow when open */
.rotate {
  transform: rotate(180deg);
}
.error {
  color: red;
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 10px;
}
/* LOGIN PANEL (POPUP) */
.login-panel {
  position: absolute;
  top: 91px;
  right: 40px;
  width: 430px;
  background: #eaeaff;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.text-field {
  padding-right: 20px;
}

/* Active state */
.login-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Login form styling */
.login-panel h2 {
  margin-top: 0;
  color: #2fb36d;
}

.login-panel label {
  font-size: 14px;
  display: block;
  margin-top: 10px;
}

.login-panel input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #999;
}
.login-button {
  text-align: center;
}
.text-field {
  padding-right: 10px;
}
.login-submit {
  width: 170px;
  padding: 10px;
  background: #3b6e99;
  color: white;
  border: none;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  background-image: url(images/NewIndus.jpg);
  background-origin: content-box;
  background-size: cover;
  width: 100%;
  height: 314px;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
}

.row {
  display: flex;
  align-items: center;
}

/* Equal columns */
.col-6 {
  width: 50%;
}

/* LEFT IMAGE */
.hero-left {
  display: flex;
  justify-content: center;
  padding-top: 4%;
  padding-left: 1%;
}

.monitor {
  height: 308px;
  width: 358px !important;
}

.hero-left img {
  width: 100%;
  max-width: 500px;
}

/* RIGHT TEXT */
.hero-right {
  padding-left: 40px;
}

.hero-right h2 {
  font-weight: 300;
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-right h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-right p {
  font-size: 15px;
  color: #dcdcdc;
}

/* FEATURES SECTION */
.features {
  text-align: center;
  background: #ffffff;
}

.features h2 {
  font-size: 26px;
  margin-bottom: 50px;
}

/* GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 80px;
  padding-left: 4%;
  padding-right: 2%;
  padding-top: 2%;
  padding-bottom: 2%;
}

/* FEATURE ITEM */
.feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}

.feature-sub-header {
  padding-top: 2%;
}

.feature-sub-header img,
.feature-sub-header .green-large-thin {
  vertical-align: middle;
}

.green-large-thin {
  font-size: 40px;
  text-align: -webkit-center;
  color: #3fd17e;
  padding-bottom: 10px;
  padding-left: 10px;
}

.feature img {
  width: auto;
  height: auto;
}

.feature p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* BENEFITS SECTION */
.benefits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px;
  background: #2fb36d;
  color: white;
}

/* LEFT TEXT */
.benefits-text {
  width: 50%;
}

.benefits-text h2 {
  font-size: 28px;
  margin-bottom: 25px;
}

.benefits-text span {
  font-weight: bold;
}

/* LIST COLUMNS */
.columns {
  display: flex;
  gap: 80px;
}

.columns ul {
  list-style: disc;
  padding-left: 20px;
}

.columns li {
  margin-bottom: 12px;
  font-size: 15px;
}

/* RIGHT IMAGE */
.benefits-img {
  width: 50%;
  text-align: center;
}

.benefits-img img {
  width: 100%;
  max-width: 420px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: #f0f0f0;
  font-size: 13px;
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .col-6 {
    width: 100%;
  }

  .hero-right {
    padding-left: 0;
    margin-top: 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .benefits {
    flex-direction: column;
    text-align: center;
  }

  .benefits-text,
  .benefits-img {
    width: 100%;
  }

  .columns {
    flex-direction: column;
    gap: 20px;
  }

  /* Fix popup on mobile */
  .login-panel {
    right: 10px;
    width: 90%;
  }
}
