/* =========================================================
   PROJECTS & TEAM EXPERIENCE
   ========================================================= */

.experience-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 30px 90px;
  box-sizing: border-box;
}
/* =========================================================
   SVG-BASED CARD COVERS
   ========================================================= */

.experience-card {
  --card-cover-height: 64px;
  position: relative;
  overflow: hidden;
}

/* Kapak alanı */
.experience-card::before {
  content: "";
  display: block;
  height: var(--card-cover-height);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* İçerik kapağın üstüne binmesin */
.experience-card-header {
  position: relative;
  z-index: 1;
}
/* İkon ve açıklama aynı tıklanabilir header içinde kalır. */
.card-toggle-group {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.card-toggle-label {
  color: #087488;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.card-label-less,
.experience-card.is-open .card-label-more {
  display: none;
}

.experience-card.is-open .card-label-less {
  display: inline;
}
/* ---------- GREENWITHAR ---------- */
.card-theme-greenwithar::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23d8f6df'/%3E%3Cstop offset='55%25' stop-color='%239fe0b1'/%3E%3Cstop offset='100%25' stop-color='%2370c88b'/%3E%3C/linearGradient%3E%3ClinearGradient id='leaf' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='.18'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 35 C180 5, 280 5, 420 45 C560 85, 650 5, 780 25 C900 42, 980 2, 1200 25 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.14'/%3E%3Cpath d='M120 240 C210 150, 310 90, 420 40 C500 5, 580 0, 640 20 C540 90, 470 165, 420 260 Z' fill='url(%23leaf)'/%3E%3Cpath d='M420 260 C520 155, 640 85, 780 35 C860 8, 940 10, 1040 38 C930 110, 860 180, 810 260 Z' fill='url(%23leaf)'/%3E%3Cpath d='M760 260 C850 170, 935 100, 1040 42 C1110 5, 1160 0, 1200 10 L1200 260 Z' fill='url(%23leaf)'/%3E%3C/svg%3E");
}
/* ---------- STREAM ---------- */
.card-theme-stream::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23dcecff'/%3E%3Cstop offset='55%25' stop-color='%23a9c9f5'/%3E%3Cstop offset='100%25' stop-color='%237fb0ef'/%3E%3C/linearGradient%3E%3ClinearGradient id='wave' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='.22'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 55 C180 20, 310 10, 470 52 C610 89, 720 10, 900 35 C1030 53, 1120 30, 1200 18 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.12'/%3E%3Cpath d='M0 170 C170 120, 280 112, 410 145 C530 176, 660 110, 820 132 C960 150, 1090 135, 1200 115 L1200 260 L0 260 Z' fill='url(%23wave)'/%3E%3Cpath d='M150 260 C250 170, 360 105, 500 70 C610 42, 700 50, 790 88 C680 155, 620 210, 570 260 Z' fill='url(%23wave)'/%3E%3Cpath d='M720 260 C820 185, 940 120, 1080 72 C1140 52, 1180 45, 1200 48 L1200 260 Z' fill='url(%23wave)'/%3E%3C/svg%3E");
}
/* ---------- CTA ---------- */
.card-theme-cta::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23d8f5fb'/%3E%3Cstop offset='55%25' stop-color='%2392dcea'/%3E%3Cstop offset='100%25' stop-color='%236dcadf'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 30 C160 70, 280 5, 430 42 C560 76, 660 18, 820 44 C980 70, 1080 28, 1200 16 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3Cpath d='M0 120 C160 80, 270 102, 390 145 C510 188, 650 82, 790 110 C940 140, 1050 115, 1200 84' stroke='%23ffffff' stroke-opacity='.16' stroke-width='26' fill='none'/%3E%3C/svg%3E");
}
.card-theme-purple::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23efe0ff'/%3E%3Cstop offset='55%25' stop-color='%23c7a6ff'/%3E%3Cstop offset='100%25' stop-color='%23986de8'/%3E%3C/linearGradient%3E%3ClinearGradient id='wave' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='.22'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 45 C170 10, 300 12, 450 50 C610 90, 720 18, 870 40 C1020 60, 1110 38, 1200 20 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.14'/%3E%3Cpath d='M120 260 C220 170, 320 110, 460 72 C560 45, 650 55, 740 92 C640 156, 580 210, 530 260 Z' fill='url(%23wave)'/%3E%3Cpath d='M760 260 C860 170, 980 112, 1120 72 C1160 60, 1185 54, 1200 52 L1200 260 Z' fill='url(%23wave)'/%3E%3C/svg%3E");
}
.card-theme-orange::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffe8d2'/%3E%3Cstop offset='55%25' stop-color='%23ffb36d'/%3E%3Cstop offset='100%25' stop-color='%23f28c38'/%3E%3C/linearGradient%3E%3ClinearGradient id='shine' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='.2'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 28 C180 62, 290 18, 430 42 C570 66, 690 25, 840 46 C980 68, 1090 30, 1200 14 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.15'/%3E%3Cpath d='M0 160 C150 110, 280 130, 410 168 C540 206, 680 110, 830 132 C980 155, 1110 130, 1200 110 L1200 260 L0 260 Z' fill='url(%23shine)'/%3E%3C/svg%3E");
}
.card-theme-yellow::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23fff6cf'/%3E%3Cstop offset='55%25' stop-color='%23f7dc73'/%3E%3Cstop offset='100%25' stop-color='%23ddb72d'/%3E%3C/linearGradient%3E%3ClinearGradient id='shine' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='.18'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 48 C150 12, 280 18, 430 46 C590 76, 720 20, 880 38 C1030 56, 1120 30, 1200 18 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.14'/%3E%3Cpath d='M0 180 C160 130, 290 128, 420 160 C550 192, 690 110, 830 128 C980 148, 1090 136, 1200 112 L1200 260 L0 260 Z' fill='url(%23shine)'/%3E%3C/svg%3E");
}
.card-theme-navy::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23dce8f8'/%3E%3Cstop offset='55%25' stop-color='%2395b3e8'/%3E%3Cstop offset='100%25' stop-color='%23587fc9'/%3E%3C/linearGradient%3E%3ClinearGradient id='wave' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='.18'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 34 C170 6, 300 14, 450 48 C600 82, 720 20, 880 38 C1030 56, 1120 34, 1200 22 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.15'/%3E%3Cpath d='M120 260 C220 172, 340 112, 470 76 C580 46, 650 54, 740 90 C650 160, 590 214, 540 260 Z' fill='url(%23wave)'/%3E%3Cpath d='M770 260 C870 168, 980 110, 1120 72 C1160 61, 1185 56, 1200 54 L1200 260 Z' fill='url(%23wave)'/%3E%3C/svg%3E");
}
.card-theme-red::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 260'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffe0e0'/%3E%3Cstop offset='55%25' stop-color='%23f08c8c'/%3E%3Cstop offset='100%25' stop-color='%23c94d5b'/%3E%3C/linearGradient%3E%3ClinearGradient id='wave' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='.18'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='260' fill='url(%23g)'/%3E%3Cpath d='M0 40 C160 15, 280 10, 430 42 C580 74, 700 18, 860 36 C1000 49, 1110 26, 1200 18 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.15'/%3E%3Cpath d='M100 260 C210 160, 320 96, 450 66 C560 42, 650 50, 740 90 C650 160, 580 220, 520 260 Z' fill='url(%23wave)'/%3E%3Cpath d='M760 260 C850 170, 970 105, 1120 70 C1160 60, 1185 56, 1200 54 L1200 260 Z' fill='url(%23wave)'/%3E%3C/svg%3E");
}
@media (max-width: 600px) {
  .experience-card {
    --card-cover-height: 72px;
  }
}

