/* Hover and Animation Styles */

/* General link hover effects */
a:hover {
  color: var(--bs-danger);
  transition: color 0.3s ease-in-out;
}

/* Navigation link hover */
.nav-link:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease-in-out;
}

/* Button hover effects */
.btn:hover {
  transform: scale(1.5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
span{
    color: #260862 !important;
}
.social-icons a{
    background-color: rgb(100, 120, 156) !important;
}
.social-icons a:hover{
    background-color: #67b0f0 !important;
}
.img-fluid{
    border-color: #31226d !important;
}
/* Image hover effect */
.img-fluid:hover {
  transform: scale(1.15) ;
  border-color: rgb(83, 100, 148) !important;
  box-shadow: 0px 5px 9px bisque;
  transition: transform 1s ease-in-out;
}


h2{
     
    color: #030872;
    text-shadow: 1px 5px 5px rgb(92, 153, 214);
}

h2:hover{
        color: #5566bb;
transform:  translate(11px);
text-decoration: underline 3px rgb(14, 2, 90);

}
 h3:hover{
    text-shadow: 0px 2px 4px rgb(109, 99, 249);
    transform: scale(1.01);
 }

 .dev-icons li {
    color: rgb(44, 101, 224) !important;
    transition: all 0.5s ease;
 }
  .dev-icons  li :hover{
    color: #31226d;
    transform: scale(1.1);

  }
  .subheading {
    color: black;
  }


/* Fade-in animation for elements */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fade-in animation to sections */
section {
  animation: fadeIn 1s ease-in-out;
}

/* Pulse animation for buttons or interactive elements */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(189, 93, 56, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(189, 93, 56, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(189, 93, 56, 0);
  }
}

.btn-pulse:hover {
  animation: pulse 1.5s infinite;
}

/* Smooth scroll behavior for anchor links */
html {
  scroll-behavior: smooth;
}

/* Hover effect for social media icons */
.social-icon:hover {
  color: var(--bs-primary);
  transform: rotate(360deg);
  transition: transform 0.5s ease, color 0.3s ease;
}

 h2{
     font-size: calc(1.475rem + 2.7vw);
  color: var(--bs-dark);
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-in-out;
  text-align: center;

}


/* Services Section Styles */
.services {
  padding: 3rem 0;
  background-color: var(--bs-white);
  text-align: center;
}


.services p.lead {
  font-size: 1.1rem;
  color: var(--bs-gray-700);
  margin-bottom: 2rem;
}

/* Service Card Styles */
.service-card {
  background-color: var(--bs-light);
  border: 1px solid var(--bs-gray-300);
  border-radius: var(--bs-border-radius);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-card i {
  color: var(--bs-primary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.2);
  color: var(--bs-link-hover-color);
}

.service-card h4 {
  font-size: 1.5rem;
  color: var(--bs-dark);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
  color: var(--bs-gray-600);
}

/* Animation for Service Cards */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: slideUp 0.8s ease-in-out;
  animation-delay: calc(0.1s * var(--animation-order));
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .services {
    padding: 2rem 1rem;
  }

  .services h2 {
    font-size: calc(1.325rem + 0.9vw);
  }

  .service-card {
    padding: 1.5rem;
  }
}

/* Contact Me Section Styles */
.contact-me {
  padding: 3rem 0;
  background-color: var(--bs-light);
  border-radius: var(--bs-border-radius);
  text-align: center;
}

 h2 {
  font-size: calc(1.475rem + 2.7vw);
  color: var(--bs-dark);
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-in-out;
}

.contact-me p {
  font-size: 1.1rem;
  color: var(--bs-gray-700);
  margin-bottom: 2rem;
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-control {
  border: 1px solid var(--bs-gray-400);
  border-radius: var(--bs-border-radius-sm);
  padding: 0.75rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 8px rgba(189, 93, 56, 0.3);
  outline: none;
}

/* Contact Button Styles */
.contact-btn {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--bs-border-radius);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--bs-link-hover-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animation for Contact Form Elements */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form .form-control,
.contact-form .contact-btn {
  animation: slideUp 0.8s ease-in-out;
}

/* Contact Info Icons (e.g., email, phone) */
.contact-info {
  margin-top: 2rem;
}

.contact-info a {
  color: var(--bs-gray-700);
  font-size: 1.1rem;
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info a:hover {
  color: var(--bs-primary);
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .contact-me {
    padding: 2rem 1rem;
  }

  .contact-me h2 {
    font-size: calc(1.325rem + 0.9vw);
  }

  .contact-form {
    max-width: 100%;
  }
}