/* Home page styles */
.home-container { max-width: 1100px; margin: 0 auto; padding: var(--spacing-xl); }
.home-page { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.welcome {
  background: linear-gradient(180deg, rgba(24,54,97,0.06), rgba(24,54,97,0.02)) , var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: calc(var(--spacing-xl) * 1.1);
  position: relative;
  overflow: hidden;
}
.welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 400px at -10% -20%, rgba(24,54,97,0.08), transparent 60%),
              radial-gradient(800px 300px at 110% 0%, rgba(24,54,97,0.06), transparent 55%);
  pointer-events: none;
}

/* Welcome card CTA links (non-button style) */
.welcome-card .cta-links { display:flex; gap:.9rem; flex-wrap:wrap; margin-top: var(--spacing-md); }
.welcome-card .cta-links a { color:#183661; font-weight:600; text-decoration: underline; }
.welcome-card .cta-links a:hover { color:#2c5aa0; }
.welcome h1 { margin: 0 0 var(--spacing-xs) 0; color: var(--pmtnm-primary); line-height: 1.15; letter-spacing: -0.01em; font-weight: 800; }
.welcome .meta { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; margin-top: var(--spacing-xs); color: #4b5563; font-size: .95rem; }
.welcome .meta span { background: rgba(24,54,97,0.06); border: 1px solid rgba(24,54,97,0.12); padding: 4px 8px; border-radius: 999px; }

.home-grid { display: grid; gap: var(--spacing-lg); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: var(--spacing-lg); }

.home-card { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: calc(var(--spacing-lg) * 1.25); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; border-left: 4px solid rgba(24,54,97,0.15); position: relative; overflow: hidden; }
.home-card h3 { margin-top: 0; color: var(--pmtnm-primary); }
.home-card h3 a { color: inherit; text-decoration: none; }
.home-card h3 a:hover { text-decoration: underline; }
.home-card .list { margin: 0; padding-left: 1.2rem; list-style: disc; }
.home-card .list li { margin-bottom: .4rem; }
.home-card .actions { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; margin-top: var(--spacing-md); }
.home-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.10); transform: translateY(-3px); border-left-color: var(--pmtnm-primary); }
.home-card:hover::after { opacity: 1; }
.home-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 200px at 120% -10%, rgba(24,54,97,0.06), transparent 60%); transition: opacity .25s ease; opacity: 0; }
.home-card .btn { font-weight: 600; }
.home-card .btn.btn-outline { border-color: rgba(24,54,97,0.35); color: #183661; }
.home-card .btn.btn-outline:hover { background: #183661; color: #fff; }
.home-card .btn.btn-primary { box-shadow: 0 2px 8px rgba(24,54,97,0.18); transition: transform .15s ease, box-shadow .15s ease; }
.home-card .btn.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(24,54,97,0.22); }

/* Directory completion pill */
.status-pill { display:inline-block; font-weight: 700; font-size: .85rem; padding: 6px 10px; border-radius: 999px; margin: 6px 0 10px; }
.status-pill.complete { background: #e7f6ea; color: #17653a; border: 1px solid #b8e0c1; }
.status-pill.incomplete { background: #fff5f5; color: #8a1c1c; border: 1px solid #f1b5b5; }
.status-pill.incomplete a { color: #8a1c1c; font-weight: 700; text-decoration: underline; }
.actions { display:flex; gap: var(--spacing-sm); flex-wrap: wrap; }

.home-section { margin-top: var(--spacing-xl); }
.home-section h2 { color: var(--pmtnm-primary); margin-top: 0; position: relative; padding-bottom: .4rem; }
.home-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--pmtnm-primary), rgba(24,54,97,0.2));
  border-radius: 2px;
}
.home-section + .home-section { border-top: 1px solid var(--border); padding-top: var(--spacing-xl); }
.home-subtitle { color:#6c757d; margin-top:-8px; font-size: .98rem; }

/* Admin Quick Links polish (applies to any outline buttons in home sections) */
.home-section .actions .btn.btn-outline { border-width: 2px; padding: .55rem .9rem; border-radius: 10px; }
.home-section .actions .btn.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(24,54,97,0.15); }

/* Quick Links specific layout */
.home-section.quick-links .home-card { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-md); }
.home-section.quick-links .actions { margin: 0; }

