html {
  scroll-behavior: smooth;
}
body {
  font-family: Montserrat, Sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  text-decoration: none;
  align-items: center;
}

.navigation ul li a {
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}

.navigation ul li a img {
  vertical-align: middle;
  margin-left: 7px;
}

.navigation .switcher {
  color: #388beb;
}

.navigation .signup-btn {
  color: white;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signup-btn {
  display: inline-block;
  background-color: #f6b331;
  border-radius: 8px;
  padding: 16px 32px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  justify-content: center;
  color: white;
  transition: 0.3s ease;
  border: 2px solid transparent;
}

.signup-btn:hover {
  background-color: transparent;
  color: #f6b331;
  border-color: #f6b331;
}

.hero image {
  display: flex;
}

.hero img {
  width: 730px;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero text {
  max-width: 500px;
  text-align: left;
}

.hero .text h1 {
  font-size: 50px;
  color: #000;
  font-style: normal;
  font-weight: 700;
  line-height: 60px;
}

.hero .text p {
  font-family: "Open Sans", sans-serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 35px;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.state {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
}

.first-card,
.second-card,
.third-card {
  width: 270px;
  height: 160px;
  color: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  perspective: 1000px;
}

.first-card:hover,
.second-card:hover,
.third-card:hover {
  transform: rotateY(10deg) scale(1.05);
}

.first-card {
  background-color: #388beb;
}

.second-card {
  background-color: #a4d3fd;
}

.third-card {
  background-color: #103159;
}

.icon {
  align-self: flex-end;
  margin-bottom: 10px;
}

.text h2 {
  font-size: 50px;
  margin: 0;
}

p {
  font-size: 16px;
  font-weight: bold;
  margin: 5px 0 0;
}

.hero .text h1 {
  font-size: 50px;
  font-weight: bold;
  line-height: 1.2;
  color: #000;
  background-size: 200% 200%;
  background-image: linear-gradient(-90deg, #000000, #4A90E2);
  -webkit-background-clip: text;
  color: transparent;
  transition: background-position 0.5s ease;
}

.hero .text h1:hover {
  background-position: 0% 0;
}

.state .card {
  width: 270px;
  height: 160px;
  color: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: background 0.5s ease, transform 0.3s ease;
}

.first-card {
  background-color: #388beb;
}
.second-card {
  background-color: #a4d3fd;
}
.third-card {
  background-color: #103159;
}

.state .card:hover {
  background: linear-gradient(135deg, #388beb, #f6b331);
  transform: scale(1.05);
}

.images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.images div {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.images img {
  width: 100%;
  max-width: 250px; /* Adjust this value for resizing */
  border-radius: 20px;
}

.image1,
.image2,
.image3,
.image4,
.image5 {
  transition: transform 0.3s;
}

.images div:hover {
  transform: scale(1.05);
}

.keyfeatures .text p {
  font-size: 30px;
  font-family: "Open Sans", sans-serif;
  font-weight: 200;
  text-align: center;
  letter-spacing: 5px;
}

.keyfeatures .text h2 {
  text-align: center;
  margin: 5px;
  padding-bottom: 100px;
}

.keyfeatures {
  background-color: #f4f4f4; /* Matches grey area */
  padding: 100px 0;
  width: 100%; /* Full viewport width */
  padding-bottom: 350px;
}

.keyfeatures .images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  width: 100%; /* Ensure full width */
}

.images {
  position: relative;
}

.image4 {
  position: absolute;
  top: 250px;
  left: 400px;
}
.image5 {
  position: absolute;
  top: 250px;
  left: 800px;
}

.whitelabel {
  background-color: #f2f9ff;
}

.whitelabel .text {
  padding-top: 130px;
  text-align: center;
  font-size: 50px;
}

.whitelabel .text p {
  font-family: "Open-Sans", sans-serif;
  font-weight: 300;
}

.whitelabel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 50px;
  background-color: #f2f8ff; /* Light background */
  text-align: center;
}

/* Text section styling */
.whitelabel .text {
  grid-column: 1 / -1; /* Full-width */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 30px;
}

.whitelabel .text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
}

.whitelabel .text p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: #555;
}

/* Feature card styling */
.section1,
.section2,
.section3 {
  /* background-color: white; */
  padding: 20px;
  /* border-radius: 10px; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.section1 img,
.section2 img,
.section3 img {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.section1 h3,
.section2 h3,
.section3 h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.section1 p,
.section2 p,
.section3 p {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #777;
  font-weight: 350;
}

/* Dashboard image styling */
.dasahboard-image {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.dasahboard-image img {
  width: 70%;
  height: auto;
}

/* Built for all beauty*/

.builtbeauty {
  background-color: #388beb;
  padding: 40px 20px; /* Adjusted padding */
  text-align: center;
  position: relative;
}

.container-text {
  color: white;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 600;
}

.boxes-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  /* margin-top: 100px; */
  position: relative;
  top: 90px;
}

.box1,
.box2,
.box3,
.box4,
.box5 {
  background-color: white;
  border-radius: 22px;
  padding: 20px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* position: relative; */
}

.box2,
.box4 {
  background-color: #a4d3fd;
}

/*FORM SIGN UP*/
.insider-form {
  text-align: center;
  padding: 40px;
  margin: 0 auto;
  max-width: 600px;
  margin-top: 122px;
}

.insider-form h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.insider-form p {
  font-size: 25px;
  color: #666;
  margin-bottom: 20px;
  font-weight: 300;
  font-family: "Open Sans", sans-serif;
  max-width: 700px; /* To extend width */
  margin: 0 auto 20px; /* Center align */
}

.insider-form input {
  width: 100%;
  padding: 16px 32px; /* Updated padding */
  margin: 10px 0;
  border: 1px solid #acacac;
  border-radius: 12px;
  font-size: 16px;
  box-sizing: border-box;
}

.insider-form input::placeholder {
  color: #acacac;
}

.insider-form button {
  display: inline-block;
  background-color: #f6b331;
  border-radius: 8px;
  padding: 16px 32px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  justify-content: center;
  color: white;
  transition: 0.3s ease;
  border: 2px solid transparent;
  margin-top: 20px;
}

.insider-form button:hover {
  background-color: transparent;
  color: #f6b331;
  border-color: #f6b331;
}

/*FOOTER SECTION*/

footer {
  background-color: #103159;
  color: white;
  text-align: center;
  padding: 20px;
  font-family: "Montserrat" sans-serif;
  font-weight: 600;
  font-size: 15px;
}

/* Transform to X when .active class is added */
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0; /* Hide the middle line */
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Burger Menu styling */
.burger-menu {
  display: none; /* Hidden on larger screens */
  flex-direction: column;
  cursor: pointer;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.4s;
}

/* Language Dropdown styling */
.language-dropdown {
  position: relative;
}

.language-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Position below "AR" */
  left: 0;
  background-color: #ffffff;
  padding: 8px 12px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  min-width: 50px;
}

.language-dropdown .dropdown-content a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 5px 0;
}

.language-dropdown .dropdown-content.show {
  display: block;
}

/* Language Dropdown Styling */
.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Position below switcher */
  left: 0;
  background-color: #ffffff;
  padding: 12px 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  min-width: 100px;
  border: 2px solid #388beb;
  text-align: center;
}

