@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bai Jamjuree', sans-serif;
}

body {
    background-color: #dae4f2;

}
html,body{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

}
body::-webkit-scrollbar {
    background-color: #dae4f2;
    width: 8px;


}
body::-webkit-scrollbar-track {
    background-color: #dae4f2;
}
body::-webkit-scrollbar-thumb {
    background-color: #717da6;
    border-radius: 8px;

}
body::selection {
    background-color: #5b62f4;
    color: #fff;
}


.navbar {
    transition: all .5s ease-in-out;
}

.logo {
    font-size: 25px;
    font-weight: 700;
    color: #485785;
}

.logo:hover {
    color: #485785;
}
.navbar-toggler:focus{
    box-shadow: none;
}


.mynav a {
    font-size: 14px;
    color: #7b8ab8;
    font-weight: 600;
    margin: 0px 20px;
    padding: 3px 2px !important;
    text-transform: uppercase;

    position: relative;

    /* background-color: aqua; */

}

.mynav a:hover {
    color: #485785;

}

.mynav a::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    inset: 0;
    z-index: -1;

    border-bottom: 3px solid #5b62f4;
    transition: transform 0.4s ease-in-out;
    transform: scaleX(0);
    transform-origin: bottom right;

}

.mynav a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.cursor-dot {
    width: 9px;
    height: 9px;
    background-color: #5b62f4;
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 2px solid #5b62f4;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
}
.hamburger {
    background-color: #717da6;
   
    transition: all .3s;
    padding: 2px 10px;
    border-radius: 3px;
    margin: 1px;
}
.openmenu #line-1{
    transform: rotate(-45deg) translate(-5px, 5px);
}
.openmenu #line-2{
    opacity: 0;
}
.openmenu #line-3{
    transform: rotate(45deg) translate(-3px, -4px);
}
/* From Uiverse.io by Cornerstone-04 */ 
.preloader{
    background-color: #dae4f2;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}
.loader {
  width: 50px;
  height: 50px;
  border: 18px double;
  border-color: #5b62f4 #c7cce0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spin13213 1.3s linear infinite;
}

.loader div {
  width: 50%;
  height: 50%;
  background-color: #5b62f4;
  border-radius: 50%;
}

@keyframes spin13213 {
  to {
    transform: rotate(360deg);
  }
}

/* ----------------home============ */
.home-section {
    padding: 160px 0px;
    /* border-bottom: 1px solid #ccc; */
    /* min-height: 100vh; */
}

.home-left img {
    width: 70%;
    display: block;
    margin: auto;
    transition: .3s;
    animation: motion 1s ease-in-out infinite alternate;

}


.home-left img:hover {
    filter: drop-shadow(0px 0px 5px #5b62f4);

}

.home-right h1 {
    font-size: 63px;
    font-weight: 700;
    margin-bottom: 0;
    color: #485785;
}

.home-right h3 {
    font-size: 40px;
    font-weight: 700;
    color: #5b62f4;
}

.home-right p {
    color: #717da6;
    font-size: 16px;
    font-weight: 500;
}

.home-btn {
    margin-top: 30px;
}

.home-btn a {
    /* background-color: aqua; */
    padding: 16px 24px;
    background-color: #485785;
    border-radius: 50px;
    text-decoration: none;

    font-weight: 600;
    font-size: 15px;

}

.home-btn a:first-child {
    background-color: #5b62f5;
    margin-right: 20px;
    border: 2px solid transparent;
    color: #fff;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.2);
    transition: all .5s;
}

.home-btn a:first-child:hover {
    border: 2px solid #5b62f5;
    background-color: transparent;
    color: #5b62f4;
}

.home-btn a:last-child {
    background-color: #dae4f2;
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.5), 5px 5px 12px rgba(0, 0, 0, 0.1);
    color: #7b8ab8;
    border: 2px solid transparent;
    transition: all .5s;

}

.home-btn a:last-child:hover {
    box-shadow: none;
    border: 2px solid #5b62f5;
}

/* +++++++++++++++++about+++++++++++++++++++ */
.about-section {
    padding: 100px 0px;

}

.about-section h1 {
    font-size: 40px;
    font-weight: 700;
    color: #485785;

}

.about-section h1::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    border-radius: 50px;
    background-color: #5b62f4;
    margin: 0px 0px;
}

