/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;700&display=swap');
@import './global.css';
@import './servicecards.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root{
    --section-font:1rem;
    --heading-font:3rem;
    --subheading-font:2rem;
    --title-font:1.5rem;
    --weight-light:400;
    --weight-normal:500;
    --weight-heavy:600;
    --weight-veryheavy:800;

html{
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */

/* cards services */



section {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 130px 0 ;
}

section h2 {
    font-size: 2rem;
}

section>p {
    text-align: center;
}

section .cards-service {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-top: 50px;
    padding: 0 10px;
    justify-content: space-between;
}



.max-width{
    max-width: 1500px;
    padding: 0 60px;
    margin: auto;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: var(--weight-normal);
    margin-bottom: 60px;
    padding-bottom: 20px;
}

section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: var(--color-primary);
    transform: translateX(-50%);
}

/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    /* color: black; */
    /* height: fit-content; */
    z-index: 999;
    padding: 30px 0;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: var(--color-white);
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .navbar .max-width {
        justify-content: space-evenly;
        height: 100%;
    }
}
.logo{
    width: 200px;
    /* height: 10px; */
}
.logo :hover{
    cursor: pointer;
}
.navbar .logo a{
    color: var(-color-white);
    /* width: fit-content; */
    font-size: var(--subheading-font);
    font-weight: 600;
}
/* .navbar .logo a span{
    color: crimson;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: var(-color-white);
} */
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    /* color: var(-color-white); */
    font-size: var(--section-font);
    font-weight: var(--weight-normal);
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: crimson;
}
.navbar.sticky .menu li a:hover{
    color: #6697ff;
}

/* menu btn styling */
.menu-btn{
    color: var(--primary-color);
    font-size: var(--subheading-font);
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: crimson;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: var(-color-white);
    z-index: 9999;
    font-size: var(--subheading-font);
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}

/* home section styling */
.home {
    display: flex;
    background: url("../images/DALLE2024-01-1422.13.15-AsophisticatedandmodernimagerepresentingAIservicesforenterprisesfocusingontechnologywithablueandwhitetint.Theimageshouldfeatur.png") no-repeat center;
    /* height: 100vh; */
    /* color: var(--color-primary); */
    min-height: 500px;
    align-items: center;
    background-size: cover;
    /* background-attachment: fixed; */
}

.home .max-width {
    width: 100%;
    display: flex;
}
.home-card-container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
        padding: 20px;
}
.card-home{
    font-weight: var(--weight-normal);
}
.text-2 {
    white-space: pre-line;
}
@media (max-width: 750px) {
    .home-card-container {
        grid-template-columns: 1fr;
    }
}
 .card-home {
     min-width: 230px;
     min-height: 210px;
     max-width: 230px;
     max-height:190px ;
     margin: 20px;
     background-color:var(--color-white);
     border-radius: 15px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     text-align: center;
     overflow: hidden;
 }

 .card-home img {
     width: 80%;
     height: 80%;

     /* padding: 10px; */
     /* object-fit: cover; */
     /* border-radius: 20px; */
     /* Add border-radius to the image */
 }

 .card-content {
     /* padding: 20px; */
     /* box-sizing: border-box; */
    padding: 20px;
     /* Include padding in width and height calculations */
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     background-color: var(-color-white);
 }
 .card-content span{
    /* padding-inline: 21px; */
    background-color: var(--color-quaternary);
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    margin-bottom: 10px;
 }
 .card-content img {
     
     /* border-radius: 50%; */
     object-fit: contain;
     /* width: 45%; */
     /* padding: 21px; */
     /* Adjust the width as needed */
     /* height: auto; */
     /* Maintain the aspect ratio */
 }
.home .max-width{
  width: 100%;
  display: flex;
}
.home .max-width .row{
  margin-right: 0;
}
.home-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    /* width: 200px; */
    /* height: 300px; */
    /* padding: 5rem; */

}
.home .home-content{
    background-color: rgba(21, 49, 73, 0.7) !important;
    padding-left: 2rem;
    /* padding-top: 2rem; */
    /* padding-bottom: 2rem; */
    border-radius: 15px;
    margin-top: -10px;
    /* opacity: 90%; */
}
@media(max-width:1165px) {
    .home-content{
        display: flex;
        flex-direction: column;justify-content: center;
        align-items: center;
        text-align: center;

    }
}
.home .home-content .text-2{
    color: var(--color-white);
    font-size: var(--heading-font);
    font-weight: var(--weight-heavy);
    margin-left: -3px;
}

