﻿/* =========================================
   MINDORA
   Global Theme
========================================= */

:root {
  --mindora-bg: #03120e;
  --mindora-bg-2: #061b14;

  --mindora-card: rgba(7, 31, 23, 0.72);
  --mindora-card-light: rgba(12, 48, 34, 0.7);

  --mindora-green: #73d13d;
  --mindora-green-light: #a6f26c;
  --mindora-green-dark: #267d35;

  --mindora-border: rgba(115, 209, 61, 0.22);
  --mindora-border-light: rgba(166, 242, 108, 0.38);

  --mindora-text: #f1f8ed;
  --mindora-text-muted: #9aafa3;

  --mindora-radius: 20px;

  --mindora-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --mindora-glow: 0 0 30px rgba(115, 209, 61, 0.18);
}

/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "Vazirmatn", sans-serif;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(54, 133, 53, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(20, 100, 64, 0.14),
      transparent 30%
    ),
    linear-gradient(135deg, #020b08 0%, #03140e 50%, #02100b 100%);

  color: var(--mindora-text);

  min-height: 100vh;

  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}

::selection {
  background: rgba(115, 209, 61, 0.35);
  color: white;
}

/* =========================================
   MAGICAL BACKGROUND
========================================= */

.mindora-background {
  position: fixed;

  inset: 0;

  z-index: -1;

  pointer-events: none;

  overflow: hidden;

  contain: strict;

  transform: translateZ(0);
}

/* Glows */

.glow {
  position: absolute;

  width: 450px;
  height: 450px;

  border-radius: 50%;

  opacity: 0.12;
}

.glow-1 {
  background: radial-gradient(circle, rgba(76, 175, 80, 0.8), transparent 68%);

  top: -200px;
  right: -100px;
}

.glow-2 {
  background: radial-gradient(circle, rgba(0, 168, 107, 0.8), transparent 68%);

  bottom: -250px;
  left: -100px;
}

.glow-3 {
  background: radial-gradient(
    circle,
    rgba(139, 195, 74, 0.65),
    transparent 68%
  );

  top: 40%;
  left: 45%;

  width: 250px;
  height: 250px;

  opacity: 0.05;
}

/* =========================================
   STARS
========================================= */

.magic-star {
  position: absolute;

  color: rgba(151, 255, 101, 0.5);

  font-size: 18px;

  animation: magicFloat 5s ease-in-out infinite;
}

.star-1 {
  top: 18%;
  right: 14%;
}

.star-2 {
  top: 35%;
  right: 75%;

  animation-delay: 1s;
}

.star-3 {
  top: 65%;
  right: 28%;

  animation-delay: 2s;
}

.star-4 {
  top: 78%;
  right: 85%;

  animation-delay: 3s;
}

.star-5 {
  top: 48%;
  right: 52%;

  animation-delay: 4s;
}

@keyframes magicFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-15px) scale(1.3);
    opacity: 0.9;
  }
}

/* =========================================
   FLOATING ORBS
========================================= */

.floating-orb {
  position: absolute;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--mindora-green-light);

  box-shadow:
    0 0 10px var(--mindora-green),
    0 0 25px var(--mindora-green);

  animation: orbMove 10s linear infinite;
}

.orb-1 {
  top: 20%;
  left: 20%;
}

.orb-2 {
  top: 70%;
  left: 65%;

  animation-delay: 3s;
}

.orb-3 {
  top: 45%;
  left: 80%;

  animation-delay: 6s;
}

@keyframes orbMove {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  50% {
    transform: translate(80px, -100px);
  }

  85% {
    opacity: 0.8;
  }

  100% {
    transform: translate(150px, -200px);
    opacity: 0;
  }
}

/* =========================================
   HEADER
========================================= */

.mindora-header {
  position: sticky;

  top: 0;

  z-index: 1000;

  background: linear-gradient(
    180deg,
    rgba(2, 15, 11, 0.95),
    rgba(2, 15, 11, 0.72)
  );

  background-color: rgba(2, 15, 11, 0.94);

  border-bottom: 1px solid rgba(115, 209, 61, 0.08);
}

.is-scrolling .mindora-background *,
.is-scrolling .about-hero-art *,
.is-scrolling .resume-stars *,
.is-scrolling .resume-orb {
  animation-play-state: paused !important;
}

.mindora-navbar {
  min-height: 78px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;
}

/* =========================================
   LOGO
========================================= */

