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

:root {
  --primary-color: #ff6b00;
  --secondary-color: #ffa559;
  --background-color: #121212;
  --surface-color: #1e1e1e;
  --text-color: #f5f5f5;
  --text-muted: #a0a0a0;
  --accent-color: #3a86ff;
  --nav-height: 70px;
  --nav-background: rgba(18, 18, 18, 0.6);
  --border-radius: 12px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Body Styles */
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--nav-background);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 2rem;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar:hover {
  background-color: rgba(40, 40, 40, 0.8);
  backdrop-filter: blur(20px);
}

.navbar.scrolled {
  background: rgba(18, 18, 18, 0.9);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  padding: 3px;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05) rotate(5deg);
  border-color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.menu {
  display: flex;
  align-items: center;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu ul li {
  position: relative;
}

.menu ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 5px;
}

.menu ul li a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 107, 0, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-color);
  transition: var(--transition-smooth);
}

/* Dropdown Content Styles */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--surface-color);
  padding: 15px;
  border-radius: 8px;
  min-width: 250px;
  z-index: 100;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  top: 100%;
  left: 0;
  margin-top: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid var(--primary-color);
  opacity: 0;
  transform: translateY(-10px);
}

.menu ul li:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.3s ease-in;
}

.dropdown-content p {
  color: var(--text-muted);
  margin: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.dropdown-content a {
  color: var(--primary-color) !important;
  text-decoration: none;
}

.dropdown-content a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: var(--nav-height);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB4PSIwIiB5PSIwIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIGZpbGw9IiNGRjZCMDAiIG9wYWNpdHk9IjAuMDUiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=");
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

h1 span {
  display: block;
  font-size: 2rem;
  opacity: 0.8;
}

.description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 1.5rem auto;
  max-width: 800px;
  padding: 0 1.5rem;
  color: var(--text-muted);
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 15px 5px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn img {
  margin-right: 10px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.4);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  z-index: -1;
  transition: var(--transition-smooth);
  opacity: 0;
}

.btn:hover::before {
  opacity: 1;
}

/* Features Section */
.features {
  padding: 80px 0;
  animation: fadeIn 1s ease-out;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.info-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 1.5rem auto;
  max-width: 800px;
  padding: 0 1.5rem;
  color: var(--text-muted);
  text-align: center;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--surface-color);
  border-radius: 15px;
  margin: 30px 0;
  animation: fadeIn 1s ease-out;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background-color: var(--background-color);
  border-radius: 10px;
  padding: 25px;
  width: 280px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-origin: center;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: all 0.3s ease;
}

.service-card:hover::before {
  top: 0;
}

.service-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-logo {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Instructions Section */
.instructions {
  padding: 80px 0;
  animation: fadeIn 1s ease-out;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.step:hover {
  background-color: var(--background-color);
  transform: translateX(5px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  border-radius: 50%;
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Action Section */
.action {
  text-align: center;
  padding: 80px 0;
  background: radial-gradient(circle at center, #252525, #121212);
  border-radius: 15px;
  margin: 30px 0;
  animation: fadeIn 1s ease-out;
}

.action-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.service-btn {
  background-color: var(--surface-color);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 15px 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-btn:hover {
  background-color: rgba(255, 107, 0, 0.1);
  transform: scale(1.05);
}

.service-btn img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px;
  background-color: var(--surface-color);
  color: var(--text-muted);
  margin-top: 50px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}

.footer p {
  margin: 10px 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .navbar {
    padding: 0 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--nav-background);
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    transition: var(--transition-smooth);
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .menu.active {
    right: 0;
  }

  .menu ul {
    flex-direction: column;
    gap: 2rem;
  }

  .menu ul li {
    width: 100%;
  }

  .menu ul li a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
  }

  .dropdown-content {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
  }

  h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  h1 span {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .services-container {
    gap: 20px;
  }

  .service-card {
    width: 100%;
    max-width: 280px;
  }

  /* Hamburger Animation */
  .menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(8px, 8px);
  }

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

  .menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

@media (max-width: 480px) {
  .navbar {
    border-radius: 0;
    margin: 0;
  }

  .hero,
  .services,
  .action {
    border-radius: 0;
  }

  .service-btn {
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode adjustments */
@media (forced-colors: active) {
  .btn,
  .service-card,
  .step,
  .dropdown-content {
    border: 2px solid currentColor;
  }
}

