
/*--------------------main image-------------*/
html, body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #a37373 0%, #ffffff 50%, #a88888 100%);
}
*{
    box-sizing: border-box;
}

/*--------------page header-------------*/
.page-header{
    background: transparent;
    padding: 80px 0 40px 0;
    text-align: center;
}

.header-content{
    color: #333;
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
}

.red{
    color: red;
}

/*----------------training list---------------*/
.course{
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 50px;
    gap: 30px;
}
.course-left {
    flex: 0 0 30%;
    max-width: 30%;
    height: auto; 
    aspect-ratio: 4/3;
}
.course-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 100%;
    border-radius: 15px;
}
.vertical-line {
    width: 2px;
    background-color: #ccc;
    height: auto;
}
.course-right{

    flex: 0 0 50%
}
.course-right h1{
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.course-right h2{
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.course-right p{
    line-height: 1.6;
    margin: 10px 0;
}
/*--------------button--------------*/
.btn{
    margin: 10px 10px 0 0;
    padding: 10px 20px;
    border: none;
    background-color: #c00303;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
}
.btn:active{
    transform: translate(0px, 5px);
    -webkit-transform: translate(0px, 5px);
    box-shadow: 0px 1px 0px 0px;
}
.clr{
    background-color: #a60202;
    transition: all 0.3s ease-in-out;
    color: #fffffff3;
}
.clr:hover{
    background-color: #710202;
    padding: 10px 5px;
    transform: scale(1.05);
}

.btn-group .btn {
  display: block;
  margin: 8px 0;
  text-align: center; 
}

/* mobile adjustments */
@media (max-width: 900px){
  .course{ flex-direction: column; padding: 24px; }
  .course-left{ flex-basis: auto; max-width: 100%; aspect-ratio: auto; }
  .vertical-line{ display: none; }
  .course-right{ flex: 1 1 auto; }
}