/* System Map: make the info cards feel cohesive */
.home-section:has(> .home-grid) .home-card { min-height: 220px; display: flex; flex-direction: column; }
.home-section:has(> .home-grid) .home-card p { color: #4b5563; }
.home-section:has(> .home-grid) .home-card ul li { color: #374151; }

/* Start Here enhancements */
.home-section.start-here .home-grid { position: relative; }
.home-section.start-here .home-grid::before {
  content: "Let's begin";
  position: absolute;
  top: -28px;
  right: 6px;
  color: rgba(24,54,97,0.25);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: .08em;
}
.home-section.start-here .home-card { border-left-color: rgba(40, 167, 69, 0.35); }
.home-section.start-here .home-card:nth-child(2n) { border-left-color: rgba(24, 54, 97, 0.35); }
.home-section.start-here .home-card:nth-child(3n) { border-left-color: rgba(220, 53, 69, 0.35); }

/* System Map accents */
.home-section.system-map .home-card h3 { display: inline-flex; align-items: center; gap: .5rem; }
.home-section.system-map .home-card h3::after { content: "→"; color: #2c5aa0; opacity: .6; transform: translateX(0); transition: transform .2s ease; }
.home-section.system-map .home-card:hover h3::after { transform: translateX(4px); }

/* Quick Links enhancement */
.home-section.quick-links.enhanced .home-card { background: linear-gradient(180deg, #ffffff, #f8fbff); }
.home-section.quick-links.enhanced .btn.btn-outline { border-color: #2c5aa0; color: #183661; }
.home-section.quick-links.enhanced .btn.btn-outline:hover { background: #183661; color: #fff; }

@media (max-width: 640px) {
  .home-container { padding: var(--spacing-lg); }
  .welcome { padding: var(--spacing-lg); }
  .home-section h2 { font-size: 1.25rem; }
  .home-grid { grid-template-columns: 1fr; gap: var(--spacing-md); }
  .home-card { padding: var(--spacing-md); }
}
/* Extracted homepage styles from inline <style> blocks in index.php */

/* Mini Conference section */
.mini-conference-section { 
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  padding-top: 2.75rem; 
  padding-bottom: 2.75rem; 
}
.mini-conference-blurb {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem 1.75rem 1.75rem 2rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.mini-conference-blurb { border-left: 5px solid #183661; }
.mini-conference-blurb::before {
  content: "";
  position: absolute;
  top: -30px; left: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(120px 120px at 50% 50%, rgba(24,54,97,0.10), transparent 70%);
  pointer-events: none;
}
.mini-conference-blurb h2 { color: #183661; margin-top: 0; }
.mini-conference-blurb h2 { font-weight: 700; letter-spacing: -0.01em; }
.mini-conference-blurb p { color: #374151; line-height: 1.65; font-size: 1.05rem; }
.mini-conference-blurb .cta-row { margin-top: 1rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.mini-conference-blurb .cta-row .btn { 
  border-radius: 10px; 
  padding: .65rem 1.05rem; 
  box-shadow: 0 4px 10px rgba(24,54,97,0.15);
}
.mini-conference-blurb .cta-row .btn.btn-primary:hover { transform: translateY(-1px); }

/* 2025 Events (Enhanced) */
.events-2025 { 
  padding: 4rem 0; 
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
  position: relative; 
}
.events-2025 > .container {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 2rem 2rem 2.5rem;
}
.events-2025::before { 
    content: ''; 
    display: block; 
    height: 250px; 
    margin-top: -250px; 
    visibility: hidden; 
    pointer-events: none; 
}
.events-2025 h2 { 
    color: #183661; 
    margin: 0 0 1rem; 
    font-size: 2.2rem; 
    text-align: center;
    font-weight: 600;
}
.events-intro {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.events-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 2rem; 
    max-width: 1200px;
    margin: 0 auto;
}
.event-card {
    position: relative;
    display: block;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.15);
}
.event-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    text-decoration: none;
    color: white;
}
.honors-card {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.9), rgba(24, 54, 97, 0.9)), 
                url('/images/honors_trophy_bg.jpg') center/cover;
    background-color: #fd7e14; /* fallback */
}
.survey-card {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(23, 162, 184, 0.9)), 
                url('/images/conference_bg.jpg') center/cover;
    background-color: #28a745; /* fallback */
}
.music-bowl-card {
    background: linear-gradient(135deg, rgba(102, 16, 242, 0.9), rgba(220, 53, 69, 0.9)), 
                url('/images/music_bowl_bg.jpg') center/cover;
    background-color: #6610f2; /* fallback */
}
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    transition: opacity 0.3s ease;
}
.event-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 200px at 120% -20%, rgba(255,255,255,0.08), transparent 60%);
  opacity: .8; pointer-events: none; transition: opacity .3s ease;
}
.event-card:hover::after { opacity: 1; }
.event-card:hover .card-overlay { opacity: 0.8; }
.card-content { position: relative; z-index: 2; padding: 2rem; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.card-content h3 { font-size: 1.5rem; font-weight: 600; margin: 0 0 1rem 0; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.card-content p { font-size: 1rem; line-height: 1.5; margin: 0 0 1.5rem 0; opacity: 0.95; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.card-cta { font-size: 1.1rem; font-weight: 600; color: #ffd166; text-shadow: 0 1px 2px rgba(0,0,0,0.5); transition: color 0.3s ease; }
.event-card:hover .card-cta { color: #fff; }

@media (max-width: 768px) {
  .events-2025 { padding: 3rem 0; }
  .events-2025 h2 { font-size: 1.8rem; }
  .events-cards { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1rem; }
  .event-card { height: 250px; }
  .card-content { padding: 1.5rem; }
  .card-content h3 { font-size: 1.3rem; }
  .card-content p { font-size: 0.95rem; }
}

/* Upcoming Events Calendar Styles */
.upcoming-events-section { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid #e9ecef; }
.upcoming-events-section h3 { text-align: center; color: #183661; margin-bottom: 2rem; font-size: 2rem; font-weight: 600; }
.calendar-notice { background-color: #fff3cd; border: 1px solid #ffeeba; border-radius: 8px; padding: 1rem; margin: 1rem 0 2rem; text-align: center; }
.important-notice { color: #856404; margin: 0; font-weight: 500; }
.calendar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.calendar-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); display: flex; transition: transform 0.3s ease; }
.calendar-card:hover { transform: translateY(-5px); }
.date-badge { background: linear-gradient(180deg, #183661, #0f2847); color: white; padding: 1rem; text-align: center; min-width: 84px; display: flex; flex-direction: column; justify-content: center; }
.month { font-size: 1.1rem; text-transform: uppercase; font-weight: 600; margin-bottom: 0.25rem; }
.day { font-size: 1.8rem; font-weight: 700; }
.event-details { padding: 1.25rem; flex-grow: 1; }
.event-details h4 { color: #183661; font-size: 1.2rem; margin-bottom: 0.5rem; line-height: 1.4; }
.organization { color: #666; font-size: 0.9rem; margin-bottom: 0.75rem; font-style: italic; }
.description { color: #444; font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; }
.event-link { display: inline-block; color: #183661; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.verification-steps { list-style: none; padding: 0; margin: 1rem 0; text-align: center; }
.verification-steps li { margin: 0.5rem 0; color: #666; }
.verification-steps a { color: #183661; text-decoration: none; font-weight: 600; }
.verification-steps a:hover { text-decoration: underline; }
.calendar-disclaimer { text-align: center; margin-top: 3rem; padding: 1.5rem; background: white; border-radius: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); max-width: 900px; margin-left: auto; margin-right: auto; }
.calendar-disclaimer p { color: #666; margin-bottom: 1rem; font-size: 1rem; }
.org-links { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.org-links a { color: #183661; text-decoration: none; font-weight: 500; transition: color 0.2s ease; }
.org-links a:hover { color: #2c5aa0; text-decoration: underline; }

/* Help Me Find Section */
.help-find-section { 
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); 
  padding: 4rem 0; 
}
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 2rem auto 0; }
.faq-card { background: white; padding: 1.6rem; border-radius: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); transition: transform 0.25s ease, box-shadow .25s ease; border-top: 3px solid rgba(24,54,97,0.15); }
.faq-card:hover { transform: translateY(-6px); box-shadow: 0 10px 22px rgba(0,0,0,0.12); }
.faq-card h3 { color: #183661; font-size: 1.1rem; margin-bottom: 1rem; line-height: 1.4; }
.faq-card p { color: #444; font-size: 0.95rem; line-height: 1.5; }
.faq-card a { color: #183661; text-decoration: none; font-weight: 600; }
.faq-card a:hover { text-decoration: underline; }
.faq-notice { background-color: #fff3cd; border: 1px solid #ffeeba; border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; grid-column: 1 / -1; }
.faq-notice .important-notice { color: #856404; font-weight: 600; margin-bottom: 0.5rem; }
.faq-notice p { color: #666; line-height: 1.5; margin: 0; }
.highlight-card { border: 2px solid #183661; background: linear-gradient(to bottom right, #ffffff, #f8f9fa); }
.highlight-card h3 { color: #183661; font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.4; }
.highlight-card p { color: #333; font-size: 1rem; line-height: 1.6; }

/* Get Involved Section */
.get-involved-section { background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%); }
.get-involved-section .lead-text { font-size: 1.2rem; line-height: 1.8; color: #183661; margin-bottom: 2rem; font-weight: 500; }
.committee-overview, .committee-responsibilities, .why-serve, .how-to-join, .additional-resources, .call-to-action { margin-bottom: 3rem; }
.committee-overview h3, .committee-responsibilities h3, .why-serve h3, .how-to-join h3, .additional-resources h3, .call-to-action h3 { color: #183661; font-size: 1.8rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 3px solid #183661; }
.handbook-quote { background: #fff; border-left: 5px solid #183661; padding: 1.5rem 2rem; margin: 1.5rem 0; font-style: italic; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.handbook-quote cite { display: block; margin-top: 1rem; font-size: 0.9rem; color: #666; font-style: normal; font-weight: 600; }
.responsibility-card { background: #fff; border-radius: 8px; padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-top: 4px solid #183661; }
.responsibility-card h4 { color: #183661; font-size: 1.3rem; margin-bottom: 1rem; }
.responsibility-card ul { margin: 1rem 0; padding-left: 1.5rem; }
.responsibility-card ul li { margin-bottom: 0.5rem; }
.handbook-reference { font-size: 0.95rem; color: #666; font-style: italic; margin-top: 1rem; padding: 0.75rem; background: #f8f9fa; border-radius: 4px; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.benefit-item { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.benefit-item:hover { transform: translateY(-5px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.benefit-item h4 { color: #183661; font-size: 1.1rem; margin-bottom: 0.75rem; }
.action-steps { background: #fff; padding: 2rem 2rem 2rem 3rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); counter-reset: step-counter; list-style: none; }
.action-steps li { counter-increment: step-counter; margin-bottom: 1.5rem; padding-left: 1rem; position: relative; }
.action-steps li:before { content: counter(step-counter); position: absolute; left: -2rem; background: #183661; color: #fff; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.resource-links { list-style: none; padding: 0; }
.resource-links li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; }
.resource-links li:before { content: "📖"; position: absolute; left: 0; }
.resource-links a { color: #183661; text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.resource-links a:hover { color: #0066cc; text-decoration: underline; }
.resource-category { color: #183661; font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }
.additional-resources h4:first-of-type { margin-top: 1rem; }
.call-to-action { background: linear-gradient(135deg, #183661 0%, #2a4d7f 100%); color: #fff; padding: 3rem; border-radius: 12px; text-align: center; }
.call-to-action h3 { color: #fff; border-bottom: 3px solid #fff; }
.call-to-action p { font-size: 1.1rem; margin-bottom: 2rem; }
.call-to-action .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .handbook-quote { padding: 1rem; }
  .responsibility-card { padding: 1.5rem; }
  .call-to-action { padding: 2rem; }
  .call-to-action .cta-buttons { flex-direction: column; }
}

/* MTNA About section stats and objectives */
.mtna-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2rem 0; text-align: center; }
.stat-item { background: #f8f9fa; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.stat-item h3 { color: #183661; font-size: 2.5rem; margin: 0; }
.stat-item p { margin: 0.5rem 0 0; color: #666; }
.strategic-objectives { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.objective { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.objective h4 { color: #183661; margin-bottom: 1rem; }
.objective ul { margin: 1rem 0; padding-left: 1.5rem; }
.objective li { margin: 0.5rem 0; color: #444; }


