/* Tournament Rules CSS with refined Mexican-inspired colors */

/* Custom color variables for a refined but vibrant palette */
:root {
  --primary-forest-green: #2E7D32; /* Muted Forest Green */
  --primary-burgundy: #9C4646; /* Softer burgundy red */
  --primary-soft-pink: #F8BBD9; /* Soft Pink */
  --primary-peach: #FFCC80; /* Soft Peach */
  --accent-sage: #81C784; /* Sage Green */
  --accent-rose: #F48FB1; /* Rose Pink */
  --accent-coral: #FFAB91; /* Soft Coral */
  --accent-lavender: #CE93D8; /* Soft Lavender */
  --neutral-dark: #3a4750; /* Less harsh than black */
  --neutral-light: #f8f9fa; /* Light background */
  --neutral-gray: #6c757d;
}

/* Streamlined Header Styling */
.streamlined-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 4rem 2rem 3.5rem;
  margin-top: 65px; /* Reduced space for shorter fixed header */
  position: relative;
  overflow: hidden;
}

.streamlined-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.streamlined-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-forest-green) 0%, var(--primary-soft-pink) 50%, var(--accent-coral) 100%);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.streamlined-header-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.header-icon {
  font-size: 3.5rem;
  color: #F39C12; /* Golden orange */
  margin-bottom: 1.5rem;
}

.streamlined-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  animation: slideInUp 0.8s ease-out;
}

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

.streamlined-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-forest-green);
  border-radius: 2px;
}

.streamlined-subtitle {
  font-size: 1.3rem;
  color: var(--neutral-gray);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.2);
  border-color: #F8BBD9;
  background: rgba(248, 187, 217, 0.1);
}

.stat-item:nth-child(1) i {
  color: #F39C12; /* Golden orange */
}

.stat-item:nth-child(2) i {
  color: #E91E63; /* Pink */
}

.stat-item:nth-child(3) i {
  color: #FF5722; /* Red-orange */
}

.stat-item i {
  font-size: 1.2rem;
}

.stat-item span {
  font-weight: 600;
  color: #343a40;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .streamlined-header {
    padding: 3rem 1rem 3rem;
    margin-top: 70px;
  }
  
  .header-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .streamlined-title {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
  }
  
  .streamlined-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .quick-stats {
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 0.75rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .streamlined-header {
    padding: 2.5rem 1rem 2.5rem;
  }
  
  .header-icon {
    font-size: 2.5rem;
  }
  
  .streamlined-title {
    font-size: 1.8rem;
  }
  
  .streamlined-subtitle {
    font-size: 1rem;
  }
  
  .quick-stats {
    gap: 1rem;
  }
  
  .stat-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .stat-item span {
    font-size: 0.85rem;
  }
}

.rules-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.rules-section:nth-child(even) {
  background-color: var(--neutral-light);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-forest-green);
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-forest-green), var(--accent-sage));
  border-radius: 3px;
}

.rules-container {
  margin-top: 2rem;
  width: 100%;
}

.rules-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.rules-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.rules-card h3 {
  color: var(--primary-forest-green);
  border-bottom: 2px solid var(--primary-forest-green);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.rules-card:nth-child(3n+2) h3 {
  color: var(--accent-coral);
  border-bottom-color: var(--accent-coral);
}

.rules-card:nth-child(3n) h3 {
  color: var(--accent-lavender);
  border-bottom-color: var(--accent-lavender);
}

.rules-card h4 {
  font-size: 1.3rem;
  color: var(--neutral-dark);
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Calendar-style schedule styling */
.tournament-calendar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 950px;
  margin: 0 auto;
  gap: 20px;
}

/* Calendar Day 1 - Forest Green Theme */
.calendar-day:nth-child(1) {
  background: linear-gradient(to bottom, rgba(46, 125, 50, 0.08), rgba(46, 125, 50, 0.01));
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.08);
}

.calendar-day:nth-child(1) .calendar-date {
  background-color: var(--primary-forest-green);
}

.calendar-day:nth-child(1) .calendar-date::after {
  border-top-color: var(--primary-forest-green);
}

.calendar-day:nth-child(1) .calendar-event::before {
  color: var(--primary-forest-green);
}

