
/* appling google font over the website  */
body{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    max-width: 100%;
    overflow-x: hidden;
}
/* styling menu icon */
.nav-menu{
    border: none;
    background-color: #fff;
    font-size: 1.5rem;
    color: #fca61f;
}

.navbar-nav{
    font-weight: bold;
}
/* styling navbar links  */
.navbar-nav a{
    color: black;
    position: relative;
}
.navbar-nav a:hover{
    color: #fca61f;
}
.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: #fca61f;
    color: #fff;
    font-size: 1.2rem;
}
.c-btn a{
    color: #fff;
    text-decoration: none;
}
/* styling home section starts */
.home{
    background: linear-gradient(33deg, rgba(242,242,255,1) 0%, rgba(235,249,255,1) 100%);
    padding: 30px 0px 10px 0px;
}
.home h2{
    font-size: 3rem;
    line-height: 4rem;
}
.c-orange{
    color: #6f34fe;
    font-weight: 700;
    font-size: 4rem;
}
.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.5rem;
    font-weight: 600;
}

#ad{
    color:#6c757d;
    font-size: 1.5rem;
    font-weight: 600;
}
.heading h3{
    margin-top: 0.5rem;
    color: #3f396d;
    font-size: 2.5rem;
    font-weight: 700;
}

#abc{
    margin-top: 0.5rem;
    color: #3f396d;
    font-size: 2.2rem;
    font-weight: 700;
}
.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: 15px 15px;
    border-radius: 0.7rem;
}

/* skill section starts */

.skill{
    background-color: rgb(234, 234, 249);
}
.progress-card{
    padding: 12% 10% 10% 15%;
    background-color: #fff;
    text-align: center;
    border-radius: 10%;
}
.progress-card:hover{
    transform: scale(1.1,1.1);
    transition-duration: 0.6s;
}
.circular-progress{
    position: relative;
    height: 130px;
    width: 130px;
    border-radius: 50%;
    background: conic-gradient(#7d2ae8 3.6deg, #ededed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.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-color: #f2f2ff;
}
.blog .blogpost .card{
    border: none;
    border-radius: 5%;
}
.nav-bg{
    background-color: #fff;
}

.blog .blogpost small{
    color: #6f34fe;
    font-size: 1.1rem;
}

.blogpost p{
    font-size: 1.rem;
}
.blog .blogpost h4,.blogpost a{
    color: #3f396d;
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
}
.ad{
    color: #3f396d;
    font-weight: bolder;
}
.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-color: #211e39;
}

footer .link-group a{
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 1rem;
}
footer .link-group a:hover{
    color: #fca61f;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    margin-right: 1rem;
    font-size: 1.4rem;
    background-color: #fff;
    padding: 14px 15px 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links i {
    font-size: 1.8rem;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-links .linkedin {
    color: #0077B5;
}
.social-links .linkedin:hover {
    background-color: #0077B5;
}

.social-links .instagram {
    color: #E4405F;
}
.social-links .instagram:hover {
    background-color: #E4405F;
}

.social-links .whatsapp {
    color: #25D366;
}
.social-links .whatsapp:hover {
    background-color: #25D366;
}


/* styling back to top button */
#btn-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    font-size: 1.4rem;
    background-color: #fca61f;
    color: #fff;
    animation: pulse 3s infinite;
}
   
    
    .icons-line .icon-home,
    .icons-line .icon-school {
      font-size: 50px;
      position: absolute;
      top: 0;
    }

  

.icon-home,
.icon-school {
  position: absolute;
  top: 70px;
  font-size: 30px;
}


/* CSS */
.top-center {
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
  }
  
  h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .icons-line {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
  }
  
  .icon-home,
  .icon-school {
    position: absolute;
    bottom: 0;
    font-size: 50px;
  }
  
  .icon-home {
    left: 8%;
  }
  
  .icon-school {
    right: 8%;
  }
  
  .location-icon {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    z-index: 2;
  }
  
  svg {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
  }
  
  svg path {
    fill: none;
    stroke: #3f396d;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s forwards;
  }
  
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  
  .distance-containerr {
    text-align: center;
    margin-bottom: 20px;
    z-index: 3;
    position: relative;
  }
  
  .distance-display {
    width: 180px;
    background-color: #fff;
    color: #333;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid #007bff;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  }
  
  /* 🔄 Responsive for mobile */
  @media (max-width: 576px) {


    .icon-home,
    .icon-school {
      font-size: 28px;
    }
	
    .location-icon {
      bottom: 50px;
      font-size: 28px;
    }
  
    h1 {
      font-size: 20px;
    }
  
    svg {
      height: 60px;
    }
  }
  
  .video-section h3 {
    color: #3f396d;
  }
  
  .video-section iframe {
    border: none;
  }

  
  /* Animate image on hover */
.service-card .img {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card .img img {
    transition: transform 0.4s ease;
    border-radius: 12px;
  }
  
  .service-card:hover .img img {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Smooth card appearance */
  .service-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(63, 57, 109, 0.1);
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(63, 57, 109, 0.2);
  }
  

  /* Counter Section Styles */
.counter-section {
  color: #3f396d; /* Matching skill section text color */
  position: relative;
  overflow: hidden;
}

.counter-card {
   transition: all 0.4s ease;
  border: 2px solid rgba(63, 57, 109, 0.2);
}

.counter-card:hover {
 transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(63, 57, 109, 0.3) !important;
}

.counter-value {
  color: #3f396d; /* Matching skill section text color */
  font-size: 2.5rem !important;
}


/* Notification Bell Styling */
#notification-bell {
  position: relative;
  font-size: 1.25rem;
  color: #3f396d;
}   

#notification-count {
  font-size: 0.6rem;
  padding: 0.25rem 0.4rem;
}


/* Notification styles */
.notification-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 1050;
  display: none;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.notification-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: center;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-content {
  flex: 1;
  text-align: center;
}

.notification-date {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 8px;
}

.notification-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #3f2a63;
}

.notification-desc {
  font-size: 1rem;
  color: #495057;
  line-height: 1.5;
}

.notification-img-container {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.notification-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-notification {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

#notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #notification-container {
    width: 95%;
    top: 60px;
    transform: translateX(-50%);
    max-height: calc(100vh - 100px);
  }
  
  .notification-item {
    flex-direction: column;
    text-align: center;
  }
  
  .notification-img-container {
    width: 100%;
    height: auto;
    max-height: 200px;
    margin-top: 10px;
  }
}

/* Notification bell - always show count */
#notification-count {
  display: inline-block !important;
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  line-height: 18px;
}