/* ================== SCFHS Design System Styles ================== */
:root {
  --brand: #31b889;
  --bd: #e2e8f0;
  --ink: #0b3b5a;
  --muted: #475569;
  --deep1: #06252d;
  --deep2: #0a3a47;
  --deep3: #0e5c67;
  --deep4: #158f9b;
}
/* Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #0b3b5a;
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout System */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 24px; */
}

.sec {
  padding: 56px 24px;
}

@media (max-width: 768px) {
  /* .wrap {
    padding: 0 16px;
  } */
  .sec {
    padding: 40px 24px;
  }
}

/* Fixes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
}

/* Unified Reusable Components */

/* Breadcrumb */
.breadcrumb-wrapper {
  /* background: #f8f9fa; */
  /* border-bottom: 1px solid #e5e5e5; */
  padding: 30px 0;
  position: relative;
  z-index: 1;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  list-style: none;
}

.breadcrumb-item a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #fff !important;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #fff;
}

@media (max-width: 768px) {
  .breadcrumb-nav {
    font-size: 0.75rem;
    gap: 0.25rem;
  }
}

#interns-landing {
  margin-top: -81px;
}

/* Hero Section */
.hero-fw {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero-fw .bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 380px at 85% -20%, rgba(27, 131, 84, 0.18), transparent 60%),
    radial-gradient(700px 320px at 10% -10%, rgba(14, 165, 166, 0.18), transparent 60%),
    linear-gradient(135deg, #06252d, #0a3a47 35%, #0e5c67 65%, #158f9b);
}

.hero-fw .overlay-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
  mix-blend-mode: screen;
  background-image: url('../images/interns/header.webp');
  background-size: cover;
  background-position: center;
}

/* @media (max-width: 1280px) {
  .hero-fw::before {
    background-image: url('../images/interns/bg2-1280.webp');
  }
}

@media (max-width: 768px) {
  .hero-fw::before {
    background-image: url('../images/interns/bg2-800.webp');
  }
} */

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 2rem;
}

.hero-inner h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, #31b889, #0ea5a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: clamp(1.12rem, 2.7vw, 1.44rem);
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Headers */
.section-header {
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  gap: 0.5rem;
  color: #31b889;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: #0b3b5a;
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #475569;
  max-width: 800px;
  margin: 0;
}

/* Enhanced Sections */
.enhanced-section {
  background: linear-gradient(135deg, rgba(27, 131, 84, 0.02) 0%, rgba(14, 165, 166, 0.03) 50%, rgba(27, 131, 84, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.enhanced-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 40%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(27, 131, 84, 0.06) 0%, transparent 70%);
  transform: rotate(15deg);
  pointer-events: none;
}

/* Enhanced Cards */
.enhanced-main-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(27, 131, 84, 0.08);
  border: 1px solid rgba(27, 131, 84, 0.1);
  position: relative;
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(27, 131, 84, 0.1);
}

.header-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(27, 131, 84, 0.1), rgba(14, 165, 166, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #31b889;
}

.header-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0b3b5a;
}

.lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #475569;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 131, 84, 0.15);
  border-color: rgba(27, 131, 84, 0.3);
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(27, 131, 84, 0.1), rgba(14, 165, 166, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #31b889;
  font-size: 1.25rem;
}

.benefit-content h4 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0b3b5a;
  line-height: 1.3;
}

.benefit-content p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}

.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(27, 131, 84, 0.1);
  border: 1px solid rgba(27, 131, 84, 0.2);
  color: #0b3b5a;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Card CTA */
.card-cta {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 131, 84, 0.1);
}

/* Service Introduction Layout */
.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.intro-text {
  order: 1;
}

.intro-image {
  order: 2;
}

@media (max-width: 768px) {
  .intro-image {
    order: 1;
  }

  .intro-text {
    order: 2;
  }
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(49, 184, 137, 0.15);
  transition: transform 0.3s ease;
}

.intro-image img:hover {
  transform: scale(1.02);
}


/* Steps Section */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 300px;
  text-align: center;
}

@media (max-width: 768px) {
  .step-item {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
  }
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #31b889, #0ea5a6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(49, 184, 137, 0.3);
}

.step-content {
  flex: 1;
}

@media (max-width: 768px) {
  .step-content {
    text-align: center;
  }
}

.step-content h4 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0b3b5a;
  line-height: 1.3;
}

.step-content p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}

.step-connector {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #31b889, #0ea5a6);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .step-connector {
    width: 3px;
    height: 40px;
  }
}

.steps-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Actions */
.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: #31b889;
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(27, 131, 84, 0.3);
}

.btn.primary:hover {
  /* background: #0ea5a6; */
  transform: translateY(-2px);
  /* box-shadow: 0 16px 40px rgba(27, 131, 84, 0.4); */
}

