html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* hides horizontal scroll */
  overflow-y: auto;   /* allows vertical scroll only if needed */
}

/* Optional: For smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

appling google font over the website 
/* body{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    max-width: 100%;
}

:root{
    overflow-x: hidden;
    max-width: 100%;
} */
/* styling menu icon */
.nav-menu{
    border: none;
    background-color: #fff;
    font-size: 1.5rem;
    color: #fca61f;
}
/* 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  */
.skill .c-btn {
  background: linear-gradient(135deg, #ff8800, #f8d94d);
  border: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.b-btn {
  /* background: linear-gradient(135deg, #ff8800, #f8d94d); */
  border: none;
  color: #6f34fe;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 39, 206, 0.3);
}


/* 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: #ff6600;
    font-size: 1.5rem;
    font-weight: 600;
}
.heading h3{
    margin-top: 0.5rem;
    color: #3f396d;
    font-size: 2.5rem;
    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;
}
.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;
    width: 80%;
}

/* footer section starts */


/* 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;
}


.linkedin:hover {
    background-color: #0fa6f7;
  }

  .github:hover {
    background-color: #222;
  }

  .social-links .whatsapp{
    color: #25D366;
}
.social-links .whatsapp:hover{
    background-color: #25D366;
}





header .header-container {
    background: var(--surface-color);
    border-radius: 50px;
    padding: 5px 25px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
.align-items-center {
    align-items: center !important;
}
.justify-content-between {
    justify-content: space-between !important;
}
.position-relative {
    position: relative !important;
}
.d-flex {
    display: flex !important
;
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px;
    }
}



/* 🌟 Navbar Styling */
#navbar-top {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

/* 🧭 Brand Name */
.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #3f396d !important;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #6c63ff !important;
}

/* 📌 Nav Links */
.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  color: #3a3a3a;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #6c63ff;
}

/* ✨ Underline Hover Animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #6c63ff;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* 📱 Mobile Menu Button */
.nav-menu {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  color: #3f396d;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-menu:hover {
  color: #6c63ff;
  transform: rotate(90deg);
}

