* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #0e0017;
  color: #f5c8ff;
  transition: opacity 0.8s ease;
}

/* Header & Nav */
header {
  background-color: #32004f;
  padding: 1rem 2rem;
  border-bottom: 3px solid #ff3ccf;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.bottom-links {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
}

.bottom-links a {
  margin: 0 1rem;
  color: #ff5ebc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.bottom-links a:hover {
  color: #ffffff;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  height: 40px;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a, .nav-link {
  color: #ff5ebc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover, .nav-link:hover {
  color: #ffffff;
}

/* Hamburger Menu */
.nav-toggle {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  height: 4px;
  background-color: #ff5ebc;
  border-radius: 2px;
  transition: 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown Lists */
.nav-item {
  width: 100%;
}

.dropdown {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.dropdown.open {
  max-height: 200px;
  opacity: 1;
}

.dropdown li {
  padding: 0.3rem 0;
  color: #d999ff;
  font-size: 0.9rem;
}

.toggle-icon {
  font-size: 1.2rem;
  margin-left: auto;
  transition: transform 0.3s ease;
}

/* Main Content */
main {
  padding: 2rem 1rem;
  display: grid;
  gap: 2rem;
  max-width: 960px;
  margin: auto;
}

.card {
  background-color: #2c1044;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #ff48f250;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.main-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-card label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  margin-bottom: 1rem;
  background-color: #3b165d;
  color: white;
  transition: outline 0.3s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: 2px solid #ff5ebc;
}

button {
  background-color: #ff5ebc;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover {
  background-color: #d3469e;
  transform: scale(1.05);
}

/* Loader Spinner */
.loader {
  border: 3px solid #ffffff20;
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #c99ed8;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    width: 100%;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }
.social-card {
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.social-links a {
  color: #ff5ebc;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ffffff;
}
  nav.active {
    max-height: 500px;
    opacity: 1;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    margin-bottom: 0.5rem;
  }

  .logo {
    margin-bottom: 0.5rem;
  }

  main {
    padding: 1rem;
  }
}