.btn.primary:hover svg {
  transform: scaleX(-1) translate(2px, -2px);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn.enhanced {
  position: relative;
  overflow: hidden;
}

.btn.enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn.enhanced:hover::before {
  left: 100%;
}

.btn.enhanced svg {
  transform: scaleX(-1);
}

/* FAQ Section */
#faq {
  background: linear-gradient(135deg, rgba(27, 131, 84, 0.02) 0%, rgba(14, 165, 166, 0.03) 50%, rgba(27, 131, 84, 0.02) 100%);
}

.faq-categories {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.faq-category {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.acc.enhanced {
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  background: #fff;
  margin-bottom: 1rem;
}

.acc.enhanced:hover {
  border-color: rgba(27, 131, 84, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 131, 84, 0.1);
}

.acc.enhanced[open] {
  border-color: #31b889;
  box-shadow: 0 8px 25px rgba(27, 131, 84, 0.15);
  overflow: hidden;
}

.acc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(27, 131, 84, 0.1), rgba(14, 165, 166, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  color: #31b889;
}

.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  gap: 1rem;
  font-weight: 800;
  color: #0b3b5a;
  transition: all 0.3s ease;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc-content {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.acc-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0b3b5a;
  line-height: 1.3;
}

.acc-meta {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
  opacity: 0.8;
}

.chev {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-default);
  border-bottom: 2px solid var(--text-default);
  transform: rotate(45deg);
  transition: 0.2s;
  margin-left: 1rem;
}

.acc[open] .chev {
  transform: rotate(-135deg);
}

.acc-body {
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  margin-bottom: 0 !important;
}

.faq-item .chev {
  border-right-color: #31b889;
  border-bottom-color: #31b889;
  transition: transform 0.3s ease;
}

.faq-item[open] .chev {
  transform: rotate(-135deg) !important;
}

.faq-answer {
  padding: 0.5rem 0;
}

.faq-answer p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #0b3b5a;
}

@media (max-width: 768px) {
  .faq-categories {
    gap: 1.5rem;
  }
  
  .faq-category {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .category-title {
    font-size: 1.125rem;
    gap: 0.5rem;
  }
  
  .category-icon {
    font-size: 1.25rem;
  }
  
  .helpful-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .helpful-btn {
    width: 100px;
  }

  .acc.enhanced summary {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .acc-icon {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }
  
  .acc-title {
    font-size: 1rem;
  }
  
  .acc-meta {
    font-size: 0.75rem;
  }
}

/* Support Section */
#support {
  background: linear-gradient(135deg, rgba(27, 131, 84, 0.02) 0%, rgba(14, 165, 166, 0.03) 50%, rgba(27, 131, 84, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

#support::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 40%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(27, 131, 84, 0.06) 0%, transparent 70%);
  transform: rotate(15deg);
  pointer-events: none;
}

.support-main-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(27, 131, 84, 0.08);
  border: 1px solid rgba(27, 131, 84, 0.1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .support-main-card {
    flex-direction: column;
    text-align: center;
  }
}

.support-text {
  flex: 1;
}

.support-text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0b3b5a;
}

.support-text p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.6;
}

.support-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

@media (max-width: 768px) {
  .support-features {
    /* justify-content: center; */
    display: none;
  }

}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  border: 1px solid rgba(27, 131, 84, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 1.125rem;
  color: #31b889;
}

.feature-text {
  color: #0b3b5a;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-inner h1 {
    font-size: clamp(28px, 8vw, 48px);
  }

  .hero-text {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .benefits-grid {
    gap: 0.75rem;
  }

  .benefit-card {
    padding: 1rem;
  }

  .enhanced-main-card {
    padding: 1.5rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .benefit-card {
    animation: fadeInUp 0.5s ease-out backwards;
  }

  .benefit-card:nth-child(1) { animation-delay: 0.05s; }
  .benefit-card:nth-child(2) { animation-delay: 0.1s; }
  .benefit-card:nth-child(3) { animation-delay: 0.15s; }
  .benefit-card:nth-child(4) { animation-delay: 0.2s; }
  .benefit-card:nth-child(5) { animation-delay: 0.25s; }
  .benefit-card:nth-child(6) { animation-delay: 0.3s; }
  .benefit-card:nth-child(7) { animation-delay: 0.35s; }
  .benefit-card:nth-child(8) { animation-delay: 0.4s; }
  .benefit-card:nth-child(9) { animation-delay: 0.45s; }

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

/* Focus States */
.btn:focus-visible,
.acc summary:focus-visible {
  outline: 3px solid rgba(27, 131, 84, 0.4);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .hero-fw,
  .support-features,
  .btn {
    display: none;
  }

  .sec {
    padding: 1rem 0;
  }

  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
}