/* Table Of Contents 
1.Service Page
    1.1.Service Hero section
    1.2.Service:Info Section
    1.3.Service: Category sections
    1.4.Service: OTAAS ODAAS sectionS
*/

/* Home Hero section  */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-con-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.left-hero {
    position: relative;
    display: grid;
    align-items: center;
    place-content: center;
    height: 100%;
    padding-left: 100px;
    gap: 20px;
}

.title h1 {
    color: #004c1d;
    font-size: 50px;
    position: relative;
    text-align: left;
    margin: 0;
    font-weight: 600;
    line-height: 50px;
}

.text-color {
    color: #aa882c;
}

.hero-desc {
    color: #000;
    position: relative;
    text-align: left;
    font-weight: 400;

}

.circle-section {
    display: flex;
    justify-content: end;
    align-items: center;
    /* height: 100vh; */
    background-color: #fff;
    overflow: hidden;
}

.circle-container {
    position: relative;
    width: 500px;
    height: 500px;
}

/* Simple Circles */
.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin-clockwise 10slinear infinite;
    background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #0d6b0d, #980d2d, #aa882c) border-box;
    border: 8px solid transparent;
}

/* Second (Simple) Circle */
.circle-2 {
    width: 650px;
    height: 650px;
    animation: spin-clockwise 20s linear infinite;
}

/* Fourth (Simple) Circle */
.circle-4 {
    width: 400px;
    height: 400px;
    animation: spin-counterclockwise 20s linear infinite;
}

/* Curved Text Circles */
.text-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text-circle svg {
    width: 100%;
    height: 100%;
}

