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

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

/* ===== NAVBAR ===== */
nav {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  color: #e94560;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 0;
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #e94560;
  color: #fff;
}

/* ===== PAGE ANIMATION ===== */
main {
  animation: fadeIn 0.3s ease;
  min-height: calc(100vh - 114px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== HOME PAGE ===== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #e94560;
}

.hero p {
  font-size: 1.15rem;
  color: #aaa;
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

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

.btn {
  padding: 0.7rem 1.8rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn-primary {
  background: #e94560;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #e94560;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.card p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
}

/* ===== FORM PAGES ===== */
.form-container {
  max-width: 550px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.form-header .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.form-header h2 {
  font-size: 1.5rem;
  color: #e94560;
}

.form-header p {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.4rem;
}

.form-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.25s, box-shadow 0.25s;
  font-family: inherit;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e94560;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233,69,96,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #e94560, #c73652);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1a1a2e;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
  border-left: 4px solid #e94560;
}

.toast.show {
  transform: translateY(0);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #1a1a2e;
  color: #666;
  font-size: 0.85rem;
}

footer span {
  color: #e94560;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.about-hero h1 {
  font-size: 2.4rem;
  color: #e94560;
  margin-bottom: 0.8rem;
}

.about-hero p {
  font-size: 1.1rem;
  color: #aaa;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-section {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-section h3 {
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
}

.about-section p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

.about-stats {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 2rem;
}

.stat {
  text-align: center;
  color: #fff;
  min-width: 100px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e94560;
}

.stat-label {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.3rem;
}

.team-section {
  max-width: 700px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.team-section h2 {
  font-size: 1.4rem;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  text-align: center;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-list li {
  font-size: 0.95rem;
  color: #444;
  padding: 0.7rem 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #e94560;
}

/* ===== STAR RATING ===== */
.star-rating {
  display: flex;
  gap: 0.3rem;
  font-size: 2rem;
  cursor: pointer;
  margin-top: 0.3rem;
}

.star-rating span {
  color: #ddd;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
}

.star-rating span.hovered,
.star-rating span.selected {
  color: #f39c12;
}

.star-rating span:hover {
  transform: scale(1.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .hero h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links a { padding: 0.5rem 0.6rem; font-size: 0.85rem; }
  .form-container { margin: 1.5rem 1rem; }
}