/* 🧭 Navbar on Scroll */
.sticky-top.scrolled {
  background: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* 🌈 Responsive */
@media (max-width: 991px) {
  #navbarNav {
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    border-radius: 12px;
    padding: 15px 0;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .navbar-nav .nav-link {
    display: inline-block;
    margin: 10px 0;
  }
}

/* 🎨 Portfolio Section Styling */
.portfolio {

  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.portfolio .heading small {
  color: #ff6600;
  font-weight: 600;
  letter-spacing: 1px;
}

.portfolio .heading h3 {
  font-weight: 700;
  font-size: 2rem;
  color: #3f396d;
  position: relative;
}

.portfolio .heading h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #fca61f;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 🖼️ Card Styling */
.portfolio .card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  position: relative;
}

.portfolio .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.portfolio .card img {
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio .card:hover img {
  transform: scale(1.05);
}

/* ✍️ Card Content */
.portfolio .card-body {
  padding-top: 20px;
}

.portfolio .card-title a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio .card-title a:hover {
  color: #fca61f;
}

.portfolio .text-muted {
  font-size: 1.300rem;
  line-height: 1.6;
}

/* 🔗 Read More Button */
.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  color: #fca61f;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.read-more-btn::after {
  content: "";
  width: 0;
  height: 2px;
  background: #fca61f;
  display: block;
  transition: width 0.3s ease;
}

.read-more-btn:hover::after {
  width: 100%;
}

/* 💬 Modal Styling */
.modal-content {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.modal-body img {
  border-radius: 12px;
}

.modal-body h4 {
  font-weight: 700;
  color: #333;
}

.modal-body p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ❌ Modal Close Button */
.btn-c {
  border: none;
  background: transparent;
  position: absolute;
  top: 30px;
  right: 35px;
  font-size: 1.4rem;
  color: #ff6b6b;
  transition: transform 0.3s ease;
}

.btn-c:hover {
  transform: rotate(90deg);
}

/* 🌐 Social Links */
.social-links a {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ff6b6b;
  color: #fff;
}

/* 📱 Responsive Adjustments */
@media (max-width: 768px) {
  .portfolio .card img {
    height: 200px;
  }

  .portfolio .heading h3 {
    font-size: 1.6rem;
  }
}

/* 🌟 Skill Section */
.skill {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.skill .heading small {
  color: #ff6600;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.skill .heading h3 {
  font-weight: 700;
  color: #3f396d;
  margin-top: 10px;
  font-size: 2rem;
}

.skill .heading p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.skill .c-btn {
  background: linear-gradient(135deg, #ff8800, #f8d94d);
  border: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.skill .c-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* 🌀 Circular Progress Base */
.circular-progress {
  position: relative;
  height: 130px;
  width: 130px;
  border-radius: 50%;
  background: conic-gradient(#ff6b6b 0deg, #e0e0e0 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.1);
  transition: transform 0.4s ease;
}

.circular-progress:hover {
  transform: scale(1.08);
}

.progress-value {
  position: absolute;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

/* 🔤 Skill Text */
.progress-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.progress-card:hover {
  transform: translateY(-8px);
}

.progress-card .text {
  font-weight: 600;
  color: #444;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* 🎨 Unique Color Variants for Each Skill */
.circular-progress.javascript {
  background: conic-gradient(#ff6b6b 0deg, #e0e0e0 0deg);
}
.circular-progress.html-css {
  background: conic-gradient(#4dabf7 0deg, #e0e0e0 0deg);
}
.circular-progress.php {
  background: conic-gradient(#9775fa 0deg, #e0e0e0 0deg);
}
.circular-progress.reactjs {
  background: conic-gradient(#20c997 0deg, #e0e0e0 0deg);
}

/* 💻 Responsive Design */
@media (max-width: 768px) {
  .skill .heading h3 {
    font-size: 1.5rem;
  }

  .circular-progress {
    height: 110px;
    width: 110px;
  }

  .progress-card .text {
    font-size: 0.9rem;
  }
}

.card-img-top {
  object-fit: cover;
  height: 250px; /* Ensures all images have the same height */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.badge {
  margin: 2px;
  font-size: 0.8rem;
}

.btn-outline-dark {
  transition: all 0.2s ease;
}

.btn-outline-dark:hover {
  background-color: #000;
  color: #fff;
}


/* Footer Section */
.footer {
  background: linear-gradient(135deg, #3f396d 0%, #1f1b3a 100%);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: rgba(255, 122, 0, 0.1);
  border-radius: 50%;
}

.footer::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: rgba(245, 0, 87, 0.1);
  border-radius: 50%;
}

.footer h3 {
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Footer Links */
.footer-link {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.footer-link:hover {
  color: #ff7a00;
  transform: translateY(-2px);
}

/* Social Buttons */
.social-btn {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.3rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-btn:hover {
  color: #fff;
  background: linear-gradient(45deg, #ff7a00, #f50057);
  border-color: transparent;
  transform: translateY(-4px);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(90deg, #ff7a00, #f50057);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive Fixes */
@media (max-width: 576px) {
  .footer h3 {
    font-size: 1.5rem;
  }
  .footer-link {
    font-size: 0.9rem;
  }
}



/* Contact Section Styling */
.contact-section {
  background: linear-gradient(135deg, #3f396d, #5a4bcf);
  color: white;
  position: relative;
}

/* Left Side */
.contact-section .contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-section .contact-info i {
  color: #ff914d;
  font-size: 1.3rem;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ff914d;
}

/* Right Side (Form Section) */
.contact-section .bg-light {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.submit-btn {
  background-color: #ff914d;
  color: white;
  border: none;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.submit-btn:hover {
  background-color: #ff6b00;
  transform: scale(1.03);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-section .bg-light {
    border-radius: 0;
    padding: 2rem;
  }
  .contact-section {
    text-align: center;
  }
}


/* General Section Styling */
.skill-section {
  background-color: #f9f9ff;
  color: #333;
}

.skill-section .heading small {
  color: #ff914d;
  font-weight: 600;
}

.skill-section h3 {
  color: #3f396d;
  font-weight: 700;
}

.progress-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Circular Progress */
.circular-progress {
  position: relative;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  background: conic-gradient(#ff914d 0deg, #d9d9d9 0deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.circular-progress::before {
  content: '';
  position: absolute;
  height: 90px;
  width: 90px;
  border-radius: 50%;
  background-color: #fff;
}

.progress-value {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3f396d;
}

.text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
}

/* Button */
.download-btn {
  background-color: #ff914d;
  color: #fff;
  border: none;
  transition: 0.3s ease;
}

.download-btn:hover {
  background-color: #ff6b00;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .skill-section .row {
    text-align: center;
  }

  .progress-card {
    margin-bottom: 20px;
  }

  .circular-progress {
    height: 100px;
    width: 100px;
  }

  .progress-value {
    font-size: 1rem;
  }

  .text {
    font-size: 0.9rem;
  }
}
/* Skill Section */
.skill {
  background: #f9f9ff;
}

/* Center progress items */
.skill-with-progress .progress-card {
  text-align: center;
}

.circular-progress {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  background: conic-gradient(#ff914d 0deg, #ddd 0deg);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  position: relative;
}

.circular-progress::before {
  content: "";
  position: absolute;
  height: 90px;
  width: 90px;
  background: #fff;
  border-radius: 50%;
}

.progress-value {
  position: relative;
  font-weight: 600;
  color: #3f396d;
  font-size: 1rem;
}

.text {
  font-weight: 500;
  color: #555;
  font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .skill-with-progress {
    margin-bottom: 2rem;
  }

  .progress-card {
    margin-bottom: 1.5rem;
  }

  .skill .heading {
    text-align: center;
  }

  .c-btn {
    display: inline-block;
    margin: 0 auto;
  }
}


/* Filter Buttons Styling */
.filter-buttons {
  gap: 10px;
}

.filter-item {
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  background-color: #f1f1f1;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-item:hover,
.filter-item.active {
  background-color: #007bff;
  color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-item {
    width: 80%;
    text-align: center;
  }
}

