@font-face {
  font-family: 'myFont';
  src: url('../fonts/Yekan.ttf');
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'myFont';
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* background-image: url('../images/18129294.jpg'); */
  /* background: #EEAECA;
background: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);  background-size: cover; */
  /* https://grabient.com/HQRhHYBoWAGBOAHJYAmVIVlipnSwDMKArACxQH4mxm4moqEiPCIgBsQA?angle=135 */

background: linear-gradient(
  135deg,
  #16a34a 0%,
  #15803d 20%,
  #166534 40%,
  #14532d 60%,
  #052e16 80%,
  #02130a 100%
);  background-position: center;
  background-attachment: fixed;
  margin: 0;
}

.main-content {
  flex: 1;
  /* این باعث میشه محتوا فضای باقی‌مانده رو پر کنه */
}

/* overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* Glass */
.glass {
  background: #0f172a;
  /* 👈 سورمه‌ای تیره مدرن */
  border-bottom: 1px solid rgba(0, 255, 213, 0.2);
  box-shadow: 0 5px 20px rgba(0, 255, 213, 0.15);
}

/* Navbar */
.navbar {
  padding: 16px 0;

  border-radius: 0 0 10px 10px;
}


.navbar-brand {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #00ffd5 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-brand::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffd5, #00d4ff);
  transition: width 0.4s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-brand img {
  border-radius: 50%;
  margin-left: 10px;
  border: 3px solid #00ffd5;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(0, 255, 213, 0.4);
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.4);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.7);
  }
}



.nav-link {
  color: white !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 16px !important;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffd5, #00d4ff);
  transition: width 0.4s ease;
}

.nav-link:hover {
  color: #00ffd5 !important;
  transform: translateY(-3px);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link.active {
  color: #00ffd5 !important;
}

.nav-link.active::before {
  width: 80%;
}

/* Login Button */
.login-btn {
  background: linear-gradient(135deg, #00ffd5 0%, #00d4ff 100%);
  color: black;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 255, 213, 0.3);
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.login-btn:hover {
  background: linear-gradient(135deg, #00d4ff 0%, #00ffd5 100%);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 213, 0.5);
}

.login-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Force body and html to take full height */
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Main content grows to fill available space */
main.container {
  flex: 1;
}

footer {
  color: white;
  margin-top: auto;
  animation: fadeIn 1.5s ease-out;
  transition: all 0.3s ease;
}