﻿/*
Theme Name: Life Path School of Excellence
Description: Custom theme for Life Path School of Excellence - MVP version with Tailwind CSS, Alpine.js, and HTMX
Version: 1.0
Author: Custom Development
*/

/* This file is primarily for WordPress theme metadata. Styling is handled by Tailwind CSS via CDN. */

[x-cloak] {
  display: none !important;
}

/* Custom font classes for Lato (body text) */
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* Custom font class for Alike (headings) */
.alike-regular {
  font-family: "Alike", serif;
  font-weight: 400;
  font-style: normal;
}

/* Custom color utilities for brand colors */
.text-school-primary {
  color: #dfa82a;
}

.bg-school-primary {
  background-color: #dfa82a;
}

.text-school-secondary {
  color: #b43e8e;
}

.bg-school-secondary {
  background-color: #b43e8e;
}

/* Hover states */
.hover\:bg-school-primary:hover {
  background-color: #dfa82a;
}

.hover\:bg-school-secondary:hover {
  background-color: #b43e8e;
}

/* Border colors */
.border-school-primary {
  border-color: #dfa82a;
}

.border-school-secondary {
  border-color: #b43e8e;
}

/* =============================================================================
   GLOBAL TYPOGRAPHY & CONTENT STYLES
   ============================================================================= */

/* Body and base text */
body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #374151;
}

/* Post Content Area - Main content styling */
.post-content,
.page-content,
.single-post .prose,
.wp-block-group,
.entry-content {
  font-family: "Lato", sans-serif;
  line-height: 1.8;
  color: #374151;
}

/* HEADING STYLES */
.post-content h1,
.page-content h1,
.entry-content h1,
.wp-block-heading h1,
h1 {
  font-family: "Alike", serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: #1f2937;
  margin: 2rem 0 1rem 0;
}

.post-content h2,
.page-content h2,
.entry-content h2,
.wp-block-heading h2,
h2 {
  font-family: "Alike", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.3;
  color: #1f2937;
  margin: 1.75rem 0 1rem 0;
}

.post-content h3,
.page-content h3,
.entry-content h3,
.wp-block-heading h3,
h3 {
  font-family: "Alike", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  color: #1f2937;
  margin: 1.5rem 0 0.75rem 0;
}

.post-content h4,
.page-content h4,
.entry-content h4,
.wp-block-heading h4,
h4 {
  font-family: "Lato", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #374151;
  margin: 1.25rem 0 0.5rem 0;
}

.post-content h5,
.page-content h5,
.entry-content h5,
.wp-block-heading h5,
h5 {
  font-family: "Lato", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: #374151;
  margin: 1rem 0 0.5rem 0;
}

