/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, #312c63, #221d4c);
  color: #333;
  scroll-behavior: smooth;
}

main section {
  background: #fff;
  color: #222;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 3rem auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

/* Typography */
h1, h2 {
  color: #312c63;
  text-align: center;
  margin-bottom: 1rem;
}

.subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Navbar */
.logo {
  height: 50px;
}

.navbar-nav .nav-link:hover {
  color: #312c63 !important;
}

/* Hero Image */
.hero-img {
  display: block;
  max-width: 100%;
  border-radius: 10px;
  margin: 1rem auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

/* Carousel */
.carousel-wrapper {
  max-width: 1125px;
  margin: 0 auto 3rem;
}

.carousel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.carousel-inner img {
  height: 400px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input,
textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

button {
  background-color: #312c63;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #221d4c;
}

/* Success popup */
#form-success {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-weight: bold;
  z-index: 1000;
}

#form-success.show {
  display: block;
}
