/* Custom animation for the image */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.animate-fade-in {
    animation: fade-in 2.5s ease-in-out forwards;
}

/* Arrow Buttons */
#prevArrow,
#nextArrow {
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#prevArrow:hover,
#nextArrow:hover {
  transform: scale(1.1);
}




/* Zoom-in effect for project images */
#projects img {
  transition: transform 0.3s ease-in-out; /* Smooth transition */
}

#projects img:hover {
  transform: scale(1.1); /* Zoom in */
}

#seeMoreButton {
  position: relative;
  z-index: 10; /* Ensure it's above other elements */
}
.hidden {
  display: none;
}

#hiddenProjects {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#hiddenProjects:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}


/* themes */
body.light {
  background: #ffffff; /* Light background */
  color: #333; /* Dark text */
  --tags-color : rgb(93, 92, 92);
  --opacity : 0.08;

  --about-text-color: #000000;
  --borderLine-filter: invert(1) brightness(0);

  --project-color: #000000;
  --border-color : #000000;
  --live-text-color : #000000;
  --see-more-button-color: #000000;

  --resume-color: #000000;

  --contact-text-color: #000000;
  --label-color: #000000;
  --bg-color : #e3e3e3;
  --text-color : black;

  --connect-text-color: #333;
}

body.dark {
  background: #000000; /* Dark background */
  color: #f0f0f0; /* Light text */
  --tags-color : white;
  --opacity : 0.15;

  --about-text-color: #ffffff;

  --project-color: #ffffff;
    --border-color : #ffffff;
  --live-text-color : #ffffff;
  --see-more-button-color: #ffffff;

  --resume-color: #ffffff;

  --contact-text-color: #ffffff;
  --label-color: #ffffff;
   --bg-color : #201f1f;
   --text-color : rgb(255, 255, 255);

  --connect-text-color: #ffffff;
}

/* Hamburger and nav links visibility for 600px breakpoint */
.hamburger-600 {
  display: none;
}
.navlinks-600 {
  display: flex;
}

/* loading effect in contact form */
.loader {
  border: 2px solid #fff;
  border-top: 2px solid #ef4444;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Autofill background and text color fix for dark mode */
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #222 inset !important;
  box-shadow: 0 0 0 1000px #222 inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}

@media screen and (max-width: 600px) {
  .hamburger-600 {
    display: block;
  }
  .navlinks-600 {
    display: none;
  }
  .logo-ganesh {
    margin-left: 15%;
  }
  .hamburger-600{
    margin-left: 50%;
  }
  #hero-page{
    margin-top: 10%;
  }
  .right-section{
    margin-top: 2%;
  }
  .big-circle-1{
    margin-top: -10%;
  }
  .big-circle-2{
    display: none;
  }
  .big-circle-3{
    display: none;
  }
  .border-line-1{
    display: none;
  }
  .skills-section{
    width: 45%;
  }
  .skills-container{
    margin-left: 0%;
    width: 100%;
  }
  .skills-image{
    width: 20%;
    height: 20%;
  }
  .about-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .skills-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .experience-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .projects-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .vision-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .goals-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .project-image{
    position: relative;
    left: 0%;
  }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
  .hamburger-600 {
    display: block;
  }
  .navlinks-600 {
    display: none;
  }
  .logo-ganesh {
    margin-left: 15%;
  }
  .hamburger-600{
    margin-left: 50%;
  }
  #hero-page{
    margin-top: 10%;
  }
  .right-section{
    margin-top: 2%;
  }
  .big-circle-1{
    margin-top: -10%;
  }
  .big-circle-2{
    display: none;
  }
  .big-circle-3{
    display: none;
  }
  .border-line-1{
    display: none;
  }
  .skills-section{
    width: 45%;
  }
  .skills-container{
    margin-left: 0%;
    width: 100%;
  }
  .skills-image{
    width: 20%;
    height: 20%;
  }
  .about-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .skills-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .experience-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .projects-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .vision-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .goals-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .project-image{
    position: relative;
    left: 0%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .logo-ganesh {
    margin-left: 15%;
  }
  .navLinks{
    margin-right: -100px;
  }
  #hero-page{
    margin-top: 10%;
  }
  .right-section{
    margin-top: 2%;
  }
  .big-circle-1{
    margin-top: -10%;
  }
  .big-circle-2{
    display: none;
  }
  .big-circle-3{
    display: none;
  }
  .border-line-1{
    display: none;
  }
  .skills-section{
    width: 45%;
  }
  .skills-container{
    margin-left: 0%;
    width: 100%;
  }
  .skills-image{
    width: 20%;
    height: 20%;
  }
  .about-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .skills-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .experience-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .projects-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .vision-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .goals-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .project-image{
    position: relative;
    left: 0%;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1245px) {
  #hero-page{
    margin-top: 5%;
  }
  .right-section{
    margin-top: 2%;
  }
  .big-circle-1{
    margin-top: -10%;
  }
  .big-circle-2{
    display: none;
  }
  .big-circle-3{
    display: none;
  }
  .border-line-1{
    display: none;
  }
  .skills-section{
    width: 45%;
  }
  .skills-container{
    margin-left: 0%;
    width: 100%;
  }
  .skills-image{
    width: 20%;
    height: 20%;
  }
  .about-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .skills-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .experience-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .projects-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .vision-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .goals-heading{
    margin-bottom: 5%;
    margin-left: 0%;
  }
  .project-image{
    position: relative;
    left: 0%;
  }
}