/* ---------- section heading ---------- */

.experience-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.experience-eyebrow {
  margin-bottom: 14px;
}

.experience-eyebrow span {
  color: #087488;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.experience-heading h2 {
  margin: 0 0 14px;
  color: #082f5f;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -1px;
}

.experience-heading p {
  margin: 0;
  color: #60758b;
  font-size: 17px;
  line-height: 1.6;
}


/* =========================================================
   CATEGORY TABS
   ========================================================= */

.experience-tabs {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  margin-bottom: 40px;
  border-bottom: 1px solid #bfe4ec;
}

.experience-tab {
  position: relative;
  padding: 0 3px 17px;
  border: 0;
  background: transparent;
  color: #60758b;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color .25s ease;
}

.experience-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #0ba4c2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.experience-tab:hover {
  color: #082f5f;
}

.experience-tab.active {
  color: #087488;
}

.experience-tab.active::after {
  transform: scaleX(1);
}


/* =========================================================
   PANELS
   ========================================================= */

.experience-panel[hidden] {
  display: none;
}

.experience-panel-intro {
  margin-bottom: 30px;
}

.panel-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #087488;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.experience-panel-intro h3 {
  margin: 0 0 8px;
  color: #082f5f;
  font-size: 30px;
  line-height: 1.2;
}

