@import url(fontawesome-all.min.css);
::-webkit-scrollbar{
    width:8px
}
::-webkit-scrollbar-track{
    background:#121212
}
::-webkit-scrollbar-thumb{
    background-color:#37bfb2;
    border-radius:4px;
    box-shadow:0 0 5px #37bfb2
}
body{
    margin:0;
    font-family:'IBM Plex Mono',monospace;
/*    background-color:#121212;*/
    background-color: #ffffff;
    color:#37bfb2;
    scrollbar-width:thin;
    scrollbar-color:#37bfb2 #121212
}

#catImage {
  position: absolute; /* Allows positioning anywhere on the page */
  width: auto;       /* Adjust image size as needed */
  height: auto;
  z-index: 100;
}


.my-contacts{
    position: fixed;
    top: 10px;
    right: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    z-index: 100;
}

.my-contacts a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    text-decoration: none;
    margin-bottom: 15px;
    font-weight: 600;
    transition: 0.3s all;
    position: relative;
}

.my-contacts a::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #37bfb2;
    transition: width 0.3s ease;
}

.my-contacts .first::before{
    bottom: -5px;
}


.my-contacts .second::before{
    bottom: -5px;
}

.my-contacts .third::before{
    bottom: -5px;
}

.my-contacts a:hover::before {
    width: 100%; /* Slide to full width on hover */
    transition: 0.3s all;
}

.my-contacts p{
    color: #37bfb2;
    margin: 0;
}

.my-contacts i{
    color: #37bfb2;
    margin-left: 10px;
}