.post-content h6,
.page-content h6,
.entry-content h6,
.wp-block-heading h6,
h6 {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #6b7280;
  margin: 1rem 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* PARAGRAPH STYLES */
.post-content p,
.page-content p,
.entry-content p,
.wp-block-paragraph {
  margin: 1rem 0;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
}

/* Lead paragraphs */
.post-content .lead,
.page-content .lead,
.entry-content .lead,
.wp-block-paragraph.has-large-font-size {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: #1f2937;
}

/* LIST STYLES */
.post-content ul,
.page-content ul,
.entry-content ul,
.wp-block-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.post-content ol,
.page-content ol,
.entry-content ol,
.wp-block-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.post-content li,
.page-content li,
.entry-content li,
.wp-block-list li {
  margin: 0.5rem 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #374151;
}

.post-content ul li,
.page-content ul li,
.entry-content ul li,
.wp-block-list ul li {
  list-style-type: disc;
  position: relative;
}

.post-content ul li::marker,
.page-content ul li::marker,
.entry-content ul li::marker {
  color: #dfa82a;
}

.post-content ol li,
.page-content ol li,
.entry-content ol li {
  list-style-type: decimal;
}

/* Nested lists */
.post-content ul ul,
.page-content ul ul,
.entry-content ul ul {
  margin: 0.25rem 0;
  padding-left: 1.25rem;
}

.post-content ul ul li,
.page-content ul ul li,
.entry-content ul ul li {
  list-style-type: circle;
  margin: 0.25rem 0;
}

/* LINK STYLES */
.post-content a,
.page-content a,
.entry-content a {
  color: #dfa82a;
  text-decoration: underline;
  text-decoration-color: rgba(223, 168, 42, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.post-content a:hover,
.page-content a:hover,
.entry-content a:hover {
  color: #b43e8e;
  text-decoration-color: #b43e8e;
}

/* BLOCKQUOTE STYLES */
.post-content blockquote,
.page-content blockquote,
.entry-content blockquote,
.wp-block-quote {
  border-left: 4px solid #dfa82a;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: #f9fafb;
  font-size: 1.25rem;
  font-style: italic;
  color: #1f2937;
  position: relative;
}

.wp-block-quote p {
  margin: 0.5rem 0;
}

.wp-block-quote cite,
.post-content blockquote cite,
.page-content blockquote cite,
.entry-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: #6b7280;
}

/* GUTENBERG BLOCK STYLES */

/* Buttons */
.wp-block-button .wp-block-button__link {
  background-color: #dfa82a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: #b43e8e;
  transform: translateY(-2px);
}

/* Images */
.wp-block-image {
  margin: 2rem 0;
}

.wp-block-image img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wp-block-image figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Cover blocks */
.wp-block-cover {
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Group blocks */
.wp-block-group {
  margin: 2rem 0;
}

/* Columns */
.wp-block-columns {
  margin: 2rem 0;
  gap: 2rem;
}

/* Separator */
.wp-block-separator {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 3rem auto;
  width: 100px;
}

.wp-block-separator.is-style-wide {
  width: 100%;
}

/* CARD STYLES */
.content-card,
.wp-block-group.is-style-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.content-card:hover,
.wp-block-group.is-style-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, #dfa82a, #b43e8e);
  color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
}

.highlight-box h3,
.highlight-box h4 {
  color: white;
}

/* Tables */
.post-content table,
.page-content table,
.entry-content table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.post-content th,
.page-content th,
.entry-content th,
.wp-block-table th {
  background: #f3f4f6;
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: #1f2937;
  border-bottom: 1px solid #e5e7eb;
}

.post-content td,
.page-content td,
.entry-content td,
.wp-block-table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.post-content tr:hover td,
.page-content tr:hover td,
.entry-content tr:hover td {
  background: #f9fafb;
}

/* Code blocks */
.post-content code,
.page-content code,
.entry-content code,
.wp-block-code code {
  background: #f3f4f6;
  color: #1f2937;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.wp-block-code {
  background: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 768px) {
  .post-content h1,
  .page-content h1,
  .entry-content h1,
  h1 {
    font-size: 2rem;
  }
  
  .post-content h2,
  .page-content h2,
  .entry-content h2,
  h2 {
    font-size: 1.75rem;
  }
  
  .post-content h3,
  .page-content h3,
  .entry-content h3,
  h3 {
    font-size: 1.375rem;
  }
  
  .post-content p,
  .page-content p,
  .entry-content p,
  .wp-block-paragraph {
    font-size: 1rem;
  }
  
  .post-content blockquote,
  .page-content blockquote,
  .entry-content blockquote {
    font-size: 1.125rem;
    padding: 1rem;
    margin: 1.5rem 0;
  }
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* =============================================================================
   CONTACT FORM STYLES
   ============================================================================= */

/* Form field focus states with smooth transitions */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(223, 168, 42, 0.1);
  transform: translateY(-1px);
}

/* Form field validation states */
.contact-form input.border-green-500,
.contact-form textarea.border-green-500 {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.05);
}

.contact-form input.border-red-500,
.contact-form textarea.border-red-500 {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

/* Validation icons animation */
.validation-icon {
  transition: all 0.3s ease;
}

.validation-icon.text-green-500 {
  color: #10b981;
  animation: checkmark 0.3s ease-in-out;
}

.validation-icon.text-red-500 {
  color: #ef4444;
  animation: shake 0.3s ease-in-out;
}

/* Submit button hover effects */
.contact-form button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(223, 168, 42, 0.3);
}

.contact-form button[type="submit"]:active {
  transform: translateY(0) scale(1);
}

/* Form group spacing and layout */
.contact-form .form-group {
  position: relative;
}

.contact-form .form-group label {
  transition: color 0.2s ease;
}

.contact-form .form-group:focus-within label {
  color: #dfa82a;
}

/* Error message animation */
.error-message {
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.error-message:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}

/* Character counter styling */
#messageCounter {
  transition: color 0.2s ease;
  font-size: 0.875rem;
}