.experience-panel-intro p {
  max-width: 720px;
  margin: 0;
  color: #60758b;
  font-size: 16px;
  line-height: 1.55;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.experience-card {
  align-self: start;
  position: relative;
  overflow: hidden;
  border: 1px solid #b9e3eb;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(8, 47, 95, 0.045);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}
.experience-card:hover {
  border-color: #79cddd;
  box-shadow: 0 9px 28px rgba(8, 47, 95, 0.08);
}
/* =========================================================
   CARD HEADER
   ========================================================= */
.experience-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 27px 28px;
  border: 0;
  background: #ffffff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.experience-card-title {
  min-width: 0;
}
.card-label {
  display: block;
  margin-bottom: 9px;
  color: #087488;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
.experience-card-title h3 {
  margin: 0 0 6px;
  color: #082f5f;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}
.experience-card-title p {
  margin: 0;
  color: #4c6790;
  font-size: 15px;
  line-height: 1.4;
}
/* Plus / minus icon*/
.card-toggle {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #8bd3df;
  border-radius: 50%;
  color: #087488;
  background: #f1fcff;
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease;
}

.card-toggle-icon {
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-1px);
}

.experience-card.is-open .card-toggle {
  color: #ffffff;
  background: #087488;
  transform: rotate(180deg);
}

.experience-card.is-open .card-toggle-icon {
  font-size: 0;
}

.experience-card.is-open .card-toggle-icon::before {
  content: "−";
  font-size: 23px;
}


/* =========================================================
   OPEN CONTENT
   ========================================================= */

.experience-card-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s ease;
}

.experience-card.is-open .experience-card-content {
  grid-template-rows: 1fr;
}

.experience-card-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 28px;
  opacity: 0;
  transition:
    opacity .25s ease,
    padding .38s ease;
}

.experience-card.is-open .experience-card-inner {
  padding: 0 28px 30px;
  opacity: 1;
}


/* divider */

.experience-card-inner::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 24px;
  background: #d7edf2;
}


/* =========================================================
   OPEN CONTENT TEXT
   ========================================================= */

.experience-description {
  margin-bottom: 25px;
}

.experience-description h4,
.project-moments h4 {
  margin: 0 0 8px;
  color: #087488;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.experience-description p {
  margin: 0;
  color: #536b82;
  font-size: 15px;
  line-height: 1.6;
}


/* =========================================================
   PROJECT MOMENTS
   ========================================================= */

.project-moments {
  margin-top: 28px;
}

.project-moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}

.project-moments-grid img {
  width: 100%;
  height: 115px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  background: #eaf8fb;
}


/* =========================================================
   PROJECT WEBSITE
   ========================================================= */

.experience-project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 13px 16px;
  border: 1px solid #0ba4c2;
  border-radius: 7px;
  color: #087488;
  background: #f7fdff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    background .25s ease,
    color .25s ease;
}

.experience-project-link:hover {
  color: #ffffff;
  background: #087488;
}
/* ================================
   PROJECT PARTNERS - LOGOS
   ================================= */
.partner-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.partner-item:last-child {
    border-bottom: none;
}
/* =========================================
   LOGO ALANI
   ========================================= */

