/* ===== MEMORIAL-SPECIFIC STYLES ===== */

/* Memorial Post Layout */
.memorial-post {
    background: white;
    margin-bottom: 4rem;
}

.memorial-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
}

.memorial-breadcrumb {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #666;
}

.memorial-breadcrumb a {
    color: #1a237e;
    text-decoration: none;
}

.memorial-breadcrumb a:hover {
    text-decoration: underline;
}

.memorial-title-section {
    text-align: center;
}

.candle-icon-large,
.story-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #1a237e;
}

.candle-icon-large {
    color: #ff6f00;
}

.story-icon-large {
    color: #2e7d32;
}

.memorial-title {
    font-size: 3.6rem;
    color: #333;
    margin-bottom: 1rem;
}

.sibling-name {
    font-size: 2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

/* Memorial Content Area */
.memorial-content {
    padding: 4rem 0;
}

/* Candle Memorial Layout */
.candle-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.candle-image-container {
    text-align: center;
}

.candle-image {
    position: relative;
    display: inline-block;
}

.circular-frame {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #f5f5f5;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.circular-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.candle-content {
    padding: 2rem 0;
}

.memorial-meta {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.memorial-meta p {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.memorial-meta p:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: #1a237e;
}

.memorial-memory {
    font-size: 1.7rem;
    line-height: 1.7;
    color: #444;
}

/* Candle Lighting Section */
.candle-lighting-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

/* Story Memorial Layout */
.story-layout {
    display: grid;
    gap: 4rem;
}

.story-gallery-container {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.gallery-header h3 {
    color: #2e7d32;
    margin-bottom: 0;
}

.photo-count {
    background: #2e7d32;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
}

.story-featured-image {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-photo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.story-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.memorial-story {
    font-size: 1.7rem;
    line-height: 1.8;
    color: #444;
}

.memorial-story h1,
.memorial-story h2,
.memorial-story h3 {
    color: #2e7d32;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.memorial-story p {
    margin-bottom: 2rem;
}

.memorial-story blockquote {
    background: #f1f8e9;
    border-left: 4px solid #2e7d32;
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Memorial CTA Section */
.memorial-cta {
    background: url('../images/blue.jpg') center/cover, linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(57, 73, 171, 0.8) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.memorial-cta h3 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.memorial-cta p {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.memorial-cta .btn {
    font-size: 1.8rem;
    padding: 1.5rem 3rem;
}

/* Related Memories Section */
.related-memories {
    padding: 4rem 0;
    background: #fafafa;
}

.related-memories h3 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.related-memory {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.related-memory:hover {
    transform: translateY(-5px);
}

.related-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.related-image.circular {
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 1.5rem;
    max-width: 120px;
    max-height: 120px;
    width: 120px;
    height: 120px;
}

.related-image.rectangular {
    aspect-ratio: 4/3;
    max-width: 200px;
    max-height: 150px;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 2rem;
}

.related-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.related-meta {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.related-photos {
    font-size: 1.3rem;
    color: #2e7d32;
    font-weight: 500;
}

/* Browse Memories Page */
.browse-memories-page {
    background: white;
    min-height: 100vh;
}

.browse-header {
    background: url('../images/blue.jpg') center/cover, linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(57, 73, 171, 0.8) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.browse-title {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
}

.browse-subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.browse-controls {
    background: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.memory-type-filters {
    display: flex;
    gap: 1rem;
}

.filter-link {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-link.active,
.filter-link:hover {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

.search-form {
    position: relative;
    display: flex;
}

.search-input {
    padding: 1rem 4rem 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1.5rem;
    width: 300px;
    outline: none;
}

.search-input:focus {
    border-color: #1a237e;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
}

.sort-select {
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.4rem;
    background: white;
    cursor: pointer;
}

.memory-stats {
    padding: 2rem 0;
    background: #f8f9fa;
}

.memory-count {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 0;
}

.memories-display {
    padding: 4rem 0;
}

.memory-type-indicator {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.memory-type-indicator.candle {
    background: #ff6f00;
}

.memory-type-indicator.story {
    background: #2e7d32;
}

.type-icon {
    width: 20px;
    height: 20px;
}

.photo-count-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: #666;
}

.empty-icon {
    margin-bottom: 2rem;
}

.empty-state h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.load-more-section {
    text-align: center;
    margin-top: 4rem;
}

/* Static Pages */
.candle-page,
.story-page {
    background: white;
}

.candle-page-header,
.story-page-header {
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.story-page-header {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
}

.candle-hero,
.story-hero {
    max-width: 800px;
    margin: 0 auto;
}

.candle-page-title,
.story-page-title {
    font-size: 4.2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.candle-page-subtitle,
.story-page-subtitle {
    font-size: 2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.explanation-content,
.inspiration-content {
    padding: 6rem 0;
}

.steps-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step,
.feature {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #ff6f00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.step h3,
.feature h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.inspiration-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 2rem auto 0;
}

.inspiration-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.6rem;
    position: relative;
    padding-left: 2rem;
}

.inspiration-list li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

.candle-cta-section,
.story-cta-section {
    background: url('../images/blue.jpg') center/cover, linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(57, 73, 171, 0.8) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.btn-large {
    font-size: 2rem;
    padding: 2rem 4rem;
}

.candles-grid,
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.candle-preview,
.story-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.candle-preview:hover,
.story-preview:hover {
    transform: translateY(-5px);
}

.candle-flame-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mini-flame {
    width: 8px;
    height: 10px;
    background: radial-gradient(circle, #ffeb3b 30%, #ff9800 70%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 2s infinite alternate;
}

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

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

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.image-error {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.image-error::before {
    content: "📷";
    font-size: 3rem;
}

/* Responsive Design for Memorial Pages */
@media (max-width: 768px) {
    .candle-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .circular-frame {
        width: 250px;
        height: 250px;
    }
    
    .story-layout {
        gap: 3rem;
    }
    
    .story-gallery-container,
    .story-content {
        padding: 2rem;
    }
    
    .controls-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .memory-type-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .search-input {
        width: 100%;
    }
    
    .candle-page-title,
    .story-page-title {
        font-size: 3.2rem;
    }
    
    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .memorial-title {
        font-size: 2.8rem;
    }
    
    .circular-frame {
        width: 200px;
        height: 200px;
    }
    
    .memorial-meta {
        padding: 1.5rem;
    }
    
    .candle-lighting-section {
        padding: 2rem;
    }
    
    .browse-title {
        font-size: 3.2rem;
    }
    
    .filter-link {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
}

/* Add this to the existing memorial.css file */

/* Responsive image containers */
.circular-frame {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

.memory-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.memory-image.circular {
  aspect-ratio: 1;
  border-radius: 50%;
}

/* Ensure images fill containers properly */
.memorial-photo,
.gallery-thumbnail,
.memory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Responsive sizing */
@media (max-width: 480px) {
  .circular-frame {
    max-width: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .circular-frame {
    max-width: 250px;
  }

  .candle-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== ABOUT PAGE STYLES ===== */

/* About Hero Section */
.about-hero {
  background: url('../images/blue.jpg') center/cover, linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(57, 73, 171, 0.8) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.about-title {
  font-size: 4.2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.about-subtitle {
  font-size: 2rem;
  opacity: 0.9;
  margin-bottom: 0;
  font-style: italic;
}

/* Founder Story Section */
.founder-story {
  padding: 6rem 0;
  background: white;
}

.story-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}


.story-content h2 {
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 3rem;
}

.story-text {
  font-size: 1.7rem;
  line-height: 1.8;
  color: #444;
}

.story-text p {
  margin-bottom: 2rem;
}

.story-text h3 {
  color: #1a237e;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.story-text blockquote {
  background: #f8f9fa;
  border-left: 4px solid #1a237e;
  padding: 2rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.story-image {
  text-align: center;
  position: sticky;
  top: 2rem;
}

.founder-photo {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  margin-bottom: 1rem;
}

.photo-caption {
  font-style: italic;
  color: #666;
  font-size: 1.4rem;
}

/* Mission Statement */
.mission-statement {
  background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
  padding: 6rem 0;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 3rem;
}

.mission-quote {
  font-size: 3.6rem;
  color: #1a237e;
  font-style: italic;
  font-weight: 600;
  margin: 0 0 4rem;
  position: relative;
}

.mission-quote::before,
.mission-quote::after {
  content: '"';
  color: #ffd54f;
  font-size: 5rem;
  position: absolute;
  top: -1rem;
}

.mission-quote::before {
  left: -2rem;
}

.mission-quote::after {
  right: -2rem;
}

.mission-text {
  font-size: 1.8rem;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

.mission-text p {
  margin-bottom: 2rem;
}

/* Sib Song Section */
.sib-song-section {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  padding: 6rem 0;
  text-align: center;
}

.song-intro {
  margin-bottom: 4rem;
}

.song-title {
  color: #4a148c;
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
}

.song-subtitle {
  font-size: 2rem;
  color: #6a1b9a;
  font-style: italic;
  margin-bottom: 2rem;
}

.song-dedication {
  font-size: 1.6rem;
  color: #4a148c;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Media Toggle Controls */
.media-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-btn {
  padding: 1.2rem 2.4rem;
  border: 2px solid #4a148c;
  background: transparent;
  color: #4a148c;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.5rem;
}

.toggle-btn.active,
.toggle-btn:hover {
  background: #4a148c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74, 20, 140, 0.3);
}

/* Media Container */
.media-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.media-player {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.media-player.active {
  display: block;
  opacity: 1;
}

.sib-song-video {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(74, 20, 140, 0.4);
}

.audio-visual {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(74, 20, 140, 0.2);
}

.audio-artwork {
  display: flex;
  justify-content: center;
  align-items: center;
}

.song-artwork {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(74, 20, 140, 0.3);
  flex-shrink: 0;
}

.sib-song-audio {
  width: 100%;
  margin-bottom: 2rem;
}

.audio-details h4 {
  color: #4a148c;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.performers {
  margin: 0;
}

.performer {
  display: block;
  font-size: 1.5rem;
  color: #6a1b9a;
  margin-bottom: 0.5rem;
}

.performer small {
  color: #8e24aa;
  font-style: italic;
}

.media-description {
  text-align: center;
  margin-top: 1.5rem;
  color: #6a1b9a;
  font-style: italic;
  font-size: 1.4rem;
}

.song-meaning {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(74, 20, 140, 0.1);
}

.song-meaning p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #4a148c;
  margin-bottom: 2rem;
  text-align: left;
}

.song-meaning p:last-child {
  margin-bottom: 0;
}

/* Media Appearances */
.media-appearances {
  background: linear-gradient(135deg, #e8f5e8 0%, #f1f8f1 100%);
  padding: 6rem 0;
}

.media-appearances h2 {
  text-align: center;
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.section-intro {
  text-align: center;
  font-size: 1.7rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.media-category {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.media-category:hover {
  transform: translateY(-5px);
}

.category-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-header h3 {
  color: #1a237e;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.category-description {
  color: #666;
  font-size: 1.4rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.media-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.media-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #fafafa;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.media-item:hover {
  background: #f0f0f0;
}

.media-item.featured {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border: 2px solid #e1bee7;
}

.media-item.featured:hover {
  background: linear-gradient(135deg, #d1c4e9 0%, #e1bee7 100%);
}

.episode-number {
  background: #1a237e;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.media-type {
  background: #6a1b9a;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
  align-self: flex-start;
}

.media-content h4 {
  color: #1a237e;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.media-content p {
  color: #555;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.media-link {
  color: #1a237e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
  font-size: 1.4rem;
}

.media-link:hover {
  border-bottom-color: #1a237e;
}

.media-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem 3rem;
  border-radius: 8px;
  border-left: 4px solid #1a237e;
}

.media-cta p {
  margin: 0;
  font-size: 1.5rem;
  color: #555;
}

.media-cta a {
  color: #1a237e;
  font-weight: 600;
  text-decoration: underline;
}

.media-cta a:hover {
  color: #303f9f;
}

/* Community Impact */
.community-impact {
  padding: 6rem 0;
  background: white;
}

.community-impact h2 {
  text-align: center;
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 4rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.impact-stat {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.impact-stat:hover {
  transform: translateY(-5px);
}

.impact-stat.candle-stat .stat-number {
  color: #ff6f00;
}

.impact-stat.story-stat .stat-number {
  color: #2e7d32;
}

.impact-stat .stat-number {
  font-size: 4.2rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 1rem;
  display: block;
}

.impact-stat .stat-label {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
}

/* How It Works */
.how-it-works {
  background: #fafafa;
  padding: 6rem 0;
}

.how-it-works h2 {
  text-align: center;
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.process-step {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.process-step h3 {
  color: #1a237e;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.process-step p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.step-link {
  color: #1a237e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.step-link:hover {
  border-bottom-color: #1a237e;
}

/* About CTA */
.about-cta {
  background: url('../images/blue.jpg') center/cover, linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(57, 73, 171, 0.8) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.about-cta h2 {
  color: white;
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.about-cta p {
  font-size: 1.7rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.9;
  text-align: left;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Button styling to match home page */
.about-cta .candle-btn {
  background: #ff6b35 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.about-cta .candle-btn:hover {
  background: #e55a2e !important;
  color: white !important;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
}

.about-cta .story-btn {
  background: #2e7d32 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.about-cta .story-btn:hover {
  background: #1b5e20 !important;
  color: white !important;
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.4);
  transform: translateY(-3px);
}

.about-cta .donate-btn {
  background: #7b1fa2 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.about-cta .donate-btn:hover {
  background: #6a1b9a !important;
  color: white !important;
  box-shadow: 0 6px 16px rgba(123, 31, 162, 0.4);
  transform: translateY(-3px);
}

.cta-support {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.cta-support a {
  color: #ffd54f;
  text-decoration: underline;
}

.cta-support a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-title {
    font-size: 3.2rem;
  }

  .about-subtitle {
    font-size: 1.6rem;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-image {
    order: -1;
    position: static;
  }

  .mission-quote {
    font-size: 2.8rem;
  }

  .mission-quote::before,
  .mission-quote::after {
    font-size: 3.5rem;
    top: -0.5rem;
  }

  .mission-quote::before {
    left: -1rem;
  }

  .mission-quote::after {
    right: -1rem;
  }

  .song-title {
    font-size: 2.8rem;
  }

  .media-toggle {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .toggle-btn {
    width: 200px;
  }

  .audio-visual {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .media-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .media-category {
    padding: 2rem;
  }
  
  .media-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 4rem 0;
  }

  .founder-story,
  .mission-statement,
  .sib-song-section,
  .community-impact,
  .how-it-works,
  .about-cta {
    padding: 4rem 0;
  }

  .song-meaning {
    padding: 2rem;
  }

  .process-step {
    padding: 2rem;
  }
}
/* ===== CONTACT PAGE STYLES ===== */

/* Contact Hero */
.contact-hero {
  background: url('../images/blue.jpg') center/cover, linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(57, 73, 171, 0.8) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.contact-title {
  font-size: 4.2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.contact-subtitle {
  font-size: 2rem;
  opacity: 0.9;
  margin-bottom: 0;
  font-style: italic;
}

/* Contact Introduction */
.contact-intro {
  padding: 6rem 0;
  background: white;
}

.intro-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.intro-content > p {
  font-size: 1.8rem;
  color: #555;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.support-type {
  background: #f8f9fa;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-type:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 35, 126, 0.1);
}

.support-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.support-type h3 {
  color: #1a237e;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.support-type p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Contact Form Section */
.contact-form-section {
  background: #f8f9fa;
  padding: 6rem 0;
}

.form-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.form-intro h2 {
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.form-intro p {
  font-size: 1.7rem;
  color: #555;
  line-height: 1.6;
}

.tally-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tally-form-container iframe {
  border-radius: 8px;
  min-height: 600px;
}

/* Contact Alternatives */
.contact-alternatives {
  padding: 6rem 0;
  background: white;
}

.contact-alternatives h2 {
  text-align: center;
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 4rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-method {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
}

.method-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.contact-method h3 {
  color: #1a237e;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-method p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-link {
  color: #1a237e;
  font-weight: 600;
  font-size: 1.8rem;
  text-decoration: none;
  border-bottom: 2px solid #1a237e;
  transition: all 0.2s ease;
}

.contact-link:hover {
  color: #303f9f;
  border-bottom-color: #303f9f;
}

.response-time {
  color: #1a237e;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.privacy-note {
  color: #555;
  font-style: italic;
}

.contact-method small {
  color: #888;
  font-size: 1.3rem;
}

/* FAQ Section */
.faq-section {
  background: #f8f9fa;
  padding: 6rem 0;
}

.faq-section h2 {
  text-align: center;
  color: #1a237e;
  font-size: 3.2rem;
  margin-bottom: 4rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
  color: #1a237e;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.faq-item p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

.faq-item a {
  color: #1a237e;
  font-weight: 600;
  text-decoration: underline;
}

.faq-item a:hover {
  color: #303f9f;
}

/* Emergency Support */
.emergency-support {
  background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
  color: white;
  padding: 4rem 0;
}

.emergency-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.emergency-content h2 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.emergency-content > p {
  font-size: 1.7rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.crisis-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.crisis-resource {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.crisis-resource h4 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.crisis-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffeb3b;
}

.crisis-resource p:last-child {
  margin-bottom: 0;
  opacity: 0.9;
}

.emergency-note {
  font-size: 1.5rem;
  font-style: italic;
  opacity: 0.9;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 2rem;
  margin-bottom: 0;
}

/* Contact CTA */
.contact-cta {
  background: url('../images/blue.jpg') center/cover, linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(57, 73, 171, 0.8) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.contact-cta h2 {
  color: white;
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.contact-cta p {
  font-size: 1.7rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-title {
    font-size: 3.2rem;
  }

  .contact-subtitle {
    font-size: 1.6rem;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .support-type {
    padding: 2rem;
  }

  .tally-form-container {
    padding: 1rem;
    margin: 0 1rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 4rem 0;
  }

  .contact-intro,
  .contact-form-section,
  .contact-alternatives,
  .faq-section,
  .contact-cta {
    padding: 4rem 0;
  }

  .emergency-support {
    padding: 3rem 0;
  }

  .support-type,
  .contact-method,
  .faq-item {
    padding: 2rem;
  }

  .crisis-resource {
    padding: 1.5rem;
  }

  .tally-form-container iframe {
    min-height: 500px;
  }
}
