/* Shared visual corrections loaded after the template and responsive files. */

.main-header .main-box,
.main-header .main-box .nav-outer,
.main-header .header-lower .outer-box,
.main-menu .navigation {
  min-width: 0;
}

.lang-switch {
  position: relative;
  flex: 0 0 auto;
  margin-inline-start: 12px;
}

.lang-btn {
  min-width: 52px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(30, 96, 82, 0.25);
  border-radius: 12px;
  background: #fff;
  color: #0c3d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: #fff;
  background: var(--theme-color2);
  border-color: var(--theme-color2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 96, 82, 0.16);
}

.lang-menu {
  min-width: 168px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(12, 35, 24, 0.14);
  text-align: start;
}

.lang-menu .dropdown-item {
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: start;
}

.lang-menu .dropdown-item:hover,
.lang-menu .dropdown-item:focus {
  color: #0c3d32;
  background: rgba(30, 96, 82, 0.1);
}

/* epdiran brand assets are supplied on a white field. Keep the wordmark crisp
   and intentional on both light and dark template surfaces. */
.main-header .logo img,
.mobile-menu .nav-logo img,
.sticky-header .logo img,
.login-logo img,
.panel-sidebar .panel-logo img {
  width: auto;
  object-fit: contain;
}

.main-footer-one .footer-widget-content.social .logo a,
.sidebar-area .offcanvas-header .logo {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
}

.main-footer-one .footer-widget-content.social .logo img,
.sidebar-area .offcanvas-header .logo img {
  width: 172px;
  max-height: 54px;
  object-fit: contain;
}

.login-logo img {
  width: min(220px, 100%);
  max-height: 70px;
}

/* The template's original LTR/RTL files placed the off-canvas menu on the
   opposite side. Keep navigation motion consistent with the reading direction. */
html[dir="rtl"] .mobile-menu {
  right: 0;
  left: auto;
}

html[dir="rtl"] .mobile-menu .menu-box {
  right: 0;
  left: auto;
  transform: translateX(101%);
}

html[dir="ltr"] .mobile-menu {
  right: auto;
  left: 0;
}

html[dir="ltr"] .mobile-menu .menu-box {
  right: auto;
  left: 0;
  transform: translateX(-101%);
}

html[dir] .mobile-menu-visible .mobile-menu .menu-box {
  transform: translateX(0);
}

/* Authentication/contact card styles were present only in the legacy RTL
   bundle. Keep the component fully styled for both languages. */
.login-page {
  min-height: calc(100vh - 90px);
  padding: 80px 0;
  direction: inherit;
  background:
    linear-gradient(135deg, rgba(11, 95, 60, 0.08), rgba(255, 255, 255, 0.95)),
    url("../images/environment/project-item-bg.png") center / cover;
}

