* {
  text-decoration: none;
  box-sizing: border-box;
}

/* Prevent horizontal overflow */
body,
html {
  overflow-x: hidden;
}

/* Ensure all containers and images do not exceed the width */
img,
.container,
.partners .logo,
.last-banner {
  max-width: 100%;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f8ff;
}

header {
  padding-bottom: 8px;
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top_bar_site_identity {
  margin-left: 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.top_bar_site_identity h2 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  /*text-shadow: 0px 0px 11px rgb(108 255 202 / 49%);*/
}

.danger {
  color: #03d187;
}

.top_bar_site_identity img {
  filter: brightness(1.1);
  width: 2rem;
  height: 2rem;
  /*filter: drop-shadow(0 0 10px #7184ef99);*/
}

header nav li::before {
  content: "";
  background: var(--azul);
  width: 30px;
  height: 8px;
  border-radius: 50px;
  position: absolute;
  bottom: -15px;
  transition: all ease-in 0.2s;
  opacity: 0;
}

nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin-left: 20px;
}

nav li {
  position: relative; /* Required for the pseudo-element positioning */
  margin-left: 20px;
}

nav li::after {
  content: "";
  display: block;
  height: 2px;

  background: #007bff; /* Color of the line */
  position: absolute;
  bottom: -10px; /* Adjust as needed */
  left: 0;
  width: 0;
  height: 8px;
  transition: width 0.3s ease;
  border-radius: 20px; /* Adjust radius as needed */
}

nav li:hover::after {
  width: 100%;
}

nav li.active:hover::after {
  width: 100%;
}
/* Make the line always visible for the active item */
nav li.active::after {
  width: 40%;
  height: 8px;
}

nav a {
  text-decoration: none;
  color: #7f7f7f;
  padding-bottom: 5px; /* To make space for the line */
}

nav li:hover a {
  color: #007bff;
}

nav li.active a {
  color: #007bff;
}

/* section 1 */
.hero {
  margin-bottom: 40px;
  padding-top: 80px;
  background: url(./images/world_map3.png);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 56px;
  padding-right: 56px;
  padding-bottom: 56px;
}

.hero-content {
  padding: 20px;
  flex: 1;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: normal;
  color: #333;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
}

.hero-content button {
  border: 1px solid #007bff;
  font-weight: 600;
  background-color: #007bff;
  color: #fff;
  padding: 15px 30px;

  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease all;
}

.hero-content button:hover {
  background-color: transparent;
  color: #007bff;
}

.hero-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 600px;
  height: auto;
}

.hero-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-image .overlay h2 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.hero-image .overlay p {
  font-size: 16px;
  color: #fff;
}

.hero-image:hover .overlay {
  opacity: 1;
}

/* testimonials  */

.testimonials {
  background-color: #fff;
  padding: 50px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 30px;
}

.testimonials-header h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
}

.testimonials-header p {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
}

.testimonial {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.testimonial .author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.testimonial .author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.testimonial .author p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.testimonial .author .rating {
  display: flex;
  align-items: center;
}

.testimonial .author .rating i {
  color: #ffc107;
  margin-right: 5px;
}

.cta {
  background-color: #fff;
  padding: 50px;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 30px;
}

.cta button {
  background-color: #007bff;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  height: 80px;
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  text-align: center;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  background: #007bff24;
  padding: 8px 16px 8px 16px;
  border-radius: 16px;
}

.footer-copyright {
  font-size: 14px;
}

.footer-copyright p {
  margin: 0;
}

.auth-buttons a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-left: 10px;
}

.auth-buttons .login {
  background: transparent;
  color: #007bff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.auth-buttons .login:hover {
  transform: translateY(-5px);
  color: #000;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.auth-buttons .get-started {
  border: 1px solid #007bff;
  background-color: #007bff;
  color: #fff;
  transition: all 0.3s ease;
}

.auth-buttons .get-started:hover {
  background-color: #007bff;
  opacity: 80%;
}

.hero .highlight {
  font-weight: bold;
  color: #007bff;
}

