:root {
  --primary: #923ca9;
  --primary-dark: #6d2c80;
  --secondary: #f5e9fa;
  --text: #333;
  --white: #fff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

.container {
  width: 90%;
  margin: auto;
}

/* TOPBAR */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.top-left span {
  margin-right: 20px;
}

.top-right a {
  color: #fff;
  margin-left: 10px;
  text-decoration: none;
}

/* MAIN HEADER */
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

/* LOGO */
.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

/* NAV */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 15px;
  color: #333;
}

.dropdown-menu li a:hover {
  background: var(--primary);
  color: #fff;
}

/* HOVER EFFECT */
@media(min-width: 768px){
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* CTA BUTTON */
.btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: var(--primary-dark);
}

/* MOBILE */
@media(max-width:768px){

  .nav-menu {
    flex-direction: column;
    display: none;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
  }

  .nav-menu.active {
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}



/* FOOTER ---------------------------- */


/* FOOTER MAIN */
.footer {
  background: linear-gradient(135deg, #923ca9, #6d2c80);
  color: #fff;
  padding: 70px 0 20px;
  position: relative;
  overflow: hidden;
}

/* GLOW EFFECT */
.footer::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  filter: blur(100px);
  top: -100px;
  left: -100px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
}

/* LOGO */
.footer-logo {
  font-size: 26px;
  margin-bottom: 15px;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  opacity: 0.9;
}

/* LINKS */
.footer-col h3 {
  margin-bottom: 15px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -5px;
}

/* LINK STYLE */
.footer-col ul li {
  margin: 10px 0;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 8px;
}

/* SOCIAL ICONS */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.1);
  transition: 0.4s;
}

/* ICON COLORS */
.fb:hover { background: #1877f2; transform: translateY(-5px) scale(1.1); }
.ig:hover { background: #e1306c; transform: translateY(-5px) scale(1.1); }
.li:hover { background: #0077b5; transform: translateY(-5px) scale(1.1); }
.yt:hover { background: #ff0000; transform: translateY(-5px) scale(1.1); }

/* BOTTOM */
.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
}

/* BOTTOM LINKS */
.footer-links a {
  color: #ddd;
  margin-left: 15px;
}

.footer-links a:hover {
  color: #fff;
}

/* SCROLL TOP BUTTON */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  border: none;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

#scrollTop:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

/* RESPONSIVE */
@media(max-width:992px){
  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:576px){
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}