/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background: #0a0a0a;
  color: #e8e8e8;
}

/* Navbar Styles */
.navbarr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(120, 37, 207, 0.2);
  padding: 1rem 0;
}

.navbarr::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 37, 207, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbarr.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
              0 0 60px rgba(120, 37, 207, 0.15);
  padding: 0.75rem 0;
  border-bottom-color: rgba(120, 37, 207, 0.3);
}

.navbarr.scrolled::before {
  opacity: 1;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles */
.logo-container {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.logo {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.logo img {
  display: block;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(120, 37, 207, 0.3));
  transition: all 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 0 20px rgba(120, 37, 207, 0.6));
  transform: scale(1.05);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-linkss {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(120, 37, 207, 0.2), rgba(163, 122, 217, 0.2));
  transition: left 0.3s ease;
  z-index: -1;
  border-radius: 10px;
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover {
  color: #fff;
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(120, 37, 207, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn-container {
  display: none;
}

.mobile-menu-btn {
  background: rgba(120, 37, 207, 0.1);
  border: 1px solid rgba(120, 37, 207, 0.3);
  color: #e2e8f0;
  cursor: pointer;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mobile-menu-btn:hover {
  background: rgba(120, 37, 207, 0.2);
  border-color: rgba(120, 37, 207, 0.5);
  box-shadow: 0 0 20px rgba(120, 37, 207, 0.3);
}

.mobile-menu-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 37, 207, 0.3);
}

.hamburger-icon {
  display: block;
  line-height: 1;
}

/* Mobile Menu Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(120, 37, 207, 0.3);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Mobile Menu Header */
.mobile-menu-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(120, 37, 207, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(120, 37, 207, 0.05);
}

.mobile-menu-title {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7825CF 0%, #a37ad9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
}

.close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  transform: rotate(90deg);
}

.close-icon {
  display: block;
  line-height: 1;
}

/* Mobile Navigation Links */
.mobile-nav-linkss {
  flex: 1;
  padding: 2rem;
}

.mobile-links-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(120, 37, 207, 0.2);
  background: rgba(120, 37, 207, 0.05);
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(135deg, #7825CF, #a37ad9);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.mobile-nav-link:hover::before {
  transform: scaleY(1);
}

.mobile-nav-link:hover {
  background: rgba(120, 37, 207, 0.15);
  color: #a37ad9;
  border-color: rgba(120, 37, 207, 0.4);
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(120, 37, 207, 0.2);
}

/* Mobile Social Section */
.mobile-social {
  padding: 2rem;
  border-top: 1px solid rgba(120, 37, 207, 0.2);
  background: rgba(120, 37, 207, 0.05);
}

.social-container {
  text-align: center;
}

.social-text {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(120, 37, 207, 0.1);
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(120, 37, 207, 0.3);
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover {
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(120, 37, 207, 0.4);
  border-color: transparent;
}

.social-icon.facebook:hover {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-icon.twitter:hover {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-icon.linkedin:hover {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-icon.instagram:hover {
  background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social-icon.youtube:hover {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn-container {
    display: block;
  }

  .mobile-menu {
    width: 100%;
    max-width: 320px;
  }

  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 120px;
  }

  .mobile-menu {
    width: 100%;
  }

  .mobile-menu-header {
    padding: 1.5rem;
  }

  .mobile-nav-linkss {
    padding: 1.5rem;
  }

  .mobile-social {
    padding: 1.5rem;
  }

  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7825CF, #a37ad9);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #9045e0, #b88ee6);
}

/* Mobile menu scrollbar */
.mobile-menu::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.5);
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: rgba(120, 37, 207, 0.5);
  border-radius: 3px;
}