:root {
  --gylf-violet: #6a1b9a;
  --gylf-purple: #4a148c;
  --gylf-deep-bg: #2a0a52;
  --gylf-yellow: #ffb800;
  --gylf-light: #ffffff;
  --gylf-gray: #f3e5f5;
  --gylf-btn-blue: #6a89cc;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "lato", sans-serif;
  background-color: var(--gylf-gray);
  color: #1a1a1a;
  overflow-x: hidden;
}

.text-gylf-yellow {
  color: var(--gylf-yellow);
}

h1,
h2,
.countdown-item {
  font-family: "Montserrat", sans-serif;
}
.heading {
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
}

/* Hero Styling */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--gylf-deep-bg) 0%,
    var(--gylf-purple) 100%
  );
  min-height: 90vh;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0;
}
.hero-section h1 {
  font-weight: 500;
}
.hero-section h2 {
  font-weight: 400;
}
.hero-section p {
  font-size: 18px;
}
.about-iyc video {
  aspect-ratio: 16 / 9;
  width: 600px;
  border-radius: 10px;
}

/* .btn-secondary{} */

.btn-register-trigger {
  background: transparent;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-register-trigger:hover {
  background: rgb(22, 21, 21);
  color: var(--iyc-purple);
}

/* --- MODAL STYLES --- */
.gylf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.gylf-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.gylf-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 3, 22, 0.85);
  backdrop-filter: blur(8px);
}

.gylf-modal-container {
  position: relative;
  background: white;
  width: 95%;
  max-width: 550px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  color: var(--iyc-dark);
}

.gylf-modal.is-active .gylf-modal-container {
  transform: translateY(0);
}

.step-indicator {
  height: 6px;
  background: #eee;
  width: 100%;
  position: relative;
}

.step-progress {
  height: 100%;
  background: var(--gylf-yellow);
  width: 0%;
  transition: width 0.4s ease;
}

.gylf-modal-header {
  padding: 24px 32px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gylf-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--iyc-purple);
  margin: 0;
}

.gylf-modal-close {
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: background 0.2s;
}

.gylf-modal-close:hover {
  background: #e5e7eb;
  color: #000;
}

.gylf-modal-body {
  padding: 0 32px 24px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #4b5563;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--iyc-purple-light);
}

.form-control.is-invalid {
  border-color: #ef4444;
}

.gylf-modal-footer {
  padding: 20px 32px 32px;
  display: flex;
  gap: 12px;
}

.btn-modal {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-primary-modal {
  background: var(--gylf-purple);
  color: white;
}

.btn-primary-modal:hover {
  background: var(--gylf-violet);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f3f4f6;
  color: #4b5563;
}

.success-icon {
  background: #ecfdf5;
  color: #10b981;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.d-none {
  display: none !important;
}
.modal-is-locked {
  overflow: hidden;
}

/* Grid helpers for the form */
.row {
  display: flex;
  /* gap: 12px; */
  margin-bottom: 10px;
}
.col-md-6 {
  flex: 1;
}
.mt-2 {
  margin-top: 8px;
}
.mb-3 {
  margin-bottom: 16px;
}

.flier-container {
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.flier-container:hover {
  transform: scale(1.02);
}

.flier-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 4px solid rgba(255, 184, 0, 0.3);
}

.floating-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--gylf-yellow);
  color: black;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Countdown */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 10px;
  border-radius: 15px;
  text-align: center;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gylf-yellow);
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Content Sections */
.section-title {
  color: var(--gylf-purple);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.highlight-card {
  border: none;
  background: var(--gylf-gray);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
  transition: 0.3s;
}

.highlight-card:hover {
  background: white;
  box-shadow: 0 20px 40px rgba(74, 20, 140, 0.1);
  transform: translateY(-5px);
}

/* Form */
.contact-section {
  background: var(--gylf-deep-bg);
  padding: 100px 0;
  color: white;
}

.glass-card {
  background: white;
  border-radius: 30px;
  padding: 50px;
  color: #333;
}

.form-control {
  background: #f8f9fa;
  border: 2px solid #eee;
  padding: 12px 20px;
  border-radius: 10px;
}

.btn-submit {
  background: var(--gylf-btn-blue);
  color: white;
  font-weight: 700;
  padding: 15px;
  border-radius: 10px;
  border: none;
  width: 100%;
  transition: 0.3s;
}

.btn-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.bottom {
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  margin-top: 40px;
  padding: 60px 0;
}
.bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 6, 51, 0.8);
  z-index: 1;
}
.bottom .container {
  position: relative;
  z-index: 2;
}
.bottom__image {
  width: 18rem;
  transform: translateX(-60px);
}

form {
  z-index: 2000;
}

footer {
  background: #1a0633;
  padding: 40px 0;
  color: #fff;
  font-size: 0.8rem;
}
