
/* @import "../../assets/Styles.css"; */
@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb.woff2") format("woff2"),
    url("../fonts/IRANSansWeb.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Black.woff2") format("woff2"),
    url("../fonts/IRANSansWeb_Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2"),
    url("../fonts/IRANSansWeb_Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2"),
    url("../fonts/IRANSansWeb_Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_Light.woff2") format("woff2"),
    url("../fonts/IRANSansWeb_Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb_UltraLight.woff2") format("woff2"),
    url("../fonts/IRANSansWeb_UltraLight.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IRANSans", "Arial", sans-serif !important;
  background-color: #ffffff;
  color: #333;
  direction: rtl;
}

.header {
  /*background: linear-gradient(to right,#cdd4d4, #ffffff); /* گرادیانت از آبی کمرنگ به پررنگ */
  height: 100px; /* ارتفاع هدر */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgb(255, 255, 255);
  padding: 20px 206px;
  border-bottom: 1px solid #e5e8eb;
}

.header-content {
  display: flex;
  justify-content: space-between; /* تقسیم منو به دو بخش */
  align-items: center; /* عمودی مرکز کردن */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 80px;
}

.nav {
  display: flex;
  flex-direction: row;
  justify-content: center; /* منو سمت چپ قرار می‌گیرد */
  align-items: center;
  gap: 40px;
}

.nav a {
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: 20px;
}
.underline-yellow {
  border-bottom: 2px solid gold;
  display: inline-block;
  padding-bottom: 4px;
  color: #072d52;
  font-size: 16px;
  font-family: "IRANSans", "Arial", sans-serif;
  cursor: pointer;
}
.contact-us {
  cursor: pointer;
  padding: 10px 15px;
  background-color: #ffde59;
  box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border-color: transparent;
}

