/* Training Calendar Specific Styles */

/* Filter Section */
.filter-section {
  padding: 40px 0;
  background: #f8f9fa;
}

.filter-bar {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.filter-bar h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #e0e0e0;
  background: white;
  color: #555;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #ffc451;
  color: #ffc451;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #ffc451;
  color: #151515;
  border-color: transparent;
}

/* Events Section */
.events-section {
  padding: 80px 0;
  background: #ffffff;
}

.events-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.events-subtitle {
  font-size: 18px;
  color: #7f8c8d;
}

/* Event Cards */
.event-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #ffc451;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.event-card:hover::before {
  transform: scaleX(1);
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Event Badges */
.event-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workshop-badge {
  background: #ffc451;
  color: #151515;
}

.certification-badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.bootcamp-badge {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.hackathon-badge {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

/* Event Date Box */
.event-date {
  margin-bottom: 20px;
}

.date-box {
  display: inline-block;
  text-align: center;
  padding: 15px 20px;
  background: #ffc451;
  border-radius: 12px;
  color: #151515;
}

.date-box .day {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.date-box .month {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.9;
}

/* Event Content */
.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
}

.event-content > p {
  color: #7f8c8d;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Event Details */
.event-details {
  margin: 20px 0;
  padding: 20px 0;
  border-top: 1px solid #ecf0f1;
  border-bottom: 1px solid #ecf0f1;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #555;
  font-size: 14px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item i {
  font-size: 16px;
  color: #ffc451;
  margin-right: 10px;
  width: 20px;
}

.detail-item span {
  font-weight: 500;
}

/* Event Footer */
.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
}

.event-price {
  font-size: 28px;
  font-weight: 700;
  color: #ffc451;
}

.register-btn {
  padding: 12px 28px;
  background: #ffc451;
  color: #151515;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 196, 81, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 81, 0.4);
  color: #151515;
}

/* Schedule Section */
.schedule-section {
  padding: 80px 0;
}

.schedule-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.schedule-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

/* Month Cards */
.month-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.month-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.month-card h4 {
  color: white;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.month-card h4 i {
  color: #ffc451;
  font-size: 24px;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-list li {
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  display: flex;
  align-items: center;
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-date {
  display: inline-block;
  background: rgba(255, 196, 81, 0.3);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 12px;
  min-width: 85px;
  text-align: center;
}

/* Registration Info Section */
.registration-info-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.info-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 50px;
}

/* Step Cards */
.step-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

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

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #ffc451;
  color: #151515;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.step-card h5 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.step-card p {
  color: #7f8c8d;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.info-note {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  border-left: 4px solid #ffc451;
  color: #555;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-note strong {
  color: #2c3e50;
}

/* Contact Section Enhancements */
.contact .php-email-form select.form-control {
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  font-size: 14px;
  color: #495057;
  background-color: white;
  transition: border-color 0.3s ease;
}

.contact .php-email-form select.form-control:focus {
  border-color: #ffc451;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(255, 196, 81, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
  .events-title,
  .schedule-title,
  .info-title {
    font-size: 30px;
  }

  .event-card {
    margin-bottom: 30px;
  }

  .filter-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .events-title,
  .schedule-title,
  .info-title {
    font-size: 26px;
  }

  .event-footer {
    flex-direction: column;
    gap: 15px;
  }

  .event-price {
    font-size: 24px;
  }

  .register-btn {
    width: 100%;
    text-align: center;
  }

  .filter-bar {
    padding: 20px;
  }

  .filter-bar h4 {
    font-size: 16px;
  }

  .step-card {
    margin-bottom: 20px;
  }

  .month-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .event-content h4 {
    font-size: 20px;
  }

  .date-box {
    padding: 12px 16px;
  }

  .date-box .day {
    font-size: 24px;
  }

  .filter-btn {
    font-size: 13px;
    padding: 8px 18px;
  }

  .detail-item {
    font-size: 13px;
  }
}

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

.event-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
  .filter-section,
  .register-btn,
  header,
  footer {
    display: none;
  }

  .event-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}