/*--------------------------------------------------------------
# SIFST.AZ — Shared Page Styles
--------------------------------------------------------------*/

/* ---- Nav compact override (9 items) ---- */
@media (min-width: 992px) {
  .navbar a,
  .navbar a:focus {
    padding: 8px 0 8px 14px;
    font-size: 13.5px;
    letter-spacing: 0;
  }
  .navbar .getstarted,
  .navbar .getstarted:focus {
    padding: 8px 16px;
    margin-left: 14px;
  }
}

/* Active nav item highlight for multi-page */
.navbar a.nav-active {
  color: #7c3aed !important;
}

/* ---- Page Hero Banner ---- */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #4c1d95 100%);
  padding: 130px 0 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(124,58,237,0.12);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(124,58,237,0.07);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.page-hero p.lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-top: 16px;
}
.page-hero .breadcrumb-item a { color: #a78bfa; }
.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
}

/* ---- Insight Cards (home) ---- */
.insight-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 28px;
  box-shadow: 0 4px 24px rgba(124,58,237,0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #7c3aed;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(124,58,237,0.16);
}
.insight-card .icon {
  width: 58px; height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.insight-card .icon i { font-size: 26px; color: #fff; }
.insight-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.insight-card p { color: #374151; font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* ---- Methodology Steps (home snapshot) ---- */
.method-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(124,58,237,0.07);
  height: 100%;
  transition: transform 0.3s;
}
.method-step:hover { transform: translateY(-4px); }
.method-step .step-num {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.method-step h4 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.method-step p { font-size: 0.88rem; color: #374151; margin: 0; line-height: 1.65; }

/* ---- Metrics section ---- */
.metrics-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  padding: 70px 0;
}
.metric-box { text-align: center; padding: 28px 16px; }
.metric-box .metric-icon {
  font-size: 2.4rem; color: #7c3aed;
  margin-bottom: 14px; display: block;
}
.metric-box .metric-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem; font-weight: 900;
  color: #a78bfa; line-height: 1; margin-bottom: 8px;
}
.metric-box .metric-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  font-weight: 600;
  line-height: 1.4;
}

/* ---- News Cards ---- */
.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(124,58,237,0.14);
}
.news-card-img {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img .news-icon { font-size: 3.5rem; color: rgba(255,255,255,0.3); }
.news-card-body { padding: 24px; }
.news-card-tag {
  display: inline-block;
  background: rgba(124,58,237,0.1); color: #7c3aed;
  font-size: 0.73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.news-card-body h4 {
  font-size: 0.97rem; font-weight: 700; color: #0f172a;
  margin-bottom: 10px; line-height: 1.45;
}
.news-card-body p {
  font-size: 0.85rem; color: #374151;
  margin-bottom: 14px; line-height: 1.65;
}
.news-card-body .news-date { font-size: 0.78rem; color: #9ca3af; }
.news-card-body .read-more {
  font-size: 0.82rem; font-weight: 700; color: #7c3aed;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.news-card-body .read-more:hover { color: #4c1d95; gap: 8px; }

/* ---- CTA Banner ---- */
.cta-section {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: #fff; margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.03rem; color: rgba(255,255,255,0.85);
  max-width: 560px; margin: 0 auto 32px; line-height: 1.7;
}
.cta-section .btn-cta {
  background: #fff; color: #7c3aed;
  font-weight: 700; font-size: 1rem;
  padding: 14px 38px; border-radius: 8px;
  transition: all 0.3s; text-decoration: none;
  display: inline-block;
}
.cta-section .btn-cta:hover {
  background: #ede9fe; color: #4c1d95;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.cta-section .btn-cta-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  font-weight: 700; font-size: 1rem;
  padding: 12px 34px; border-radius: 8px;
  transition: all 0.3s; text-decoration: none;
  display: inline-block; margin-left: 12px;
}
.cta-section .btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff; color: #fff;
}

/* ---- Resource Cards ---- */
.resource-card {
  background: #fff;
  border-radius: 13px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(124,58,237,0.13);
}
.resource-card .res-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(167,139,250,0.18));
  display: flex; align-items: center; justify-content: center;
}
.resource-card .res-icon i { font-size: 24px; color: #7c3aed; }
.resource-card h4 { font-size: 0.97rem; font-weight: 700; color: #0f172a; margin: 0; }
.resource-card p { font-size: 0.85rem; color: #374151; margin: 0; flex: 1; line-height: 1.6; }
.resource-card a.res-link {
  font-size: 0.84rem; font-weight: 700; color: #7c3aed;
  display: inline-flex; align-items: center; gap: 6px;
}
.resource-card a.res-link:hover { color: #4c1d95; }

/* ---- Team Cards ---- */
.team-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  text-align: center;
  padding-bottom: 28px;
  height: 100%;
  transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-6px); }
.team-card-img {
  width: 100%; height: 260px;
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  overflow: hidden;
  margin-bottom: 20px;
}
.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 0;
  display: block;
}
.team-card-img .avatar-placeholder {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,0.5);
}
.team-card h4 { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin: 0 16px 6px; }
.team-card .role { font-size: 0.84rem; color: #7c3aed; font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.83rem; color: #374151; margin: 0 20px 16px; line-height: 1.6; }
.team-card .social-links a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(124,58,237,0.08); color: #7c3aed;
  border-radius: 50%; font-size: 14px;
  transition: all 0.3s; margin: 0 3px;
}
.team-card .social-links a:hover { background: #7c3aed; color: #fff; }

/* ---- Contact Info Card ---- */
.contact-info-card {
  background: #fff;
  border-radius: 13px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
}
.contact-info-card .ci-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card .ci-icon i { font-size: 22px; color: #fff; }
.contact-info-card h4 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.contact-info-card p { font-size: 0.9rem; color: #374151; margin: 0; line-height: 1.65; }
.contact-info-card a { color: #7c3aed; }
.contact-info-card a:hover { color: #4c1d95; }

/* ---- Contact Form ---- */
.contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(124,58,237,0.1);
}
.contact-form .form-label { font-weight: 600; color: #0f172a; font-size: 0.9rem; }
.contact-form .form-control {
  border: 1px solid #e5e7eb;
  border-radius: 8px; padding: 12px 16px;
  font-size: 0.93rem; transition: border-color 0.3s;
}
.contact-form .form-control:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.contact-form .btn-submit {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff; font-weight: 700;
  padding: 13px 36px; border-radius: 8px;
  border: none; font-size: 0.97rem; transition: all 0.3s;
}
.contact-form .btn-submit:hover {
  background: linear-gradient(135deg, #6d28d9, #4c1d95);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.3);
}

/* ---- Workflow diagram ---- */
.workflow {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 0;
  justify-content: center; margin-top: 40px;
}
.workflow-step { text-align: center; padding: 20px; min-width: 110px; flex: 1; }
.workflow-step .ws-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.workflow-step .ws-icon i { font-size: 26px; color: #fff; }
.workflow-step h5 { font-size: 0.86rem; font-weight: 700; color: #0f172a; margin: 0; }
.workflow-arrow { font-size: 1.8rem; color: #7c3aed; padding: 0 6px; flex-shrink: 0; }
@media (max-width: 768px) {
  .workflow-arrow { display: none; }
  .workflow { gap: 16px; }
}

/* ---- Eligibility list (Participate page) ---- */
.eligibility-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  margin-bottom: 12px;
  border-left: 3px solid #7c3aed;
  transition: transform 0.2s;
}
.eligibility-item:hover { transform: translateX(4px); }
.eligibility-item i { font-size: 20px; color: #7c3aed; flex-shrink: 0; }
.eligibility-item span { color: #334155; font-size: 0.94rem; font-weight: 500; }

/* ---- Ethics box ---- */
.ethics-box {
  background: linear-gradient(135deg, #f3e8ff, #faf5ff);
  border-radius: 14px; padding: 32px;
  border: 1px solid #e9d5ff;
}
.ethics-box h5 { font-weight: 700; color: #6d28d9; margin-bottom: 16px; }
.ethics-box ul { padding-left: 20px; }
.ethics-box ul li { color: #374151; font-size: 0.93rem; margin-bottom: 10px; line-height: 1.7; }

/* ---- Chart placeholder (Results page) ---- */
.chart-ph {
  background: linear-gradient(135deg, #f8f6ff, #f3e8ff);
  border: 2px dashed #c4b5fd;
  border-radius: 14px; min-height: 240px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #8b5cf6; text-align: center; padding: 24px;
}
.chart-ph i { font-size: 2.8rem; margin-bottom: 12px; opacity: 0.4; }
.chart-ph p { font-size: 0.9rem; color: #7c3aed; margin: 0; font-weight: 600; }
.chart-ph small { color: #94a3b8; font-size: 0.78rem; display: block; margin-top: 4px; }

/* ---- Download badge ---- */
.dl-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124,58,237,0.1); color: #7c3aed;
  font-size: 0.82rem; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
  text-decoration: none; transition: all 0.2s;
}
.dl-badge:hover { background: #7c3aed; color: #fff; }

/* ---- Shared helpers ---- */
.badge-purple {
  background: rgba(124,58,237,0.1); color: #7c3aed;
  font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 20px;
  display: inline-block; margin-bottom: 12px;
}
.section-divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border-radius: 2px; margin: 16px auto 0;
}
.bg-light-purple { background: #f5f3ff; }
.img-placeholder {
  width: 100%; border-radius: 14px;
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25); font-size: 4rem;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .page-hero h1 { font-size: 2rem; }
  .cta-section h2 { font-size: 1.7rem; }
  .metric-box .metric-num { font-size: 2.2rem; }
  .contact-form { padding: 28px; }
}
@media (max-width: 575px) {
  .cta-section .btn-cta-outline { margin-left: 0; margin-top: 12px; }
  .page-hero { padding: 110px 0 50px; }
}