/* about section styling */
/* .about .title::after{
    content: "who i am";
} */
.about .about-content .left{
    width: 45%;
}
.about .about-content .left span {
    height: 1000px;
        width: 400px;
        
        border-radius: 6px;
}
.about .about-content .left img{
    object-fit: contain;
    max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 2px;
    font-weight: var(--weight-heavy);
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: crimson;
}
.about .about-content .right p{
    text-align: justify;
}
/* .about .about-content .right a{
    display: inline-block;
    background: crimson;
    color: var(-color-white);
    font-size: var(--section-font);
    font-weight: var(--weight-normal);
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: crimson;
    background: none;
} */

/* services section styling */

.services .title{
    color:var(--color-white);
}

.services .subhead{
    color: var(--color-white);
}

.services, .teams{
    color:var(-color-white);
    background: var(--color-primary);
}
.services .title::before,
.teams .title::before{
    background: var(-color-white);
}
.services .title::after,
.teams .title::after{
    background: var(--color-primary);
    color: var(--color-quaternary);
}
.services .serv-content{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.services .subhead{
    font-size: var(--title-font);
}
.services .serv-content .card{
    width: calc(500px);
        height: calc(500px);
    /* height: calc(43% - 20px); */
    background: var(--color-quaternary);
    color: var(--color-primary);
    text-align: center;
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 50px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.services .serv-content .card:hover{
    background: var(--color-tertiary);
}
.services .serv-content .card .box{
    transition: all 0.3s ease;
}
.services .serv-content .card .box span{
    /* transition: all 0.3s ease; */
    object-fit: contain;
    width: 100px;
    height: 100px;
}
.services .serv-content .card .box span img{
    /* transition: all 0.3s ease; */
    object-fit: contain;
    width: 100px;
    height: 100px;
}
.services .serv-content .card:hover .box{
    transform: scale(1.05);
}
.services .serv-content .card i{
    font-size: var(--heading-font);
    color: crimson;
    transition: color 0.3s ease;
}
.services .serv-content .card:hover i{
    color: var(--color-white);
}
.services .serv-content .card:hover{
    color: var(--color-white);
}
.services .serv-content .card .text{
    font-size: var(--subheading-font);
    font-weight: var(--weight-normal);
    margin: 10px 0 7px 0;
    
}

/* skills section styling */

.skills .title::after{
    content: "what i know";
}
.skills .skills-content .column{
    width: calc(50% - 30px);
}
.skills .skills-content .left .text{
    font-size: var(--title-font);
    font-weight: var(--weight-heavy);
    margin-bottom: 10px;
}
.skills .skills-content .left p{
    text-align: justify;
}
.skills .skills-content .left a{
    display: inline-block;
    background: crimson;
    color: var(--color-white);
    font-size: var(--section-font);
    font-weight: var(--weight-normal);
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.skills .skills-content .left a:hover{
    color: crimson;
    background: none;
}
.skills .skills-content .right .bars{
    margin-bottom: 15px;
}
.skills .skills-content .right .info{
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.skills .skills-content .right span{
    font-weight: var(--weight-normal);
    font-size: var(--section-font);
}
.skills .skills-content .right .line{
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.skills .skills-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}
.skills-content .right .html::before{
    width: 90%;
}
.skills-content .right .css::before{
    width: 60%;
}
.skills-content .right .js::before{
    width: 80%;
}
.skills-content .right .php::before{
    width: 50%;
}
.skills-content .right .mysql::before{
    width: 70%;
}

/* teams section styling */
.teams .title::after{
    content: "who with us";
}
.teams .carousel .card{
    background: var(--color-quaternary);
    border-radius: 6px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
        color: var(--color-primary);
}
.teams .carousel .card:hover{
    background: var(--color-tertiary);
        color: var(--color-primary);
}
.teams .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover .box{
    transform: scale(1.05);
}
.teams .carousel .card .text{
    font-size: var(--subheading-font);
    font-weight: var(--weight-normal);
    margin: 10px 0 7px 0;
}
.teams .carousel .card img{
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--color-primary);
    transition: all 0.3s ease;
}
.teams .carousel .card:hover img{
    border-color: var(--color-white);
}
.owl-dots{
    text-align: center;
    margin-top: 20px;
}
.owl-dot{
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid var(--color-secondary)!important;
    transition: all 0.3s ease;
}
.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}
.owl-dot.active,
.owl-dot:hover{
    background: var(--color-secondary)!important;
}

/* contact section styling */
.contact .title::after{
    color:var(--color-primary);
    /* content: "get in touch"; */
}
.contact .contact-content .column{
    width: calc(50% - 30px);
}
.contact .contact-content .text{
    font-size: var(--title-font);
    font-weight: var(--weight-heavy);
    margin-bottom: 10px;
}
.contact .contact-content .left p{
    text-align: justify;
}
.contact .contact-content .left .icons{
    margin: 10px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;
}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row i{
    font-size: var(--subheading-font);
    color: var(--color-primary);
}
.contact .contact-content .info .head{
    font-weight: var(--weight-normal);
}
.contact .contact-content .info .sub-title{
    color: var(--color-secondary);
}
.contact .right form .fields{
    display: flex;
}
.contact .right form .field,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea{
    height: 80px;
    width: 100%;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    transition: all 0.3s ease;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus{
    border-color: #b3b3b3;
}
.contact .right form .textarea textarea{
  padding-top: 10px;
  resize: none;
}
.contact .right form .button-area{
  display: flex;
  align-items: center;
}
.right form .button-area button{
  color: var(--color-white);
  display: block;
  width: 160px!important;
  height: 45px;
  outline: none;
  font-size: 18px;
  font-weight: var(--weight-normal);
  border-radius: 6px;
  cursor: pointer;
  flex-wrap: nowrap;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
}
.right form .button-area button:hover{
  color: var(--color-primary);
  background: none;
}
/* footer section styling */
footer{
    background: var(--color-primary);
    padding: 15px 23px;
    color:var(--color-white);
    text-align: center;
}
footer span a{
    color: crimson;
    text-decoration: none;
}
footer span a:hover{
    text-decoration: underline;
}


/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }
}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: var(--color-primary);
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: var(--heading-font);
    }
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width{
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size:var(--subheading-font);
    }
    }
    .services .serv-content .card{
        width: 100%;
    }
   
}

