/******* SECTION - 1 *******/

.section1 {
    margin-top: 2rem;
    background-image: url(/static/assets/software_img.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.ribbon-box {
    display: flex;
}

.ribbon-container {
    width: 50%;
    margin-top: 2rem;
    padding: 1rem;
}

.ribbon-container h1 {
    font-size: 3.5rem;
    text-align: center;
    text-transform: uppercase;
    margin-top: 3rem;
    color: #FFFFFF;
}

.ribbon-container p {
    width: 60%;
    font-size: 18px;
    margin-top: 3rem;
    margin-left: 2rem;
    color: white;
    text-align: left;
    line-height: 2rem;
}

.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; /* Darker green */
}

@media (max-width: 768px) {
    .ribbon-container h1 {
        font-size: 2.5rem;
        text-align: left;
        margin-top: 3rem;
        margin-left: 2rem;
    }

    .ribbon-container p {
        width: 100%;
        font-size: 16px;
        margin-top: 1rem;
        margin-left: 2rem;
        text-align: left;
        line-height: 1.7rem;
    }
}

@media (max-width: 425px) {
    .ribbon-container {
        width: 100%;
    }

    .ribbon-container h1 {
        font-size: 2rem;
        text-align: left;
        margin-top: 4rem;
        margin-left: 1rem;
    }

    .ribbon-container p {
        width: 100%;
        font-size: 16px;
        margin-top: 2rem;
        margin-left: 1rem;
        text-align: left;
        line-height: 2rem;
    }
}

/******* SECTION - 2 *******/

.section2 {
    background-color: #3e3e6c;
    height: 51rem;
}

.section2-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFFFFF;
    padding: 1rem;
    border: 4px solid #FFFFFF;
}

.section2-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    display: grid;
    gap: 1.5rem;
    margin: 2rem;
    margin-top: 4rem
}

.section2-card1,
.section2-card2,
.section2-card3,
.section2-card4 {
    padding: 2rem;
    font-family: var(--font-family);
    font-weight: 400;
    color: #3e3e6c;
    background-color: #FFFFFF;
    cursor: pointer;
}

.section2-card1 h3,
.section2-card2 h3,
.section2-card3 h3,
.section2-card4 h3 {
    font-size: 1.9rem;
    font-weight: 600;
}

.section2-card1 p,
.section2-card2 p,
.section2-card3 p,
.section2-card4 p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 1.5rem;
}

.section2-card1:hover {
    background-color: #9251ac;
    color: #FFFFFF;
}

.section2-card2:hover {
    background-color: #87bbfe;
    color: #FFFFFF;
}

.section2-card3:hover {
    background-color: #24b47e;
    color: #FFFFFF;
}

.section2-card4:hover {
    background-color: #43eb3e;
    color: #FFFFFF;
}

@media screen and (max-width: 768px) {
    .section2 {
        height: 83rem;
    }

    .section2-heading {
        font-size: 2rem;
    }

    .section2-container {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        margin-top: 3rem;
    }
}

@media screen and (max-width: 425px) {
    .section2 {
        height: 133rem;
    }

    .section2-heading {
        font-size: 1.7rem;
    }
}

/******* SECTION - 3 *******/

.section3 {
    background-color: #6baff8;
}

.section3 h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 0.8rem;
    background-color: #FFFFFF;
    color: #6baff8;
    font-weight: 600;
}

.section3-container {
    display: flex;
}

.section3-image img {
    width: 30rem;
    padding: 2rem;
    margin-left: 3rem;
}

.section3-desc {
    width: 50%;
    padding: 1rem;
    margin-left: 3rem;
}

.section3-desc p {
    font-size: 1.3rem;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .section3-container {
        flex-direction: column;
    }

    .section3-image img {
        width: 40rem;
        height: 25rem;
        padding: 2rem;
        margin-left: 3rem;
    }

    .section3-desc {
        width: 100%;
        padding: 2rem;
        margin-left: 0rem;
    }

    .section3-desc p {
        padding: 1rem;
    }
}

@media (max-width: 425px) {
    .section3-image img {
        width: 23rem;
        height: 20rem;
        padding: 1rem;
        margin-left: 2rem;
    }

    .section3-desc {
        width: 100%;
        padding: 1rem;
        margin-left: 0rem;
    }

    .section3-desc p {
        font-size: 1.1rem;
        padding: 1rem;
        margin: 1rem;
        text-align: center;
    }

}

/******* SECTION - 4 *******/

.section4 {
    background: #2980b9 url("https://static.tumblr.com/03fbbc566b081016810402488936fbae/pqpk3dn/MRSmlzpj3/tumblr_static_bg3.png") repeat 0 0;
    -webkit-animation: 10s linear 0s normal none infinite animate;
    -moz-animation: 10s linear 0s normal none infinite animate;
    -ms-animation: 10s linear 0s normal none infinite animate;
    -o-animation: 10s linear 0s normal none infinite animate;
    animation: 10s linear 0s normal none infinite animate;
}

@-webkit-keyframes animate {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 500px 0;
    }
}

@-moz-keyframes animate {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 500px 0;
    }
}

@-ms-keyframes animate {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 500px 0;
    }
}

@-o-keyframes animate {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 500px 0;
    }
}

@keyframes animate {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 500px 0;
    }
}

.service_soft_app {
    display: flex;
}

.service_soft_app img {
    width: 100vh;
    height: 70vh;
    border-radius: 20px;
    margin: 30px 30px;
}

.sub_container {
    margin: 30px 30px;
}

.sub_container h1 {
    color: var(--color-light);
    font-size: 2rem;
}

.sub_container1 {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.sub_container1 span {
    font-size: 1.1rem;
    color: gainsboro;
    margin-top: 1rem;
}

.sub_container1 span bold {
    font-weight: 700;
}

@media (max-width: 991px) {
    .service_soft_app img {
        display: none;
    }

    .service_soft_app {
        flex-direction: column;
        align-items: center;
    }

    .sub_container {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .service_soft_app {
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }

    .service_soft_app img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 20px;
        margin: 30px 0;
    }

    .sub_container {
        margin: 30px;
    }
}

/******* SECTION - 5 *******/

.section5 h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 0.8rem;
    background-color: #FFFFFF;
    color: #6baff8;
    font-weight: 600;
}
.s5container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
  }
  
  .s5card {
    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;
  }
  
  .s5card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .s5card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
  }
  
  .s5card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
  }