.hero-subtext {
  width: fit-content;
  display: flex;
  /* font-weight: bold; */
  margin-top: 20px;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

/* seconds */
.container {
  display: flex;
  /* background-color: white;*/
  border-radius: 10px;
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
  padding: 20px;
  margin: 20px;
  align-items: center;
}

.image-section {
  flex: 1;
}

.image-section img {
  max-width: 100%;
  border-radius: 10px;
}

.content-section {
  flex: 1;
  padding-left: 40px;
}

.content-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c2c54;
}

.content-section h1 span {
  color: #4a90e2;
}

.content-section p {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.6;
}

.content-section strong {
  color: #4a90e2;
  text-decoration: none;
  font-weight: bold;
  display: block;
  margin-top: 20px;
}

/* Third Container */
/* Second Container */
.why-choose {
  text-align: center;
  margin-top: 80px;
  padding-bottom: 40px;
  background-color: #f4f8ff;
}

.why-choose h2 {
  font-size: 24px;
  margin-bottom: 40px;
  color: #2c2c54;
}

.why-choose h2 span {
  color: #4a90e2;
}

.why-choose .cards {
  margin: 20px 120px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  flex-direction: row;
}

.why-choose .card {
  min-height: 400px;
  width: 280px;
  background-color: white;
  padding-bottom: 4px;
  padding-top: 4px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 50px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  /* transition: transform 0.3s; */
  /* background-color: white; */
  border-radius: 10px;
  padding: 20px;
  flex: auto;
  /* width: 100px; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.why-choose .card:hover {
  transform: translateY(-5px);
}

.why-choose .card img {
  max-width: 100%;
  height: 150px;
  /* Set a fixed height for all images */
  object-fit: contain;
  /* Ensure the image fits within the fixed height without distortion */
  margin-bottom: 20px;
}

.why-choose .card h3 {
  font-size: 18px;
  color: #2c2c54;
  margin-bottom: 10px;
}

.why-choose .card p {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
}

/* Partner Logos Section */

.partners .container {
  flex-direction: column;
}

.partners {
  text-align: center;
  padding: 40px 0;
}

.partners h2 {
  font-size: 40px;
  color: #2c2c54;
  margin-bottom: 10px;
  font-weight: bold;
}

.partners p {
  line-height: 1.6;
  font-weight: 500;
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 43px;
}

