html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

main {
  padding-bottom: 2rem;
}

.footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

/* Fixed Navbar Styles */
body {
  padding-top: 80px !important;
}

.navbar {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1030 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.navbar.fixed-top {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 1030 !important;
}

/* Card Styles */
.border-dashed {
  border: 2px dashed #dee2e6 !important;
  background-color: #f8f9fa;
}

.card {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  border-color: #007bff;
}

.card-header {
  border-bottom: none;
  padding: 1rem 1.25rem;
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  border-top: none;
  background-color: transparent;
  padding: 1rem 1.25rem;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

/* Icon buttons */
.btn-sm {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.btn-sm:hover {
  transform: scale(1.1);
}

.btn-sm i {
  font-size: 0.8rem;
}

.btn-md:hover {
  transform: scale(1.1);
}

/* General button border-radius */
.btn {
  border-radius: 5px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-body {
    padding: 1rem;
  }

  .btn-sm {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Home Page Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 1.2s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 1.2s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 1.2s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-slide-in-top {
  animation: slideInFromTop 1s ease-out;
}

/* Staggered Animations */
.animate-delay-1 {
  animation-delay: 0.4s;
}

.animate-delay-2 {
  animation-delay: 0.8s;
}

.animate-delay-3 {
  animation-delay: 1.2s;
}

.animate-delay-4 {
  animation-delay: 1.6s;
}

/* Hover Effects */
.card-animate {
  transition: all 0.3s ease;
}

.card-animate:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.icon-animate {
  transition: all 0.3s ease;
}

.icon-animate:hover {
  transform: scale(1.2) rotate(5deg);
}

/* Process Step Animations */
.process-step {
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.process-step .fw-bold {
  transition: all 0.3s ease;
}

.process-step:hover .fw-bold {
  transform: scale(1.1);
  color: #007bff !important;
}

/* Contact Card Animations */
.contact-card {
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.contact-card i {
  transition: all 0.3s ease;
}

.contact-card:hover i {
  transform: scale(1.3);
  animation: bounce 1s infinite;
}

/* Announcement Card Animations */
.announcement-card {
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out forwards;
}

.announcement-card:nth-child(1) {
  animation-delay: 0.1s;
}

.announcement-card:nth-child(2) {
  animation-delay: 0.2s;
}

.announcement-card:nth-child(3) {
  animation-delay: 0.3s;
}

.announcement-card:nth-child(4) {
  animation-delay: 0.4s;
}

.announcement-card:nth-child(5) {
  animation-delay: 0.5s;
}

.announcement-card:nth-child(6) {
  animation-delay: 0.6s;
}

.announcement-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Button Animations */
.btn-animate {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-animate:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-animate:hover::before {
  left: 100%;
}

/* Section Headers */
.section-header {
  animation: slideInFromTop 0.8s ease-out;
}

.section-header i {
  animation: pulse 2s infinite;
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Scroll Reveal Animasyonları için Başlangıç ve Aktif Sınıflar */
.scroll-animate-init {
  opacity: 0 !important;
  animation-play-state: paused !important;
}

.scroll-animate-active {
  opacity: 1 !important;
  animation-play-state: running !important;
}

/* Yeni Animasyon Class'ları */
.announcement-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.process-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.hero-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.hero-item-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.hero-item-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.hero-item-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.process-item.animate-delay-1 {
  transition-delay: 0.1s;
}

.process-item.animate-delay-2 {
  transition-delay: 0.3s;
}

.process-item.animate-delay-3 {
  transition-delay: 0.5s;
}

.process-item.animate-delay-4 {
  transition-delay: 0.7s;
}

.contact-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.contact-item-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.contact-item-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.6s ease-out;
}

.contact-item-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.contact-item-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

/* Login ve Register Animasyonları - Kaldırıldı */
/* .login-item-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.login-item-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.login-item-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.register-item-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.register-item-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.register-item-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
} */

/* Dashboard Animasyonları */
.dashboard-title-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.stats-card-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.dashboard-card-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.dashboard-card-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.admin-title-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.admin-stats-card-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.admin-card-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.admin-card-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.admin-activity-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.admin-activity-center {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.admin-activity-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

/* Scroll ile görünce aktif hale getir */
.scroll-animate-active.announcement-item,
.scroll-animate-active.process-item,
.scroll-animate-active.hero-item,
.scroll-animate-active.hero-item-left,
.scroll-animate-active.hero-item-up,
.scroll-animate-active.hero-item-right,
.scroll-animate-active.contact-item,
.scroll-animate-active.contact-item-left,
.scroll-animate-active.contact-item-down,
.scroll-animate-active.contact-item-up,
.scroll-animate-active.contact-item-right,
/* .scroll-animate-active.login-item-up,
.scroll-animate-active.login-item-left,
.scroll-animate-active.login-item-right,
.scroll-animate-active.register-item-up,
.scroll-animate-active.register-item-left,
.scroll-animate-active.register-item-right, */
.scroll-animate-active.dashboard-title-up,
.scroll-animate-active.stats-card-up,
.scroll-animate-active.dashboard-card-left,
.scroll-animate-active.dashboard-card-right,
.scroll-animate-active.admin-title-up,
.scroll-animate-active.admin-stats-card-up,
.scroll-animate-active.admin-card-left,
.scroll-animate-active.admin-card-right,
.scroll-animate-active.admin-activity-left,
.scroll-animate-active.admin-activity-center,
.scroll-animate-active.admin-activity-right {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.scroll-animate-active.process-item {
  transform: translateX(0) !important;
}

.scroll-animate-active.hero-item {
  transform: translateX(0) !important;
}

.scroll-animate-active.hero-item-left {
  transform: translateX(0) !important;
}

.scroll-animate-active.hero-item-right {
  transform: translateX(0) !important;
}

.scroll-animate-active.contact-item-left {
  transform: translateX(0) !important;
}

.scroll-animate-active.contact-item-right {
  transform: translateX(0) !important;
}

/* .scroll-animate-active.login-item-left {
  transform: translateX(0) !important;
}

.scroll-animate-active.login-item-right {
  transform: translateX(0) !important;
}

.scroll-animate-active.register-item-left {
  transform: translateX(0) !important;
}

.scroll-animate-active.register-item-right {
  transform: translateX(0) !important;
} */

.scroll-animate-active.dashboard-card-left {
  transform: translateX(0) !important;
}

.scroll-animate-active.dashboard-card-right {
  transform: translateX(0) !important;
}

.scroll-animate-active.admin-card-left {
  transform: translateX(0) !important;
}

.scroll-animate-active.admin-card-right {
  transform: translateX(0) !important;
}

.scroll-animate-active.admin-activity-left {
  transform: translateX(0) !important;
}

.scroll-animate-active.admin-activity-right {
  transform: translateX(0) !important;
}