body{
    padding: 0;
    margin: 0;
}
html{
  scroll-behavior: auto !important;
  scroll-padding-top: 50px;
}
/*------animations----------------*/
.scroll-fade {
    opacity: 0;
    transform: translatex(-80px);
    transition: opacity 1s ease-out, transform 0.9s ease-out;
    overflow: hidden;
}

.scroll-fade.show {
    opacity: 1;
    transform: translatex(0);
    overflow: hidden;
}

.scroll-fade.hide {
    opacity: 0;
    transform: translatex(-80px);
    overflow: hidden;
}

/*-------------navigation-----*/
.nav-container{
    display: flex;
    background-color: rgb(236, 227, 212);
    justify-content: space-between;
    padding: 15px;
    z-index: 1000;
    top: 0;
    position: fixed;
    width: 100%;
    overflow: hidden;
    text-align: center;
    align-items: center;
    justify-items: center;
}
.nav-logo{
  font-size: larger;
  font-style: italic;
}
#nav-menu{
  display: none;
}

#nav-menu:hover{
    cursor: pointer;
}
nav ul {
  display: flex;           
  justify-content: flex-end;
  align-items: center;
  gap: 15px;                
  padding: 0;
  margin: 0;
  margin-right: 1cm;
  list-style: none;
}
nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: black;
  padding: 10px 10px;
  transition: 0.7s;
}

nav ul li a:hover {
  color: red;
  text-decoration: underline;
}

.hero-content{
    background-image: url(images/hero\ img.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.hero-content h1{
    color: yellow;
    font-size: 1cm;
    font-weight: bolder;
    position: relative;
    z-index: 1;
}
.hero-content  p{
    color: white;
    font-size: larger;
    font-family: sans-serif;
    font-weight: 900;
    position: relative;
    z-index: 1;
}
.hero-content::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 0;
    background-color: rgb(5, 15, 15);
}
.hero-btns{
    display: flex;
    padding: 1cm;
    position: relative;
    z-index: 1;
}
.hero-btns button{
    font-size: 15px;
    padding: 5px;
    margin: 5px;
    background-color: green;
    color: black;
    border-radius: 4px;
    transition: .6s;
}
.hero-btns button.action-btn:hover{
    background-color: rgba(240, 248, 255, 0.514);
    color: black;
    cursor: pointer;
    transform: translateY(-5px);
}
.hero-btns button.testimonial-btn:hover{
    background-color: rgba(179, 255, 0, 0.842);
    color: black;
    cursor: pointer;
    transform: translateY(-5px);
}
/*----------service-section---------------*/
.service-container{
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
.service-heading h2{
    text-align: center;
    color: red;
    margin-top: 1.5cm;
    scroll-margin-top: 80px;
}
.service-heading h4{
  text-align: center;
  font-family: monospace;
  opacity: 0.8;
}
.service-cards-container{
    z-index: 1;
    overflow: visible;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    justify-content: center;
    gap: 1.5cm;
}
.service-card{
  position: relative;
  margin-bottom: 1rem;
    box-sizing: border-box;
    box-shadow: 0px 4px 8px black;
    height: text;
    text-align: center;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
    background-color: rgb(233, 247, 242);
    transition: 0.4s;
}
.service-card .fa-solid{
    font-size: 1cm;
    color: red;
    padding: 5px;
}
.service-card button{
    padding: 4px;
    background-color: rgba(0, 0, 0, 0.575);
    color: white;
    width: 4cm;
    font-size: .4cm;
    transition: 0.5s;
}
.service-card:hover{
    background-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-12px);
}
.service-card button:hover{
     background-color: green;
     color: black;
     cursor: pointer;
}
    .cancel-icon{
      position: absolute;
      top: 8px;
      right: 12px;
      font-size: 22px;
      cursor: pointer;
      color: #333;
    }
    .cancel-icon:hover{
      color: red;
    }
    .hero-overlay{
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      height: 100%;z-index: 9;
    }
/*----------------skills below service cards-----------------*/
.skills-section {
  text-align: center;
  padding: 5rem 2rem;
  
}

.skills-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #555;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.skills-charts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.skills-charts p{
  padding: 5px;
  margin-top: 1cm;
}

.circle {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(#007bff 0deg, #007bff 0deg, #e46363 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.3s ease;
}
.circle:hover {
  transform: scale(1.19);
 
}

.inner-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #f7f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-circle span {
  font-weight: 700;
  font-size: 1.3rem;
  color: #333;
}
.skill-item {
  text-align: center;
}

.skill-item p {
  margin-top: 1rem;  
  font-weight: 600;
  color: #333;
}

.skills-details {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.skills-details h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #007bff;
}