.partners .logos {
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.partners .logo {
  width: 140px;
  background-color: white;
  padding-bottom: 4px;
  padding-top: 4px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.partners .logo img:hover {
  transform: scale(1.1);
}

.partners .logo img {
  filter: drop-shadow(0 0 10px #7184ef99) !important;
  transition: transform 0.3s;
  max-width: 80%;
  height: 50px;
  /* Set a consistent height for all logos */
  object-fit: contain;
}

/* reviews section */
.review-container .users-review {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Align items at the top */
  flex-direction: row;
  /* Change to row layout */
  flex-wrap: wrap;
  /* Allow items to wrap to the next line if necessary */
  margin-top: 50px;
}

.review-container .users-review .card {
  flex: 1 1 22%;
  max-width: 20%;
  text-align: center;
  transition: transform 0.3s;

  flex: auto;
  max-width: 25%;
  text-align: center;
  transition: transform 0.3s;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px;
  /* width: 300px; */
  display: flex;
  flex-direction: column;
  /* flex: 1 1 300px; */
  min-height: 250px;
  box-sizing: border-box;
  transition: transform 0.4s;
}

.review-container .users-review .card:hover {
  transform: translateY(-16px);
  box-shadow: -1px 1px 20px 2px rgba(0, 0, 0, 0.1);
}

.review-container .users-review .rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-container .users-review .star {
  color: #ffc107;
  font-size: 20px;
  margin-right: 5px;
}

.review-container .users-review .text {
  line-height: 1.4;
  text-align: left;
  margin-bottom: 20px;
  flex-grow: 1;
  /* Allow text to grow and fill available space */
}

.review-container .users-review .author {
  display: flex;
  align-items: center;
}

.review-container .users-review .author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.review-container .users-review .author-name {
  font-weight: bold;
}

.review-container .users-review .author-title {
  line-height: 1.8;
  text-align: left;
  font-size: 12px;
  color: #777;
}

.review-container {
  text-align: center;
  margin-top: 80px;
  padding-bottom: 40px;
}

.review-container h2 {
  line-height: 1.6;
}

.review-container h2 span {
  color: #4a90e2;
}

/* last banner */

.last-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px;
  margin-top: 40px;
}

.last-banner-content {
  background: white;
  display: flex;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.last-banner .text {
  flex: 1;

  padding: 0 20px;
}

.last-banner h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.last-banner p {
  font-size: 18px;
  line-height: 1.5;
}

.last-banner .button {
  border: 1px solid #007bff;
  display: inline-block;

  background-color: #007bff;
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s ease all;
}

.last-banner .button:hover {
  background-color: transparent;
  color: #007bff;
}

.last-banner .image {
  flex: 1;
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.last-banner .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.last-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

/* ======================   POLICY CONTAINER ========================  */

.policy_container {
  background: url(./images/bg_stars.png);
  margin-bottom: 40px;
  padding-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 8px;
  padding-right: 56px;
  padding-bottom: 56px;
}

.policy_container p {
  color: #677483;
}
.policy_container .content_container {
  margin-right: 6rem !important;
  margin-left: 6rem !important;
  margin: 2rem;
  margin-top: 6%;
}

.policy_container .section h3 {
  margin-bottom: 2rem !important;
  margin-top: 3rem !important;

  font-size: 2rem !important;
}

.policy_container .section .section-content h4 {
  margin-top: 3rem !important;
  font-weight: 700 !important;
  margin-bottom: 2rem !important;
  font-size: 1.4rem !important;
}

.policy_container .section .section-content p {
  font-weight: 100 !important;
  font-size: 1.2rem !important;
}

.policy_container .section .section-content ul li {
  font-weight: 100 !important;
  font-size: 1.2rem !important;
}

.policy_container .container_policy {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/*  ====================  About US  ===========================  */

.about-us {
  background: url(./images/bg_stars.png);
  margin-bottom: 40px;
  padding-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 56px;
  padding-right: 56px;
  padding-bottom: 56px;
}

.about-us-content {
  padding-left: 120px;
  padding-right: 120px;
  padding-top: 40px;
  padding-bottom: 40px;
  flex: 1;
}

.about-us-content h1 {
  font-size: 56px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 20px;
}

.about-us-content p {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
}

.about-us-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.about-us-image img {
  width: 600px;
  height: auto;
}

/* mission section  */

.mission {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* width: 80%; */
  /* max-width: 1000px; */
  padding: 20px;
  /* background: #fff; */
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.mission .title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #007bff;
}

.mission .cards {
  margin: 20px;
  display: flex;
  justify-content: center;
  /* max-width: 1400px; */
  /* margin: 0 auto; */
  flex-wrap: wrap;
  gap: 27px;
  /* display: flex; */
  /* justify-content: space-between; */
  /* width: 100%; */
  margin-top: 40px;
}

.mission .card {
  height: 200px;
  width: 30%;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.4s;
}

.mission .card:hover {
  transform: translateY(-12px);
  box-shadow: -1px 1px 20px 2px rgba(0, 0, 0, 0.1);
}

.mission .card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.mission .card p {
  font-size: 16px;
  color: #666;
  padding-right: 8%;
  line-height: 1.5;
}

.mission .icon {
  height: auto;
  width: 40px;
  position: absolute;
  top: 10px;
  right: 10px;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.mission .card:hover .icon {
  filter: grayscale(0%);
}

/*    stats */

.reach-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.reach-section .text-content {
  flex: 1;
  padding-right: 20px;
}

.reach-section .text-content h4 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 10px;
}

.reach-section .text-content h1 {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
}
.reach-section .text-content h1 .highlight {
  color: #16db0b;
}
.reach-section .text-content p {
  font-size: 16px;

  margin-bottom: 40px;
}

.reach-section .stats {
  display: flex;
  justify-content: space-between;
  max-width: 500px;
}

.reach-section .stat {
  color: #ff3666;
  text-align: center;
  font-weight: bold;
}

.reach-section .stat p {
  font-weight: 600;
  font-size: 14px;
  color: #2c2c54;
  margin-top: 10px;
}

.reach-section .counter {
  font-size: 36px;
  font-weight: bold;
  color: #ff3666;
}

.reach-section .image-content {
  flex: 1;
  text-align: right;
}

.reach-section .image-content img {
  max-width: 100%;
  height: auto;
}

/* ====================== CONTACT US  =============================  */

.contact-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}
.contact-container h1 {
  font-size: 32px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 20px;
}

.contact-container .contact-form {
  display: flex;
  flex-direction: column;
}

.contact-container .form-group {
  margin-bottom: 15px;
}

.contact-container .form-group label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.contact-container .form-group input,
.contact-container .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.contact-container .form-group input:focus,
.contact-container .form-group textarea:focus {
  border-color: #007bff; /* Blue border on focus */
  outline: none; /* Remove default outline */
  border: 2px solid #007bff;
  color: #007bff;
}

.contact-container .form-group textarea {
  resize: vertical;
}

.contact-container .submit-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-container .submit-btn:hover {
  background-color: #0056b3;
}

/* scroll back to top  */

#scrollToTopBtn {
  height: 48px;
  /* margin: 10px; */
  width: 48px;
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: none;
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 4px;
  border-radius: 50%;
  cursor: pointer;
  /* font-size: 18px; */
  z-index: 1000;
  transition: transform 0.1s ease; /* Smooth transition for transform property */
}

#scrollToTopBtn:hover {
  padding: 8px;
}
#scrollToTopBtn:active {
  transform: translateY(-5px); /* Push the button up by 5px when clicked */
}

/*  =========================  404 PAGE ==============================*/
.error-404 .container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  padding-left: 80px;
  border-radius: 15px;
  margin: 0 auto;
  width: 80%;
  max-width: 1000px;
  animation: fadeIn 1s ease-in-out;
}

