:root {
  --primary: #c2185b;
  --primary-dark: #a01548;
  --primary-light: #d81b60;
  --secondary: #e91e63;
  --light: #f5f7fa;
  --lighter: #eceff1;
  --dark: #263238;
  --darker: #1a1a1a;
  --white: #ffffff;
  --text-primary: #263238;
  --text-secondary: #546e7a;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --gradient-primary: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light);
  overflow-x: hidden;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--lighter);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.main-header {
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 15px var(--shadow);
  position: relative;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 10px var(--shadow);
}

.logo-content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.logo-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
}

.marquee-container {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.navbar {
  background: var(--white);
  box-shadow: 0 2px 15px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-item {
  position: relative;
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 25px 18px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 80%;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  box-shadow: 0 10px 30px var(--shadow);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--lighter);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--lighter);
  color: var(--primary);
  padding-left: 25px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(194, 24, 91, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.4);
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }

  .navbar {
    margin-bottom: 0;
  }

  .navbar-wrapper {
    justify-content: flex-end;
    height: 0;
    min-height: 0;
  }

  .navbar-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 2px 0 15px var(--shadow);
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-item {
    width: 100%;
  }

  .navbar-link {
    padding: 15px 20px;
    border-bottom: 1px solid var(--lighter);
    justify-content: flex-start;
  }

  .navbar-link::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--lighter);
    border-radius: 0;
    margin: 0;
  }

  .navbar-item.dropdown-active .dropdown-menu {
    max-height: 300px;
  }

  .dropdown-item {
    padding: 12px 20px 12px 40px;
  }
}

@media (max-width: 768px) {
  .logo-content h1 {
    font-size: 1.4rem;
  }

  .logo-content p {
    font-size: 0.9rem;
  }

  .logo img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .main-header {
    padding: 15px 0;
  }

  .logo {
    gap: 10px;
  }

  .logo img {
    width: 50px;
    height: 50px;
  }

  .logo-content h1 {
    font-size: 1.1rem;
  }

  .logo-content p {
    font-size: 0.8rem;
  }

  .navbar-menu {
    width: 280px;
  }

  .btn-primary-custom {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}
