.fms-hero {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(/static/assets/fms_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    margin-top: 150px;
}

.fms-hero h1 {
    font-size: 3.5vw;
    margin-top: 3rem;
    margin-bottom: 0.5em;
    color: #cdda60;
}

.fms-hero p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black;
}

/******* SECTION - 1 *******/

.section1 h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 0.8rem;
    background-color: #FFFFFF;
    color: #6baff8;
    font-weight: 600;
}
.s1container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
  }
  
  .s1card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .s1card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .s1card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
  }
  
  .s1card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
  }

@media screen and (max-width: 650px) {
    .fms-hero h1 {
        font-size: 2rem;
        margin: 2rem;
        margin-top: 3rem;
    }

    .fms-hero p {
        font-size: 1rem;
    }
}

.fms-main-heading {
    text-align: center;
    color: var(--font-white);
    margin-top: 40px;
}

.fms-main-heading1 {
    text-align: center;
    color: var(--font-white);
    margin-top: 8rem;
}

.fms-main-heading3 {
    text-align: center;
    color: var(--font-white);
    margin-top: 5rem;
}

.key-component-list {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.key-component-list img {
    width: 80%;
    margin-top: 1rem;
}

.key-content {
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr;
    align-items: center;
    display: grid;
    margin: 3rem;
    width: auto;
    border: 1px solid var(--color-light);
}

.show-card {
    display: flex;
    flex-direction: row;
}

.show-card-1a {
    margin: 2rem;
}

.show-card-1a h1 {
    font-size: 2.5rem;
    color: gainsboro;
    font-weight: 200;
    margin-bottom: 1rem;
}

.show-card-1a p {
    font-size: 1rem;
    color: gainsboro;
    font-weight: 200;
    margin-bottom: 1rem;
}

.show-card-1a button {
    padding: 1rem;
    border-radius: 25px;
    border: none;
    background-color: var(--color-light);
}

.show-card-1a button:hover {
    background-color: white;
}

@media screen and (max-width: 750px) {
    .show-card-1b {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    section {
        height: 100%;
    }

    button {
        padding: 10px;
    }

    .box {
        display: none;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content2 img {
        width: 36vh;
        height: 56vh;
        margin-right: 10px;
    }
}

.timeline-heading {
    color: var(--color-light);
    text-align: center;
}

.timeline-main {
    width: 100%;
    padding: 25px;
    margin-top: 2rem;
}

.timeline-main .timeline-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-main .timeline-wrap::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: calc(100% - 10px);
    background-color: var(--font-white);
    animation: line 5s linear;
}

@media (max-width: 767px) {
    .timeline-main .timeline-wrap::before {
        left: 95%;
    }
}

.timeline-main .timeline-wrap .timeline-card {
    width: 50%;
    margin-right: auto;
    position: relative;
}

.timeline-main .timeline-wrap .timeline-card:hover {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .timeline-main .timeline-wrap .timeline-card {
        width: 95%;
    }
}

.timeline-main .timeline-wrap .timeline-card::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: gray;
    animation: fadeIn 1.5s;
    animation-fill-mode: both;
}

.timeline-main .timeline-wrap .timeline-card .timeline-card-wrap {
    height: 100%;
    margin-right: 35px;
    background-color: #aad7d9;
    border-radius: 10px;
    position: relative;
    padding: 30px;
    animation: fadeInRight 2.5s;
    animation-fill-mode: both;
}

@media (max-width: 767px) {
    .timeline-main .timeline-wrap .timeline-card .timeline-card-wrap {
        padding: 20px;
    }
}

.timeline-main
.timeline-wrap
.timeline-card
.timeline-card-wrap
.card-head-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    .timeline-main
    .timeline-wrap
    .timeline-card
    .timeline-card-wrap
    .card-head-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content2 img {
        width: 28vh;
        height: 56vh;
        margin-right: 10px;
    }
}

.timeline-main
.timeline-wrap
.timeline-card
.timeline-card-wrap
.card-head-wrap
.timeline-card-head {
    font-size: 28px;
    line-height: 38px;
    font-weight: 500;
    color: #000;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .timeline-main
    .timeline-wrap
    .timeline-card
    .timeline-card-wrap
    .card-head-wrap
    .timeline-card-head {
        font-size: 18px;
        line-height: 28px;
    }
}

.timeline-main
.timeline-wrap
.timeline-card
.timeline-card-wrap
.card-head-wrap
.timeline-card-subhead {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #bdbdbd;
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 767px) {
    .timeline-main
    .timeline-wrap
    .timeline-card
    .timeline-card-wrap
    .card-head-wrap
    .timeline-card-subhead {
        font-size: 14px;
        line-height: 24px;
    }
}

.timeline-main
.timeline-wrap
.timeline-card
.timeline-card-wrap
.timeline-card-text {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: #000;
    margin: 25px 0 0;
}

@media (max-width: 767px) {
    .timeline-main
    .timeline-wrap
    .timeline-card
    .timeline-card-wrap
    .timeline-card-text {
        font-size: 12px;
        line-height: 22px;
    }
}

@media (min-width: 768px) {
    .timeline-main .timeline-wrap .timeline-card:nth-child(even) {
        margin-left: auto;
        margin-right: 0;
    }

    .timeline-main .timeline-wrap .timeline-card:nth-child(even)::after {
        right: unset;
        left: -10px;
        animation-delay: 2.6s;
    }

    .timeline-main
    .timeline-wrap
    .timeline-card:nth-child(even)
    .timeline-card-wrap {
        margin-right: 0;
        margin-left: 35px;
        animation: fadeInLeft 2.5s;
        animation-fill-mode: both;
        animation-delay: 2.5s;
    }

    .timeline-main
    .timeline-wrap
    .timeline-card:nth-child(even)
    .timeline-card-wrap::after {
        right: unset;
        border-left: none;
        left: -8px;
        border-right: 10px solid #00283a;
    }
}

.fms-para {
    margin: 0 auto;
    color: var(--color-light);
    font-size: 1.5rem;
    width: 75%;
    margin-top: 1.5rem;
    font-weight: 200;
}

.fms-button {
    display: flex;
    background-color: gainsboro;
    border: none;
    border-radius: 5px;
    padding: 15px 35px;
    font-size: 1rem;
    margin: 0px auto;
    margin-top: 2rem;
    margin-bottom: 5rem;
}

.fms-button:hover {
    background-color: #fff;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content2 img {
        width: 25vh;
        height: 56vh;
        margin-right: 10px;
    }
}

@media (max-width: 600px) {
    .content2 {
        display: none;
    }
}

@media (max-width: 730px) {
    .hero h2 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content2 img {
        width: 18vh;
        height: 56vh;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .content2 {
        display: none;
    }
}