.login-card {
  background: #fff;
  border: 1px solid #e6eee9;
  border-radius: 24px;
  padding: 42px 38px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.login-logo {
  margin-bottom: 28px;
  text-align: start;
}

.login-logo img { max-height: 54px; }
.login-head { margin-bottom: 30px; }

.login-head h1,
.login-head h2 {
  margin-bottom: 14px;
  color: #0b3d2b;
  font-size: 30px;
  font-weight: 800;
}

.login-head p {
  margin: 0;
  color: #606060;
  font-size: 15px;
  line-height: 2;
}

.login-form .form-group,
.login-form .login-field { margin-bottom: 20px; }

.login-form label {
  display: block;
  margin-bottom: 9px;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 700;
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"],
.login-form input[type="tel"],
.login-form textarea,
.login-form select {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dfe8e2;
  border-radius: 14px;
  padding: 0 16px;
  outline: none;
  background: #fbfdfc;
  color: #222;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-form input:focus,
.login-form textarea:focus,
.login-form select:focus {
  border-color: #0b5f3c;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 95, 60, 0.08);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0 24px;
}

.remember-me {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: #555 !important;
  font-size: 14px !important;
  cursor: pointer;
}

.remember-me input { width: 16px; height: 16px; accent-color: #0b5f3c; }
.login-options a { color: #0b5f3c; font-size: 14px; font-weight: 700; text-decoration: none; }
.login-options a:hover { text-decoration: underline; }

.login-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 14px;
  background: #0b5f3c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-btn:hover {
  background: #08452c;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 95, 60, 0.25);
}

.login-register {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #edf2ef;
  color: #666;
  text-align: center;
  font-size: 14px;
}

.login-register a { margin-inline-start: 6px; color: #0b5f3c; font-weight: 800; text-decoration: none; }
.login-register a:hover { text-decoration: underline; }

.login-visual {
  min-height: 590px;
  border-radius: 28px;
  padding: 50px;
  background:
    linear-gradient(135deg, rgba(11, 95, 60, 0.92), rgba(11, 95, 60, 0.62)),
    url("../images/pexels-gustavo-fring-4872018.jpg") center / cover;
  color: #fff;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.login-visual-content span {
  display: inline-block;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 700;
}

.login-visual-content h3 { margin-bottom: 18px; color: #fff; font-size: 34px; font-weight: 900; }
.login-visual-content p { margin-bottom: 22px; color: rgba(255, 255, 255, 0.88); font-size: 16px; line-height: 2; }
.login-visual-content ul { margin: 0; padding: 0; list-style: none; }
.login-visual-content li { position: relative; margin-bottom: 12px; padding-inline-start: 24px; font-size: 15px; }
.login-visual-content li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: #d9fff0; font-weight: 900; }

.official-contact-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0 52px;
  background:
    radial-gradient(circle at 10% 10%, rgba(28, 139, 101, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbf9 0%, #fff 100%);
}

.official-contact-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.official-contact-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #08745b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.official-contact-heading h1 {
  margin-bottom: 14px;
  color: #0c2318;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.3;
}

.official-contact-heading p {
  margin: 0;
  color: #5d6c65;
  font-size: 16px;
  line-height: 2;
}

.official-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.official-contact-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid #deebe5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(12, 35, 24, 0.07);
  display: flex;
  flex-direction: column;
}

.official-contact-card--primary {
  border-color: rgba(8, 116, 91, 0.35);
  box-shadow: 0 22px 56px rgba(8, 116, 91, 0.12);
}

.official-contact-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.official-contact-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 15px;
  background: #e8f5f0;
  color: #08745b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.official-contact-card__label {
  display: block;
  margin-bottom: 2px;
  color: #74827b;
  font-size: 13px;
  font-weight: 700;
}

.official-contact-card h2 {
  margin: 0;
  color: #0c2318;
  font-size: 24px;
  font-weight: 900;
}

.official-contact-card address {
  margin: 0 0 24px;
  color: #4c5c55;
  font-style: normal;
  font-size: 15px;
  line-height: 2;
}

.official-contact-card__phone {
  width: fit-content;
  margin-top: auto;
  color: #08745b;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.official-contact-card__phone:hover {
  color: #0c2318;
}

.official-contact-channels {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.official-contact-channels a {
  min-width: 270px;
  padding: 18px 22px;
  border: 1px solid #deebe5;
  border-radius: 18px;
  background: #fff;
  color: #0c2318;
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(12, 35, 24, 0.05);
}

.official-contact-channels a:hover {
  border-color: rgba(8, 116, 91, 0.45);
  color: #08745b;
}

.official-contact-channels i {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e8f5f0;
  color: #08745b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.official-contact-channels small {
  display: block;
  margin-bottom: 2px;
  color: #74827b;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.contact-request-section {
  padding-top: 64px;
}

@media only screen and (min-width: 1101px) {
  .main-header .header-lower {
    padding-inline: clamp(18px, 2.4vw, 44px) !important;
  }

  .main-header .main-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 2vw, 36px);
  }

  .main-header .header-lower .logo-box {
    flex: 0 0 auto;
    min-width: 180px !important;
    margin: 0 !important;
    padding: 20px 0 !important;
  }

  .main-header .logo img {
    display: block;
    max-width: 164px;
    max-height: 52px;
    object-fit: contain;
  }

  .main-header .main-box .nav-outer {
    flex: 1 1 auto;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 2.2vw, 42px) !important;
  }

  .main-header .main-menu {
    flex: 1 1 auto;
  }

  .main-menu .navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(14px, 1.4vw, 28px);
    margin: 0;
    padding: 0;
  }

  .main-menu .navigation > li {
    float: none !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 29px 0 !important;
  }

  .main-menu .navigation > li > a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.5;
    white-space: nowrap;
  }

  /* The source theme offsets its dropdown chevron with negative margins,
     which made it overlap labels in both reading directions. */
  .main-menu .navigation > li.dropdown > a::after {
    position: static !important;
    display: inline-block;
    margin: 0 !important;
    font-size: 10px;
    line-height: 1;
    transform: none !important;
  }

  html[dir="rtl"] .main-menu .navigation > li.dropdown > a {
    flex-direction: row-reverse;
  }

  .main-header .header-lower .outer-box {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 0 !important;
  }

  .main-header .header-lower .outer-box .theme-btn {
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 18px;
    font-size: 15px;
    line-height: 26px;
    white-space: nowrap;
  }

  .main-header .header-lower .outer-box .theme-btn::before {
    display: none;
  }

  .main-header .header-lower .outer-box .theme-btn span i {
    margin-inline-start: 12px;
    margin-left: 0;
    margin-right: 0;
  }

  .main-header .mobile-nav-toggler {
    display: none !important;
  }

  .sticky-header .inner-container {
    min-height: 70px;
    gap: 24px;
  }

  .sticky-header .nav-outer {
    flex: 1 1 auto;
  }

  .sticky-header .main-menu {
    width: 100%;
  }

  .sticky-header .main-menu .navigation {
    justify-content: flex-end;
  }

  .sticky-header .main-menu .navigation > li {
    padding: 20px 0 !important;
  }
}

