/* Root variables */
:root {
  --primary-color: #9054f1;
  --secondary-color: #f8f9fa;
  --text-color-dark: #333;
  --text-color-light: #ffffff;
  --text-color-silver: #c0c0c0;
  --bg-light: #f2f2f2;
  --bg-hover: #e2e6ea;
  --overlay-bg: rgba(39, 2, 2, 0.652);
  --border-color: rgba(255, 0, 0, 0.144);
  --success-color: #d7bffe;
  --icon-color-white: #ffffff;
  --icon-color-dark: #000000;
  --icon-color-success: #28a745;
  --bs-btn-active-bg: var(--bg-light);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-tertiary-bg: var(--primary-color);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

::-webkit-selection {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

body {
  /* background-color: var(--bg-light); */
  font-family: Arial, sans-serif;
  color: var(--text-color-dark);
  background: radial-gradient(
    circle,
    rgb(252, 218, 255) 0%,
    rgb(251, 236, 255) 70%,
    rgb(243, 236, 255) 100%,
    rgb(240, 230, 255) 20%
  );
}

/* 349deg,
rgb(251, 236, 255) 0%,
rgb(252, 218, 255) 18%,
rgb(243, 236, 255) 66%
); */
/* .container {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
} */

.top-bar {
  width: 100%;
  /* background-color: var(--primary-color); */
  color: var(--text-color-light);
  padding: 10px 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: rgb(215, 191, 254);
  background: linear-gradient(
    349deg,
    rgba(215, 191, 254, 1) 0%,
    rgba(201, 168, 254, 1) 18%,
    rgba(147, 80, 255, 1) 66%
  );
}

.slogan {
  flex: 1;
  padding: 60px 0px;
}

h1 {
  font-weight: 800;
}
h3 {
  font-weight: 500;
  color: var(--primary-color);
  line-height: 50px;
  transition: color 0.3s ease, transform 0.3s ease; /* Example transitions */
  position: relative; /* Use this if you want to position it with 'top' */
  top: 0; /* Adjust this value as needed */
}
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.slogan h1 {
  font-weight: 800;

  background: linear-gradient(
    349deg,
    rgba(147, 80, 255, 1),
    rgb(214, 189, 255),
    rgba(147, 80, 255, 1)
  );
  background-size: 300% 300%; /* Ensure the gradient is larger for smoother animation */
  background-clip: text; /* Use background-clip to create the gradient effect */
  -webkit-background-clip: text; /* For Safari */
  color: transparent; /* Make the text color transparent */
  animation: gradientAnimation 5s ease infinite; /* Longer duration for a smoother effect */
  overflow: hidden;
  white-space: nowrap;
}

.form-container {
  flex: 1;
  background: var(--text-color-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form input styles */
.form-control {
  border: 1px solid var(--primary-color); /* Use primary color for input borders */
}

.form-control:focus {
  border-color: var(--success-color); /* Change border color on focus */
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5); /* Subtle glow effect */
}

.form-select:focus {
  border-color: var(--success-color); /* Change border color on focus */
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5); /* Subtle glow effect */
}
/* Button styles */
.btn {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 1px solid var(--primary-color);
}

.btn:hover {
  background-color: var(--bg-hover);
}

/* Add hover effects for buttons and links for better UX */
.form-select {
  border: 1px solid var(--primary-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-select:hover {
  background-color: var(--bg-hover);
}

/* Icon color */
.social-media-icons a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.social-media-icons a:hover {
  color: var(--success-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Radio Button Styles */
.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.form-check-input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s ease;
}

.form-check-input:checked {
  border-color: var(--success-color);
  background-color: var(--success-color);
}

.form-check-input:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px; /* Inner circle size */
  height: 12px; /* Inner circle size */
  background-color: var(--text-color-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.form-check-label {
  margin-left: 10px;
  color: var(--text-color-dark);
  cursor: pointer;
  transition: color 0.3s ease;
}

.form-check-input:focus {
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

/* Date Input Styles */
.form-control[type="date"] {
  border: 1px solid var(--primary-color);
  padding: 10px;
  border-radius: 5px;
  background-color: var(--text-color-light);
  color: var(--text-color-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control[type="date"]:focus {
  border-color: var(--success-color);
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
  outline: none;
}

/* Placeholder Styling */
.form-control[type="date"]::placeholder {
  color: var(--text-color-silver);
}

/* Disabled State */
.form-control[type="date"]:disabled {
  background-color: var(--bg-light);
  color: var(--text-color-silver);
  border-color: var(--border-color);
}

.form-label {
  font-size: smaller;
}

.btn-primary {
  text-decoration: none;
  overflow: hidden;
  display: inline-block;
  color: var(--secondary-color);
  background: linear-gradient(
    349deg,
    rgba(215, 191, 254, 1) 0%,
    rgba(201, 168, 254, 1) 18%,
    rgba(147, 80, 255, 1) 66%
  ); /* Gradient background */
  border: 1px solid var(--secondary-color);
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  position: relative; /* Required for the :after pseudo-element */
  border-radius: 5px; /* Rounded corners */
  transition: color 0.3s ease, border-color 0.3s ease; /* Smooth transition for text and border */
}

.btn-primary:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: #fff;
  pointer-events: none;
  transform: translate3d(0, 45px, 0);
  transition: all 0.3s 0s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.btn-primary i {
  font-style: normal;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-primary:hover:after {
  transform: translate3d(0, 0, 0);
}

.btn-primary:hover i {
  transform: translate3d(0, -6px, 0);
}
