/* ===== Global Variables / Common Colors ===== */
:root {
  /* ===== Brand Colors ===== */
  --primary: #b3b7ff;        /* Pale Indigo */
  --primary-dark: #6a5acd;   /* Deep Indigo */
  --secondary: #c2b7f9;      /* Dreamy Violet */
  --secondary-light: #e7dbf7;/* Amethyst Tint */
  --accent: #c8b3ff;         /* Lavender Mist */
  --accent-light: #dbb3ee;   /* Orchid Blush */
  --accent-deep: #dc7ded;    /* Rose Quartz Glow */

  /* ===== Fonts & Effects ===== */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Merriweather', serif;
  --transition: 0.3s ease-in-out;
  --radius: 1rem;
  --shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* ===== Body & Font Defaults ===== */
body {
  font-family: var(--font-sans);
  color: #333;
  line-height: 1.6;
  background-color: #fff;
  scroll-behavior: smooth;
}

/* ===== Dark Mode ===== */
body.dark-mode {
  background-color: #121212;
  color: #f5f5f5;
}
body.dark-mode .card {
  background: rgba(30,30,30,0.9);
  color: #fff;
}
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background-color: #1e1e1e;
  border: 1px solid #444;
  color: #fff;
}

/* ===== Gradients ===== */
.gradient-text {
  background: linear-gradient(90deg, #b3b7ff, #c8b3ff, #dfb3e7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background 0.3s ease-in-out;
}
.gradient-text:hover {
  background: linear-gradient(90deg, #9da8f8, #a797f6, #b78fea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-cta {
  background: linear-gradient(90deg, #C28BEA, #c8b3ff, #f490b1);
  color: #fff;
  transition: all var(--transition);
}

.footer-cta {
  background: linear-gradient(135deg, #36324d, #492935, #5b2b4a);
  color: #fff;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.footer-hero{
  margin-bottom: -45px;
}

/* ===== Buttons ===== */
.btn-gradient {
  background: linear-gradient(90deg, #755fe4, #c8b3ff, #d1b3f9);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all var(--transition);
}
.btn-gradient:hover {
  background: linear-gradient(90deg, #aeb8ff, #c2b7f9, #dfb3e7);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* ===== Cards ===== */
.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ===== Animations ===== */
.fade-in { animation: fadeIn 1s ease-in-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.scale-hover:hover {
  transform: scale(1.05);
  transition: transform var(--transition);
}
.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition);
}
.animate {
  opacity: 0;
  transform: translateY(20px);
}

/* ===== Hero Section ===== */

.hero {
  margin-top: -45px;
  position: relative;
  /* background: url('Documents/hero-bg.jpg') center/cover no-repeat; */
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(rgba(0,0,0,0.5), rgba(20,20,40,0.8)); */
  z-index: 0;
}
.hero > div {
  position: relative;
  z-index: 1;
}

/* ===== Form Inputs ===== */
input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 1rem;
  transition: all var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary-dark);
  outline: none;
}
input.error, textarea.error, select.error {
  border-color: #e74c3c;
}

/* ===== Steps / Badges ===== */
.step-badge {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 1rem;
}

/* ===== Dark Mode Overrides for Buttons and Gradients ===== */
body.dark-mode .btn-gradient {
  background: linear-gradient(90deg, #5a4bbf, #8c7fdc, #a589f1);
  color: #fff;
}
body.dark-mode .gradient-cta {
  background: linear-gradient(90deg, #7a4bbb, #a68cf1, #f48bd9);
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-white { color: #fff; }
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9f9f9; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.p-6 { padding: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* ===== Tables / Lists ===== */
ul.list-disc { list-style-type: disc; }
ul.list-inside { padding-left: 1rem; }

/* ===== Responsive Helpers ===== */
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr !important; }
}

/* ===== Futuristic Navbar ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, #36324d, #6b3a4e, #5b2b4a);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

/* Glow effect on scroll */
nav.sticky {
  /* background: linear-gradient(135deg, #7b68ee, #d02090, #ff85d4); */
  box-shadow: 0 12px 30px rgba(199, 21, 133, 0.4);
}

/* ===== Navbar Links ===== */
nav a {
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  padding: 0.5rem 1.2rem;
  margin: 0 0.2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

/* Hover & Active 3D effect */
nav a:hover,
nav a.active {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25),
              inset 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
  background: linear-gradient(135deg, #36324d, #6b3a4e, #5b2b4a);
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#mobile-menu a {
  display: block;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

#mobile-menu a:hover,
#mobile-menu a.active {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* ===== Hamburger Button ===== */
#menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: all 0.4s ease;
}


/* Open state */
#menu-btn.open .top-line {
  transform: rotate(45deg) translateY(8px);
}

#menu-btn.open .middle-line {
  opacity: 0;
}

#menu-btn.open .bottom-line {
  transform: rotate(-45deg) translateY(-8px);
}

#menu-btn:hover {
  background: linear-gradient(90deg, #9da8f8, #a797f6, #b78fea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}