.background{
    perspective:1000px;
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    perspective:1500px;
    animation:10s linear infinite gradientAnimation;
    overflow:hidden;
/*    background-image:repeating-linear-gradient(45deg,#222 0,#222 5%,#11111111 5%,#11111144 6%,transparent 6%,transparent 10%);*/
    background-image: repeating-linear-gradient(44deg, #fff 0, #fff 5%, #ffffff11 5%, #c2c2c244 6%, transparent 6%, transparent 0%);
    background-size:200% 200%;
    position:relative
}
.download-resume-button{
    display:inline-block;
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    padding:10px 20px;
    background-color:transparent;
    color:#37bfb2;
    border:2px solid #37bfb2;
    text-decoration:none;
    border-radius:5px;
    font-family:monospace;
    transition:background-color .3s,color .3s,box-shadow .3s;
    z-index:10
}
.project,.slide{
    background-color:#222
}
.download-resume-button:hover{
    background-color:#37bfb2;
    color:#121212;
    box-shadow:0 0 10px #37bfb2
}
.background>*{
    transform-style:preserve-3d
}
@keyframes gradientAnimation{
    0%{
        background-position:0 0
    }
    100%{
        background-position:100% 100%
    }
}
.subtitle,.title{
    text-shadow:0 0 10px #efefef;
}
.title{
    font-size:5rem;
    font-weight:700;
    margin-bottom:1rem;
    animation:5s linear infinite alternate glitchAnimation
}
.subtitle{
    font-size:2rem
}
.subtitle::after,.subtitle::before{
    content:'';
    position:absolute;
    top:50%;
    width:80px;
    height:2px;
    background-color:#37bfb2;
    transform:translateY(-50%)
}
.subtitle::before{
    left:-100px
}
.subtitle::after{
    right:-100px
}
.skills-slider{
    display:flex;
    overflow:hidden;
    margin-top:20px;
    white-space:nowrap
}
.slide{
    display:inline-block;
    padding:8px 16px;
    border:2px solid #37bfb2;
    border-radius:5px;
    margin:0 8px;
    color:#37bfb2;
    font-size:1.2rem;
    font-family:'Courier New',monospace;
    box-shadow:0 2px 5px #37bfb2;
    transition:transform .3s,box-shadow .3s
}
.card-content,.content,.project{
    padding:20px
}
.slide:hover{
    transform:translateY(-5px);
    box-shadow:0 4px 8px rgba(0,255,0,.8)
}
.content h2{
    padding-bottom:10px;
    margin-bottom:20px
}
.content p{
    line-height:1.6;
    color:#555;
}
.project{
    border-radius:5px;
    margin-bottom:20px
}
.circuit-line,.neon-dot{
    position:absolute;
    background-color:#37bfb2;
    box-shadow:0 0 10px #37bfb2
}
.project h3{
    margin-top:0
}
.skills-slider,.subtitle,.title{
    transition:transform .5s ease-out
}
.circuit-line{
    width:200px;
    height:2px;
    transform-origin:center;
    animation:10s linear infinite rotateLine
}
.circuit-line:first-child{
    top:20%;
    left:10%
}
.circuit-line:nth-child(2){
    bottom:30%;
    right:15%;
    animation-delay:3s
}
.binary-rain{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:-1
}
.binary-rain:before{
    content:'';
    position:absolute;
    top:-50%;
    left:0;
    width:2px;
    height:100%;
    background:repeating-linear-gradient(#37bfb2 0,#37bfb2 10%,transparent 10%,transparent 90%);
    animation:5s linear infinite binaryRain
}
.neon-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    animation:2s ease-in-out infinite pulse
}
.code-placeholder,.project-card{
    background-color:#f1f1f1;
    overflow:hidden
}
.about-me-container,.project-card{
    box-shadow:0 4px 8px #ace7e2;
}
.about-me-container{
    display:flex;
    gap:20px;
    align-items:flex-start;
    border:2px solid #37bfb2;
    padding:20px;
    border-radius:5px
}
.profile-image img{
    max-width:200px;
    border-radius:5px
}
.about-me-text{
    flex:1
}
.code-placeholder{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:200px;
    height:240px;
    color:#333;
    font-family:monospace;
    padding:25px;
    border-radius:5px
}
.code-placeholder code{
    display:block;
    animation:8s linear infinite scrollCode
}
.projects-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(30%,1fr));
    gap:50px;
    justify-items:center
}
.project-card{
    border-radius:8px;
    transition:.3s;
    transform:perspective(800px)
}
.project-card:hover{
    transform:translateY(-10px) rotateX(10deg);
    box-shadow:0 10px 20px #37bfb2
}
.card-image{
    overflow:hidden;
    border:2px solid transparent;
    margin:-20px -20px 10px;
    transition:border-color .3s
}
.card-image img{
    width:100%;
    height:200px;
    object-fit:cover;
    transition:transform .5s
}
.project-card:hover img{
    transform:scale(1.2)
}
.project-card:hover .card-image{
    border-color:#37bfb2
}
.project-card:hover h3{
    text-shadow:0 0 8px #37bfb2
}
.experience-timeline{
    position:relative;
    padding:20px 0
}
.timeline-item{
    display:flex;
    align-items:flex-start;
    margin-bottom:30px;
    position:relative
}
.timeline-dot{
    width:20px;
    height:20px;
    background-color:#37bfb2;
    border:2px solid #121212;
    border-radius:50%;
    margin-right:20px;
    box-shadow:0 0 10px #37bfb2;
    z-index:1;
    transition:transform .3s,box-shadow .3s
}
.timeline-line{
    position:absolute;
    top:0;
    left:9px;
    width:4px;
    height:100%;
    background-color:#37bfb2;
    z-index:0
}
.carousel-item,.footer,.skill-category{
    background-color:#f1f1f1
}
.timeline-content{
    padding-left:20px;
    flex:1
}
.company-logo img{
    max-width:100px;
    height:auto;
    margin-bottom:10px
}
.timeline-content h3{
    color:#37bfb2;
    margin-top:0
}
.responsibilities li,.timeline-content h4{
    color:#777;
    margin-bottom:5px
}
.date-range{
    color:#888;
    font-size:.9rem;
    margin-bottom:10px
}
.responsibilities li{
    list-style-type:disc
}
.timeline-item:hover .timeline-dot{
    transform:scale(1.2);
    box-shadow:0 0 15px #37bfb2
}
.carousel-container{
    width:400px;
    height:250px;
    margin:50px auto;
    perspective:1200px
}
.carousel{
    width:100%;
    height:100%;
    transform-style:preserve-3d;
    position:relative;
    animation:25s linear infinite spin
}
.carousel-item{
    position:absolute;
    width:80%;
    height:60%;
    left:10%;
    top:20%;
    color:#37bfb2;
    border-radius:8px;
    border:2px solid #37bfb2;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.5rem;
    opacity:.8;
    box-shadow:0 4px 8px rgba(0,0,0,.5);
    transition:opacity .3s,transform .5s
}
.carousel-item:first-child{
    transform:rotateY(0) translateZ(200px)
}
.carousel-item:nth-child(2){
    transform:rotateY(60deg) translateZ(200px)
}
.carousel-item:nth-child(3){
    transform:rotateY(120deg) translateZ(200px)
}
.carousel-item:hover{
    opacity:1;
    transform:translateZ(250px);
    box-shadow:0 0 15px #37bfb2
}
#next-btn,#prev-btn{
    background-color:#37bfb2;
    color:#121212;
    padding:10px 20px;
    border:none;
    border-radius:5px;
    cursor:pointer;
    margin:0 10px
}
.skills-container{
    display:initial
}
.skill-category{
    padding:20px;
    box-shadow: 0 4px 8px #d2fffb;
}
.skill-category h3{
    color:#37bfb2;
    margin-top:0;
    margin-bottom:10px
}
.skill-category ul{
    margin:0;
    column-count:2
}
.skill-category li{
    margin-bottom:5px;
    color:#777
}
.skill-category:nth-child(3) ul,.skill-category:nth-child(4) ul{
    column-count:1
}
.footer{
    padding:60px 0;
    text-align:center;
    position:relative;
    overflow:hidden;
    margin-top:60px;
    background-color: #111;
}
.footer::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:linear-gradient(45deg,transparent 48%,#37bfb2 48%,#37bfb2 52%,transparent 52%),linear-gradient(135deg,transparent 48%,#37bfb2 48%,#37bfb2 52%,transparent 52%);
    background-size:10px 10px;
    opacity:.3
}
.footer-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    max-width:100%;
    margin:0 auto;
    position:relative;
    z-index:1
}
.copyright{
    color:#37bfb2;
    font-size:1.1rem
}
.contact-details{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px
}
.contact-link{
    color:#fff;
    text-decoration:none;
    font-size:1.2rem;
    transition:color .3s,text-shadow .3s;
    border:2px solid transparent;
    padding:8px 16px;
    border-radius:5px
}
.contact-link:hover{
    color:#121212;
    background-color:#37bfb2;
    text-shadow:none;
    border-color:#37bfb2
}
.highlight{
    color:#37bfb2;
    font-weight: bold;
}

