.skills-section {
  text-align: center;
  padding: 50px 20px;
}

.skills-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  line-height: 1.6;
}

.skills-category {
  border-radius: 20px;
  padding: 30px 20px;
  margin-bottom: 40px;
}

.skills-category h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category background colors */
.frontend {
  background: rgba(0, 120, 255, 0.05);
}
.backend {
  background: rgba(0, 200, 83, 0.07);
}
.database {
  background: rgba(255, 193, 7, 0.08);
}
.network {
  background: rgba(255, 87, 34, 0.08);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 25px;
  justify-items: center;
}

.skill-item {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 150px;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.skill-item i{
  font-size:32px;
  margin-right:8px;
}



/* Pulse & Glow Animation */
.skill-item:hover i {
  animation: pulse-glow 1s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(0, 0, 0, 0);
  }
}

/* Real brand colors */
.fa-html5 {
  color: #e34f26;
}
.fa-css3-alt {
  color: #1572b6;
}
.fa-js {
  color: #f7df1e;
}
.fa-react {
  color: #61dafb;
}
.fa-node-js {
  color: #3c873a;
}
.fa-server {
  color: #888;
}
.fa-database {
  color: #00758f;
}
.fa-leaf {
  color: #47a248;
}
.fa-network-wired {
  color: #ff5722;
}

.skill-item span {
  display: block;
  font-weight: 500;
  color: #333;
  margin-top: 5px;
  font-size: 0.95rem;
}

/* **********about me photo */
/* Profile Image Container */
.profile-about {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
}

/* Glow wrapper with brand colors */
.profile-about::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(45deg, #0078ff, #00ffc3, #ffb400);
  background-size: 400% 400%;
  z-index: -1;
  animation: glow-animation 8s ease infinite;
  opacity: 0.6;
}

/* Profile Image for about section */
.profile-about .profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff; /* keeps image distinct inside glow */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1;
  position: relative;
}

/* Hover effect */
.profile-about .profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Glow animation */
@keyframes glow-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== Mobile Responsive for about profile===== */
@media (max-width: 768px) {
  .profile-about .profile-img {
    width: 120px;
    height: 120px;
    border-width: 4px;
  }
}

@media (max-width: 480px) {
  .profile-about .profile-img {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
}

/* ===== Mobile Responsive for skill items ===== */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
  }

  .skill-item {
    max-width: 120px;
    padding: 15px;
  }

  .skill-item i {
    font-size: 35px;
  }

  .skills-category h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

/* *************for service section*********** */
/* Container */
.service-details {
  padding: 60px 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

/* Services List */
.services-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.services-list a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #f7f7f7;
  overflow: hidden;
}
.services-list a i {
  margin-right: 12px;
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 2;
}
.services-list a.active,
.services-list a:hover {
  color: #fff;
}

/* Dynamic Glows Per Service */
.services-list a.webdesign::before {
  background: rgba(0, 123, 255, 0.4);
}
.services-list a.networking::before {
  background: rgba(40, 167, 69, 0.4);
}
.services-list a.product::before {
  background: rgba(255, 193, 7, 0.4);
}
.services-list a.tutoring::before {
  background: rgba(255, 87, 34, 0.4);
}
.services-list a.troubleshooting::before {
  background: rgba(108, 117, 125, 0.4);
}

/* Blurred glow behind icon */
.services-list a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}
.services-list a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.4);
}

/* Services Image */
.services-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.services-img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Service Headings */
.service-details h3 {
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
}
.service-details h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 4px;
  background: #007bff;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}
.service-details h5 {
  font-size: 20px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}
