/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: linear-gradient(135deg, #e6f2ff 0%, #c8e6f5 100%);
  min-height: 100vh;
}

/* Header styles */
header {
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, #1e4a7a 0%, #2b7a9e 50%, #7cb342 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2d7fa5, #7cb342);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav a:hover {
  background: rgba(45, 127, 165, 0.1);
  color: #2d7fa5;
}

nav a:hover::after {
  width: 80%;
}

nav a.active {
  background: rgba(45, 127, 165, 0.15);
  color: #2d7fa5;
  font-weight: 600;
}

nav a.active::after {
  width: 80%;
  background: linear-gradient(90deg, #1e3a5f, #2d7fa5);
}

nav a.cta {
  background: linear-gradient(135deg, #2d7fa5, #1e3a5f);
  color: white;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 4px 12px rgba(45, 127, 165, 0.3);
}

nav a.cta:hover {
  background: linear-gradient(135deg, #3ba8c9, #2d7fa5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 127, 165, 0.4);
}

nav a.cta::after {
  display: none;
}

/* Forms Container */
.forms-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Forms Header */
.forms-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInDown 1s ease;
}

/* Jump to Past Workshops Button */
.jump-to-past {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #7cb342, #689f38);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.jump-to-past::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.jump-to-past:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
  background: linear-gradient(135deg, #8bc34a, #7cb342);
}

.jump-to-past:hover::before {
  left: 100%;
}

.jump-to-past:active {
  transform: translateY(-1px);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.forms-header h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d7fa5 50%, #7cb342 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.forms-header p {
  font-size: 1.3rem;
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto;
}

/* Forms Grid */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Form Card */
.form-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(230, 242, 255, 0.95)
  );
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(45, 127, 165, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card:nth-child(1) {
  animation-delay: 0.1s;
}
.form-card:nth-child(2) {
  animation-delay: 0.2s;
}
.form-card:nth-child(3) {
  animation-delay: 0.3s;
}
.form-card:nth-child(4) {
  animation-delay: 0.4s;
}
.form-card:nth-child(5) {
  animation-delay: 0.5s;
}
.form-card:nth-child(6) {
  animation-delay: 0.6s;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(45, 127, 165, 0.05),
    rgba(124, 179, 66, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.form-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(45, 127, 165, 0.3);
}

.form-card:hover::before {
  opacity: 1;
}

/* Form Icon */
.form-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Form Card Content */
.form-card h3 {
  font-size: 1.8rem;
  color: #1e3a5f;
  margin-bottom: 1rem;
  font-weight: 700;
}

.form-card p {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Form Meta Info */
.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-status {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-status.open {
  background: linear-gradient(135deg, #7cb342, #8bc34a);
  color: white;
  box-shadow: 0 2px 8px rgba(124, 179, 66, 0.3);
}

.form-status.closed {
  background: linear-gradient(135deg, #9e9e9e, #bdbdbd);
  color: white;
  box-shadow: 0 2px 8px rgba(158, 158, 158, 0.3);
}

.form-status.past {
  background: linear-gradient(135deg, #718096, #a0aec0);
  color: white;
  box-shadow: 0 2px 8px rgba(113, 128, 150, 0.3);
}

.form-date {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
}

/* Form Button */
.form-button {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2d7fa5, #1e3a5f);
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 127, 165, 0.3);
  position: relative;
  overflow: hidden;
}

.form-button::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 ease;
}

.form-button:hover::before {
  left: 100%;
}

.form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 127, 165, 0.4);
}

.form-button:active {
  transform: translateY(0);
}

.form-button.disabled {
  background: linear-gradient(135deg, #9e9e9e, #757575);
  cursor: not-allowed;
  box-shadow: 0 4px 15px rgba(158, 158, 158, 0.2);
}

.form-button.disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(158, 158, 158, 0.2);
}

.form-button.disabled::before {
  display: none;
}

/* Section Title */
.section-title {
  font-size: 2.2rem;
  color: #1e3a5f;
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
}

/* Forms Info Section */
.forms-info {
  margin-top: 4rem;
  animation: fadeIn 1s ease 0.7s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.info-box {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(230, 242, 255, 0.95)
  );
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(45, 127, 165, 0.2);
}

.info-box h3 {
  font-size: 1.8rem;
  color: #1e3a5f;
  margin-bottom: 1rem;
}

.info-box p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.8;
}

.info-box a {
  color: #2d7fa5;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-box a:hover {
  color: #1e3a5f;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .forms-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .forms-container {
    padding: 3rem 1.5rem;
  }

  .forms-header h1 {
    font-size: 2.5rem;
  }

  .forms-header p {
    font-size: 1.1rem;
  }

  .jump-to-past {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .forms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-card {
    padding: 2rem;
  }

  .form-card h3 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }

  .logo-image {
    width: 38px;
    height: 38px;
  }

  .logo span {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem 1.5rem;
  }

  .forms-header h1 {
    font-size: 2rem;
  }

  .jump-to-past {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .form-icon {
    font-size: 3rem;
  }

  .info-box {
    padding: 1.5rem;
  }

  .info-box h3 {
    font-size: 1.5rem;
  }

  .info-box p {
    font-size: 1rem;
  }

  .logo-image {
    width: 32px;
    height: 32px;
  }

  .logo span {
    font-size: 1.3rem;
  }
}
/* Seats Info Styling */
.seats-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(124, 179, 66, 0.1),
    rgba(45, 127, 165, 0.1)
  );
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid rgba(45, 127, 165, 0.2);
}

.seats-icon {
  font-size: 1.3rem;
}

.seats-text {
  font-size: 1rem;
  color: #2d3748;
  font-weight: 500;
}

.seats-count {
  color: #2d7fa5;
  font-size: 1.1rem;
  font-weight: 700;
}

.seats-count.low {
  color: #ff6b6b;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Seats info for closed workshops */
.form-card .form-status.closed ~ .seats-info {
  opacity: 0.6;
}
/* Floating Navigation Menu */
.floating-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  transition: opacity 0.3s ease;
  opacity: 1;
  pointer-events: all;
}

.floating-nav.scrolling {
  opacity: 0.5;
}

/* Navigation Dot */
.nav-dot {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(230, 242, 255, 0.98)
  );
  border: 3px solid rgba(45, 127, 165, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.nav-dot:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(45, 127, 165, 0.25);
  border-color: rgba(45, 127, 165, 0.4);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(240, 248, 255, 1)
  );
}

.nav-dot.active {
  background: linear-gradient(135deg, #2d7fa5, #1e3a5f);
  border-color: #2d7fa5;
  box-shadow: 0 8px 25px rgba(45, 127, 165, 0.4);
  transform: scale(1.05);
}

.nav-dot.active .nav-icon {
  filter: brightness(0) invert(1);
}

.nav-dot.active .nav-label {
  color: white;
}

.nav-dot.clicked {
  transform: scale(0.95);
}

.nav-icon {
  font-size: 1.8rem;
  line-height: 1;
  transition: all 0.3s ease;
  margin-bottom: 0.1rem;
}

.nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #2d3748;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Tooltip effect on hover */
.nav-dot::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 1.2rem);
  background: linear-gradient(135deg, #1e3a5f, #2d7fa5);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  transform: translateX(10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.nav-dot:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Arrow pointer for tooltip */
.nav-dot::after {
  content: "";
  position: absolute;
  right: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: #1e3a5f;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-dot:hover::after {
  opacity: 1;
}

/* Responsive Styles for Floating Nav */
@media (max-width: 1024px) {
  .floating-nav {
    right: 1.5rem;
    gap: 1.3rem;
  }

  .nav-dot {
    width: 65px;
    height: 65px;
    padding: 0.4rem;
  }

  .nav-icon {
    font-size: 1.6rem;
  }

  .nav-label {
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .floating-nav {
    right: 1rem;
    gap: 1.2rem;
  }

  .nav-dot {
    width: 60px;
    height: 60px;
    padding: 0.35rem;
    border-width: 2px;
  }

  .nav-icon {
    font-size: 1.5rem;
  }

  .nav-label {
    font-size: 0.55rem;
  }

  /* Hide tooltips on mobile */
  .nav-dot::before,
  .nav-dot::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .floating-nav {
    right: 0.5rem;
    gap: 1rem;
  }

  .nav-dot {
    width: 55px;
    height: 55px;
    padding: 0.3rem;
  }

  .nav-icon {
    font-size: 1.4rem;
  }

  .nav-label {
    font-size: 0.5rem;
    letter-spacing: 0.2px;
  }
}

@media (max-width: 380px) {
  .floating-nav {
    right: 0.3rem;
    gap: 0.8rem;
  }

  .nav-dot {
    width: 50px;
    height: 50px;
    padding: 0.25rem;
  }

  .nav-icon {
    font-size: 1.3rem;
  }

  .nav-label {
    font-size: 0.45rem;
  }
}