/* Contact info cards hover effects */
.contact-page .text-center:hover .bg-school-primary {
  background-color: #b43e8e;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Form container shadow and border effects */
.contact-form-section .bg-white {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-form-section .bg-white:hover {
  border-color: rgba(223, 168, 42, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Keyframe animations */
@keyframes checkmark {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* Loading spinner animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Responsive form adjustments */
@media (max-width: 768px) {
  .contact-form-section .bg-white {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .contact-form .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
  }
}

/* Focus ring for accessibility */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid #dfa82a;
  outline-offset: 2px;
}

/* Placeholder styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  opacity: 0.5;
}

/* =============================================================================
   DONATION FORM STYLES
   ============================================================================= */

/* Amount selection buttons */
.donation-form .amount-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-form .amount-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 185, 61, 0.3);
}

.donation-form .amount-btn.bg-school-primary {
  animation: selectAmount 0.3s ease-in-out;
}

.donation-form .amount-btn:active {
  transform: translateY(0);
}

/* Payment method options */
.payment-option label {
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-option label:hover {
  border-color: #dfa82a;
  background-color: rgba(223, 168, 42, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-option input:checked + label {
  border-color: #dfa82a;
  background-color: rgba(223, 168, 42, 0.1);
  box-shadow: 0 0 0 1px #dfa82a;
}

/* Payment method icons */
.payment-option .bg-red-600 {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.payment-option .bg-blue-600 {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Donation form field validation */
.donation-form input:focus,
.donation-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(223, 168, 42, 0.1);
  transform: translateY(-1px);
}

.donation-form input.border-green-500,
.donation-form textarea.border-green-500 {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.05);
}

.donation-form input.border-red-500,
.donation-form textarea.border-red-500 {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

/* Donation summary box */
.donation-form .bg-gray-50 {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.donation-form .bg-gray-50:hover {
  border-color: rgba(223, 168, 42, 0.2);
  background-color: rgba(223, 168, 42, 0.05);
}

/* Total amount display */
#totalAmount {
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

#totalAmount:not(:empty) {
  animation: updateAmount 0.5s ease-in-out;
}

/* Donate button enhancements */
.donation-form button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(223, 168, 42, 0.4);
}

.donation-form button[type="submit"]:active {
  transform: translateY(0) scale(1);
}

/* Impact information cards */
.donate-page .bg-white {
  transition: all 0.3s ease;
}

.donate-page .bg-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact information gradient */
.bg-gradient-to-br {
  background: linear-gradient(135deg, #dfa82a 0%, #b43e8e 100%);
}

/* Custom amount input styling */
.donation-form input[type="number"] {
  -moz-appearance: textfield;
}

.donation-form input[type="number"]::-webkit-outer-spin-button,
.donation-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Payment check animation */
.payment-check {
  transition: all 0.3s ease;
}

.payment-check:not(.hidden) {
  animation: checkAppear 0.3s ease-in-out;
}

/* Keyframe animations */
@keyframes selectAmount {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes updateAmount {
  0% {
    transform: scale(1);
    color: #dfa82a;
  }
  50% {
    transform: scale(1.1);
    color: #b43e8e;
  }
  100% {
    transform: scale(1);
    color: #dfa82a;
  }
}

@keyframes checkAppear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive donation form adjustments */
@media (max-width: 768px) {
  .donation-form-section .grid {
    grid-template-columns: 1fr;
  }
  
  .donation-form .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .donation-form .bg-white {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .payment-option label {
    padding: 1rem;
  }
  
  .payment-option .w-12 {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Focus states for accessibility */
.donation-form input:focus-visible,
.donation-form textarea:focus-visible,
.donation-form button:focus-visible {
  outline: 2px solid #dfa82a;
  outline-offset: 2px;
}

/* Placeholder styling for donation form */
.donation-form input::placeholder,
.donation-form textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.donation-form input:focus::placeholder,
.donation-form textarea:focus::placeholder {
  opacity: 0.5;
}

/* Email overflow handling in donation sidebar */
.donation-page .break-all {
  word-break: break-all;
  overflow-wrap: break-word;
  hyphens: auto;
}

.donation-page .min-w-0 {
  min-width: 0;
}

/* Responsive amount buttons */
@media (max-width: 768px) {
  .donation-form .amount-btn {
    min-height: 3.5rem;
    font-size: 1rem;
  }
}

/* =============================================================================
   VOLUNTEER FORM STYLES
   ============================================================================= */

/* Section headers with icons */
.volunteer-form h4 {
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Volunteer interest checkboxes */
.volunteer-interest label {
  transition: all 0.3s ease;
  cursor: pointer;
}

.volunteer-interest label:hover {
  border-color: #dfa82a;
  background-color: rgba(223, 168, 42, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.volunteer-interest input:checked + label {
  border-color: #dfa82a;
  background-color: rgba(223, 168, 42, 0.1);
  box-shadow: 0 0 0 1px #dfa82a;
}

/* Interest checkbox styling */
.interest-checkbox {
  transition: all 0.3s ease;
  border-radius: 0.25rem;
}

.interest-checkbox.border-school-primary {
  border-color: #dfa82a;
  background-color: #dfa82a;
}

.interest-checkbox svg {
  transition: all 0.3s ease;
}

/* Form field validation for volunteer form */
.volunteer-form input:focus,
.volunteer-form textarea:focus,
.volunteer-form select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(223, 168, 42, 0.1);
  transform: translateY(-1px);
}

.volunteer-form input.border-green-500,
.volunteer-form textarea.border-green-500,
.volunteer-form select.border-green-500 {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.05);
}

.volunteer-form input.border-red-500,
.volunteer-form textarea.border-red-500,
.volunteer-form select.border-red-500 {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

/* Reference sections */
.volunteer-form .bg-gray-50 {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.volunteer-form .bg-gray-50:hover {
  border-color: rgba(223, 168, 42, 0.2);
  background-color: rgba(223, 168, 42, 0.05);
}

/* Agreement section */
.volunteer-form .bg-blue-50 {
  transition: all 0.3s ease;
}

.volunteer-form .bg-blue-50:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

/* Submit button enhancements */
.volunteer-form button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(223, 168, 42, 0.4);
}

.volunteer-form button[type="submit"]:active {
  transform: translateY(0) scale(1);
}

/* Character counter styling */
#motivationCounter {
  transition: color 0.2s ease;
  font-size: 0.875rem;
}

/* Sidebar benefits cards */
.volunteer-page .bg-white {
  transition: all 0.3s ease;
}

.volunteer-page .bg-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Benefits list items */
.volunteer-page .bg-school-primary {
  transition: all 0.3s ease;
}

.volunteer-page .bg-school-primary:hover {
  background-color: #b43e8e;
  transform: scale(1.1);
}

/* Select dropdown styling */
.volunteer-form select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Checkbox styling for agreement */
.volunteer-form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  color: #dfa82a;
  background-color: #fff;
  border-color: #d1d5db;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.volunteer-form input[type="checkbox"]:checked {
  background-color: #dfa82a;
  border-color: #dfa82a;
}

.volunteer-form input[type="checkbox"]:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(223, 168, 42, 0.5);
}

/* Number input styling */
.volunteer-form input[type="number"] {
  -moz-appearance: textfield;
}

.volunteer-form input[type="number"]::-webkit-outer-spin-button,
.volunteer-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Responsive volunteer form adjustments */
@media (max-width: 768px) {
  .volunteer-form-section .grid {
    grid-template-columns: 1fr;
  }
  
  .volunteer-form .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .volunteer-form .bg-white {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .volunteer-interest label {
    padding: 1rem;
  }
  
  .volunteer-form button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
  }
}

/* Focus states for accessibility */
.volunteer-form input:focus-visible,
.volunteer-form textarea:focus-visible,
.volunteer-form select:focus-visible,
.volunteer-form button:focus-visible {
  outline: 2px solid #dfa82a;
  outline-offset: 2px;
}

/* Placeholder styling for volunteer form */
.volunteer-form input::placeholder,
.volunteer-form textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.volunteer-form input:focus::placeholder,
.volunteer-form textarea:focus::placeholder {
  opacity: 0.5;
}

/* Interest checkbox animation */
@keyframes checkboxCheck {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.interest-checkbox svg:not(.hidden) {
  animation: checkboxCheck 0.3s ease-in-out;
}

/* =============================================================================
   404 ERROR PAGE STYLES
   ============================================================================= */

/* 404 page specific styles */
.error-404-page {
  min-height: calc(100vh - 80px); /* Account for header height */
}

/* Large 404 number styling */
.error-404-page h1 {
  user-select: none;
  pointer-events: none;
}

/* Navigation cards hover effects */
.error-404-page .bg-white:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Icon containers */
.error-404-page .w-12.h-12 {
  transition: all 0.3s ease;
}

.error-404-page .bg-white:hover .w-12.h-12 {
  transform: scale(1.1);
}

/* Search form enhancements */
.error-404-page input[type="search"]:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(127, 185, 61, 0.2);
}

.error-404-page button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(127, 185, 61, 0.4);
}

/* Popular pages links */
.error-404-page .group:hover {
  transform: translateY(-2px);
}

/* Contact links hover effects */
.error-404-page a[href^="mailto:"]:hover,
.error-404-page a[href^="tel:"]:hover {
  transform: translateY(-1px);
}

/* Responsive adjustments for 404 page */
@media (max-width: 768px) {
  .error-404-page h1 {
    font-size: 6rem;
  }
  
  .error-404-page h2 {
    font-size: 2.5rem;
  }
  
  .error-404-page .relative {
    margin-top: -3rem;
  }
  
  .error-404-page .grid-cols-1.md\\:grid-cols-3 {
    gap: 1rem;
  }
  
  .error-404-page .bg-white {
    padding: 1.5rem;
  }
}

/* Animation for 404 illustration */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.error-404-page .inline-flex.items-center.justify-center {
  animation: float 3s ease-in-out infinite;
}

/* Gradient text effect for 404 number */
.error-404-page h1 {
  background: linear-gradient(135deg, #dfa82a, #b43e8e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}

/* Focus states for accessibility */
.error-404-page a:focus-visible,
.error-404-page button:focus-visible,
.error-404-page input:focus-visible {
  outline: 2px solid #dfa82a;
  outline-offset: 2px;
}

/* Custom animations for MVP */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

.animate-slideInRight {
  animation: slideInRight 0.5s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.5s ease-out;
}

.animate-pulse-custom {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth transitions for all interactive elements */
button, a, input, textarea, select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card hover effects */
.announcement-card, .event-card, .project-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.announcement-card:hover, .event-card:hover, .project-card:hover {
  transform: translateY(-4px);
}

/* Responsive animations - reduce on mobile for better performance */
@media (max-width: 640px) {
  .announcement-card, .event-card, .project-card {
    transition: opacity 0.2s ease-out;
  }
  
  .announcement-card:hover, .event-card:hover, .project-card:hover {
    transform: none;
  }
}

/* Page Heading Styles - Purple Color */
.page h1,
.page h2,
.page h3,
.page h4,
.page h5,
.page h6,
.wide-page h1,
.wide-page h2,
.wide-page h3,
.wide-page h4,
.wide-page h5,
.wide-page h6,
.sidebar-page h1,
.sidebar-page h2,
.sidebar-page h3,
.sidebar-page h4,
.sidebar-page h5,
.sidebar-page h6 {
  color: #DFA82A;
}

/* Downloads page heading override */
.downloads-section h2 {
  color: white;
}

/* Gutenberg Editor Headings */
.wp-block-heading {
  color: #0277C4;
}

/* Standard heading elements within content */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #0277C4;
}