.modal {
  display: none;
  position: fixed;
  z-index: 800;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* filter: blur(2px); */
  justify-content: center;
  align-items: center;
  /* backdrop-filter: blur(100%); */
}
.modal-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  /* backdrop-filter: blur(6px); */
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.modal-form-container {
  /* position: fixed; */
  /* z-index: 999; */
  /* left: 50%; */
  /* top: 50%; */
  /* transform: translate(-50%, -50%); */
  /* z-index: 1200; */
  z-index: 50;
  background-color: #f2f4f8;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}
.form-title-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.8rem;
}
.close-btn {
  /* position: absolute;
  left: 2rem;
  top: 4rem; */
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.form-title {
  text-align: right;
  color: #2f377a;
  font-size: 20px;
  font-family: "IRANSans", "Arial", sans-serif;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1.2rem;
  text-align: right;
  border: none;
  border-radius: 8px;
  background-color: white;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  font-weight: bold;
  font-family: "IRANSans", "Arial", sans-serif;
  color: #516380;
}
.form-group input::placeholder {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #74829a;
}
.form-group input:focus {
  outline: none;
  /* background-color: red; */
}
.forget-password {
  font-weight: 500;
  font-family: inherit;
  font-size: 14px;
  color: #1f5df0;
  cursor: pointer;
  margin: 5px 0;
  text-align: center;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
  background-color: white;
  max-height: 250px;
}

.form-group.full-width {
  grid-column: span 2;
}

.submit-btn {
  width: fit-content;
  padding: 0.7rem 2rem;
  background-color: #2f377a;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-end;
  font-family: "IRANSans", "Arial", sans-serif;
}

.contact-text {
  font-family: "IRANSans" !important;
  font-size: 1rem;
  font-weight: bold;
  color: #072d52;
}
.telegram-link {
  color: #033649;
}

.main-section {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.left-column {
  flex: 1;
  padding-left: 20px;
  padding-right: 40px;
  margin-left: -100px; /* فاصله منفی برای جابجایی تصویر به سمت چپ */
}

.left-column img {
  width: 60%;
  height: auto;
  border-radius: 8px;
}

.right-column {
  flex: 1;
  padding-right: 20px;
  padding-left: 40px;
}

.right-column h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.right-column p {
  font-size: 1.4em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #2980b9;
  color: white;
  padding: 15px 40px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 5px;
}

.cta-button:hover {
  background-color: #033649;
}

.value-section {
  display: flex;
  justify-content: space-between;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.three-column {
  flex: 1;
  padding: 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; /* مرکز کردن عمودی */
  align-items: center; /* مرکز کردن افقی */
  height: 300px; /* ارتفاع مشخص برای ستون‌ها */
}

.three-column img {
  width: 30%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.three-column p {
  font-size: 1.2em;
  line-height: 1.6;
}

.curved-line {
  width: 100%;
  height: 100px;
  background: linear-gradient(to right, #ffffff, #878a8a); /* گرادیانت آبی */

  border-radius: 80% 80% 0 0; /* ایجاد منحنی */
  margin-top: -10px; /* فاصله خط از بخش اول */
}

footer {
  text-align: center;
  padding: 20px 0;
  /* background-color: #033649; */
  color: white;
  bottom: 0;
  width: 100%;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
  .header {
    height: 150px;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .logo img {
    height: 80px;
  }

  .menu-toggle {
    display: block;
  }
  .nav {
    display: none; /* پیش‌فرض مخفی */
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: white;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav.show {
    display: flex; /* وقتی کلاس show اضافه شد، دیده میشه */
  }
  .main-section {
    flex-direction: column;
    padding: 20px;
  }

  .left-column,
  .right-column {
    flex: 1;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .left-column img {
    width: 80%;
    margin: 0 auto;
  }

  .right-column h2 {
    font-size: 2em;
  }

  .right-column p {
    font-size: 1.2em;
  }

  .cta-button {
    width: 100%;
    padding: 12px 30px;
    font-size: 1em;
  }

  .value-section {
    flex-direction: column;
    padding: 20px 10px;
  }

  .three-column {
    height: auto;
    margin-bottom: 20px;
  }

  .three-column img {
    width: 50%;
  }

  footer {
    padding: 10px;
  }
}

/* */

.Login-container {
  display: grid;

  grid-template-columns: 1.2fr 3fr;
  height: 100vh;
  width: 100%;
  position: relative;
}
@media (max-width: 768px) {
  .Login-container {
    display: flex;
    flex-direction: column-reverse;
    height: auto;

    /* grid-template-columns: 1fr 3fr; */
  }
  .Image-container {
    display: none;
  }
}
.Image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-video {
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Auth Form Styles */
/* @media (min-width: 769px) and (max-width: 1600px) {
  .auth-container {
    padding: 0px 20px;
    background-color: green !important;
  }
} */
.auth-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  /* background-color: red; */
  position: relative;
  width: 100%;
  /* min-height: calc(100vh - 200px); */
  height: 100%;
  padding: 25px 2vw;
  direction: rtl;
  /* overflow-y: auto; */
}

.auth-card {
  background-color: transparent;
  border-radius: 15px;
  /* background-color: blue; */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  /* overflow: scroll; */
}

.auth-header {
  /* background: #646969; */
  color: white;
  padding: 0px 25px 30px;
  text-align: right;
}

.auth-header h2 {
  font-size: 24px;
  color: #2b2d61;
  margin: 0;
  font-family: "IRANSans", "Arial", sans-serif;
}

.auth-body {
  padding: 0px 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  /* margin-bottom: 20px; */
}

.form-row .form-group {
  flex: 1;
}

.form-group-login {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  position: relative;
  /* margin-bottom: 25px; */
}
.form-group-login input,
.form-group-login textarea {
  width: 100%;
  padding: 0.7rem 1.2rem;
  text-align: right;
  border: none;
  border-radius: 6px;
  background-color: #f2f4f8;
  position: relative;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); */
  font-size: 16px;
  font-weight: bold;
  font-family: "IRANSans", "Arial", sans-serif;
  color: #516380;
  margin-bottom: 20px;
}
.form-group-login input::placeholder {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #74829a;
}

.form-group-login label {
  display: block;
  margin-bottom: 0px;
  font-weight: bold;
  color: #516380;
  font-weight: 600;
  font-size: 14px;
  margin-right: 8px;
}

.auth-btn {
  background-color: #1f5df0 !important;
  transform: translateY(-2px);
  /* box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08); */
  color: white;
  border: none;
  padding: 12px 30px;
  width: 100%;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "IRANSans", "Arial", sans-serif;
  margin-top: 10px;
}

.auth-btn:hover {
  background-color: #033649;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: #1f5df0;
  font-size: 14px;
}

.auth-footer a {
  color: #1f5df0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 14px;
}

.auth-footer a:hover {
  color: #df4854;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .auth-card {
    max-width: 100%;
  }

  .auth-header {
    padding: 20px;
  }

  .auth-body {
    padding: 20px;
  }
}

/* Auth Form Styles */

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #05445e;
  font-family: "IRANSans", "Arial", sans-serif;
}

.auth-btn {
  background-color: #eb455f;
  color: white;
  border: none;
  padding: 12px 30px;
  width: 100%;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "IRANSans", "Arial", sans-serif;
  margin-top: 10px;
}
.auth-btn {
  background-color: #2980b9;
  width: 100%;
  padding: 8px 20px;
  margin: 10px 0;
  font-size: 1em;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}
.auth-btn:hover {
  background-color: #033649;
}
.guest-btn {
  cursor: pointer;
  background-color: transparent;
  margin-top: 10px;
  border-radius: 5px;
  font-family: inherit;
  font-weight: bold;
  width: 100%;
  padding: 8px 20px;
  margin-left: 0;
  font-size: 1em;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  border: 1px solid #1f5df0;
  color: #1f5df0;
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: #1f5df0;
  font-family: "IRANSans", "Arial", sans-serif;
}

.auth-footer a {
  color: #1f5df0;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s;
}

.auth-footer a:hover {
  color: #eb455f;
}
.login-footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2b2d61;
  background-color: white;
  height: 40px;
  border-top: 1px solid #e5e8eb;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-card {
    max-width: 100%;
  }

  .auth-header {
    padding: 20px;
  }

  .auth-body {
    padding: 20px;
  }
}

.chat-auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 20px;
  background-color: #f8f9fa;
  font-family: "IRANSans", "Arial", sans-serif;
  direction: rtl;
}

.chat-auth-card {
  width: 100%;
  max-width: 1500px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Header */
.chat-auth-header {
  background: #00b3b7;
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.chat-auth-header h2 {
  margin: 0;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.chat-user-badge {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Messages Container */
.chat-messages-container {
  /*height: 400px;
    width: 1500px;*/

  height: 400px;
  padding: 20px;
  overflow-y: auto;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Message Styles */
.chat-message {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #475569;
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.message-text {
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.8;
  font-size: 1.2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  /*m new*/
  text-align: right;
  direction: rtl;
  overflow-wrap: break-word;
  white-space: pre-wrap; /* اجازه بده متن چند خطی بشه */
  max-width: 100%; /* مطمئن شو از محدوده خودش بیرون نمیره */
}

.message-time {
  font-size: 0.5rem;
  color: #64748b;
  padding: 0 5px;
}

/* Bot Message */
.bot-message {
  align-self: flex-start;
  flex-direction: row-reverse; /* ← ترتیب آواتار و متن از راست به چپ */
  max-width: 85%; /* یا هر مقدار مناسب برای کادر */
  word-break: break-word;
}

.bot-message .message-text {
  /*background-color: white;*/
  color: #1e293b;
  border-top-right-radius: 4px;
}

/* User Message */
.user-message {
  align-self: flex-start;
  flex-direction: row-reverse;
  max-width: 85%; /* یا هر مقدار مناسب برای کادر */
  word-break: break-word;
}

.user-message .message-text {
  background: #def5f6;
  color: rgb(0, 0, 0);
  border-top-left-radius: 4px;
}

.user-message .message-avatar {
  background-color: #05445e;
  color: white;
}

/* Input Area */
.chat-input-container {
  padding: 20px;
  background-color: white;
  border-top: 1px solid #e2e8f0;
}

.input-group {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.form-control {
  width: 100%;
  flex: 1;
  border: none;
  padding: 12px 20px;
  font-family: "IRANSans", "Arial", sans-serif;
  font-size: 1.2rem;
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  background-color: white;
}

.chat-send-btn {
  background: #033649;
  color: white;
  border: none;
  padding: 0 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "IRANSans", "Arial", sans-serif;
}

.chat-send-btn:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 576px) {
  .chat-auth-container {
    padding: 10px;
    min-height: calc(100vh - 60px);
  }

  .chat-messages-container {
    height: 350px;
  }

  .chat-user-badge {
    position: static;
    transform: none;
    margin-top: 10px;
    justify-content: center;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }

  .chat-auth-header {
    padding-bottom: 15px;
  }
}

#typing-message {
  padding: 4px 8px;
  line-height: 1.2;
  max-width: fit-content;
}

#typing-message .message-text {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.typing-indicator {
  display: inline-block;
  display: inline-block;
  font-family: inherit; /* همون فونت صفحه */
  font-weight: normal;
  font-size: 1.2rem;
}

.typing-indicator span {
  display: inline-block;
  animation: blink 1.4s infinite both;
  color: #000000;
  text-shadow: 0 0 2px #aaa;
  font-size: 50px; /*  بزرگ‌تر شدن نقطه‌ها */
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

.footer-text {
  margin-top: auto; /* Pushes footer to bottom */
  text-align: center;
  padding: 10px 0;
}

/* Hero Section */
.hero-section {
  padding: 3rem 206px;

  /* background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%); */
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9rem;
  padding: 50px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  color: #2b2d61;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-description {
  font-size: 1rem;
  color: #516380;
  margin-bottom: 2rem;
  line-height: 32px;
  font-family: inherit;
  font-weight: 700;
}

.hero-image {
  /* flex: 1; */
  /* background-color: red; */
  position: relative;
  display: flex;
  justify-content: center;
  /* /* background-image: url("../images/backgroundMonitor.png"); */
  /* background-repeat: no-repeat; */
  /* background-size: 150%; */
}

.hero-image img {
  max-height: 300px;
}
.hero-image img:hover {
  transition: 0.5s ease;
  transform: translateY(-20px);
}
/* CTA Button */
.cta-container {
  margin-top: 2.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background-color: #3498db;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  padding: 1.1rem 1.8rem;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.features-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.35rem;
  /* line-height: 1.3; */
  align-items: center;
}
.features-description {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  /* line-height: 1.3; */
  align-items: center;
}
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 7.5rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
  border: 1px solid #d4dbe3;
  border-right-width: 3px;
  border-bottom-width: 3px;
  /* border-left-width: 0;
  border-top-width: 0; */
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.25);
  /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: right; */
}

.feature-card:hover {
  transform: translateY(-5px);
  border-right-color: #058c7b;
  border-bottom-color: #058c7b;
}
.feature-card:hover .features-image {
  filter: brightness(0) saturate(100%) invert(41%) sepia(56%) saturate(769%)
    hue-rotate(122deg) brightness(90%) contrast(89%);
}
.feature-icon {
  width: 60px;
  height: 60px;
  /* margin: 0 auto 1.5rem; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #e3f2fd; */
  border-radius: 50%;
  /* color: #3498db; */
}
.features-image {
  width: 50px;
  height: 50px;
  filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(460%)
    hue-rotate(186deg) brightness(96%) contrast(96%);
  /* fill: red; */
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #0a1744;
}

.feature-card p {
  color: #516380;
  line-height: 1.6;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
}

/* Footer */
footer {
  color: white;
  /* padding: 2rem 1.5rem; */
  text-align: center;
}

.footer-content {
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  /* background-color: red; */
}

.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 110px;
}

.footer-links a {
  color: #ecf0f1;
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3498db;
}

.footer-text {
  border-top: 1px solid #e5e8eb;
  color: #2b2d61;
  opacity: 0.6;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: bold;
  width: 100%;
  height: 40px;

  /* background-color: yellow; */
}
.footer-item {
  background-image: url("../images/Vector.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  transform: scale(1);
  transition: transform 0.5s ease, filter 0.5s ease;
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: saturate(0%);
}

.footer-item.active {
  transform: scale(1.25);
  opacity: 1;
}
.footer-item:nth-of-type(2),
.footer-item:nth-of-type(4) {
  background-image: none;
  scale: 1.5;
}

.footer-item.active {
  /* filter: brightness(0) saturate(100%) invert(54%) sepia(98%) saturate(750%)
    hue-rotate(75deg) brightness(90%) contrast(95%); */
  filter: saturate(100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .features-container {
    grid-template-columns: 1fr;
  }
}

/* Add to your existing CSS */
.form-control {
  width: 100%;
  padding: 7px 15px;
  margin: 8px 0;
  /* border: 1px solid #ddd; */
  background-color: #f2f4f8;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 18px;
  padding: 12px 40px;
}
select.form-control option[disabled] {
  color: gray;
  /* background-color: red; */
}
.error-message {
  color: #d9534f;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 5px 12px;
  margin-top: 10px;
  font-size: 0.9rem;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.flash-container {
  width: 100%;
  margin-bottom: 15px;
}

.flash-container .alert {
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  direction: rtl;
  margin-bottom: 10px;
}

.alert-error, .alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.alert-warning {
  background-color: #fff3cd;
  color: #664d03;
  border: 1px solid #ffecb5;
}
