/* Nav */
.navbar-light .navbar-nav .nav-link {
  color: #000;
}

/*giving body that bg color so that when hero section bounce the color behind it is same as about section bg.*/
body {
    background-color: #f2f1f0;
}

.nav-custom-css{
 padding: 0.6em 3em;
}



.nav-custom-css a {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
}

.nav-icons {
    height: 18px;
    width: 18px;
    margin-right: 8px;
}

.nav-link.resume-btn {
  border: 1px solid #000;
}

.hero-custom-css {
 height: 100vh;
 background-color: #f2f1f0;
 background-image: url('../assets/bg-005.jpg');
 background-position: center;
 background-size: cover;
}

.hero-text-sm-screen {
        display: none;
   }

/* adding the bouncing effect class on hero section homepage */
.hero-custom-css.bouncing {
     animation: bounce 2s infinite;
}

/*
.hero-custom-css h1 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
}
*/

/* custom class for fonts*/
.heading-font {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
}

.text-font {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

.about-custom-css {
    background-color: #f2f1f0;
    padding: 15vh 0;
}


.skills-section {
    padding: 15vh 0;
    background-color: #FAFAFA;
}

.projects-section {
    padding: 5rem 0;
    background-color: #f2f1f0;
}

.contact-section {
    padding: 5rem 0;
    background-color: #FAFAFA;
}

.work-experience-custom-css {
    padding: 3rem 0;
}

/*
.hero-custom-css p {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
}
*/

/* container*/
.container {
 width: 65vw;
}


.skill-icons {
 height: 50px;
 width: 50px;

}


.icon-box{
    position:relative;
    border: 2px solid black;
    padding: 3em;
}

.skills-hover-text {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 120%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon-box:hover .skills-hover-text {
  opacity: 1;
}


.inner-project-container {
position: relative;
overflow: hidden;
 width: 100%;
 height: 35vh;
 /*margin-top: 100px;*/
 background-size: cover;
 background-position: center top;
  background-repeat: no-repeat;
}

/* resize desktop like projects container for smaller screens*/
@media screen and (max-width: 992px) {
   .inner-project-container {
    height: 45vh;
    }
}

@media screen and (max-width: 675px) {
   .inner-project-container {
    height: 30vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    }

    .hero-heading-font {
        font-size: 1.5em;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(117, 117, 116,0.5);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover-effect:hover .overlay {
    opacity: 1;
}

.project-link-btn {
    width: 75px;
    text-decoration: none;
    color: #000;
}

.project-link-btn:hover {
    color: grey;
    text-decoration:none;
    cursor:pointer;
}

/* Define the default styles */
.project-link-btn:hover .text-font {
    transition: transform 0.3s ease;
    transform: scale(1.03); /* Adjust the scale value as needed */
}

.footer{
    background-color: #f2f1f0;
}

/* css for popup */
.popup {
  width: 35vw;
  display: none;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: grey;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 999;
}


/* --------------for owl project slider css---------------*/
.project-slider .item {
    width: 100%;
    /*height: 53vh;*/
    max-height: 75vh;
    min-height: 200px;
}

.owl-dots {
    top: 85%;
}

.owl-dots .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 0 px !important;
    background: #ddd !important
}

.owl-dots .owl-dot.active span {
    background: #9055A2 !important
}

.owl-nav .owl-prev,.owl-nav .owl-next {
    background: none !important;
    color: #9055A2 !important;
    font-size: 2em !important
}

.owl-nav .owl-prev.disabled,.owl-nav .owl-next.disabled {
    color: #aaa !important
}

.project-slider .owl-dots {
    position: absolute;
    width: 100%;
    bottom: 40px;
    left: 0
}

.project-slider .owl-nav {
    width: 100%;
    position: absolute;
    top: 45%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 45px;
    margin-top: 0
}

.project-slider  .owl-nav .owl-next,.project-slider .owl-nav .owl-prev {
    width: 40px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    color: #555 !important;
    text-align: center;
    line-height: 47px;
    -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    position: absolute;
    top: 0;
    left: 10px;
    background: #fff !important;
    z-index: 999;
    padding: 0;
    font-size: 1.4em !important;
    margin: 0
}

.project-slider .owl-nav .owl-next {
    left: auto;
    right: 10px
}


/* desktop like project container css (project page) */

.desktop-container {
    width: 100%;
    max-width: 1200px;
    background-color: #f5f5f5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.desktop-container-mob-size {
    width: 60%;
    max-width: 1200px;
    background-color: #f5f5f5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.browser-tabs {
    height: 20px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.tab {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
}

.tab.minimize {
    background-color: #66cc66;
}

.tab.maximize {
    background-color: #ffcc00;
}

.tab.close {
    background-color: #ff6666;
}

.container-contact-form {
    width: 45vw;
}

/* You can add additional styles to customize further, like a stand, keyboard, etc. */

/* Media query for smaller screens */
@media screen and (max-width: 768px) {

    .projects-width-container {
        min-width: 75vw;
    }


    /*change the container width for smaller screen*/
    .container {
        width: 80vw;
    }

    /* change the width of the contact form */
    .container-contact-form {
        width: 85vw;
    }

    /*change the hero section height*/
    .hero-custom-css {
        height: 90vh;
    }

    /* change the left and right padding of navbar inside content*/
    .nav-custom-css {
        padding: 0.6em 1.5em;
    }

    .hero-text-md-screen {
        display: none;
    }

    .hero-text-sm-screen {
        display: block;
   }
}


/* Media query for skills grids */
@media screen and (max-width: 1170px) {
    .skill-icons {
        height: 35px;
        width: 35px;
    }
    .icon-box{
        position:relative;
        border: 2px solid black;
        padding: 3em;
    }
    .skills-hover-text {
          font-family: "Open Sans", sans-serif;
          font-weight: 400;
          font-size: 1em;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, 120%);
          opacity: 0;
          transition: opacity 0.3s ease;
    }
}

@media screen and (max-width: 1040px) {
    .skill-icons {
        height: 30px;
        width: 30px;
    }
    .icon-box{
        position:relative;
        border: 2px solid black;
        padding: 2em;
    }
    .skills-hover-text {
          font-family: "Open Sans", sans-serif;
          font-weight: 400;
          font-size: 0.8em;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, 120%);
          opacity: 0;
          transition: opacity 0.3s ease;
    }
}


/* bouncing effect for homepage hero*/
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}


/* desktop like project container css (homepage) */
.desktop-container-homepage {
    /*max-width: 1200px;  Set a maximum width for larger screens */
    background-color: #f5f5f5; /* Background color of the screen */
    box-shadow: 0 0 1.2em rgba(0, 0, 0, 0.5); /* Shadow for depth */
    /*border: 1.7px solid #000;*/
    /*border-radius: 0.3em;*/
    /*margin: 10px;*/
}


/* project page*/
.projects-page {
    padding: 5rem 0;
    background-color: #FAFAFA;
}

.projects-width-container {
    width: 60vw;
}


/* mobile view skill icons*/
.skills-icon-container-mobile {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0px;
    margin-top: 2em;
}

#skills-mobile {
    display: none;
}

