/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --primary-color: #0ea5e9;
  --primary-color-alt: #0284c7;
  --secondary-color: #64748b;
  --dark-color: #1e293b;
  --darker-color: #0f172a;
  --light-color: #f8fafc;
  --text-color: #e2e8f0;
  --text-color-light: #94a3b8;
  --white-color: #ffffff;
  
  /*========== Font and typography ==========*/
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.875rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-black: 900;

  /*========== Margins Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3rem;
    --h1-font-size: 2.75rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.875rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--dark-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
  text-align: center;
  font-weight: var(--font-medium);
}

/*=============== BUTTONS ===============*/
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
  border: 2px solid transparent;
}

.btn:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn--outline {
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
}

.btn--outline:hover {
  background-color: var(--white-color);
  color: var(--dark-color);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  backdrop-filter: blur(10px);
  transition: .3s;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  height: calc(var(--header-height) + 1rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  font-weight: var(--font-bold);
  color: var(--white-color);
  font-size: var(--h3-font-size);
  text-decoration: none;
}

.nav__logo-img {
  height: 2.5rem;
  margin-right: .75rem;
}

.nav__logo-text {
  font-size: var(--h3-font-size);
  background: linear-gradient(135deg, var(--white-color), var(--primary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Beautiful Brand Styling */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white-color);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  transition: all 0.3s ease;
}

.nav__logo-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__brand-name {
  font-size: 1.5rem;
  font-weight: var(--font-black);
  color: var(--white-color);
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--white-color) 0%, var(--primary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__brand-tagline {
  font-size: 0.75rem;
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: -0.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav__list {
  display: flex;
  column-gap: 2.5rem;
  align-items: center;
}

.nav__link {
  font-weight: var(--font-medium);
  transition: all .3s ease;
  position: relative;
  padding: 1rem 0;
  color: var(--text-color);
  text-decoration: none;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.nav__cta {
  padding: .875rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 2rem;
  font-weight: var(--font-semi-bold);
  transition: all .3s ease;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1rem;
  background: linear-gradient(135deg, var(--darker-color), rgba(30, 41, 59, 0.98));
  min-width: 220px;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all .3s ease;
  z-index: var(--z-tooltip);
  border: 1px solid rgba(100, 116, 139, 0.1);
  backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__menu li {
  padding: 0;
}

.dropdown__link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-color);
  transition: all .3s ease;
  text-decoration: none;
  border-radius: 0.75rem;
  margin: 0.25rem;
  position: relative;
  overflow: hidden;
}

.dropdown__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  transition: left 0.3s ease;
  z-index: -1;
}

.dropdown__link:hover::before {
  left: 0;
}

.dropdown__link:hover {
  color: var(--white-color);
  transform: translateX(5px);
}

/*=============== HERO ===============*/
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__container {
  row-gap: 3rem;
}

.hero__data {
  text-align: center;
  z-index: 1;
}

.hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-black);
  margin-bottom: var(--mb-1);
  background: linear-gradient(135deg, var(--white-color) 0%, var(--primary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

.hero__description {
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-2-5);
  color: var(--text-color-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

/*=============== STATS ===============*/
.stats {
  background-color: var(--darker-color);
  padding: 3rem 0;
}

.stats__container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stats__item {
  padding: 1.5rem;
}

.stats__icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.stats__value {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--white-color);
  margin-bottom: var(--mb-0-5);
}

.stats__label {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

/*=============== CARDS ===============*/
.card {
  background-color: var(--darker-color);
  padding: 2rem;
  border-radius: 1rem;
  transition: .3s;
  border: 1px solid rgba(100, 116, 139, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: .5rem;
  margin-bottom: var(--mb-1);
}

.card__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
}

.card__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-1-5);
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: var(--mb-1);
}

/*=============== FORMS ===============*/
.form {
  display: grid;
  gap: 1.5rem;
}

.form__group {
  display: grid;
  gap: .5rem;
}

.form__label {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--white-color);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: .5rem;
  background-color: var(--darker-color);
  color: var(--text-color);
  font-family: inherit;
  transition: .3s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--darker-color);
  padding-top: 3rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--white-color);
}

.footer__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
}

.footer__links {
  display: grid;
  row-gap: .5rem;
}

