  /* Remove tap delay on mobile devices */
  html {
    touch-action: manipulation;
  }

  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('images/laptop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #020508;
    line-height: 1.6;
    padding-top: 60px;
  }

/*top navigation styling*/
  .top-nav {
    top: 20px;
    left: 60px;
    z-index: 100;
  }

  .top-nav a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .top-nav a:hover {
    background-color: #9B6B6E;
    color: #f4f6f8;
  }

  h1 { 
    text-align: center;
    color: white;
    font family: Cursive; 
    padding: 3rem;
    margin-top: 4rem;
    font-size: 4rem;
  }

  #intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 500px;
    margin: 1.5rem auto;
  }

  button {
    display: block;
    margin: 0 auto;
    background-color: #f4f6f8;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button:hover {
    background-color: #9B6B6E;
    color: #f4f6f8;
  }

  div {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #f4f6f8;
    color: black;
    border-raius: 8px;
    text-align: center;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
  }
  /* Services Section Styling */
  .services-section {
    background: linear-gradient(135deg, #f4f6f8 0%, #e8ecef 100%);
    border-radius: 15px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 700px;
  }

  .services-section h2 {
    color: #020508;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    position: relative;
  }

  .services-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #9B6B6E;
    margin: 0.5rem auto;
    border-radius: 2px;
  }

  /* Services List styling */
  .services-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .service-item {
    background-color: #ffffff;
    padding: 1.5rem;
    margin: 0;
    font-weight: bold;
    border-radius: 12px;
    border-left: 6px solid #9B6B6E;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 107, 110, 0.1), transparent);
    transition: left 0.5s ease;
  }

  .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(155, 107, 110, 0.25);
    border-left-color: #7a5456;
    background-color: #fafbfc;
  }

  .service-item:hover::before {
    left: 100%;
  }

  .service-item:hover {
    color: #9B6B6E;
  }
.service-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}

.service-item a:hover {
  color: inherit;
}

.service-item h3 {
  color: #9B6B6E;
  font-size: 1.3rem;
  margin: 0 0 1rem 0;
  font-weight: bold;
}

.service-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details li {
  color: #333;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  padding-left: 0;
  position: relative;
  font-weight: normal;
}

.success {
  margin: 2rem auto;
  padding: 1rem;
  color: #f4f6f8;
  border: 2px solid #9B6B6E;
  border-radius: 8px;
  }

  /* Testimonials Section */
  .testimonials-section {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: lightgrey;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
  }

  .testimonials-section h2 {
    color: #020508;
    margin-bottom: 2rem;
    font-size: 1.8rem;
  }

  .testimonials-slider {
    position: relative;
    overflow: hidden;
    height: 150px;
  }

  .testimonial {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 1rem;
  }

  .testimonial.active {
    display: block;
    opacity: 1;
  }

  .testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .client-name {
    font-weight: bold;
    color: #9B6B6E;
    font-size: 0.9rem;
  }

  .slider-dots {
    text-align: center;
    margin-top: 1.5rem;
  }

  .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .dot.active, .dot:hover {
    background-color: #9B6B6E;
  }

  footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
  }

.myButton {
  background-color:#9B6B6E;
  hover: #f4f6f8;
} 

/* Social Icons Styling */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.social-icon:hover {
  box-shadow: 0px 4px 15px rgba(155, 107, 110, 0.4);
}

/* User Statistics Styling */
.user-stats {
  max-width: 600px;
  margin: 2rem auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.user-stats h3 {
  color: #9B6B6E;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.user-stats p {
  color: #333;
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.user-stats ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.user-stats li {
  background: white;
  margin: 0.5rem 0;
  padding: 0.8rem;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
}

/* Mobile Responsive Design */

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
  body {
    padding-top: 40px;
    background-attachment: scroll;
  }

  .top-nav {
    left: 20px;
    top: 10px;
  }

  .top-nav a {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  h1 {
    font-size: 2.5rem;
    padding: 2rem 1rem;
    margin-top: 2rem;
  }

  #intro {
    font-size: 1rem;
    max-width: 90%;
    padding: 0 1rem;
  }

  div {
    max-width: 90%;
    padding: 1rem;
    margin: 1rem auto;
  }

  .services-section {
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 90%;
  }

  .services-section h2 {
    font-size: 1.8rem;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonials-section {
    max-width: 90%;
    padding: 1.5rem;
    margin: 2rem auto;
  }

  .testimonials-section h2 {
    font-size: 1.5rem;
  }

  .testimonial p {
    font-size: 1rem;
  }

  .user-stats {
    max-width: 90%;
    padding: 1.5rem;
  }

  .user-stats h3 {
    font-size: 1.3rem;
  }

  .user-stats p {
    font-size: 1rem;
  }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
  body {
    padding-top: 30px;
  }

  .top-nav {
    left: 10px;
    top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .top-nav a {
    margin-left: 0;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  h1 {
    font-size: 1.8rem;
    padding: 1.5rem 0.5rem;
    margin-top: 1rem;
  }

  #intro {
    font-size: 0.95rem;
    max-width: 95%;
    padding: 0 0.5rem;
    margin: 1rem auto;
  }

  button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  div {
    max-width: 95%;
    padding: 0.8rem;
    margin: 1rem auto;
  }

  .services-section {
    padding: 1rem;
    margin: 1.5rem auto;
    max-width: 95%;
  }

  .services-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .services-list {
    gap: 0.8rem;
  }

  .service-item {
    padding: 1rem;
  }

  .service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .service-details li {
    font-size: 0.85rem;
    padding: 0.3rem 0;
  }

  .testimonials-section {
    max-width: 95%;
    padding: 1rem;
    margin: 1.5rem auto;
  }

  .testimonials-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .testimonial p {
    font-size: 0.95rem;
  }

  .client-name {
    font-size: 0.85rem;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
  }

  #contact h3 {
    font-size: 1.3rem;
  }

  .contact-message {
    font-size: 0.9rem;
  }

  .social-icons {
    gap: 0.8rem;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .user-stats {
    max-width: 95%;
    padding: 1rem;
  }

  .user-stats h3 {
    font-size: 1.2rem;
  }

  .user-stats p {
    font-size: 0.9rem;
  }

  .user-stats li {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 0.8rem;
  }
}