:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  --navbar-background: rgba(255, 255, 255, 0.95);
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  z-index: 9999;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading.hidden {
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.navbar {
  background-color: var(--navbar-background);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar-icon {
  font-weight: bolder;
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-weight: bold;
  margin: 0px 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.section h1 {
  font-weight: bolder;
  font-size: 3rem;
  color: white;
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 1.5rem;
}

.section p {
  font-weight: 500;
  font-size: 1.25rem;
  color: white;
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 2rem;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
  content: "";
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  border-radius: 50%;
  animation: float 5s ease-in-out infinite;
}

.floating-elements::before {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 20%;
  animation-delay: -4s;
}

.floating-elements::after {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

.btn-custom {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease 0.4s both;
}

.btn-custom:hover {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-feature {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 2rem;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

.features {
  padding: 100px 0;
  width: 100%;
}

.features-content {
  text-align: center;
}

.features h1 {
  font-weight: bolder;
  font-size: 1.5rem;
  color: rgb(118 149 204);
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 1.5rem;
}

.features p {
  font-weight: 500;
  font-size: 1.25rem;
  color: rgb(141 154 179);
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 2rem;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .section h1 {
    font-size: 2rem;
  }

  .section p {
    font-size: 1rem;
  }
}

.count {
  background: var(--gradient);
}

.display-4 {
  font-weight: 700;
}

#basvuru-btn {
  background: var(--gradient);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease 0.4s both;
}

.text-about {
  font-weight: 500;
  font-size: 1.25rem;
  font-family: sans-serif;
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 2rem;
}

.about-title {
  font-weight: bolder;
  font-size: 3rem;
  font-family: sans-serif;
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 1.5rem;
}

.fas.fa-users {
  margin-top: 20px;
  font-size: 20rem;
  color: white;
  animation: heartPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  padding: 20px;
}

.container {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.container:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}

.contact-header h2 {
  font-size: 3rem;
  font-weight: 600;
  font-family: sans-serif;
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 1.5rem;
}

.contact-header::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 2px;
}

.contact-header {
  position: relative;
}

.contact-text {
  font-weight: 500;
  font-size: 1.25rem;
  font-family: sans-serif;
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 2rem;
}

.contact-form {
  font-weight: 500;
  font-size: 1.25rem;
  font-family: sans-serif;
  animation: fadeInUp 0.8s ease-out both;
  margin-bottom: 2rem;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 100%;
}

.contact-buton {
  background: var(--gradient);
  color: white;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease 0.4s both;
  padding: 5px 10px;
}

.contact-buton:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.contact-form input {
  padding: 10px;
}

.container.contact-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.container.contact-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background: var(--dark-color);
  color: white;
  text-align: center;
  font-weight: 500;
  font-size: 1.25rem;
  font-family: sans-serif;
  animation: fadeInUp 0.8s ease-out both;
  overflow: hidden;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--primary-color);
}