.partner-logo {
    flex: 0 0 135px;
    width: 135px;
    
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.partner-logo img {
    width: 75px;
    height: 75px;

    display: block;

    object-fit: contain;
    object-position: center;

    border-radius: 10px;
    background: #ffffff;
}
.partner-info {
    flex: 1;
    min-width: 0;
}
.partner-info h4 {
    margin-top: 0;
}
/* =========================================================
   TRAININGS PAGE
   ========================================================= */

.training-section {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 30px 90px;
  box-sizing: border-box;
}

.training-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.training-eyebrow {
  margin-bottom: 14px;
}

.training-eyebrow span {
  color: #087488;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.training-heading h2 {
  margin: 0 0 14px;
  color: #082f5f;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -1px;
}

.training-heading p {
  margin: 0;
  color: #60758b;
  font-size: 17px;
  line-height: 1.6;
}

/* =========================================================
   BIG IMAGE CATEGORY CARDS
   ========================================================= */

.training-categories {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 22px;
}

.training-category-card {
  --tab-color: #087488;
  --tab-bg: #ffffff;
  --tab-soft: rgba(8, 116, 136, 0.12);

  display: block;
  min-width: 0;
  padding: 0;
  border: 1px solid #e1e8ef;
  border-radius: 15px;
  overflow: hidden;
  background: #ffffff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 9px 25px rgba(8, 47, 95, 0.055);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.training-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--tab-color);
  box-shadow: 0 16px 36px rgba(8, 47, 95, 0.11);
}

.training-category-card.active {
  border-color: var(--tab-color);
  box-shadow:
    0 16px 40px rgba(8, 47, 95, 0.12),
    0 0 0 3px var(--tab-soft);
}

.training-category-image {
  display: block;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #eaf8fb;
}

.training-category-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.training-category-card:hover .training-category-image img {
  transform: scale(1.045);
}

.training-category-body {
  display: block;
  padding: 21px 24px 22px;
}

.training-category-title {
  display: block;
  margin-bottom: 7px;
  color: #082f5f;
  font-family: "Nunito", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.training-category-desc {
  display: block;
  min-height: 45px;
  color: #60758b;
  font-size: 15px;
  line-height: 1.5;
}

.training-category-link {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--tab-color);
  font-size: 13px;
  font-weight: 700;
}

.training-category-projects {
  --tab-color: #d89517;
  --tab-soft: rgba(216, 149, 23, 0.16);
}

.training-category-special {
  --tab-color: #8b6ee8;
  --tab-soft: rgba(139, 110, 232, 0.18);
}

.training-category-family {
  --tab-color: #e96f5b;
  --tab-soft: rgba(233, 111, 91, 0.17);
}

.training-category-stem {
  --tab-color: #087488;
  --tab-soft: rgba(8, 116, 136, 0.15);
}

/* =========================================================
   OPEN DETAIL CARD
   ========================================================= */

.training-detail-panels {
  max-width: 1320px;
  margin: 28px auto 0;
}

.training-detail-panel[hidden] {
  display: none;
}

.training-detail-panel.active {
  display: block;
}

.training-detail-card {
  --detail-color: #087488;
  --detail-bg: #f7fdff;

  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, .95fr);
  gap: 42px;
  align-items: start;
  padding: 16px;
  border: 1px solid #dce8ef;
  border-radius: 18px;
  background:
    radial-gradient(circle at right bottom, rgba(139, 110, 232, 0.10), transparent 35%),
    #ffffff;
  box-shadow: 0 13px 36px rgba(8, 47, 95, 0.08);
}
.training-detail-media {
  width: 100%;
  min-width: 0;
  align-self: start;
}
.training-featured-image {
  position: relative;
  width: 100%;
  height: 360px;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #eaf8fb;
  box-shadow: 0 10px 24px rgba(8, 47, 95, 0.10);
}

.training-featured-image::after {
  content: "View gallery";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 47, 95, 0.72);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.training-featured-image:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.training-featured-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.training-featured-image:hover img {
  transform: scale(1.035);
}
.training-detail-content {
  position: relative;
  padding: 10px 18px 10px 0;
}

.training-detail-close {
  position: absolute;
  top: -4px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #8b6ee8;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.training-detail-content h3 {
  margin: 32px 0 5px;
  color: #082f5f;
  font-family: "Nunito", sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 800;
}

.training-detail-subtitle {
  margin: 0 0 18px;
  color: #60758b;
  font-size: 17px;
  line-height: 1.45;
}

.training-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.training-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border-radius: 999px;
  color: var(--detail-color);
  background: rgba(139, 110, 232, 0.13);
  font-size: 13px;
  font-weight: 700;
}

.training-detail-content p:not(.training-detail-subtitle) {
  margin: 0 0 18px;
  color: #536b82;
  font-size: 16px;
  line-height: 1.65;
}

.training-detail-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #536b82;
  font-size: 15px;
  line-height: 1.45;
}

.training-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #d89517;
  font-size: 12px;
  font-weight: 800;
}

.training-detail-projects {
  --detail-color: #d89517;
}

.training-detail-special {
  --detail-color: #8b6ee8;
}

.training-detail-special .training-check {
  background: #8b6ee8;
}

.training-detail-family {
  --detail-color: #e96f5b;
}

.training-detail-family .training-check {
  background: #e96f5b;
}

.training-detail-stem {
  --detail-color: #087488;
}

.training-detail-stem .training-check {
  background: #087488;
}
/* =========================================================
   TRAINING DETAIL GALLERY
   ========================================================= */