.footer__link {
  color: var(--text-color-light);
  transition: .3s;
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__social {
  display: flex;
  column-gap: 1rem;
  margin-top: var(--mb-1);
}

.footer__social-link {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: .75rem;
  border-radius: .5rem;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.footer__social-link:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}

.footer__info {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  margin-bottom: var(--mb-1);
  color: var(--text-color-light);
}

.footer__info-icon {
  color: var(--primary-color);
}

.footer__bottom {
  border-top: 1px solid rgba(100, 116, 139, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__copy {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--primary-color);
  opacity: .8;
  padding: .5rem;
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  background-color: var(--primary-color-alt);
  opacity: 1;
}

.scrollup__icon {
  font-size: 1.2rem;
  color: var(--white-color);
}

.show-scroll {
  bottom: 2rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-color-alt);
}

/*=============== SCROLL TO TOP BUTTON ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0;
  visibility: hidden;
}

.scrollup:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.scrollup__icon {
  font-size: 1.1rem;
  color: var(--white-color);
}

.show-scroll {
  bottom: 3rem;
  opacity: 1;
  visibility: visible;
}

/* Mobile scroll button adjustments */
@media screen and (max-width: 768px) {
  .scrollup {
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .scrollup__icon {
    font-size: 1rem;
  }
  
  .show-scroll {
    bottom: 2rem;
  }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  
  .nav__menu {
    width: calc(100vw - 2rem);
    max-width: 100%;
    padding: 6rem 1.5rem 4rem;
  }
  
  /* Mobile brand adjustments */
  .nav__brand {
    gap: 0.5rem;
  }
  
  .nav__logo-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
  
  .nav__brand-name {
    font-size: 1.2rem;
  }
  
  .nav__brand-tagline {
    font-size: 0.65rem;
  }
  
  .nav__close {
    right: 1.5rem;
  }
  
  .nav__cta {
    max-width: 180px;
    font-size: 0.9rem;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  /* Tablet brand adjustments */
  .nav__brand {
    gap: 0.6rem;
  }
  
  .nav__logo-icon {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.3rem;
  }
  
  .nav__brand-name {
    font-size: 1.3rem;
  }
  
  .nav__brand-tagline {
    font-size: 0.7rem;
  }

  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    background-color: var(--darker-color);
    padding: 6rem 2rem 4rem;
    transition: .3s;
    overflow-x: hidden;
    z-index: var(--z-fixed);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    width: 100%;
    text-align: center;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 0.75rem 0;
  }

  .nav__close,
  .nav__toggle {
    display: flex;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
  }

  .nav__cta {
    margin-top: 2rem;
    width: auto;
    max-width: 200px;
    text-align: center;
    padding: 1rem 2rem;
    white-space: nowrap;
  }

  .show-menu {
    left: 0;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .dropdown__menu {
    position: static;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: none;
    border-radius: 0.5rem;
    text-align: center;
  }
  
  .dropdown__link {
    padding: 0.75rem;
    margin: 0.25rem 0;
    text-align: center;
    display: block;
    width: 100%;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 6rem 0 4rem;
  }

  .header {
    background-color: rgba(15, 23, 42, 0.9);
  }

  .nav {
    height: calc(var(--header-height) + 1rem);
  }

  .hero__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero__data {
    text-align: left;
  }
}

/*=============== FORM LOADING ANIMATIONS ===============*/
.form-loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  z-index: var(--z-modal);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.form-loader.active {
  display: flex;
}

.loader-content {
  text-align: center;
  color: var(--white-color);
  max-width: 400px;
  padding: 2rem;
}

.spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  position: relative;
}

.spinner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(14, 165, 233, 0.2);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(14, 165, 233, 0.3);
  border-top: 3px solid var(--primary-color-alt);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

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

.loader-text {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.loader-message {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.loader-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.3);
  position: relative;
}

.step.active {
  background: var(--primary-color);
  animation: pulse 1.5s ease-in-out infinite;
}

.step.completed {
  background: #10b981;
}

.step::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 20px;
  height: 2px;
  background: rgba(14, 165, 233, 0.3);
  transform: translateY(-50%);
}

.step:last-child::after {
  display: none;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(14, 165, 233, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 3px;
  width: 0%;
  animation: progressFill 3s ease-in-out forwards;
}

@keyframes progressFill {
  0% { width: 0%; }
  25% { width: 30%; }
  50% { width: 60%; }
  75% { width: 85%; }
  100% { width: 100%; }
}

/* Button loading state */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Success animation */
.success-animation {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 185, 129, 0.95);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.success-animation.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.success-content {
  text-align: center;
  color: white;
  max-width: 400px;
  padding: 2rem;
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  border: 4px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  animation: successBounce 0.6s ease;
}

@keyframes successBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile responsiveness for loaders */
@media screen and (max-width: 768px) {
  .loader-content,
  .success-content {
    padding: 1.5rem;
    max-width: 320px;
  }
  
  .spinner {
    width: 60px;
    height: 60px;
  }
  
  .success-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  
  .loader-steps {
    gap: 0.5rem;
  }
  
  .step {
    width: 10px;
    height: 10px;
  }
  
  .step::after {
    width: 15px;
  }
}

/*=============== RECAPTCHA STYLING ===============*/
.g-recaptcha {
    display: inline-block;
    margin: 1rem 0;
    transform: scale(0.9);
    transform-origin: 0 0;
}

/* Dark theme adjustments for reCAPTCHA container */
.form__group .g-recaptcha {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #f9f9f9;
    padding: 0;
}

/* Responsive reCAPTCHA */
@media screen and (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: center;
    }
}

@media screen and (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.7);
        transform-origin: center;
    }
}