.language-dropdown .dropdown-content a {
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 5px 0;
  font-size: 16px;
}

.language-dropdown .dropdown-content.show {
  display: block; /* Show when toggled */
}

/* Adjust dropdown arrow for visual styling */
.switcher {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  color: #388beb;
}

.switcher img {
  margin-left: 5px;
  transition: transform 0.3s;
}

/* Rotate arrow when dropdown is active */
.language-dropdown .dropdown-content.show ~ .switcher img {
  transform: rotate(180deg);
}
/* Selected language style */
.language-dropdown .dropdown-content a.selected {
  font-weight: 600;
  color: #007bff;
  pointer-events: none;
}

.language-dropdown .dropdown-content a.selected::after {
  content: " ✔";
  font-size: 14px;
  color: #007bff;
}
html {
  scroll-behavior: smooth;
}

/* Toast styling */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#insiderForm button {
  cursor: pointer;
}
/* Styling for the spinner */
.spinner {
  border: 3px solid #f3f3f3; /* Light grey */
  border-top: 3px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Button loading state */
button.loading {
  position: relative;
  cursor: not-allowed;
}

button.loading .spinner {
  margin: 0 auto;
}

.toast-container {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.toast {
  background-color: #444;
  color: white;
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
}

.toast.toast-success {
  background-color: #4caf50;
}

.toast.toast-error {
  background-color: #f44336;
}

/* Success message styling */
.success-message {
  text-align: center;
  padding: 40px;
  border: 2px solid #4caf50; /* Green border */
  border-radius: 10px;
  background-color: #f9fff9; /* Light green background */
}

.success-message h2 {
  color: #4caf50;
  margin-bottom: 20px;
}

.success-message p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

#insiderForm button:disabled {
  background-color: #9e9e9e; /* Grey when disabled */
  cursor: not-allowed;
}

main {
  flex: 1; /* Pushes footer down when content is short */
  padding: 2rem;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}