.text-circle text {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

/* Outermost Text Circle */
.text-outer {
    position: relative;
    z-index: 99;
    width: 650px;
    height: 650px;
    animation: spin-counterclockwise 45s linear infinite;
}

/* Binary (neesh inc in 1s & 0s) Circle */
.text-binary {
    width: 600px;
    height: 600px;
    animation: spin-clockwise 240s linear infinite;
}

/* Innermost Text Circle */
.text-inner {
    width: 550px;
    height: 550px;
    animation: spin-counterclockwise 60s linear infinite;
}

.right-mid-inner{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width: 250px;
    /* animation: scaleFade 3s infinite ease-in-out; */
    }

    .right-mid-img{
        background: url('../images/logo-icon.webp') 50% 50% no-repeat;
        background-size: contain;
        width: 100%;
        height: 250px;
        animation: fadeIn 5s ease-in-out forwards;
    }

/* Animations */
@keyframes spin-clockwise {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-counterclockwise {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



@media (max-width: 1300px) {
    .left-hero {
        padding-left: 50px;
    }

    .circle-container {
        width: 450px;
        height: 450px;
    }

    .text-outer {
    width: 500px;
    height: 500px;}

    .circle-2 {
    width: 500px;
    height: 500px;}

    .text-binary {
    width: 450px;
    height: 450px;}

    .text-inner {
        width: 400px;
        height: 400px;}

    .circle-4 {
        width: 250px;
        height: 250px;
    }

    .right-mid-inner{
        width: 150px;
        }
    
    .right-mid-img{
        height: 150px;
    }
}

@media (max-width: 1100px) {
    .left-hero {
        padding-left: 30px;
    }

    .title h1 {
        font-size: 40px;
    }

    .left-hero {
        z-index: 99;
    }

    .circle {
        left: 67%;
    }

    .text-circle {
        left: 67%;
}

.right-mid-inner {
    position: absolute;
    left: 67%;}
}

@media (max-width: 860px) {
    .hero-section {
        padding: 130px 0px 30px;
    }

    .right-hero {
    display: none;
}

    .left-hero {
        padding: 0px 30px;
    }

    .hero-con-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .title h1 {
        text-align: center;
    }

    .hero-desc {
        text-align: center;
    }

    .hero-btn {
        text-align: center;
    }
}


/* Service Page : Info section  */
.service-info-inner{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items:center;
}

.info-inner-left{

}

.gold-text{
    color:#aa882c;
}

.info-inner-right {
height: 100%;
display: grid;
}

.info-text-box {
display: grid;
padding: 10px;
background: #004c1d;
color: #fff;
text-align: center;
align-items: center;
border-bottom: 1px solid #ffffff33;
}

.info-text-box a{
color:#fff;
text-decoration:none;
}

.info-text-box:hover {
background: #aa882c;
}

@media (max-width: 767px) {
    .service-info-inner{
    grid-template-columns: 1fr;
}
}


/* Service: Categories */
.category-con-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding:20px 100px;
}

.category-inner {
    padding: 30px;
    position: relative;
    height: 100%;
    display: grid;
    align-items: center;
    text-align: center;
    color: #004c1d;
}

.category-icon {
    width: 100%;
    margin: 0 auto;
}

.category-icon img {
    width: 100px;
    height:100%;
}

.category-title{
        font-weight:600;
}

.category-text{
        font-size: 16px;
        position: relative;
}

@media (max-width: 767px) {
.category-con-inner {
    grid-template-columns: 1fr;
    padding: 0px;
}

.category-inner {
        padding:20px 10px;
}

.category-icon {
    width: 100%;
    margin: 0 auto;
}

.category-icon img {
    width: 80px;
}
}



/* OTAAS - ODAAS SECTION  */
.service-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.service-container-l{
    display: grid;
    gap: 10px;
}


.service-r-list {
    list-style: none;
    background-color: #dce6dd;
    width: 100%;
    padding: 15px;
    }

    .service-r-list .category-list {
            font-size: 16px;
            color: #004c1d;
            padding: 8px 0;
            display: flex;
    }

    .service-r-list .category-list::before {
            content: "✔";
            font-size: 20px;
            color: #004c1d;
            margin-right: 15px;
            font-weight: bold;
    }

.otaas-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}

.service-box {
    width: 100%;
height: 200px;
background-color: #dce6dd;
color: #004c1d;
text-align: center;
display: grid;
align-items: center;
place-content: center;
position: relative;
overflow: hidden;
cursor: pointer;
padding: 5px;
border: 1px solid #004c1d;
transition: background 1sease-in-out;
    }

    .service-no, .service-title {
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    }

     .service-title-od {
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    }

    .service-no , .service-no-od{
    font-size: 50px;
}

.service-no-od{
    transition: transform 1s ease-in-out,font-size 1s ease-in-out;
}


    .service-desc {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        position: absolute;
        text-align: center;
        padding: 10px;
    }

    .service-desc-od {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        position: absolute;
        text-align: center;
        padding: 10px;
    }

    .service-box:hover {
        background-color: #e6dec7;
    }

    .service-box:hover .service-no,
    .service-box:hover .service-title {
        opacity: 0;
        transform: translateY(-10px);
    }

    .service-box:hover .service-title-od {
        opacity: 0;
        transform: translateY(-10px);
    }

    .service-box:hover .service-desc {
        opacity: 1;
        transform: translateY(0);
    }

    .service-box:hover .service-desc-od {
        opacity: 1;
        transform: translateY(0);
    }

    .service-box:hover .service-no-od {
            font-size: 130px;
            opacity: 0.2;
            z-index: 0;
            transition:transform 1s ease-in-out, font-size 1s ease-in-out;
    }

    li.service-desc-list {
list-style-type: decimal;
padding: 3px 0;
text-align: left;
}

.odaas-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.service-type{
    font-size: 30px;
}

.service-work-title {
position: relative;
margin: 40px 0 20px;
font-size: 24px;
font-weight: 600;
color:#004c1d;
}

@media (max-width: 990px) {
    .service-box {
height: 250px;
padding:0;
    }
}

@media (max-width: 767px) {
    .service-container{
    grid-template-columns: 1fr;
    gap: 20px;
}

    .otaas-container{
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.service-desc {
    width: 90%;
}

.service-box {
height: 200px;
    }

    .odaas-container{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
}