.training-gallery-strip {
  display: flex;
  gap: 11px;
  margin-top: 14px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.training-gallery-strip::-webkit-scrollbar {
  height: 8px;
}

.training-gallery-strip::-webkit-scrollbar-track {
  background: #edf8fa;
  border-radius: 999px;
}

.training-gallery-strip::-webkit-scrollbar-thumb {
  background: #abdbe5;
  border-radius: 999px;
}

.training-gallery-strip a {
  flex: 0 0 112px;
  height: 76px;
  display: block;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #eaf8fb;
  scroll-snap-align: start;
  box-shadow: 0 5px 13px rgba(8, 47, 95, 0.08);
  transition:
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.training-gallery-strip a:hover {
  border-color: #087488;
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(8, 47, 95, 0.13);
}

.training-gallery-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (min-width: 901px) and (max-width: 1320px) {
  .training-categories {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    max-width: 860px;
  }
  .training-category-image {
    height: 200px;
  }
}
@media (max-width: 900px) {
  .training-section {
    padding: 0 22px 70px;
  }
  .training-categories {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .training-detail-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .training-detail-content {
    padding: 0 8px 12px;
  }
  .training-detail-content h3 {
    margin-top: 34px;
  }
  .training-featured-image {
    height: 315px;
  }
  .training-gallery-strip a {
    flex-basis: 105px;
    height: 72px;
  }
}

@media (max-width: 600px) {
  .training-section {
    padding: 0 17px 60px;
  }
  .training-heading {
    margin-bottom: 32px;
  }
  .training-heading h2 {
    font-size: 30px;
  }
  .training-heading p {
    font-size: 15px;
  }
  .training-category-image {
    height: 165px;
  }
  .training-category-body {
    padding: 19px 20px 20px;
  }
  .training-category-title {
    font-size: 22px;
  }
  .training-detail-card {
    padding: 11px;
    border-radius: 15px;
  }
  .training-featured-image {
    height: 235px;
    border-radius: 12px;
  }
  .training-featured-image::after {
    opacity: 1;
    transform: none;
    right: 10px;
    bottom: 10px;
    font-size: 11px;
  }
  .training-gallery-strip {
    gap: 9px;
  }
  .training-gallery-strip a {
    flex-basis: 92px;
    height: 64px;
    border-radius: 8px;
  }
  .training-detail-content h3 {
    font-size: 30px;
  }
  .training-detail-subtitle {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
    .partner-item {
        gap: 1.5rem;
    }
    .partner-logo {
        flex: 0 0 115px;
        width: 115px;
    }
    .partner-logo img {
        width: 75px;
        height: 75px;
    }
}
.work-packages-link a { 
  color: #006d91; text-decoration: none; font-weight: 600; font-size: 16px; } 
.work-packages-link a::after { content: "→"; display: inline-block; margin-left: 8px; font-size: 20px; font-weight: 400; transition: transform 0.2s ease; } 
.work-packages-link a:hover { color: #004f6b; } .work-packages-link a:hover::after { transform: translateX(4px); }
@media (max-width: 600px) {
    .partner-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .partner-logo {
        width: 100%;
        flex: 0 0 auto;

        display: flex;
        justify-content: center;
    }
    .partner-logo img {
        width: 75px;
        height: 75px;
    }
    .partner-info {
        width: 100%;
    }
    .partner-info h4 {
        text-align: center;
    }
}
@media (max-width: 800px) {
  .experience-section {
    padding: 60px 22px 70px;
  }
  .experience-tabs {
    gap: 22px;
    overflow-x: auto;
  }
  .experience-tab {
    flex: 0 0 auto;
    font-size: 14px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .experience-section {
    padding: 48px 17px 30px;
  }
  .experience-heading {
    margin-bottom: 32px;
  }
  .experience-heading h2 {
    font-size: 30px;
  }
  .experience-heading p {
    font-size: 15px;
  }

  .experience-panel-intro h3 {
    font-size: 25px;
  }

  .experience-card-header {
    padding: 22px 20px;
  }

  .experience-card-title h3 {
    font-size: 21px;
  }

  .experience-card-title p {
    font-size: 14px;
  }

  .experience-card-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .experience-card.is-open .experience-card-inner {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 24px;
  }

  .project-moments-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-moments-grid img:first-child {
    grid-column: 1 / -1;
    height: 170px;
  }
}
@media (max-width: 360px) {
  .experience-tabs {
    gap: 12px;
    margin-bottom: 20px;
  }
  .experience-tab {
    font-size: 13px;
    padding: 10px 2px 12px;
  }
}