/* Featured Projects */
.featured-projects {
    margin-top: 20px;
  }
  
  .project-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto
  }
  
  .tab {
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #37bfb2;
    color: #37bfb2;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
  }

  .tab:hover{
    background-color: #37bfb2;
    color: #fff;
  }
  
  .tab.active {
    background-color: #37bfb2;
    color: #fff;
  }
  
  .project-detail {
    display: none; /* Hide all project details initially */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: left; /* Align text to the left */
    line-height: 1.6; /* Adjust line height as needed */
    border: 1px solid #37bfb2;
  }
  
  .project-detail.active {
    display: block; /* Show the active project detail */
  }
  
  .project-detail h3 { /* Style the project title */
    color: #37bfb2;
    margin-top: 0;
  }
  
  .project-detail img { /* Optional: Style for project images */
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  
  .project-feature h4 {
    display: inline-flex; /* Align icon and text inline */
    align-items: center;
    gap: 5px;
    margin-top: 0; /* Remove extra margin for better spacing */
    margin-bottom: 0;
}

.modal {
  /* ... */
  opacity: 0; /* Start hidden */
  transition: opacity 0.3s ease-in-out; /* Smooth fade-in */
}

.modal.active {
  opacity: 1;
  animation: popup 0.5s ease-in-out;
}

.modal-content {
  /* ... */
  transform: translate(-50%, -50%) scale(0.9); /* Start slightly smaller */
  transition: transform 0.3s ease-in-out;
  animation: popup 0.5s ease-in-out;    /* Smooth scale-up */
}

.modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

/* Theme options styling */
.theme-option {
  border: 2px solid transparent; 
  transition: border-color 0.2s ease-in-out;
}

.theme-option:hover {
  transform: scale(1.03);
}
@keyframes popup {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1); /* Optional overshoot */
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}



@keyframes spin{
    from{
        transform:rotateY(0)
    }
    to{
        transform:rotateY(360deg)
    }
}
@keyframes scrollCode{
    0%{
        transform:translateY(0)
    }
    100%{
        transform:translateY(-100%)
    }
}
@keyframes pulse{
    0%,100%{
        transform:scale(1)
    }
    50%{
        transform:scale(1.2)
    }
}
@keyframes binaryRain{
    0%{
        transform:translateY(0)
    }
    100%{
        transform:translateY(200%)
    }
}
@keyframes rotateLine{
    0%{
        transform:rotate(0)
    }
    100%{
        transform:rotate(360deg)
    }
}
@keyframes glitchAnimation{
    0%,100%,50%{
        text-shadow:0 0 10px #efefef
    }
    25%{
        text-shadow:2px -2px 5px #999,-2px 2px 5px #666
    }
    75%{
        text-shadow:-2px -2px 5px #999,2px 2px 5px #666
    }
}



/*For Prdouct highlights*/

