/* ============================================
   AUB OSB – Common Styles (shared by all programs)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-primary: #840132;
  --color-primary-dark: #6a001f;
  --color-primary-light: #9e013b;
  --color-primary-hover: #a0023f;
  --color-white: #ffffff;
  --color-white-80: rgba(255, 255, 255, 0.8);
  --color-white-60: rgba(255, 255, 255, 0.6);
  --color-white-30: rgba(255, 255, 255, 0.3);
  --color-white-15: rgba(255, 255, 255, 0.15);
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-black-90: rgba(0, 0, 0, 0.9);
  --color-black-70: rgba(0, 0, 0, 0.7);
  --color-black-50: rgba(0, 0, 0, 0.5);
  --color-black-30: rgba(0, 0, 0, 0.3);
  --color-error: #ff6b7c;
  --color-error-bg: rgba(255, 107, 124, 0.15);
  --color-success: #4caf50;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3.5rem;

  /* Typography */
  --font-family: 'Roboto', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.25);
  --shadow-elevation: 0 25px 45px -12px rgba(0, 0, 0, 0.45);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.3s ease;

  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;
  --header-height: 80px;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  background: #f5f5f5;
  color: var(--color-white);
  overflow-x: hidden;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
}

/* ============================================
       TYPOGRAPHY
       ============================================ */
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px var(--color-black-30);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
  margin-bottom: var(--space-lg);
}

@media (max-width: 900px) {
  .h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 550px) {
  .h1 {
    font-size: 1.9rem;
  }
}

/* ----- unified input styles ----- */
input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: white;
  transition: var(--transition-default);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  background: rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

input::placeholder,
select:invalid,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

select option {
  background: #1e1e1e;
  color: white;
}

button,
a.btn-primary,
a.btn-outline {
  height: 52px;
}

/* ----- unified button base (shared properties) ----- */
.btn,
.btn-primary,
.btn-outline,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  border-radius: 10px;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-default);
  border: none;
  text-align: center;
}

/* specific button styles (to be extended by program CSS) */
.btn-primary {
  background-color: var(--color-primary-dark);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid white;
  color: white;
  backdrop-filter: blur(3px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

/* ----- footer (identical for all pages) ----- */
.footer {
  position: absolute;
  z-index: 9999;
  background-color: var(--color-primary-dark);
  width: 100%;
  padding: 2rem 0 1.8rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-legal {
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1.2rem;
  color: white;
}

.copyright {
  font-size: 0.7rem;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: 0.2s;
}

.social-icons a:hover {
  opacity: 0.8;
  transform: translateY(-3px);
}

/* utility */
.required-star {
  color: #ff7b89;
  margin-left: 2px;
}

.error-message {
  color: #ffa0a0;
  font-size: 0.7rem;
  margin-top: 4px;
}

input.error,
select.error {
  border-color: #ff5e6e;
}

.note-text {
  font-size: 0.7rem;
  text-align: center;
  margin-top: 1rem;
  color: white;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white);
}

.mt-0 {
  margin-top: 0;
}

.mb-1 {
  margin-bottom: var(--space-sm);
}

.mb-2 {
  margin-bottom: var(--space-md);
}

.mb-3 {
  margin-bottom: var(--space-lg);
}

.mb-4 {
  margin-bottom: var(--space-xl);
}

.mt-3 {
  margin-top: var(--space-lg);
}

.mt-4 {
  margin-top: var(--space-xl);
}


.iti__country-list .iti__country-name {
  color: #000 !important;
}

.iti__selected-flag {
  max-height: 40px;
}

/* responsive adjustments (common) */
@media (max-width: 850px) {

  .btn-primary,
  .btn-outline,
  .btn-submit {
    width: 100%;
    justify-content: center;
  }
}