.about-section p {
    margin-top: 14px;
    color: #717da6;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 23px;
}
.about-txt{
    padding-left: 20px;
}
.about-section a {
    text-decoration: none;

    /* box-shadow: -5px -5px 12px rgba(255, 255, 255,0.5), 5px 5px 12px rgba(0, 0, 0, 0.1); */
    color: #fff;
    border: 2px solid transparent;

    padding: 12px 20px;
    background-color: #5b62f4;
    border-radius: 50px;

    font-weight: 600;
    font-size: 15px;
    transition: all .3s;

    /* box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.2); */

}

.about-section a:hover {
    background-color: transparent;
    border: 2px solid #5b62f4;
    color: #5b62f4;
}

.about-section a i {
    font-size: 17px;
    margin-left: 8px;
    vertical-align: middle;


    font-weight: 100;

}

.about-section a i:hover {
    color: #5b62f4;
}
.about-section img{
    animation-name: motion;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
}
/* ++++++++++++++++++++skills+++++++++++++++++++ */
.skills-section {
    padding: 100px 0px;
}

.skills-section h1,
.services-section h1,
.work-section h1,
.contact-section h1 {
    font-size: 40px;
    font-weight: 700;
    color: #485785;
    margin-bottom: 15px;
}

.skills-section p,
.services-section p,
.work-section p,
.contact-section p
{
    /* margin-top: 14px; */
    color: #717da6;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 23px;

}

.skill-item {
    background-color: #dae4f2;
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.5), 5px 5px 12px rgba(0, 0, 0, 0.1);
    padding: 30px 0px;
    border-radius: 30px;
    border: 2px solid transparent;
    transition: all .3s;
    cursor: pointer;
}

.skill-item:hover {
    /* box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.2); */
    box-shadow: none;
    border: 2px solid #5b62f5;

}

.skill-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: auto;

    /* margin: 20px 0px */
}

/* ++++++++++++.services-section++++++++ */
.services-section {
    padding: 100px 0px;
}

.service-item {
    background: #dae4f2;
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.5), 5px 5px 12px rgba(0, 0, 0, 0.1);
    padding: 28px;
    border-radius: 25px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .3s;

}

.service-item:hover {
    border: 2px solid #5b62f5;
    box-shadow: none;

}

.icon {
    width: 80px;
    height: 80px;
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.5) inset, 5px 5px 5px rgba(0, 0, 0, 0.1) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;


}

.service-item i {
    color: #5b62f5;
    font-size: 34px;

}

.service-item h3 {
    margin: 24px 0px 8px 0px;
    font-size: 20px;
    font-weight: 700;
    color: #485785;
}

.services-section p {
    margin-bottom: 5px;
}

/* ++++++++++++++++++work++++++++++++++ */
.work-section {
    padding: 100px 0px;
}

.work-item {
    background: #dae4f2;
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.5), 5px 5px 12px rgba(0, 0, 0, 0.1);
    padding: 28px;
    border-radius: 25px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .3s;
}

.work-card1,
.work-card2,
.work-card3,
.work-card4,
.work-card5,
.work-card6 {
    /* height: 100%;  */
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    background-image: url('../images/uniedge.webp');
    background-position: top center;
    background-size: cover;
    transition: background-position 5s ease-in-out;

}

.work-card2 {
    background-image: url('../images/Foody.webp');
}

.work-card3 {
    background-image: url('../images/barber.webp');
}

.work-card4 {
    background-image: url('../images/webagent.webp');
}

.work-card5 {
    background-image: url('../images/flower.webp');
}
.work-card6 {
    background-image: url('../images/shpy.png');
}

.work-item:hover .work-card1,
.work-item:hover .work-card2,
.work-item:hover .work-card3,
.work-item:hover .work-card4,
.work-item:hover .work-card5,
.work-item:hover .work-card6 {


    background-position: bottom center;
}

.work-item:hover {
    border: 2px solid #5b62f5;
    box-shadow: none;

}

.work-item h1 {
    margin: 24px 0px 8px 0px;
    font-size: 20px;
    font-weight: 700;
    color: #485785;
}