.mindora-logo {
  display: flex;

  align-items: center;

  gap: 10px;

  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 13px;

  color: var(--mindora-green-light);

  background: radial-gradient(
    circle,
    rgba(115, 209, 61, 0.25),
    rgba(10, 45, 28, 0.8)
  );

  border: 1px solid var(--mindora-border-light);

  box-shadow: 0 0 25px rgba(115, 209, 61, 0.12);
}

.logo-icon i {
  font-size: 21px;
}

.logo-text {
  font-size: 24px;

  font-weight: 800;

  letter-spacing: -0.5px;

  background: linear-gradient(135deg, #ffffff, #a8f26f);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================
   NAVIGATION
========================================= */

.mindora-nav-links {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 5px;

  flex: 1;
}

.nav-link-mindora {
  position: relative;

  padding: 10px 13px;

  border-radius: 10px;

  color: #9db1a6;

  font-size: 13px;

  transition: 0.3s ease;
}

.nav-link-mindora i {
  margin-left: 5px;

  font-size: 13px;
}

.nav-link-mindora:hover,
.nav-link-mindora.active {
  color: var(--mindora-green-light);

  background: rgba(115, 209, 61, 0.07);
}

.nav-link-mindora.active::after {
  content: "";

  position: absolute;

  bottom: 1px;

  right: 25%;

  width: 50%;

  height: 2px;

  border-radius: 10px;

  background: var(--mindora-green);
}

/* =========================================
   NAVBAR ACTIONS
========================================= */

.mindora-navbar-actions {
  display: flex;

  align-items: center;

  gap: 8px;
}

.navbar-icon-button {
  width: 38px;
  height: 38px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  line-height: 1;

  border-radius: 11px;

  border: 1px solid transparent;

  color: #9eb2a6;

  background: transparent;

  transition: 0.3s;

  position: relative;
}

.navbar-icon-button:hover {
  color: var(--mindora-green-light);

  background: rgba(115, 209, 61, 0.08);

  border-color: var(--mindora-border);
}

.notification-dot {
  position: absolute;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--mindora-green);

  top: 7px;
  right: 7px;

  box-shadow: 0 0 10px var(--mindora-green);
}

/* =========================================
   LOGIN BUTTON
========================================= */

.login-button {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 9px 14px;

  border-radius: 11px;

  color: #b9c8bf;

  font-size: 13px;

  border: 1px solid rgba(115, 209, 61, 0.12);

  transition: 0.3s;
}

.login-button:hover {
  color: white;

  border-color: var(--mindora-border-light);

  background: rgba(115, 209, 61, 0.06);
}

/* =========================================
   REGISTER BUTTON
========================================= */

.register-button {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 10px 17px;

  border-radius: 12px;

  color: #061309;

  font-size: 13px;

  font-weight: 700;

  background: linear-gradient(135deg, #a4ef65, #54b83d);

  box-shadow: 0 5px 25px rgba(84, 184, 61, 0.18);

  transition: 0.3s;
}

.register-button:hover {
  color: #031007;

  transform: translateY(-2px);

  box-shadow: 0 8px 30px rgba(84, 184, 61, 0.3);
}

/* =========================================
   MOBILE MENU BUTTON
========================================= */

.mobile-menu-button {
  display: none;

  width: 40px;
  height: 40px;

  border-radius: 11px;

  border: 1px solid var(--mindora-border);

  color: var(--mindora-green-light);

  background: rgba(115, 209, 61, 0.05);

  font-size: 21px;
}

/* =========================================
   MAIN
========================================= */

.mindora-main {
  min-height: 70vh;

  position: relative;
}

/* =========================================
   FOOTER
========================================= */

.mindora-footer {
  position: relative;

  margin-top: 100px;

  padding: 70px 0 0;

  background: linear-gradient(180deg, rgba(3, 18, 14, 0), rgba(2, 12, 9, 0.95));

  border-top: 1px solid rgba(115, 209, 61, 0.08);
}

.mindora-footer::before {
  content: "";

  position: absolute;

  top: 0;
  left: 20%;

  width: 60%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(115, 209, 61, 0.5),
    transparent
  );
}

.footer-top {
  display: grid;

  grid-template-columns:
    1.5fr
    1fr
    1fr
    1fr
    1.5fr;

  gap: 40px;

  padding-bottom: 60px;
}

.footer-brand {
  max-width: 330px;
}

.footer-brand p {
  color: var(--mindora-text-muted);

  font-size: 13px;

  line-height: 2;

  margin-top: 18px;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.footer-column h5,
.footer-newsletter h5 {
  color: #eef9e9;

  font-size: 15px;

  margin-bottom: 10px;

  font-weight: 700;
}

.footer-column a {
  color: #82998d;

  font-size: 12px;

  transition: 0.3s;
}

.footer-column a:hover {
  color: var(--mindora-green-light);

  transform: translateX(-4px);
}

.footer-newsletter p {
  color: var(--mindora-text-muted);

  font-size: 12px;

  line-height: 1.9;
}

/* =========================================
   SOCIALS
========================================= */

.footer-socials {
  display: flex;

  gap: 8px;

  margin-top: 20px;
}

.footer-socials a {
  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 11px;

  border: 1px solid var(--mindora-border);

  color: #9caf9f;

  background: rgba(115, 209, 61, 0.03);

  transition: 0.3s;
}

.footer-socials a:hover {
  color: var(--mindora-green-light);

  border-color: var(--mindora-border-light);

  background: rgba(115, 209, 61, 0.1);

  transform: translateY(-3px);
}

/* =========================================
   NEWSLETTER
========================================= */

.newsletter-form {
  display: flex;

  padding: 5px;

  border-radius: 13px;

  border: 1px solid var(--mindora-border);

  background: rgba(0, 20, 13, 0.6);

  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;

  min-width: 0;

  border: none;

  outline: none;

  background: transparent;

  color: white;

  padding: 9px 10px;

  font-size: 12px;
}

.newsletter-form input::placeholder {
  color: #61776c;
}

.newsletter-form button {
  width: 38px;
  height: 38px;

  border: none;

  border-radius: 9px;

  background: linear-gradient(135deg, #88dd4e, #3c9d39);

  color: #051008;

  cursor: pointer;

  transition: 0.3s;
}

.newsletter-form button:hover {
  transform: translateX(-2px);

  box-shadow: 0 0 20px rgba(115, 209, 61, 0.25);
}

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
  min-height: 65px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  border-top: 1px solid rgba(115, 209, 61, 0.08);

  color: #536960;

  font-size: 11px;
}

/* =========================================
   MOBILE OFFCANVAS
========================================= */

.mindora-mobile-menu {
  width: 300px !important;

  background: linear-gradient(160deg, #061b13, #020d09);

  border-left: 1px solid var(--mindora-border);
}

.mindora-mobile-menu .offcanvas-header {
  padding: 25px;
}

.mindora-mobile-menu .offcanvas-body {
  padding: 15px 25px;
}

.mindora-mobile-menu .offcanvas-body > a {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px 12px;

  margin-bottom: 5px;

  border-radius: 12px;

  color: #a4b8ad;

  font-size: 14px;

  transition: 0.3s;
}

.mindora-mobile-menu .offcanvas-body > a:hover {
  color: var(--mindora-green-light);

  background: rgba(115, 209, 61, 0.08);
}

.mindora-mobile-menu hr {
  border-color: rgba(115, 209, 61, 0.1);

  margin: 15px 0;
}

.mobile-register {
  color: #071209 !important;

  justify-content: center;

  font-weight: 700;

  background: linear-gradient(135deg, #a4ef65, #54b83d);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {
  .mindora-nav-links {
    gap: 0;
  }

  .nav-link-mindora {
    padding: 9px 8px;

    font-size: 12px;
  }

  .footer-top {
    grid-template-columns:
      1.5fr
      1fr
      1fr
      1.5fr;
  }

  .footer-newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .mindora-nav-links {
    display: none;
  }

  .login-button,
  .register-button {
    display: none;
  }

  .mobile-menu-button {
    display: flex;

    align-items: center;
    justify-content: center;
  }

  .mindora-navbar {
    min-height: 70px;
  }

  .footer-top {
    grid-template-columns:
      1fr
      1fr
      1fr;
  }

  .footer-brand {
    grid-column: span 3;

    max-width: 600px;
  }

  .footer-newsletter {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .navbar-icon-button {
    display: none;
  }

  .logo-text {
    font-size: 21px;
  }

  .logo-icon {
    width: 37px;
    height: 37px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;

    gap: 30px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-newsletter {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;

    justify-content: center;

    padding: 20px 0;

    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: span 1;
  }

  .mindora-mobile-menu {
    width: 85% !important;
  }
}