.individual-skill-mobile{
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    font-size: 1em;
    padding: 0.5em 1em;
    border: 1px solid #000;
    border-radius: 3px;
    background-color: #f2f1f0;
    margin: 0 1em 1em 0;
}


/* media query for hiding desktop view skills icon and show mobile view icons */
@media (max-width: 890px) {
    #skills-mobile {
        display: block;
    }
    #skills {
        display: none;
    }
}



/*-----loader css--------------*/
.loader-container {
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
}

.lds-ring {
  /* change color here */
  color: #1c4c5b;
   /*display: inline-block;*/
  /*position: relative;*/
  width: 80px;
  height: 80px;
}
.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*---------loader css end here---------*/



/*----professional experiences css-----*/
.experience-card {
  border: 2px solid #000;
  border-radius: 0px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.experience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 10px;
  flex-wrap: wrap;
}

.experience-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.company-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.role-title {
  margin: 0;
  font-weight: 600;
}

.company-name {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.date-range {
  font-size: 0.85rem;
  color: #777;
  white-space: nowrap;
}

.experience-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.experience-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.experience-list li {
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  background-image: url("../assets/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: left 4px;
  background-size: 14px 14px;
}

.experience-list li:hover {
  background-position: left 6px;
}


.bottom-stack {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  border: 1px solid #000;
  border-radius: 0px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Mobile responsiveness for experience card */
@media (max-width: 576px) {
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .date-range {
    margin-top: 5px;
    align-self: flex-start;
  }
}