/* appling google font over the website  */
body{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    background: #f7f8fa;
    color: #232946;
}
/* styling menu icon */
.nav-menu{
    border: none;
    background-color: #fff;
    font-size: 1.5rem;
    color: #fca61f;
}
/* styling navbar links  */
/* Navbar */
.navbar-nav a{
    color: #232946;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.navbar-nav a:hover{
    color: #6f34fe;
}
.navbar-nav a:after {    
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    top: 35px;
    position: absolute;
    background: #fca61f;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
  }
.navbar-nav a:hover:after { 
    width: 100%; 
    left: 0; 
  }
  /* styling contact btn  */
.c-btn{
    border: none;
    background: linear-gradient(90deg, #6f34fe 60%, #fca61f 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    box-shadow: 0 4px 16px 0 rgba(111,52,254,0.08);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.c-btn:hover, .h-btn:hover{
    background: linear-gradient(90deg, #fca61f 0%, #6f34fe 100%);
    color: #fff;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 24px 0 rgba(111,52,254,0.13);
}
/* styling home section starts */
/* Home section */
.home{
    background: linear-gradient(120deg, #f7f8fa 60%, #e6e6ff 100%);
    padding: 40px 0 20px 0;
}
.home h2{
    font-size: 3rem;
    line-height: 4rem;
}
.c-orange{
        color: #fca61f;
        font-weight: 800;
        font-size: 3.5rem;
        letter-spacing: 1px;
        text-shadow: 1px 2px 8px #f7e7c6;
        display: inline-block;
        word-break: break-word;
        line-height: 1.1;
        vertical-align: middle;
}

.greeting-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
}

@media (max-width: 1200px) {
    .c-orange {
        font-size: 2.7rem;
    }
}
@media (max-width: 992px) {
    .c-orange {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .c-orange {
        font-size: 1.7rem;
        text-shadow: 1px 1px 4px #f7e7c6;
    }
    .greeting-wrap {
        flex-direction: column;
        gap: 0.2rem;
        font-size: 1.2rem;
    }
}
@media (max-width: 576px) {
    .c-orange {
        font-size: 1.3rem;
        text-shadow: none;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .greeting-wrap {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 1200px) {
    .c-orange {
        font-size: 2.7rem;
    }
}
@media (max-width: 992px) {
    .c-orange {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .c-orange {
        font-size: 1.7rem;
        text-shadow: 1px 1px 4px #f7e7c6;
    }
}
@media (max-width: 576px) {
    .c-orange {
        font-size: 1.3rem;
        text-shadow: none;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}
.home p{
    width: fit-content;
    margin-top: 1rem;
    font-size: 1.2rem;
}
.h-btn:hover{
    background: #6f34fe;
    color: #fff;
    transform: translateY(-20px);
    transition-duration: 1s;
}
.link{
    text-decoration: none;
    font-size: 1.2rem;
    color: #fca61f;
    position: relative;
}
.link::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    top: 20px;
    background-color: #6f34fe;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.link:hover{
    color: #6f34fe;
}
.link:hover::after{
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* adding animation to home section image  */
.home img{
    animation: floatimg 4s ease-in-out infinite;
}

@keyframes floatimg {
    0%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(-24px);
    }
    100%{
        transform: translateX(0);
    }
}

/* expertise section starts */
.heading small{
    color: #6f34fe;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.heading h3{
    margin-top: 0.5rem;
    color: #232946;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.expertise h4{
    color: #3f396d;
    font-weight: 700;
}
.expertise a{
    text-decoration: none;
    color: #fca61f;
}
.expertise a:hover{
    color: #6f34fe;
}
.expertise .service-card{
    text-align: center;
    padding: 24px 18px 20px 18px;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(111,52,254,0.07);
    margin-bottom: 18px;
    transition: box-shadow 0.3s, transform 0.2s;
}
.expertise .service-card:hover{
    box-shadow: 0 8px 32px 0 rgba(111,52,254,0.13);
    transform: translateY(-6px) scale(1.03);
}

/* skill section starts */
.skill{
    background-color: rgb(234, 234, 249);
}
.progress-card{
    padding: 18% 10% 12% 10%;
    background-color: #fff;
    text-align: center;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(111,52,254,0.07);
    margin-bottom: 18px;
    transition: box-shadow 0.3s, transform 0.2s;
}
.progress-card:hover{
    box-shadow: 0 8px 32px 0 rgba(111,52,254,0.13);
    transform: scale(1.06,1.06);
}
.circular-progress{
    position: relative;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background: conic-gradient(#6f34fe 3.6deg, #ededed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(111,52,254,0.07);
}
.circular-progress::before{
    content: "";
    position: absolute;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background-color: #fff;
}
.progress-value{
    position: relative;
    font-size: 1.5rem;
    font-weight: 600;
}
.html-progress{
    color: #fca61f;
}
.javascript-progress{
    color: #6f34fe;
}
.php-progress{
    color: #20c997;
}
.reactjs-progress{
    color: #3f396d;
}
.text{
    font-size: 1.2rem;
    font-weight: 500;
}
.heading p{
    font-size: 1.3rem;
}

/* portfolio section starts */
#myBtnContainer{
    margin-bottom: 45px;
}
#myBtnContainer button{
  border: none;
  color: black;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;   
  display: inline-block;
  margin: 0 25px;
}
#myBtnContainer button:hover{
    color: #fca61f;
}

#myBtnContainer button:focus{
    outline: none;
}
.post .content h4{
    font-size: 1rem;
    font-weight: 700;
}
.post .card{
    border: none;
}

/* testimonial section starts */
.testimonial img:hover{
    transform: scale(1.2,1.2);
    transition-duration: 1s;
}
.testimonial h4{
    color: #3f396d;
}
.testimonial i{
    font-size: 2.9rem;
    color: #fca61f;
    
}
.testimonial .nextprev-btn{
    border: none;
    background-color: #fff;
}
.prev:hover,.prev-btn:hover{
    color:#6f34fe;
    transform: translateX(-10px);
    transition-duration: 1s;
}
.next:hover,.next-btn:hover{
    color:#6f34fe;
    transform: translateX(10px);
    transition-duration: 1s;
}

/* blog section starts */
.blog{
    background: linear-gradient(120deg, #f7f8fa 60%, #e6e6ff 100%);
}
.blog .blogpost .card{
    border: none;
    border-radius: 5%;
}
.nav-bg{
    background-color: #fff;
}

.blog .blogpost small{
    color: #6f34fe;
    font-size: 1.1rem;
}
.blog .blogpost h4,.blogpost a{
    color: #3f396d;
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
}
.blogpost a:hover{
    color: #fca61f;
}
.blog .blogpost .read-more-btn{
    text-decoration: none;
    color: #fca61f;
    font-size: 1.1rem;
}
.blog .blogpost .read-more-btn:hover{
    color: #6f34fe;
}
/* styling modal group  */
.btn-c{
    margin-left: 94%;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin-top: -3%;
}
.btn-c i{
    color: #fca61f;
}
.modal-body .content span{
    font-size: 1rem;
}
.modal-body .content small{
    font-size: 1rem;
    color: #6f34fe;
}
/* contact section starts */
.contact{
    background-color: #f3f3f3;
}
.contact-details i{
    font-size: 1.5rem;
    color: #fca61f;
}
.contact-details p{
    font-size: 1.2rem;
    margin-left: 1rem;
}
.contact-form .form-control:focus{
    box-shadow: none;
    border: 1px solid #fca61f;
}
.contact-form .form-control{
    padding: 10px 10px;
    width: 80%;
}

/* footer section starts */
footer{
    background: linear-gradient(90deg, #6f34fe 60%, #232946 100%);
}

footer .link-group a{
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
    color: #f7e7c6;
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
footer .link-group a:hover{
    color: #fca61f;
}
.social-links button{
    border: none;
    margin-right: 1rem;
    font-size: 1.2rem;
    background-color: #fff;
    padding: 14px 15px 10px 15px;
    border-radius: 50%;
    box-shadow: 0 2px 8px 0 rgba(111,52,254,0.07);
    transition: background 0.3s, color 0.2s, transform 0.2s;
}
.social-links .dribble{
    color: #f33a7e;
}
.social-links button:hover{
    color: #fff;
    background: #6f34fe;
    transform: translateY(-8px) scale(1.08);
}
.social-links .dribble:hover{
    background-color: #f33a7e;
}
.social-links .whatsapp{
    color: #25D366;
}
.social-links .whatsapp:hover{
    background-color: #25D366;
}
.social-links .behance{
    color: #255afc;
}
.social-links .behance:hover{
    background-color: #255afc;
}

/* styling back to top button */
#btn-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    font-size: 1.4rem;
    background: linear-gradient(90deg, #6f34fe 60%, #fca61f 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 12px 0 rgba(111,52,254,0.13);
    animation: pulse 3s infinite;
    z-index: 1000;
}
