/* ==== Reset + Base ==== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ==== Typography ==== */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  font-weight: 600;
  color: #222;
}

p {
  margin-bottom: 1em;
}

a {
  color: #6a1b9a;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #ab47bc;
  text-decoration: underline;
}

/* ==== Layout ==== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==== Navigation ==== */
nav {
  background: #f8f8f8;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

nav a {
  font-weight: 500;
}

/* ==== Buttons ==== */
button {
  background-color: #7e57c2;
  color: #fff;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease-in-out;
}

button:hover {
  background-color: #9575cd;
}

/* ==== Forms ==== */
input, select, textarea {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease-in-out;
}

input:focus, select:focus, textarea:focus {
  border-color: #ab47bc;
  outline: none;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px dashed #ba68c8;
  outline-offset: 2px;
}

/* ==== Utilities ==== */
.bg-gradient-hero {
  background-image: linear-gradient(to right, #fce4ec, #f3e5f5, #ede7f6);
  background-color: #f3e5f5;
}

.shadow-xl-custom {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  p  { font-size: 1rem; }
}

/* ==== Footer ==== */
footer {
  background-color: #f3e5f5;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}