/*--------------------about us--------------*/
  .about-container{
    position: relative;
    z-index: 0;
    min-height: 100vh;
    background-color: rgb(230, 217, 201);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    text-align: start;
    align-items: center;
    justify-content: center;
    gap: 100px;
  }
  .about-below{
    display: flex;
  }
  .about-heading{
    border: black;
    padding: 0.6cm;
    margin-top: 1cm;
  }
  .icon-container{
    padding: 7px;
    color: rgb(203, 43, 235);
    
  }
  .icon-p{
    font-style: italic;
    font-weight: 400;
    font-size: larger;
    color: red;
  }
  .About-more-button{
    background-color: white;
    border: 1px solid #005bb5;
    cursor: pointer;
    color: blue;
  }
  .About-more-button:hover{
    background-color: green;
    color: white;
  }
  /*----------------testimonial-----------------------*/
  #testimonial{
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    justify-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
   .testimonial-cards a{
    font-size: small;
    background-color: none;
   }
  .testimonial-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 5px;
    gap: 1cm;
    justify-content: center;
    
  }
  .testimonial-cards{
    background-color: #dabdbdf1;
    width: 7cm;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    justify-items: center;
    text-align: center;
    border-radius: 10px;
    transition: .3s;
  }
  .testimonial-cards:hover{
    transform: translateY(-10px)
  }
    .testimonial-cards img{
      border-radius: 50%;
    }
  /*--------------------contact page--------*/
  .leaveamessage-container{
    position: relative;
    background-image: url(images/contact\ whatsapp.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    text-align: center;
    align-items: center;
    min-height: 100vh;
  }
    .leaveamessage-container::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 0;
    background-color: rgb(5, 15, 15);
    }
  .contact-content{
    text-align: start;
    position: relative;
    z-index: 2;
    color: white;
  }
   .leaveamessage-container h2{
    font-size: 0.7cm;
    color: yellow;
    z-index: 2;
    position: relative;
   }
  .contact-details{
    color: white;
    z-index: 2;
    position: relative;
  }
    .contact-content form input{
      display: block;
      min-width: 5cm;
      padding: 5px;
    }
     .contact-content form textarea{
      min-height: 3cm;
      min-width: 6cm;
      color: white;
      background-color: rgba(194, 194, 180, 0.205);
     }
     .contact-content form button{
     margin-top: 3px;
     min-width: 6cm;
     background-color: #232c359a;
     border-radius: 4px;
     color: white;
     padding: 5px;
     transition: .5s;
     }
     .contact-content form button:hover{
      background-color: green;
      color: white;
      cursor: pointer;
     }
     .contact-details{
      text-align: left;
      padding: 5px;
     }
      .contact-details p{
        flex-direction: column;
      }
      .footer-container{
        background-color: green;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        justify-items: center;
        flex-wrap: wrap;
      }
      .footer-content{
        display: flex;
        align-items: center;
        gap: 1cm;
      }
      .footer-icon-container{
        font-size: x-large;
        color: white;
        margin-bottom: 0.7cm;
        text-align: start;
      }
      .footer-links{
        justify-content: start;
        list-style: none;
        text-align: start;
        display: none;
      }
     
/*--------responsiveness-------------------*/
 @media only screen and (max-width: 600px) {
  /* Hamburger icon */
  #nav-menu {
    display: block;
    position: relative; /* keep it in nav for easy clicking */
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2100;
    margin-right: 1cm;
  }
  html{
    scroll-behavior: auto;
  }
  .nav-container {
  position: fixed;       /* FIXED keeps it at the top */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #eee2e2;
  z-index: 1000;         /* make sure it sits above content */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

  /* The menu <ul> overlay */
  nav ul {
    display: flex;             /* hide initially */
    position: fixed;           /* FIXED makes it overlay the page */
    top: 0;                    /* start at top of viewport */
    right: 0;                  /* attach to right edge */
    width: 100%;
    height: 100vh;             /* full height */
    background-color: red;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 60px;         /* leave space for nav bar */
    margin: 0;
    z-index: 2000;  
    transform: translateX(100%);  
    transition: transform .7s ease;         /* above content */
  }
  nav ul li a ::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 0;
    background-color: rgb(5, 15, 15);
}

  nav ul li {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
  }

  /* Show menu when active */
  nav.active ul {
    display: flex;
    transform: translateX(0);
  }
  nav ul li a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  transition: 0.3s;
}
nav ul li a:hover {
  color: red;
  text-decoration: underline;
  color: #fff;
}
/*skills circle-----------------*/
.skills-charts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.skills-charts p{
  padding: 5px;
  margin-top: 1cm;
}

.circle {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(#007bff 0deg, #007bff 0deg, #e46363 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.3s ease;
}
.circle:hover {
  transform: scale(1.1);
  cursor: default;
}
.skills-charts p{
  padding: 1px;
  margin-top: 0.5cm;
  font-size: small;
}
.inner-circle {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #f7f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
  .nav-container {
    position: fixed;
  }
  .footer-content{
        display: flex;
        flex-direction: column;
        align-items: center;
      }

}