@media (max-width: 749px){
    
}

@media (max-width: 500px) {
    .max-width{
        padding: none;
    }
    .home .home-content .text-2{
        font-size: var(--heading-font);
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text{
        font-size: var(--section-font);
    }
    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: var(--title-font);
        line-height: 38px;
    }
}



.about {
    padding: 110px 0;
}

.title {
    text-align: center;
    font-size: var(--subheading-font);
    color: var(--color-secondary);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    flex: 1;
}

.left img {
    width: 100%;
    border-radius: 6px;
}

.right {
    flex: 1;
    padding-left: 20px;
}

.u-text {
    font-size: var(--section-font);
    line-height: 1.6;
}

.why-choose {
    margin-top: var(--subheading-font);
}

.why-choose h3 {
    font-size: var(--title-font);
    color: var(--color-secondary);
}

.why-choose ul {
    list-style-type: none;
    padding: 0;
}

.why-choose ul li {
    margin-bottom: 15px;
}

.why-choose span {
    font-weight: var(--weight-heavy);
    color: var(--color-primary);
}

/* Our Vision */

.ourvision {
    padding: 80px 0;
}

.vision-content {
    text-align: center;
}

.vision-content h1 {
    font-size: var(--subheading-font);
    color: var(--color-primary);
}

.vision-content p {
    font-size: var(--title-font);
    line-height: 1.6;
    color:var(--color-secondary);
    margin-top: 20px;
}

.vision-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.vision-item {
    width: 300px;
    margin: 20px;
    padding: 15px;
    background-color: var(--color-primary);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.vision-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.vision-item h3 {
    font-size: var(--subheading-font);
    color: var(--color-white);
    margin-top: 50px;
}

.vision-item p {
    font-size: var(--section-font);
    color: var(--color-quaternary);
}

.innovation .icon img {
    content: url('../images/development1.png');
    width: 100px;
    color: var(--color-white);
}

.efficiency .icon img {
    content: url('../images/energy-saving1.png');
    width: 100px;
    color: var(--color-white);
}

.intelligence .icon img {
    content: url('../images/artificial-intelligence.png');
    width: 100px;
    color: var(--color-white);
}

/* button design*/

.button-area a {
    text-decoration: none;
}

.button-area button {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-area button:hover {
    background-color: var(--color-secondary);
}

.button-area-white a {
    text-decoration: none;
}

.button-area-white button {
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-area-white button:hover {
    background-color: var(--color-quaternary);
}