body {
  font-family: 'Tajawal', sans-serif;
  background-color: #091a3b;
  scroll-behavior: smooth;
}

/* Navigation styles */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  right: 0;
  background-color: #7eb8ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Hamburger animation */
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu text hover */
.mobile-menu-link:hover {
  color: #a5d8ff !important;
  background-color: transparent !important;
}

/* Floating nav effect */
.floating-nav {
  transition: all 0.3s ease;
}

.floating-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

/* Vibrant Blue Text */
.hero-blue-text {
  color: #4980f6;
  text-shadow: 0 0 10px rgba(6, 117, 245, 0.4);
  transition: all 0.3s ease;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #091a3b 0%, #103584 50%, #4980f6 100%);
}

/* Register button */
.register-btn {
  transition: all 0.3s ease;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.6);
}

/* Main content */
.main-content {
  background-color: #f8fafc;
  border-radius: 30px 30px 0 0;
  margin-top: -20px;
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}

/* Section cards */
.section-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(16, 53, 132, 0.1);
  padding: 2.5rem;
  margin: 0 auto 2rem;
  max-width: 1200px;
  border: 1px solid #e6f0ff;
  transition: all 0.3s ease;
}

.section-title {
  color: #103584;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 50px;
  height: 3px;
  background: #3b82f6;
}

/* Hero transition curve */
.hero-transition::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -80px;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(9, 26, 59, 0) 0%,
      rgba(225, 232, 248, 0.55) 60%,
      #f8fafc 100%);
  border-bottom-left-radius: 40% 40px;
  border-bottom-right-radius: 40% 40px;
  z-index: 1;
}

/* Navbar scrolled state */
.navbar-scrolled {
  background-color: #f0f5ff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
}

.navbar-scrolled .nav-link {
  color: #103584 !important;
}

.navbar-scrolled .nav-link:hover {
  color: #ff7b00 !important;
}

.navbar-scrolled .nav-link::after {
  background-color: #ff7b00 !important;
}

/* Day buttons */
.day-btn {
  width: 5.5rem;
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  border: 3px solid #3b82f6;
  font-size: 1.75rem;
  font-weight: bold;
  color: #103584;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.day-btn:hover {
  border-color: #ff7b00;
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.day-btn.active {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
  transform: translateY(-5px);
}

/* FAQ items */
.faq-item {
  border-right: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  display: block;
}

/* Feature cards */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Form inputs */
.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Success message */
.success-check {
  animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll indicator */
.scroll-indicator {
  animation: bounce 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .day-btn {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.5rem;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Loading spinner */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



.rotate-180 {
  transform: rotate(180deg);
}

.faq-answer {
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(59, 130, 246, 0.05);
}


/* Flip animation for timer numbers */
.animate-flip {
  animation: flip 0.5s ease;
  transform-style: preserve-3d;
}

@keyframes flip {
  0% {
    transform: rotateX(0deg);
  }

  50% {
    transform: rotateX(90deg);
  }

  100% {
    transform: rotateX(0deg);
  }
}

/* Timer block styling */
.bg-red-800 {
  background-color: #991b1b;
  position: relative;
  overflow: hidden;
}

.bg-red-800::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background-color: rgba(0, 0, 0, 0.2);
}