/* Calendar Day 2 - Soft Pink Theme */
.calendar-day:nth-child(2) {
  background: linear-gradient(to bottom, rgba(248, 187, 217, 0.15), rgba(248, 187, 217, 0.02));
  box-shadow: 0 8px 24px rgba(248, 187, 217, 0.12);
}

.calendar-day:nth-child(2) .calendar-date {
  background-color: var(--primary-soft-pink);
  color: var(--neutral-dark);
}

.calendar-day:nth-child(2) .calendar-date::after {
  border-top-color: var(--primary-soft-pink);
}

.calendar-day:nth-child(2) .calendar-event::before {
  color: var(--accent-rose);
}

/* Calendar Day 3 - Peach Theme */
.calendar-day:nth-child(3) {
  background: linear-gradient(to bottom, rgba(255, 204, 128, 0.15), rgba(255, 204, 128, 0.02));
  box-shadow: 0 8px 24px rgba(255, 204, 128, 0.12);
}

.calendar-day:nth-child(3) .calendar-date {
  background-color: var(--primary-peach);
  color: var(--neutral-dark);
}

.calendar-day:nth-child(3) .calendar-date::after {
  border-top-color: var(--primary-peach);
}

.calendar-day:nth-child(3) .calendar-event::before {
  color: var(--accent-coral);
}

/* Calendar Day 4 - Coral Theme */
.calendar-day:nth-child(4) {
  background: linear-gradient(to bottom, rgba(255, 171, 145, 0.15), rgba(255, 171, 145, 0.02));
  box-shadow: 0 8px 24px rgba(255, 171, 145, 0.12);
}

.calendar-day:nth-child(4) .calendar-date {
  background-color: var(--accent-coral);
}

.calendar-day:nth-child(4) .calendar-date::after {
  border-top-color: var(--accent-coral);
}

.calendar-day:nth-child(4) .calendar-event::before {
  color: var(--accent-coral);
}

/* Calendar Day 5 - Lavender Theme */
.calendar-day:nth-child(5) {
  background: linear-gradient(to bottom, rgba(206, 147, 216, 0.15), rgba(206, 147, 216, 0.02));
  box-shadow: 0 8px 24px rgba(206, 147, 216, 0.12);
}

.calendar-day:nth-child(5) .calendar-date {
  background-color: var(--accent-lavender);
}

.calendar-day:nth-child(5) .calendar-date::after {
  border-top-color: var(--accent-lavender);
}

.calendar-day:nth-child(5) .calendar-event::before {
  color: var(--accent-lavender);
}

.calendar-day {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
}