.featured-products {
    position: relative; 
    height: 90vh; 
    overflow: hidden; 
    border-radius: 10px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.product-overlay {
    position: absolute;
    width: calc(40% - 40px); /* Adjust width as needed */
    height: calc(50% - 40px);
    padding: 20px;
    background-color: #fff; /* Slightly transparent even when not hovered */
    color: #fff;
    border-radius: 10px;
    opacity: 1; /* Slightly visible by default */
    transition: opacity 0.3s ease; 
}

.featured-products:hover .product-overlay {
    opacity: 1;
}

.product-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5em; /* Adjust as needed */
}

.product-overlay p {
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
}

.view-details-button {
    padding: 10px 20px;
    background-color: #0000008c;
    font-weight: 600; 
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.35s all;
}

.view-details-button:hover{
    color: #0000008c;
    background-color: #fff;

}

/* Position the cards */
.product-overlay.unique-hr {
    top: 10%;
    left: 5%;
    background: linear-gradient(90deg, #ace7e2c2 37%, rgb(55 191 178) 100%);
}

.product-overlay.quipchat {
    bottom: 10%;
    right: 5%;
    background: linear-gradient(-90deg, #ace7e2c2 37%, rgb(55 191 178) 100%);
}

.product-overlay.unique-hr, .product-overlay.quipchat {
    /* Existing styles... */
    display: flex;
    text-align: justify;
}

.content-wrapper {
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-direction: column;
    position: relative;
}


.content-wrapper>img{
    position: absolute;
    width: 40%;
    right: 0;
    bottom: -10px;
}

.product-title {
    /* Style the title as needed */
    font-size: 1.8em;
    margin-top: 0px;
}

.product-description {
    /* Style the description as needed */
    margin-bottom: 20px;
}

.feature-list {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 5px; /* Add spacing between list items */
}


@media (max-width:768px){
    .my-contacts{
        flex-direction: row;
        width: 100%;
        right: 0;
        background: #fff;
        top: 0;
        padding: 10px 0;
        justify-content: space-around;
    }
    .my-contacts a{
        margin: 0;
        padding: 0;
    }
    .my-contacts i{
        font-size: 23px;
    }
    .my-contacts p{
        display: none;
    }
    .modal-content{
        width: 250px;
    }
    .modal-content h2{
        font-size: 16px;
    }
    .modal-content p{
        font-size: 14px;
    }
    .about-me-container{
        flex-direction:column
    }
    .profile-image{
        margin:0 auto
    }
    .projects-container{
        grid-template-columns:repeat(auto-fit,minmax(100%,1fr))
    }
    .timeline-content{
        padding-left:0
    }
    .skill-category ul{
        column-count:1
    }
    .responsibilities li{
        margin-bottom:20px
    }

    .title{
        font-size: 3rem;
        font-weight: 600;
    }

    .subtitle{
        font-size: 1rem;
    }

    .about-me-text{
        text-align: justify;
        word-break: auto-phrase;
    }

    .about-me-text{
        text-align: justify;
        word-break: auto-phrase;
    }

    .projects-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Fewer columns on tablets */
      }
    
      .project-detail {
        padding: 15px; /* Adjust padding */
      }
    
      .project-detail img {
        height: 180px; /* Adjust image height */
      }
      .project-tabs{
        display: block;
      }

      .product-overlay.unique-hr, .product-overlay.quipchat{
        position: static;
        width: auto;
        height: auto;
        margin: 20px;
      }

      .featured-products{
        height: auto;
      }

      .content-wrapper>img{
        position: static;
        width: 100%;
       }

}
@media (max-width:480px){
    .modal-content{
        width: 250px;
    }
    .modal-content h2{
        font-size: 16px;
    }
    .modal-content p{
        font-size: 14px;
    }
    .about-me-container{
        flex-direction:column
    }
    .profile-image{
        margin:0 auto
    }
    .projects-container{
        grid-template-columns:repeat(auto-fit,minmax(100%,1fr))
    }
    .timeline-content{
        padding-left:0
    }
    .skill-category ul{
        column-count:1
    }
    .responsibilities li{
        margin-bottom:20px
    }

    .title{
        font-size: 3rem;
        font-weight: 600;
    }
    .subtitle{
        font-size: 1rem;
    }

    .about-me-text{
        text-align: justify;
        word-break: auto-phrase;
    }

    .projects-container {
    grid-template-columns: 1fr; /* Single column on phones */
  }

  .project-detail {
    padding: 10px; /* Adjust padding */
  }

  .project-detail img {
    height: 150px; /* Adjust image height */
  }

  .project-tabs{
    display: block;
  }
}