.work-item h1 i {
    color: #5b62f5;
    margin-left: 20px;
    vertical-align: middle;
    font-size: 16px;
    background-color: #5b62f5;
    color: #fff;
    border: 2px solid #5b62f5;
    padding: 5px;
    border-radius: 5px;
    transition: all .3s;
}

.work-item h1 i:hover {
    background-color: transparent;
    color: #5b62f5;
}

.more-projects {
    background: linear-gradient(#5b62f4, #3b44a8);
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.3), 5px 5px 12px rgba(0, 0, 0, 0.1);
    min-height: 100%;
    color: #fff;
    border: 2px solid #5b62f4;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.more-btn {
    background-color: #5b62f4;
    padding: 16px 24px;
    color: #fff;
    border: 2px solid #5b62f4;
    border-radius: 30px;
    transition: all .3s;
    text-decoration: none;
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.3), 5px 5px 12px rgba(0, 0, 0, 0.2);
}

.more-btn:hover {
    background-color: transparent;
    color: #5b62f4;
}

.more-projects:hover {
    background: none;
    color: #5b62f4;
}
/* +++++++++++++++CTA+++++++++++++++++++ */
.cta-section{
    padding: 80px 0px;
}

.cta-section::selection{
    background-color: #fff;
    color: #5b62f4;
}
.cta-section .discuss{
    background-color: #5b62f4;
    vertical-align: middle;
    padding: 110px 0px;
    border-radius: 30px;
}
.cta-section .discuss:hover .cursor-dot{
    background-color: #fff !important;
}
.cta-section .discuss:hover .cursor-outline{
    border: 2px solid #fff !important;
}
.cta-section .discuss h1{
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.cta-section .discuss p{
    margin-top: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
   
}
.cta-section .discuss a{
    margin-top: 0px;
    display: inline-block;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.2);
    background-color: #5b62f4;
    border: 2px solid transparent;
   

}
.cta-section .discuss a:hover{

    color:#fff;
    border: 2px solid #8c90d7;
    
    
}
/* +++++++++++++++++contact++++++++++++++ */

.contact-section{
    padding: 100px 0px;
}
.contact-section h3{
    font-size: 30px;
    font-weight: 700;
    color: #5b62f4;
    margin-bottom: 15px;
}

.contact-left-social p:first-child{
    margin-top:20px;
    
   
}  
.contact-left-social p:first-child:hover{
    color: #5b62f4;
}


.contact-left-social p:first-child a {
    text-decoration: none;
    color: #717da6;
   
}  
.contact-left-social p{
    margin-bottom: 14px;
    text-decoration: none;
}
.contact-left-text a{
    text-decoration: none;
    /* color: #717da6; */
}

.contact-left-text i{
    
    margin-right: 6px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    background-color: #5b62f4;
    border: 1px solid #5b62f4;
    border-radius: 50%;
    transition: all .3s;
    padding: 10px;

}
.contact-left-text i:hover{
    background-color: #dae4f2;
    color: #5b62f4;
}

.contact-right-form,.contact-left{
    padding: 40px 20px;

}
.contact-right-form form{
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-right-form form input,textarea{
    /* border-bottom:1px solid #5b62f4; */
    border: none;
    outline: none;
    padding: 12px 12px;
    background-color:#dae4f2;
    transition: all .3s;
    border-radius: 8px;
    box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.3)inset, 5px 5px 8px rgba(0, 0, 0, 0.1) inset;
    


}
.contact-right-form form textarea{
    resize: none;
}
.contact-right-form form input:focus,textarea:focus{
    box-shadow: none;
    background-color: #fff;
}
.contact-right-form form button{
    background-color: #5b62f4;
    padding: 13px 26px;
 
    color: #fff;
    border: 2px solid #5b62f4;
    border-radius: 30px;
    transition: all .3s;
    text-decoration: none;
    align-self: flex-start;
    box-shadow:5px 5px 12px rgba(0, 0, 0, 0.2);
}
.contact-right-form form button:hover{
    background-color: transparent;
    color: #5b62f4;
}

.mail:hover{
    color: #5b62f4;
}





@keyframes motion {
    0%{
        transform: translateY(-5px)
    }
    100%{
        transform: translateY(10px);
    }
    
}