
/* =========================
   Goals Section (gs)
========================= */

.gs-goals {
  --gs-primary: #0f3460;
  --gs-secondary: #2b908e;
  --gs-accent: #4bb4df;
  --gs-bg-light: #f1f5f9;
  --gs-radius: 28px;
  --gs-shadow: rgba(0, 0, 0, 0.08);
  --gs-shadow-hover: rgba(0, 0, 0, 0.12);
	background: #218d9f;
}

/* Container */
.gs-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Header */
.gs-header {
  text-align: center;
  margin-bottom: 70px;
	color: white;
}

.gs-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.gs-header p {
  font-size: 1.2rem;
  max-width: 820px;
  margin: 0 auto;
}

/* Layout */
.gs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

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

/* Cards */
.gs-card {
  background: #ffffff;
  border-radius: var(--gs-radius);
  padding: 40px;
  box-shadow: 0 20px 50px var(--gs-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border-right: 4px solid #023e8a;
}

.gs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px var(--gs-shadow-hover);
}

/* Card Header */
.gs-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
	justify-content: flex-start;
	font-size: 20px;
	font-weight: 800;
	color: var(--gs-primary);
}

/* Icons */
.gs-icon {
  width: 48px;
  height: 48px;
  background: var(--gs-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  flex-shrink: 0;
}

.gs-target-icon {
  width: 40px;
  height: 40px;
  fill: #d9d9d9;
  background: #ce2f37;
  padding: 4px;
  border-radius: 50%;
}

/* Main Goal */
.gs-main-description {
  font-size: 18px;
  line-height: 2;
  color: var(--gs-primary);
  text-align: center;
  margin-bottom: 40px;
}

/* SVG Area */
.gs-svg-wrapper {
  margin-top: auto;
  margin-bottom: auto;
  background: #e8f4f8;
  border-radius: 20px;
  padding: 20px;
}

.gs-svg-wrapper svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.gs-line {
  stroke: var(--gs-secondary);
  stroke-width: 3;
  stroke-dasharray: 8 6;
  animation: gs-dash 3s linear infinite;
}

@keyframes gs-dash {
  to {
    stroke-dashoffset: -28;
  }
}

.gs-sub-node {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.4s ease;
}


.gs-sub-node circle {
  fill: var(--gs-secondary);
  transition: fill 0.4s ease, filter 0.4s ease;
}

.gs-sub-node.active circle {
  fill: var(--gs-primary);
  filter: drop-shadow(0 0 25px rgba(75, 180, 223, 0.7));
}


.gs-sub-node.active {
  transform: scale(1.35);
  transform-origin: center;
}

.gs-sub-node.active circle {
  fill: var(--gs-primary);
  filter: drop-shadow(0 0 25px rgba(75, 180, 223, 0.7));
}

.gs-svg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ffffff;
  font-size: 20px;
  pointer-events: none;
}

.gs-center-icon i {
  font-size: 50px;
}

/* Placeholder (when no subgoals) */
.gs-main-goal-placeholder {
  margin-top: auto;
  min-height: 200px;
}

/* Subgoals */
.gs-subgoal-list {
  list-style: none;
  display: grid;
  gap: 20px;
}

.gs-subgoal-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--gs-bg-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gs-subgoal-item:hover,
.gs-subgoal-item.hovered {
  background: #e1f0f7;
  transform: translateX(6px);
  box-shadow: 0 12px 30px var(--gs-shadow);
}

.gs-subgoal-item:hover .gs-icon {
  background: var(--gs-primary);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 480px) {
  .gs-header h1 {
    font-size: 2.2rem;
  }

  .gs-main-description {
    font-size: 16px;
  }

  .gs-subgoal-item {
    padding: 16px 20px;
    gap: 14px;
  }
}
/* =========================
   Goals Section (gs)
========================= */