@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*    variables    */
:root {
    --header-height: 3.5rem;

/*    colors    */

--first-color: hsl(27, 94%, 50%);
--first-color-lighten: hsl(220, 68%, 97%);
--title-color: hsl(220, 48%, 28%);
--text-color: hsl(220, 12%, 45%);
--body-color: hsl(220, 100%, 99%);

/*    font and topography    */

--body-font: 'Heebo', sans-serif;
--normal-font-size: .938rem;
--small-font-size: .818rem;
--smaller-font-size: .75rem;

/*    font weight    */
--font-medium: 500;
--font-semi-bold: 600;

/*    z index   */  
--z-tooltip: 10;
--z-fixed: 100;

}

/*    responsive topography    */
@media screen and (min-width: 1024px) {
    :root {
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
    
}

/*   base   */

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

body{
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: #eee;
    color: var(--text-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    
}

ul{
    list-style: none;
}
a{
    text-decoration: none;
}

/*    reusable css classes    */
.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}
/*    header    */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
   box-shadow: 0 2px 8px hsla(220, 68%, 12%, .1);
    background-color: var(--body-color);
    z-index: 1000;

}

/*    nav   */

.nav{
    height: var(--header-height);
}

.nav__data{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo{
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    transition: color .3s;
}

.nav__logo i{
    font-size: 1.25rem;
}

.nav__logo img{
    width: 100px;
}


.nav__logo:hover{
    color: var(--first-color);
}

.nav__toggle{
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__toggle-menu,
.nav__toggle-close{
    font-size: 1.25rem;
    color: var(--text-color);
    position: absolute;
    display: grid;
    place-items: center;
    inset: 0;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav__toggle-close{
    opacity: 0;
}


/*    navigation for mobile devices    */

@media screen and (max-width: 1118px) {
    .nav__menu{
        background-color: var(--body-color);
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        padding-block: 1.5rem 4rem;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar{
        width: .5rem;
    }
    .nav__menu::-webkit-scrollbar-thumb{
        background-color: hsl(220, 12%, 70%);
    }
    
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav__link>:hover{
    background-color: var(--first-color-lighten);
}
/*    show menu    */

.show-menu{
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/*    show icon    */
.show-icon .nav__toggle-menu{
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__toggle-close{
    opacity: 1;
    transform: rotate(90deg);
}

/*    dropdown    */

.dropdown__button{
    cursor: pointer;
}

.dropdown__arrow{
    font-size: 1.5rem;
    font-weight: initial;
    transition: transform .4s;
}

.dropdown__content,
.dropdown__group,
.dropdown__list{
    display: grid;
}

.dropdown__container{
    background-color: var(--first-color-lighten);
    height: 0;
    overflow: hidden; 
    transition: height .4s;
}

.dropdown__content{
    row-gap: 1.7rem;
}

.dropdown__group{
    padding-left: 2.5rem;
    row-gap: .5rem;
}

.dropdown__group:first-child{
    margin-bottom: 1.25rem;
}

.dropdown__group:last-child{
    margin-bottom: 1.25rem;
}

.dropdown__icon{
    font-size: 1.25rem;
    color: var(--first-color);
}

.dropdown__title{
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.dropdown__list{
    row-gap: .25rem;
}

.dropdown__link{
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
    transition:  color .3s;
}

.dropdown__link:hover{
    color: var(--title-color);

}
/*    rotate drop down icon    */
.show-dropdown .dropdown__arrow{
    transform: rotate(180deg);
}

/*    breakpoints    */
/*    -----for small devices------    */
@media screen and (max-width: 300px) {
    .dropdown__group{
        padding-left: 1.5rem;
    }

    .detail-wrapper{
        padding: 20px;
      
    }
    
}

/*    -----for large devices------    */
@media screen and (min-width: 1118px) {
    /* Nav */
    .nav{
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }
    .nav__toggle{
        display: none;
    }
    .nav__list{
        display: flex;
        column-gap: 3rem;
        height: 100%;
    }
    .nav li{
        display: flex;
    }

    .nav__link{
        padding: 0;
    }

    .nav__link:hover{
        background-color: initial;
    }

    /* Dropdown */
    .dropdown__button{ 
        column-gap: .25rem;
        pointer-events: none;
    }

    .dropdown__container{
        
        height: max-content;
        position: absolute;
        border-top: 2px solid hsla(220, 68%, 12%, .05);    
        left: 0;
        right: 0;
        top: 6.5rem;
        background-color: #ffffff;
        box-shadow: 0 6px 8px hsla(220, 68%, 12%, .05);   
        pointer-events: none;   
        opacity: 0;
        transition: top .4s, opacity .3s;  
    }
    .dropdown__content{
        align-content: space-evenly;
        grid-template-columns: repeat(5, max-content);
        column-gap: 4rem;
        max-width: 1120px;
        margin-inline: auto;
    }
    .dropdown__group{
        
        padding: 2.5rem 0 ;
        align-content: baseline;
        row-gap: 1.25rem;
    }
    .dropdown__group:first-child,
    .dropdown__group:last-child{
        margin: 0;
    }
    .dropdown__list{
        row-gap: .75rem;
    }
    .dropdown__icon{
        width: 60px;
        height: 60px;
        background-color: var(--first-color-lighten);
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin-bottom: 1rem;
    }
    .dropdown__icon i{
        font-size: 2rem;
    }
    .dropdown__title{
        font-size: var(--normal-font-size);
    }
    .dropdown__link{
        font-size: var(--smaller-font-size);
    }
    .dropdown__link:hover{
        color: #f25100;
    }
    .dropdown__item{
        cursor: pointer;
    }

    /* rotate dropdown icon */
    .dropdown__item:hover .dropdown__arrow{
        transform: rotate(180deg);
    }

    /* show dropdown menu */
    .dropdown__item:hover > .dropdown__container{
        top: 5.5rem;
        opacity: 1;
        pointer-events: initial;
        cursor: initial;
    }
}

@media screen and (min-width: 1152px) {
    .container{
        margin-inline: auto;
    }
}


/* footer */

footer{
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 60px;
    background-color: #fff;
    box-shadow: 0 -2px 8px hsla(220, 68%, 12%, .1);
    /* box-shadow: 0px -2px 6px 0px #888888; */
}

.container{
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 0 12px ;
}
.wrapper{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}
.wrapper .footer-wadget{
    width: calc(20% - 30px);
    margin: 0 15px 50px;
    padding: 0 12px;
}

.wrapper .footer-wadget:nth-child(1) {
    width: calc(40% - 50px);
    margin-right: 15px;

}

.wrapper .footer-wadget .logo{
    margin-bottom: 30px;
    vertical-align: middle;
    width: 100px;
}

.wrapper .footer-wadget p{
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
}

.wrapper .footer-wadget .socials{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.wrapper .footer-wadget .socials li {
    list-style: none;
}

.wrapper .footer-wadget .socials li a{
    width: 44px;
    height: 44px;
    margin-right: 10px;
    color: #fff;
    background-color: #f25100;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
}

.wrapper .footer-wadget .socials li a:hover{
    background-color: rgba(5, 5, 5, 0.5);    
}

.wrapper .footer-wadget h6 {
    color: #585978;
    margin: 10px 0 35px;
    font-size: 20px;
    font-weight: 600;
}

.wrapper .footer-wadget .links li{
    list-style: none;
}

.wrapper .footer-wadget .links li a{
    color: #585978;
    font-size: 16px;
    text-decoration: none;
    text-transform: capitalize;
    line-height: 32px;
    transition: all 0.3s ease-out;
}

.wrapper .footer-wadget .links li a:hover{
    color: #f25100;
}

.copyright-wrapper {
    padding: 20px 0;
    border-top: 1px solid rgba(88, 89, 120, 0.4);
}

.copyright-wrapper p{
    color: rgba(88, 89, 120, 0.6);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.copyright-wrapper p a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;

}

.copyright-wrapper p a:hover {
    color: #f25100;
}

/* Lets write the media query */
@media (max-width: 992px){
    .container {
        max-width: 960px;
    }

    .wrapper .footer-wadget,
    .wrapper .footer-wadget:nth-child(1) {
        width: calc( 50% - 30px);
    }

    .detail-wrapper{
        padding: 30px;
        
    }
   
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    .wrapper .footer-wadget,
    .wrapper .footer-wadget:nth-child(1) {
        width: 100%;
        margin: 0 10px 50px;
    }

    .intro-wrapper, 
    .product-wrapper,
    .services-wrapper,
    .experience-wrapper,
    .trusted-client-wrapper,
    .support-wrapper{
        padding: 20px;
    }
    
}
/* end footer */

/* image right */
.solid-img{
    
    width: 250px;
    height: 250px;
    padding: 2px;
   position: relative;
    object-fit: contain;
    display: flex;
}

.olos{
    border: #fcbe9f 2px solid;
    text-align: justify;
    line-height: 28px;
}

.olos:hover{
    transform: rotate(-1deg);
    
}

.cler{
    background-color: #eeeeee8e;
    text-align: justify;
    line-height: 28px;
}

.cler:hover{
    transform: rotate(1deg);
    background-color: #fff
}

.ai-text{
    text-align: justify;
    line-height: 28px;
}

.civil-text{
text-align: justify;
line-height: 28px;
}

.civil-text:hover{
    background-color: #eeeeee8e;
}

.electrical section{
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: justify;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
}

.electrical section:nth-child(odd){
    background: none;
    padding: 20px;
}

.electrical section:hover{
    background-color: rgb(250, 248, 244);
    padding: 20px;
    border-radius: 10px;
}

.it section{
    min-height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: justify;  
    
}
.media-headings{
    padding-top: 30px;
    padding-bottom: 20px;
}

.media-headings a{
    color: #292c7c;
    font-weight: 500;
}

.safty section{
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: justify;  
    
}

.civils section{
    
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: justify;  
    
}

.rel-img{
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.accordion{
    max-width: 800px;
}

.accordion .contentBx{
    position: relative;
    margin: 10px 20px;
}

.accordion .contentBx .label{
    position: relative;
    padding: 10px;
    background: #f56200d2;
    color: #fff;
    cursor: pointer;
}

.accordion .contentBx .label::before{
    content: '+';
    position: absolute;
    top: 20%;
    right: 20px;
    transform: translate(-59%);
    font-size: 1.5em;
}

.accordion .contentBx.active .label::before{
    content: '-';
}

.accordion .contentBx .content{
    position: relative;
    background: #fff;
    height: 0;
    overflow: hidden;
    line-height: 30px;
    transition: 0.5s;
    overflow-y: auto;
}

.accordion .contentBx.active .content{
    height: auto;
    padding: 10px;
}

.card-img-to{
    width: 200px;
    object-fit: cover;
    height: auto;
    padding-top: 20px;
}

/* ============================ customezed cursor============================  */
.cursor{
    z-index: 9999;
    position: fixed;
     top: 0%;
    left: 0%; 
    pointer-events: none;
}

.cursor-dot{
    position: absolute;
    background: var(--first-color);
    width: 8px;
    height: 8px;
    /* width: 5px;
    height: 5px; */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition-property: top, left, width, height;
    transition-duration: .03s, .03s, .3s, .3s;
}

.cursor-dot.large{
    background: hsl(var(--hue) var(--sat) var(--light) / .35);
    width: 75px;
    height: 75px;
    transition-property: top, left, width, height;
    /*transition-duration: .01s, .01s, 1.9s, 1.9s; */
    transition-duration: .03s, .03s, .3s, .3s;
}

.cursor-circle{
    position: absolute;
   /* background: var(--first-color);*/
    border: 2px solid var(--first-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    opacity: .5;
    transform: translate(-50%, -50%);
    transition-property: top, left;
    transition-duration: .19s, .19s;
    /* transition-duration: .09s, .09s; */
}