.error-404 .error-content {
  max-width: 50%;
  padding-right: 30px;
}

.error-404 h1 {
  font-size: 128px;
  color: #007bff;
  margin-bottom: 10px;
  animation: bounce 2s infinite;
}

.error-404 h2 {
  font-size: 40px;
  color: #333;
  margin-bottom: 20px;
}

.error-404 p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.error-404 .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.error-404 .btn:hover {
  background-color: #0056b3;
  transform: translateY(-5px);
}

.error-404 .error-image {
  max-width: 50%;
  display: flex;
  justify-content: center;
}

.error-404 .error-image img {
  width: 100%;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*===========================  MEDIA QUERY ========================== */
/* Mobile warning message */
.mobile-warning {
  display: none;
  text-align: center;
  padding: 20px;
  font-size: 18px;
  background-color: #f8d7da;
  color: #721c24;
} /* Hide content for screens smaller than 1024px */
@media (max-width: 1024px) {
  .pc-content {
    display: none;
  }
  .mobile-warning {
    display: block;
  }
} /* Show content when desktop mode is enabled */
.desktop-mode .pc-content {
  display: block;
}
.desktop-mode .mobile-warning {
  display: none;
}

/* ==================  THEME =======================  */

.theme-toggle {
  box-shadow: 0 2px 5px rgba(228, 0, 0, 0.1);
  padding-top: 10px;
  text-align: center;
  height: 56px;
  width: 56px;
  position: fixed;
  bottom: 80px;
  left: 0px;
  background-color: #007bff3b;
  /* color: white; */
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.1s ease; /* Smooth transition for transform property */
  overflow: hidden;
}

.theme-toggle:hover {
  padding: 8px;
}
.theme-toggle:active {
  padding: 12px;
  border-radius: 50px 50px 50px 50px;
  transform: rotate(180deg);
}