@media only screen and (min-width: 1101px) and (max-width: 1340px) {
  .main-header .header-lower {
    padding-inline: 18px !important;
  }

  .main-header .header-lower .logo-box {
    min-width: 158px !important;
  }

  .main-header .logo img {
    max-width: 148px;
  }

  .main-header .main-box,
  .main-header .main-box .nav-outer,
  .main-menu .navigation {
    gap: 13px !important;
  }

  .main-menu .navigation > li > a {
    font-size: 13.5px;
  }

  .main-header .header-lower .outer-box .theme-btn {
    padding-inline: 15px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 1100px) {
  .main-header.header-style-one {
    margin: 0;
    border-radius: 0;
  }

  .main-header .header-lower {
    padding-inline: 20px !important;
  }

  .main-header .main-box {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .main-header .header-lower .logo-box {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px 0 !important;
  }

  .main-header .logo img {
    width: auto;
    max-width: 155px;
    max-height: 48px;
  }

  .main-header .main-box .nav-outer {
    width: auto !important;
    flex: 0 0 auto;
    gap: 0 !important;
  }

  .main-header .main-menu,
  .main-header .menu-btn {
    display: none !important;
  }

  .main-header .header-lower .outer-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
  }

  .main-header .lang-switch {
    margin: 0;
  }

  .main-header .mobile-nav-toggler {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    border-radius: 10px;
    color: #fff;
    background: var(--theme-color2);
    line-height: 1;
  }

  .sticky-header .main-menu {
    display: none !important;
  }

  .sticky-header .inner-container {
    min-height: 66px;
    justify-content: space-between !important;
  }

  .sticky-header .mobile-nav-toggler {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    border-radius: 10px;
    color: #fff !important;
    background: var(--theme-color2);
  }
}

@media only screen and (max-width: 991px) {
  .official-contact-section {
    padding: 68px 0 38px;
  }

  .official-contact-grid {
    grid-template-columns: 1fr;
  }

  .official-contact-card {
    min-height: 0;
  }

  .login-page {
    min-height: auto;
    padding: 50px 0;
  }

  .login-card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .login-head h1,
  .login-head h2 {
    font-size: 25px;
  }
}

@media only screen and (max-width: 575px) {
  .official-contact-section {
    padding: 54px 0 30px;
  }

  .official-contact-heading {
    margin-bottom: 28px;
    text-align: start;
  }

  .official-contact-heading h1 {
    font-size: 29px;
  }

  .official-contact-card {
    padding: 22px;
    border-radius: 20px;
  }

  .official-contact-channels {
    align-items: stretch;
    flex-direction: column;
  }

  .official-contact-channels a {
    min-width: 0;
    width: 100%;
  }

  .main-header .header-lower {
    padding-inline: 14px !important;
  }

  .main-header .logo img {
    max-width: 140px;
  }

  .lang-btn {
    min-width: 48px;
    height: 42px;
    padding-inline: 10px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-card {
    padding: 28px 20px;
  }

  .login-head h1,
  .login-head h2 {
    font-size: 23px;
  }

  .login-head p {
    font-size: 14px;
  }
}
