:root {
  --primary-bg: #242c37;
  --secondary-bg: #434d5b;
  --accent-color: gold;
  --text-color: #ffffff;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  --gradient: linear-gradient(135deg, #242c37 0%, #434d5b 100%);
  --glow: 0 0 20px rgba(255, 215, 0, 0.3);
}

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

@font-face {
  font-family: "Yekan";
  src: url("Yekan.ttf") format("truetype");
}
#copyright {
  font-family: arial;
}

body {
  background: var(--gradient);
  color: var(--text-color);
  font-family: "Yekan", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar Styles */
nav {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1f28 0%, #2a3441 100%);
  width: auto;
  padding: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 5px;
  box-shadow: 0px 5px 15px rgb(0, 0, 0);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  ul {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    li {
      width: auto;
      height: auto;
      list-style: none;
      display: flex;
      justify-content: center;
      align-items: center;
      .navigation-tabs {
        text-shadow: 0px 0px 15px rgb(0, 0, 0);
        width: auto;
        height: auto;
        margin-left: 15px;
        margin-right: 20px;
        text-decoration: none;
        color: white;
        font-family: "Yekan";
        font-size: 16px;
        margin-top: 10px;

        &:hover {
          color: rgb(0, 255, 76);
          cursor: pointer;
        }
      }
    }
  }
}

.logo {
  width: 150px;
  height: 75px;
  margin-left: 10px;
  order: 1;
}

/* Particles background for hero */
#particles-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #232733 0%, #434d5b 100%);
  position: relative;
  padding: 0 10px;
  overflow: hidden;
}

.hero-content {
  width: 100%;
  max-width: 500px;
  margin: 100px auto auto auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1f28 0%, #2a3441 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18),
    0 0 0 1.5px rgba(255, 255, 255, 0.08) inset;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px) scale(1.01);
  }
  100% {
    transform: translateY(0);
  }
}

.logo-hero {
  width: 150px;
  height: 75px;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.15));
  animation: logoPulse 2.5s infinite alternate;
}

@keyframes logoPulse {
  0% {
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.15));
  }
  100% {
    filter: drop-shadow(0 4px 24px rgba(255, 215, 0, 0.25));
  }
}

.hero-title {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 0.7rem;
  text-align: center;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.hero-btn {
  background: var(--accent-color);
  color: #232733;
  width: 300px;
  font-size: 1.1rem;
  font-family: "Yekan";
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}

.hero-btn:hover {
  background: #00ff4c;
  color: black;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 680px) {
  .hero-content {
    margin-top: 100px;
    max-height: 600px;
    max-width: 98vw;
    margin-bottom: 10px;
    height: 100vh;
    padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    border-radius: 12px;
  }
  .logo-hero {
    width: 150px;
    height: 75px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}

/* Slideshow Styles */
.slideshow-container {
  position: relative;
  width: 100vw;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: rgba(36, 44, 55, 0.7);
}

.slide {
  display: none;
  width: 100%;
  height: 220px;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.fade {
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  color: #fff;
  font-weight: bold;
  font-size: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  -webkit-user-select: none;
  user-select: none;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.prev:hover,
.next:hover {
  background: var(--accent-color);
  color: #242c37;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.dots-container {
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 12px;
  left: 0;
  z-index: 2;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
  border: 2px solid var(--accent-color);
}

.dot.active,
.dot:hover {
  background: var(--accent-color);
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .slideshow-container {
    max-width: 98vw;
    border-radius: 12px;
  }
  .slide img {
    border-radius: 12px;
    height: 160px;
  }
  .slide {
    height: 160px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    width: 150px;
  }

  .navigation-tabs {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 150px;
  }

  .navigation-tabs {
    font-size: 12px;
  }
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #1a1f28 0%, #2a3441 100%);
  padding: 2rem 1rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

#particles-footer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.3),
    transparent
  );
}

.footer-sections {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  position: relative;
}

#p1-footer {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

#email {
  color: var(--accent-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

#email:hover {
  color: #fff;
  text-shadow: var(--glow);
}

.seprator {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  margin: 1rem 0;
  width: 80%;
}

#certs img {
  transition: transform 0.3s ease;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  max-width: 100%;
}

#certs img:hover {
  transform: scale(1.05);
}

#dl-app {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
  width: 100%;
}

.footer-boxes {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-boxes:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.3);
}

.ligo {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-btn,
.footer-btn-1 {
  background: linear-gradient(135deg, #242c37 0%, #434d5b 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--accent-color);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0.5rem;
  font-family: "Yekan";
  width: 80%;
  max-width: 200px;
}

.footer-btn:hover,
.footer-btn-1:hover {
  background: var(--accent-color);
  color: #242c37;
  box-shadow: var(--glow);
}

#icons-app {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

#store-apple,
#store-google {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

#store-apple:hover,
#store-google:hover {
  transform: scale(1.05);
}

#copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-top: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Animation for footer boxes */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.footer-boxes {
  animation: float 3s ease-in-out infinite;
}
