/* ==========================================================================
   Iran SuJok Academy - home.css
   Homepage Stylesheet - Matching why/index.html visual system & uncropped images
   ========================================================================== */

/* Hero Section with Colored Background */
.hero {
  background: linear-gradient(135deg, #052a36 0%, #083b4c 50%, #0e9ca8 100%);
  color: #ffffff;
  padding: 60px 0 55px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21, 202, 219, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #ffffff;
}

.hero-instructor-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(21, 202, 219, 0.15);
  border: 1px solid rgba(21, 202, 219, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-full, 999px);
  font-size: 0.88rem;
  font-weight: 800;
  color: #15cadb;
  margin-bottom: 18px;
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 1.05rem;
  color: #d1e4ec;
  line-height: 1.95;
  margin-bottom: 28px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

/* Stats in Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats .stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero-stats .stat-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #15cadb;
  margin-bottom: 4px;
}

.hero-stats .stat-item p {
  font-size: 0.82rem;
  color: #d1e4ec;
  margin: 0;
  line-height: 1.6;
}

/* Hero Visual Card (Card 1 in colored background) */
.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card-wrapper {
  width: 100%;
  max-width: 440px;
}

.visual-card-main {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(5, 42, 54, 0.25);
  border: 4px solid #ffffff;
  padding: 20px 20px 24px;
  color: var(--primary-dark, #052a36);
  transition: transform 0.3s ease;
}

.visual-card-main:hover {
  transform: translateY(-4px);
}

/* Uncropped Professor Portrait Frame */
.founder-portrait-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid rgba(14, 156, 168, 0.25);
  box-shadow: 0 8px 24px rgba(5, 42, 54, 0.12);
  background: #ffffff;
}

.founder-portrait-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.founder-portrait-frame .caption {
  background: linear-gradient(135deg, #052a36 0%, #0b4556 100%);
  padding: 12px 16px;
  color: #ffffff;
}

.founder-portrait-frame .caption-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffffff;
}

.founder-portrait-frame .caption-title span {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  direction: ltr;
  display: inline-block;
}

.founder-portrait-frame .caption-sub {
  font-size: 0.85rem;
  color: #5eead4;
  font-weight: 700;
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.visual-logo-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ffffff;
  padding: 4px;
  border: 1px solid var(--border-color, rgba(14, 156, 168, 0.18));
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.visual-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark, #052a36);
  margin-bottom: 2px;
}

.visual-info p {
  font-size: 0.82rem;
  color: var(--text-muted, #486875);
  margin: 0;
}

.visual-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.v-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-light, #e6f9fa);
  border: 1px solid rgba(14, 156, 168, 0.25);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b6b75;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.v-tag:hover {
  background: var(--teal-main, #0e9ca8);
  color: #ffffff;
}

/* Common Section Header Styling */
.section-header {
  margin-bottom: 36px;
  text-align: center;
}

.section-tag {
  background: var(--teal-light, #e6f9fa);
  color: var(--teal-main, #0e9ca8);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 900;
  color: var(--primary-dark, #052a36);
  margin: 0 0 12px 0;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted, #486875);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ==========================================================================
   What is SuJok Card (کارت سوجوک چیست)
   ========================================================================== */
.what-is-sujok-section {
  margin-top: 30px;
  margin-bottom: 70px;
}

.what-is-sujok-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 28px);
  border: 1px solid var(--border-color, rgba(14, 156, 168, 0.18));
  box-shadow: var(--shadow-md);
  padding: 50px 40px;
  position: relative;
}

.what-is-sujok-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.what-is-sujok-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark, #052a36);
  margin-bottom: 16px;
  line-height: 1.4;
}

.what-is-sujok-lead {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.95;
  margin-bottom: 18px;
}

.what-is-sujok-callout {
  font-size: 0.98rem;
  color: var(--text-muted, #486875);
  line-height: 1.9;
  margin-bottom: 22px;
  background: rgba(14, 156, 168, 0.06);
  padding: 20px;
  border-right: 4px solid var(--teal-main, #0e9ca8);
  border-radius: 8px 16px 16px 8px;
}

.what-is-sujok-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-what-is-main {
  padding: 12px 28px;
  font-weight: 800;
}

/* Uncropped Hand Image in What is SuJok */
.uncropped-hand-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.uncropped-hand-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(5, 42, 54, 0.14);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.uncropped-hand-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.uncropped-hand-badge {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background: linear-gradient(135deg, #052a36, #0e9ca8);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 2;
}

/* Core Perspectives Banner in What is SuJok */
.what-is-sujok-banner-wrapper {
  border-top: 1px dashed var(--border-color, rgba(14, 156, 168, 0.18));
  padding-top: 36px;
  margin-top: 10px;
}

.what-is-sujok-banner {
  background: linear-gradient(135deg, #052a36 0%, #083b4c 60%, #0e9ca8 100%);
  border-radius: 24px;
  padding: 36px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 16px 36px rgba(5, 42, 54, 0.12);
}

.what-is-sujok-banner-info {
  max-width: 680px;
}

.what-is-sujok-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 202, 219, 0.15);
  border: 1px solid rgba(21, 202, 219, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #15cadb;
  margin-bottom: 12px;
}

.what-is-sujok-banner-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.35;
}

.what-is-sujok-banner-desc {
  font-size: 0.94rem;
  color: #d1e4ec;
  margin: 0;
  line-height: 1.85;
}

.what-is-sujok-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-banner-primary {
  background: #15cadb;
  color: #052a36;
  padding: 12px 24px;
  font-weight: 900;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(21, 202, 219, 0.3);
  transition: all 0.25s ease;
}

.btn-banner-primary:hover {
  background: #2fe0f0;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 202, 219, 0.45);
}

.btn-banner-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-banner-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Research Cards */
.research-card-item {
  background: #ffffff;
  border: 1px solid var(--border-color, rgba(14, 156, 168, 0.18));
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.research-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--teal-main, #0e9ca8);
  box-shadow: 0 14px 34px rgba(14, 156, 168, 0.15);
}

/* Instructor Showcase */
.instructor-showcase {
  background: linear-gradient(145deg, #052a36 0%, #083b4c 100%);
  color: #ffffff;
  border-radius: var(--radius-lg, 28px);
  padding: 44px;
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(21, 202, 219, 0.25);
  position: relative;
  overflow: hidden;
}

.instructor-photo-wrapper {
  text-align: center;
  position: relative;
}

.instructor-large-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
  border: 4px solid rgba(21, 202, 219, 0.8);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  margin: 0 auto 16px;
  background: #ffffff;
  display: block;
}

.instructor-credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  color: #d1e4ec;
}

/* Workshop Feature */
.workshop-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color, rgba(14, 156, 168, 0.18));
  border-radius: var(--radius-lg, 28px);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 70px;
}

.workshop-large-img-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workshop-large-img-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Curriculum Levels */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.curriculum-card {
  background: var(--teal-light, #e6f9fa);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(14, 156, 168, 0.2);
}

.curriculum-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark, #052a36);
  margin-bottom: 6px;
}

.curriculum-card p {
  font-size: 0.88rem;
  color: var(--text-muted, #486875);
  line-height: 1.7;
  margin: 0;
}

/* Audience Section */
.audience-section {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(8, 43, 58, 0.02) 0%, rgba(14, 156, 168, 0.06) 100%);
  border-radius: var(--radius-lg, 28px);
  margin-bottom: 70px;
}

.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.audience-tab-btn {
  padding: 11px 22px;
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--border-color, rgba(14, 156, 168, 0.18));
  background: #ffffff;
  color: var(--text-muted, #486875);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast, 0.25s ease);
}

.audience-tab-btn:hover,
.audience-tab-btn.active {
  background: var(--teal-main, #0e9ca8);
  color: #ffffff;
  border-color: var(--teal-main, #0e9ca8);
  box-shadow: 0 6px 18px rgba(14, 156, 168, 0.25);
}

.audience-content-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 28px);
  padding: 40px;
  border: 1px solid var(--border-color, rgba(14, 156, 168, 0.18));
  box-shadow: var(--shadow-md);
  display: none;
  animation: fadeIn 0.4s ease;
}

.audience-content-card.active {
  display: block;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero {
    padding: 44px 0 40px;
    overflow: hidden;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    text-align: center;
    gap: 36px;
    max-width: 100% !important;
  }
  .hero-content {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-actions {
    justify-content: center;
  }
  .visual-card-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-stats {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
  .instructor-showcase {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    text-align: center;
  }
  .workshop-feature-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .what-is-sujok-section {
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .what-is-sujok-card {
    padding: 34px 24px;
  }
  .what-is-sujok-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
  .uncropped-hand-container {
    max-width: 380px;
    margin: 10px auto 20px;
  }
  .what-is-sujok-banner {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 34px 0 28px;
    margin-bottom: 24px;
    overflow: hidden;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px;
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }
  .hero-content {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-instructor-badge {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
    line-height: 1.5 !important;
  }
  .hero-title {
    font-size: clamp(1.45rem, 6vw, 1.95rem) !important;
    line-height: 1.35;
    margin-bottom: 12px;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .hero-description {
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 18px;
    max-width: 100% !important;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-actions .btn {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 18px !important;
    font-size: 0.88rem !important;
  }
  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding-top: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-stats .stat-item {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 100% !important;
  }
  .hero-stats .stat-item h4 {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .hero-stats .stat-item p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* First Card: Hero Visual Card (Professor Park) Mobile Styling */
  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .visual-card-wrapper {
    width: 100%;
    max-width: 330px !important;
    margin: 0 auto !important;
  }
  .visual-card-main {
    padding: 14px 14px 18px !important;
    border-radius: 20px !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 10px 28px rgba(5, 42, 54, 0.18) !important;
  }
  .founder-portrait-frame {
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    border-width: 1.5px !important;
  }
  .founder-portrait-frame img {
    max-height: 230px !important;
    width: 100% !important;
    object-fit: contain !important;
  }
  .founder-quote {
    margin: 0 0 12px 0 !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    line-height: 1.75 !important;
    text-align: right !important;
    border-radius: 10px !important;
    border-right-width: 3.5px !important;
  }
  .founder-title-block {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
  }
  .founder-name {
    font-size: 1.1rem !important;
    margin: 0 0 2px 0 !important;
  }
  .founder-desc {
    font-size: 0.82rem !important;
  }
  .founder-action-btn {
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 12px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    white-space: normal !important;
    gap: 6px !important;
  }

  .what-is-sujok-section {
    margin-top: 15px;
    margin-bottom: 40px;
  }
  .what-is-sujok-card {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .what-is-sujok-heading {
    font-size: 1.2rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .what-is-sujok-lead {
    font-size: 0.94rem;
    line-height: 1.85;
    margin-bottom: 14px;
  }
  .what-is-sujok-callout {
    font-size: 0.9rem;
    line-height: 1.8;
    padding: 14px 14px;
    margin-bottom: 18px;
    border-radius: 6px 12px 12px 6px;
  }
  .what-is-sujok-actions {
    flex-direction: column;
    gap: 10px;
  }
  .what-is-sujok-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.88rem;
  }
  .uncropped-hand-container {
    max-width: 320px;
    margin: 12px auto 24px auto;
  }
  .uncropped-hand-card {
    border-radius: 18px;
  }
  .uncropped-hand-badge {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    padding: 7px 14px;
    white-space: normal;
    text-align: center;
    width: max-content;
    max-width: 90%;
  }
  .what-is-sujok-banner-wrapper {
    padding-top: 24px;
    margin-top: 6px;
  }
  .what-is-sujok-banner {
    padding: 20px 16px;
    border-radius: 18px;
    gap: 16px;
  }
  .what-is-sujok-banner-title {
    font-size: 1.15rem;
    line-height: 1.4;
  }
  .what-is-sujok-banner-desc {
    font-size: 0.86rem;
    line-height: 1.75;
  }
  .what-is-sujok-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .what-is-sujok-banner-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 11px 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 400px) {
  .visual-card-wrapper {
    max-width: 295px !important;
  }
  .visual-card-main {
    padding: 12px 10px 15px !important;
    border-radius: 16px !important;
  }
  .founder-portrait-frame img {
    max-height: 195px !important;
  }
  .founder-quote {
    font-size: 0.8rem !important;
    line-height: 1.7 !important;
    padding: 8px 10px !important;
  }
  .founder-name {
    font-size: 1.02rem !important;
  }
  .founder-desc {
    font-size: 0.78rem !important;
  }
  .founder-action-btn {
    font-size: 0.78rem !important;
    padding: 9px 10px !important;
  }
}