.service-details h5 i {
  margin-right: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.service-details h5:hover i {
  transform: rotate(10deg) scale(1.15);
}

/* Paragraphs with Background Highlight */
.service-details p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  padding: 15px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-details p:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
  .services-list a {
    font-size: 15px;
  }
  .service-details h3 {
    font-size: 24px;
  }
}
/* Services Section with Animated Gradient */
.service-details {
  padding: 60px 0;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Animated gradient overlay */
.service-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, #f6d365, #fda085, #84fab0, #8fd3f4);
  background-size: 300% 300%;
  animation: gradientMove 15s ease infinite;
  z-index: 0;
  opacity: 0.15; /* subtle effect */
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Content above the gradient */
.service-details > .container {
  position: relative;
  z-index: 2;
}

/* Paragraphs with Background Highlight (update to work with gradient) */
.service-details p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
  padding: 15px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-details p:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Services List */
.services-list a {
  display: block;
  padding: 12px 20px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333; /* keep text dark */
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  z-index: 0;
}

/* Gradient overlay */
.services-list a {
  display: block;
  padding: 12px 20px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333; /* normal text color */
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.services-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, #f6d365, #fda085, #84fab0, #8fd3f4);
  background-size: 300% 300%;
  transition: all 0.4s ease;
  z-index: 0; /* behind text */
}

.services-list a:hover::before {
  left: 0;
  animation: gradientMove 5s ease infinite;
}

/* Ensure text is above gradient */
.services-list a span,
.services-list a {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

/* Change text color on hover so it’s always visible */
.services-list a:hover {
  color: #fff; /* white text visible on gradient */
  font-weight: 600;
}

/* Active link stays highlighted */
.services-list a.active {
  font-weight: 600;
  background: linear-gradient(90deg, #f6d365, #fda085, #84fab0, #8fd3f4);
  background-size: 300% 300%;
  animation: gradientMove 5s ease infinite;
  color: #fff;
}

/* Gradient animation keyframes */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* *************referance section ***** */
.testimonial-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-item p {
  font-style: italic;
  color: #555;
}

.testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 15px auto;
  border: 3px solid #00bcd4;
  object-fit: cover;
}

.testimonial-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
  color: #222;
}

.testimonial-item h4 {
  font-size: 15px;
  color: #777;
  margin-bottom: 10px;
}

.testimonial-item .contact-info {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-top: 10px;
}

.quote-icon-left,
.quote-icon-right {
  color: #00bcd4;
}
/* ***********contact information********** */
/* --- Compact Contact Section --- */
.contact-section {
  background-color:#b2b8bb;
  color: #fff;
  padding: 40px 0; /* half height */
  text-align: center;
}

.contact-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 25px 15px;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(6px);
}

.contact-box i {
  font-size: 2rem;
  color:#149DDD;
  margin-bottom: 10px;
}

.contact-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-box p {
  font-size: 0.95rem;
  color: black;
}

.contact-box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* *************resume css **********/
/* Resume Section */
.resume {
  background: linear-gradient(135deg, #f8f9fb 0%, #eef2f5 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Section Title */
.resume .section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1d1f21;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.resume .section-title h2::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 3px;
  background: #149DDD;
  left: 0;
  bottom: -10px;
  border-radius: 2px;
}

/* Resume Item Container */
.resume .resume-item {
  background: rgba(255, 255, 255, 0.9);
  border-left: 4px solid #149DDD;
  border-radius: 16px;
  padding: 25px 25px 15px 25px;
  margin-bottom: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.resume .resume-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Resume Titles */
.resume .resume-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #149DDD;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.resume .resume-title::before {
  content: "📘";
  font-size: 1.3rem;
}

/* Headings inside each item */
.resume .resume-item h4 {
  font-size: 1.2rem;
  color: #212529;
  font-weight: 600;
  margin-bottom: 5px;
}

.resume .resume-item h5 {
  font-size: 0.95rem;
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 10px;
}

.resume .resume-item p em {
  color: #495057;
  font-style: normal;
  font-weight: 500;
}

/* Bullet List */
.resume .resume-item ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.resume .resume-item ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.resume .resume-item ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #149DDD;
  font-weight: bold;
}

.resume .resume-item ul li strong {
  color: black;
}

/* Responsive Layout */
@media (max-width: 991px) {
  .resume .resume-item {
    margin-bottom: 20px;
  }

  .resume .resume-title {
    font-size: 1.4rem;
  }

  .resume .resume-item h4 {
    font-size: 1.05rem;
  }
}

/* AOS (fade-up) Animation Fix */
[data-aos="fade-up"] {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* *********header */
.fa-bootstrap{ color:#7952B3; }
.fa-fire{
  color:#FFCA28; /* firebase yellow */
}
.fa-git-alt{ color:#F05033; }     /* git */
.fa-github{ color:#171515; }      /* github */
.fa-paper-plane{ color:#FF6C37;}  /* postman */
/* .fa-code{ color:#1066A4; } */
.fa-sitemap{ color:#00A37A; }
/* jquery */
.skill-item img.skill-icon{
  width:32px;
  height:32px;   /* optional */
  margin-right:8px;
}
/* react router  */
