* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.training-strategy h2 {
text-align: center;
margin-bottom: 1rem;
font-size: 1.8rem;
font-weight: 600;
}

.training-strategy p {
text-align: center;
margin-bottom: 3rem;
font-size: 1.1rem;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

.flow-container {
background: linear-gradient(to right, #003366 50%, #cddfee 50%);
padding: 40px 20px;
position: relative;
border-radius: 12px;
margin-top: 2rem;
margin-bottom: 15%;
}

.stages-wrapper {
display: flex;
justify-content: space-between;
gap: 20px;
position: relative;
max-width: 1100px;
margin: 0 auto;
}

.stage {
flex: 1;
display: flex;
flex-direction: column;
align-items: stretch;
max-width: 200px;
}

.title-box {
background: white;
padding: 15px 10px;
border-radius: 8px;
text-align: center;
font-weight: 500;
margin-bottom: 10px;
min-height: 60px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.number {
background: #4a77bf;
color: white;
width: 40px;
height: 40px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin: 10px auto;
font-weight: bold;
}

.content-box {
padding: 15px;
border-radius: 8px;
text-align: center;
font-size: 13px;
line-height: 1.4;
}

.stage:nth-child(1) .content-box {
background: #ffd700;
}

.stage:nth-child(2) .content-box {
background: #ff6b33;
}

.stage:nth-child(3) .content-box {
background: #e8e8e8;
}

.stage:nth-child(4) .content-box {
background: #4a77bf;
color: white;
}

.stage:nth-child(5) .content-box {
background: #4a77bf;
color: white;
}

.monitoring-box {
background: #345995;
color: white;
padding: 15px;
border-radius: 8px;
margin-top: 10px;
font-size: 13px;
text-align: center;
position: relative;
clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
}

.arrow-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
}

.arrow {
position: absolute;
width: 40px;
height: 40px;
border: none;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z' fill='%234a77bf'/%3E%3C/svg%3E") no-repeat center;
background-size: contain;
}

.arrow1 {
top: 20%;
left: 18%;
transform: rotate(-45deg);
}

.arrow2 {
top: 40%;
left: 38%;
}

.arrow3 {
top: 40%;
left: 58%;
}

.arrow4 {
top: 40%;
left: 78%;
}

@media (max-width: 768px) {
.flow-container {
    background: linear-gradient(to bottom, #003366 50%, #cddfee 50%);
    padding: 20px 10px;
}

.stages-wrapper {
    flex-direction: column;
    align-items: center;
}

.stage {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}

.arrow {
    transform: rotate(90deg);
    left: 50%;
    margin-left: -20px;
}
}


.program-title {
font-size: 3rem;
text-align: center;
margin-bottom: 50px;
color: #000;
text-decoration: none;
}

.timeline {
position: relative;
max-width: 800px;
margin: 50px auto;
}

.timeline::after {
content: '';
position: absolute;
width: 4px;
background: linear-gradient(180deg, #ff9a9e, #fad0c4);
top: 0;
bottom: 0;
left: 50%;
margin-left: -2px;
}

.program {
position: relative;
background: rgba(255, 255, 255, 0.1);
color: #0a0a0a;
width: 45%;
padding: 20px;
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
margin-bottom: 30px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program:hover {
transform: translateY(-10px);
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.program-heading {
font-size: 2rem;
margin-bottom: 15px;
color: #616161;
}

.program-list {
list-style-type: none;
padding: 0;
}

.program-item {
font-size: 1.1rem;
margin-bottom: 10px;
padding-left: 20px;
position: relative;
}

.program-item::before {
content: '•';
color: #ff9a9e;
position: absolute;
left: 0;
font-size: 1.5rem;
line-height: 1;
}

.left {
left: 0;
}

.right {
left: 55%;
}

.dot {
height: 25px;
width: 25px;
background-color: #ff9a9e;
border-radius: 50%;
position: absolute;
top: 2px;
left: 50%;
transform: translateX(-50%);
box-shadow: 0 0 10px rgba(255, 154, 158, 0.7);
}

.program:nth-child(2) .dot {
background-color: #fad0c4;
}

.program:nth-child(3) .dot {
background-color: #a18cd1;
}

.program:nth-child(4) .dot {
background-color: #fbc2eb;
}

@media (max-width: 768px) {

.timeline::after {
    display: none;
}

.program {
    width: 100%;
    left: 0 !important;
    margin-left: 0;
}


.dot {
    display: none;
}


.timeline {
    margin: 30px auto;
    padding: 0 15px;
}

.program-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.program-heading {
    font-size: 1.5rem;
}
}