.calendar-date {
  color: white;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.calendar-date::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.calendar-events {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.calendar-event {
  background-color: white;
  margin-bottom: 0.8rem;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 2rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.calendar-day:nth-child(1) .calendar-event {
  border-left-color: var(--primary-forest-green);
}

.calendar-day:nth-child(2) .calendar-event {
  border-left-color: var(--primary-soft-pink);
}

.calendar-day:nth-child(3) .calendar-event {
  border-left-color: var(--primary-peach);
}

.calendar-day:nth-child(4) .calendar-event {
  border-left-color: var(--accent-coral);
}

.calendar-day:nth-child(5) .calendar-event {
  border-left-color: var(--accent-lavender);
}

.calendar-event:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-event:last-child {
  margin-bottom: 0;
}

.calendar-event::before {
  content: "•";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.calendar-highlight {
  position: relative;
  font-weight: bold;
}

.calendar-highlight::after {
  content: '•';
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  animation: pulse 1.5s infinite;
}

.calendar-day:nth-child(1) .calendar-highlight::after { color: var(--primary-forest-green); }
.calendar-day:nth-child(2) .calendar-highlight::after { color: var(--primary-soft-pink); }
.calendar-day:nth-child(3) .calendar-highlight::after { color: var(--primary-peach); }
.calendar-day:nth-child(4) .calendar-highlight::after { color: var(--accent-coral); }
.calendar-day:nth-child(5) .calendar-highlight::after { color: var(--accent-lavender); }

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .tournament-calendar {
    grid-template-columns: 1fr;
  }
}

/* Keep the original schedule-day styles for backward compatibility */
.schedule-day {
  margin-bottom: 2.5rem;
}

.schedule-day:last-child {
  margin-bottom: 0;
}

.schedule-date {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-forest-green);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: 0.5px;
}

.schedule-item {
  margin-bottom: 0.7rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.schedule-item:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-forest-green);
  font-size: 1.2rem;
}

.map-container {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Table styling with color variations */
.categories-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.categories-table th,
.categories-table td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.categories-table th {
  background-color: var(--primary-burgundy);
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ball-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.ball-table th,
.ball-table td {
  padding: 0.8rem;
  border-bottom: 1px solid #ddd;
}

.ball-table th {
  background-color: var(--soft-pink);
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.75rem;
}

p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

ul,
ol {
  margin: 1.2rem 0;
  padding-left: 1.2rem;
}

ul li,
ol li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
  position: relative;
  padding-left: 0.5rem;
}

.rule-section {
  margin-bottom: 2rem;
}

.rule-section:last-child {
  margin-bottom: 0;
}

.rule-title {
  font-weight: 600;
  color: var(--neutral-dark);
  margin-bottom: 0.5rem;
}

/* Rule category styling */
.rule-category {
  background-color: var(--neutral-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 4px solid var(--soft-peach);
}

.category-name {
  font-weight: 700;
  color: var(--soft-peach);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.highlight-text {
  background-color: rgba(255, 203, 71, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: var(--neutral-dark);
  font-weight: 500;
}

.primary-care-item {
  display: flex;
  margin-bottom: 1.2rem;
}

.primary-care-item strong {
  min-width: 100px;
  color: var(--neutral-dark);
}

.attention-box {
  background: linear-gradient(135deg, rgba(255, 204, 128, 0.15) 0%, rgba(255, 204, 128, 0.3) 100%);
  border-left: 4px solid var(--primary-peach);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  position: relative;
  box-shadow: 0 5px 15px rgba(255, 204, 128, 0.15);
}

.attention-box:before {
  content: "!";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background-color: var(--primary-peach);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.attention-box p {
  margin-bottom: 0.75rem;
  color: var(--neutral-dark);
}

.attention-box p:last-child {
  margin-bottom: 0;
}

/* Enhanced rule styling */
.rule-box {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  border-top: 5px solid var(--primary-burgundy);
}

.rule-box h3 {
  color: var(--neutral-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f0f0f0;
  font-size: 1.5rem;
}

/* Registration form styling */
.registration-info {
  background: linear-gradient(135deg, rgba(0, 180, 162, 0.05), rgba(0, 180, 162, 0.1));
  padding: 2.5rem;
  border-radius: 15px;
  margin: 2rem 0;
}

.registration-step {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 4rem;
}

.step-number {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--primary-forest-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.25);
}

.registration-timeline {
  padding-left: 30px;
  position: relative;
  margin-top: 2rem;
}

.registration-timeline:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 4px;
  background-color: var(--primary-forest-green);
  left: 0;
  top: 0;
  border-radius: 4px;
}

.timeline-event {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-event:last-child {
  padding-bottom: 0;
}

.timeline-event:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-forest-green);
  left: -36px;
  top: 6px;
  box-shadow: 0 0 0 5px rgba(46, 125, 50, 0.15);
}

.timeline-date {
  color: var(--neutral-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Venue info styling */
.venue-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.venue-img-container {
  height: 250px;
  overflow: hidden;
}

.venue-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.venue-card:hover .venue-img {
  transform: scale(1.05);
}

.venue-content {
  padding: 2rem;
}

.venue-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--neutral-dark);
}

.venue-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.venue-icon {
  color: var(--soft-peach);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.tab-container {
  margin: 2rem 0;
}

.tab-nav {
  display: flex;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
}

.tab-button {
  padding: 1rem 1.5rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button:hover {
  color: var(--primary-forest-green);
}

.tab-button.active {
  color: var(--primary-forest-green);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-forest-green);
}

.tab-content {
  display: none;
  padding: 1.5rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
  display: block;
}

/* Improved responsiveness */
@media (max-width: 768px) {
  .nav-buttons {
    flex-direction: column;
  }

  .categories-table,
  .ball-table {
    font-size: 0.9rem;
  }

  .categories-table th,
  .categories-table td,
  .ball-table th,
  .ball-table td {
    padding: 0.7rem;
  }
  
  .registration-step {
    padding-left: 2rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    left: -5px;
  }
}

@media (max-width: 576px) {
  .rules-card h3 {
    font-size: 1.5rem;
  }
  
  .rules-card h4 {
    font-size: 1.1rem;
  }
  
  .categories-table,
  .ball-table {
    font-size: 0.8rem;
  }
  
  .tab-button {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

/* Timeline styles for registration phases */
.registration-timeline {
  position: relative;
  margin: 2rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: -2rem;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent-sage), var(--primary-forest-green));
  border-radius: 3px;
}

.timeline-item:last-child::before {
  bottom: 50%;
}

.timeline-date {
  position: absolute;
  left: -2.5rem;
  top: 0;
  background: var(--primary-forest-green);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  min-width: 120px;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.2);
}

.timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid transparent;
  margin-left: 1rem;
  flex: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content { border-left-color: var(--accent-sage); }
.timeline-item:nth-child(even) .timeline-content { border-left-color: var(--primary-forest-green); }

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.timeline-content h4 {
  color: var(--primary-forest-green);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-content p {
  margin-bottom: 0.5rem;
  color: var(--neutral-dark);
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/* Categories info styling */
.categories-info {
  background: linear-gradient(135deg, #fff 0%, rgba(248, 187, 217, 0.1) 100%);
  padding: 2rem;
  border-radius: 10px;
  border-bottom: 4px solid var(--primary-soft-pink);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.categories-info p {
  margin-bottom: 1rem;
  color: var(--neutral-dark);
  position: relative;
  padding-left: 1.5rem;
}

.categories-info p:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-soft-pink);
  font-size: 1.5rem;
  line-height: 1;
}

.categories-info p:last-child {
  margin-bottom: 0;
  font-weight: bold;
  color: var(--primary-burgundy);
  background: rgba(248, 187, 217, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
}

/* Signatures styling */
.signatures {
  background: linear-gradient(135deg, rgba(129, 199, 132, 0.05) 0%, rgba(129, 199, 132, 0.1) 100%);
  padding: 2rem;
  border-radius: 10px;
  border-bottom: 4px solid var(--accent-sage);
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.signatures:before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: rgba(46, 125, 50, 0.05);
  border-radius: 50%;
}

.signatures:after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: -25px;
  width: 150px;
  height: 150px;
  background: rgba(46, 125, 50, 0.03);
  border-radius: 50%;
}

.signatures p {
  margin-bottom: 0.75rem;
  color: var(--neutral-dark);
  position: relative;
  z-index: 2;
}

.signatures p:first-child {
  font-weight: bold;
  color: var(--primary-forest-green);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.signatures p:last-child {
  font-style: italic;
  color: var(--neutral-gray);
  margin-bottom: 0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Responsive timeline */
@media (max-width: 768px) {
  .timeline-date {
    position: static;
    transform: none;
    margin-bottom: 1rem;
    margin-left: 0;
    display: inline-block;
    min-width: auto;
  }
  
  .timeline-item {
    padding-left: 1rem;
    flex-direction: column;
  }
  
  .timeline-item::before {
    left: 0;
    width: 2px;
  }
  
  .timeline-content {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* Download Convocation Button Styles */
.download-convocation {
  max-width: 1000px;
  margin: 2.5rem auto 4rem;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.convocation-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.convocation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #FF5252 0%, #FF8A80 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(255, 82, 82, 0.3);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.convocation-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 82, 82, 0.4);
}

.convocation-btn:active {
  transform: translateY(-2px);
}

.convocation-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  z-index: 1;
  transition: all 0.6s ease;
}

.convocation-btn:hover::before {
  top: -40%;
  left: -40%;
}

.convocation-btn i {
  font-size: 1.5rem;
  z-index: 2;
}

.convocation-btn span {
  z-index: 2;
}

.convocation-note {
  margin-top: 1rem;
  color: var(--neutral-gray);
  font-style: italic;
}

@media (max-width: 768px) {
  .convocation-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }
}