@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
:root {
  --primary: #d6ccc2;
  --secondary: #edede9;
  --accent: #f5ebe0;
  --text: #181818;
  --border: #bdbdbd;
  --hover: #00945b;
  --white: #fff;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  color: var(--text);
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.trending-bar {
  /* width: 100%; */
  /* max-width: 1100px; */
  margin: 0 auto 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background: rgba(255,255,255,0.85); */
  /* border-radius: 12px; */
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.04); */
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--hover);
  border-bottom: 1px solid var(--hover);
  position: relative;
  top: 18px;
  z-index: 9;
}
.trending-bar .live-time {
  font-weight: 700;
  color: var(--hover);
  letter-spacing: 0.08em;
}
.trending-bar .live-day {
  font-weight: 500;
  color: #868686;
  letter-spacing: 0.08em;
}



body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: url('https://www.transparenttextures.com/patterns/grunge-wall.png');
  opacity: 0.15;
  z-index: 0;
}
#d-br{
  display: none;
}
nav {
  position: sticky;
  top: 0;
  background: rgba(245,235,224,0.85); /* accent with opacity */
  border-bottom: 1px solid var(--border);
  z-index: 10;
  padding: 0 0 0 0;
}
.navbar {
  position: sticky;
  top: 0;
  background: rgba(245,235,224,0.85);
  border-bottom: 1px solid var(--border);
  z-index: 10;
  padding: 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
}
.navbar-left {
  display: flex;
  align-items: center;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.mobile-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.navbar-links li {
  font-size: 13px;
  letter-spacing: 0.05em;
}
.navbar-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  transition: color 0.2s;
}
.navbar-links a:hover {
  color: var(--hover);
}
.navbar-right {
  display: flex;
  align-items: center;
}
.cv-btn {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border: 2px solid var(--text);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.cv-btn:hover {
  background-color: var(--hover);
  color: var(--white);
  border: 2px solid var(--hover)  ;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0 24px 0;
}

.hero,
.skills-section,
.projects-section,
.bento-section,
.contact-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.hero {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-around;
  margin: 110px auto;
  padding: 0 24px;
}
.hero .image{
  width: 300px;
  height: 300px;
  /* width: 40%; */
  /* height: 40%; */
  /* height: 20%; */

}
.hero .image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 32px 0;
  line-height: 1.05;
  color: var(--text);
  /* text-shadow: 0 2px 16px var(--hover), 0 2px 16px rgba(0,0,0,0.04); */
}

.hero-title span:nth-child(1){
  font-size: 1.8rem;
  letter-spacing: 5px;
  font-family: "Parisienne", cursive;
}
.hero-title span:last-child{
  font-size: 1.2rem;
  letter-spacing: 5px;
  font-family: "Press Start 2P", system-ui;
}

.skills-section {
  padding: 2rem 1rem;
  /* background: var(--secondary); */
  border-radius: 16px;
  /* box-shadow: 0 4px 24px rgba(0,0,0,0.04); */
}

.skills-section h3 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.skills-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.skills-category {
  flex: 1 1 300px;
  min-width: 250px;
}

.skills-category h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--hover);
  letter-spacing: 1px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-badge {
  display: inline-block;
  align-items: center;
  gap: 0.5rem;

  /* background: var(--white); */
  color: var(--text);
  /* border-radius: 50px; */
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  margin: 4px 0;
}

.skill-badge::before,
.skill-badge::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--hover);
  transition: all 0.3s ease;
}

.skill-badge::before {
  top: 0;
}

.skill-badge::after {
  bottom: 0;
}

.skill-badge:hover {
  background: var(--hover);
  color: var(--white);
}

.skill-badge:hover::before,
.skill-badge:hover::after {
  height: 100%;
  width: 2px;
  top: 0;
  bottom: 0;
}

.skill-badge:hover::before {
  left: 0;
  right: auto;
}

.skill-badge:hover::after {
  left: auto;
  right: 0;
}

.skills-list:hover .skill-badge:not(:hover)::before,
.skills-list:hover .skill-badge:not(:hover)::after {
  opacity: 0;
}

body.dark-mode .skill-badge {
  background: #232323;
  color: #fff;
}

body.light-mode .skill-badge {
  background: #fff;
  color: #181818;
}

.skill-badge i {
  font-size: 1.2rem;
}

.video-col{
  border-top: 2px solid transparent;

  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* object-fit: cover; */
  /* border: 2px solid red; */
  /* border-radius: 4px; */
  /* border: 2px solid var(--text); */
}
.video-col i{
  visibility: hidden;
  color: #868686;
  position: absolute;
  font-size: 8rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.video-col i.icon-visible {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.video-col img{
  /* display:/ none; */
  object-fit: cover;
  width: 100%;
  height: 100%;
  /* border-radius: 4px; */
  /* border: 2px solid var(--text); */

}
.skills-col ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.2rem;
}
.skills-col ul li i {
  /* display: none; */
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.8;
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-col ul li:hover i {
  color: var(--hover);
  opacity: 1;
  transform: scale(1.3) rotate(10deg) translateX(4px);
  text-shadow: 2px 2px 8px rgba(161, 138, 255, 0.3);
}
.skills-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.skills-list li {
  cursor: pointer;
  font-size: 1rem;
  /* margin-bottom: 6px; */
  letter-spacing: 0.01em;
  padding: 0px;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.skills-list li:hover {
  font-weight: 700;
  font-size: 1.2rem;
  border-top: 2px solid var(--hover);
  border-bottom: 2px solid var(--hover);
  padding: 5px;
  transform: translateX(10px);
}

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

.tools-list li {
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0px;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}



.projects-section {
  padding: 0 24px;
}
.projects-section h3{
  font-size: 4.5rem;
}
.projects-section .uiux, .dev {
  margin-right: 20px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.projects-section .uiux::after, .dev::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text);
  transition: width 0.3s ease-in-out;
}

.projects-section .uiux:hover::after, .dev:hover::after {
  width: 100%;
}

.projects-section .active-category::after {
  width: 100%;
}

.card-container {
  /* border: 2px solid black; */
  /* color: #181818; */
  /* max-width: 800px; */
  /* margin-top: 10px; */
  margin: 20px auto;
  display: block; /* Ensure UI/UX is visible by default */
}
.card-container-dev {
  /* border: 2px solid black; */
  /* color: #181818; */
  display: none; /* Hide Dev by default */
  /* padding: 50px; */
  /* max-width: 800px; */
  /* margin-top: 10px; */
  margin: 20px auto;
}
.project-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

.project-item {
  border-top: 1px solid var(--border);
  /* border-bottom: 1px solid var(--border); */
  /* border-radius: 6px; */
  overflow: hidden;
}

.project-header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  cursor: pointer;
}
.project-header h2{
  font-size: 2.5rem;
  text-transform: uppercase;
}

.project-title {
  font-size: 20px;
  font-weight: 500;
}

.project-toggle {
  background: none;
  border: none;
  color: #181818;
  font-size: 4rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .5s ease;
}

.skills-section .skills-toggle-btn, .projects-section .uiux, .dev{
  position: relative;
  cursor: pointer;
  
  margin-right: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  display: inline-block;
  padding-bottom: 5px;
}

.skills-section .skills-toggle-btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text);
  transition: width 0.3s ease-in-out;
}

.skills-section .skills-toggle-btn:hover::after {
  width: 100%;
}

.skills-section .active-category::after {
  width: 100%;
  background-color: var(--hover);
}

.skills-container {
  margin: 20px auto;
  display: block;
  min-height: 400px;
}

.tools-container {
  margin: 20px auto;
  display: none;
  min-height: 400px;
}

.tools-video-col {
  border-top: 2px solid transparent;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.tools-video-col i {
  visibility: hidden;
  color: #868686;
  position: absolute;
  font-size: 8rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.tools-video-col i.icon-visible {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.project-content {
  position: relative;
  max-height: 0;
  opacity: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, padding 0.3s;
  display: flex;
  gap: 10px;
}
.project-content p{
  font-weight: 400;
  font-size: 1rem;
}

.project-content.active {
  max-height: none; /* Remove fixed height */
  opacity: 1;
  padding: 16px;
  transition: opacity 0.4s, padding 0.3s;
}

.project-image {
  width: 85%;
  aspect-ratio: 9/16;
  /* border-radius: 6px; */
  max-height: 300px;
  object-fit: cover;
}

.project-description {
  margin-bottom: 16px;
  line-height: 1.5;
  width: 80%;
  /* border: 2px solid #181818; */
}
.project-description b{
  color: var(--hover);
}

.project-link {
  position: relative; /* Change from absolute to relative */
  margin-top: auto; /* Push to bottom of flex container */
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  color: #181818;
  font-weight: 600;
  text-decoration: none;
}

.project-link:hover  .arrow-icon  {
  transform:rotate(0deg) 
  
}

.arrow-icon {
  margin-left: 8px;
  font-weight: 800;
  transform: rotate(-40deg);
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {

  .project-content.active {
    flex-direction: row;
  }
  .project-content{
    height: fit-content;
  }
  .project-image-container {
    width: 50%;
  }

  .project-details {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .eraktsetu-carousel {
    width: 100%;
    display: flex;
    height: 100%;
    animation: none !important;
  }
  .eraktsetu-carousel .project-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }
}


.project-details {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 200px; /* Ensure minimum height for content */
}

.project-content.active .project-details {
  display: block;
}

.footer {
  max-width: 1100px;
  margin: 48px auto 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--hover);
  border-bottom: 1px solid var(--hover);
  position: relative;
  z-index: 9;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 500;
}

.footer-contact i {
  font-size: 1.2rem;
  color: var(--hover);
  margin-right: 0.5rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--text);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--hover);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  /* .hero {
    font-size: 4rem !important;
  } */

  #d-br{
    display: block    ;
  }
  .hero{
    flex-direction: column;
  }
  .hero-title {
    margin-left: 10px;
    line-height: 1;
    font-size:4rem;
  }
  .navbar ul {
    gap: 18px;
  }
  .footer {
    padding: 0 12px 24px 12px;
  }
  .footer-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .skills-section, .projects-section, .hero {
    padding: 0 8px;
  }
  .skills-section h3{
    margin-top: 20px;
    font-size: 2rem !important;
    text-align: center;
    /* white-space: nowrap ; */
  }
  .projects-section h3{
    text-align: center;
    font-size: 2rem!important;
  }
  .project-content.active {
    flex-direction: column;
    padding: 16px 8px;
  }
  .project-image-container,
  .project-details {
    width: 100%;
  }
  .project-image {
    width: 100%;
    aspect-ratio: auto;
    max-height: none;
  }
  .project-description {
    width: 100%;
    margin-bottom: 12px;
  }
  .project-link {
    margin-top: 16px; /* Add some space above the link */
  }
  .project-header h2 {
    font-size: 1.8rem; /* Adjust font size for mobile */
  }
  .project-toggle {
    font-size: 2rem; /* Adjust font size for mobile */
  }
  .project-content p {
    font-size: 1rem; /* Adjust font size for mobile */
  }
  .password-protected {
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .skills-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .skills-section {
    padding: 0 0.5rem;
  }
  .skills-col, .video-col {
    padding-top: 12px;
  }
  .skills-col h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .skills-list {
    text-align: center;
  }
  .skills-list li{
    font-size: 1.2rem;
  }
  .skills-list li:hover {
    font-size: 1.7rem;
    padding: 5px 0;
    transform: translateX(0px);
  }
  .skills-list li {
    display: flex;
    justify-content: center;
    /* font-size: 0.9rem; */
    /* text-align: center; */
    /* margin-left: 40px; */
  }
  .video-col i {
    font-size: 6rem;
  }
  .skills-toggle-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  .skills-section h3 {
    font-size: 1.2rem;
  }
  .project-image-container {
    width: 100vw !important;
    height: 250px !important;
    overflow: hidden !important;
    margin: 0 !important;
    position: relative !important;
  }

  .image-carousel,
  .vulpixo-carousel {
    display: flex !important;
    width: 300vw !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  .project-image-container .image-carousel {
    width: 500vw !important;
  }
  .project-image-container .vulpixo-carousel {
    width: 300vw !important;
  }
  .image-carousel .project-image,
  .vulpixo-carousel .project-image {
    width: 100vw !important;
    height: 100% !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
    aspect-ratio: unset !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    border: 2px solid #546956 !important;
  }
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-400vw); }
  }
  @keyframes scrollVulpixo {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200vw); }
  }
  .project-content.active {
    flex-direction: column !important;
    padding: 16px 0 !important;
  }
  .project-details {
    width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }
  .project-description {
    width: 100% !important;
    padding: 0 12px !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
  }
  .project-link {
    width: 100% !important;
    padding: 0 12px !important;
    margin-top: 16px !important;
    box-sizing: border-box !important;
  }
  .projects-section {
    padding: 0 !important;
  }
  .projects-section,
  .card-container,
  .project-item,
  .project-content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .eraktsetu-carousel {
    width: 100vw;
    display: flex;
    animation: none !important;
  }
  .eraktsetu-carousel .project-image {
    width: 100vw;
    flex-shrink: 0;
    object-fit: cover;
  }
  .footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .footer-contact {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .footer-socials {
    margin-top: 0.5rem;
  }
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: rgba(245,235,224,0.95);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .mobile-menu.active {
    right: 0;
  }

  .navbar-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .navbar-links li {
    font-size: 1.2rem;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .navbar-right {
    margin-top: 1rem;
  }
}

.password-protected {
  display: block;
  font-size: 0.8rem;
  color: tomato;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.password-protected i {
  margin-right: 0.5rem;
}

@media screen and (max-width: 768px) {
  .password-protected {
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    white-space: normal !important;
    word-break: break-word;
  }
}

.project-image-container {
  width: 50%;
  overflow: hidden;
  position: relative;
}

.image-carousel,
.vulpixo-carousel {
  display: flex;
  width: 500%;
  height: 100%;
}

.image-carousel {
  animation: scroll 40s linear infinite;
}

.vulpixo-carousel {
  width: 300%;
  animation: scrollVulpixo 30s linear infinite;
}

.image-carousel:hover,
.vulpixo-carousel:hover {
  animation-play-state: paused;
}

.image-carousel .project-image,
.vulpixo-carousel .project-image {
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.image-carousel .project-image {
  width: 20%; /* 100% / 5 images */
}

.vulpixo-carousel .project-image {
  width: 33.333%; /* 100% / 3 images */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-80%);
  }
}

@keyframes scrollVulpixo {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-66.666%);
  }
}

.project-item[data-id="4"] .image-carousel {
  display: flex;
  width: 400%; /* 4 images * 100% */
  height: 100%;
  animation: scrollCertificates 15s linear infinite alternate !important;
}

.project-item[data-id="4"] .image-carousel .project-image {
  width: 25%; /* 100% / 4 images */
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  /* border: 2px solid #546956; */ /* Removed border */
}

@keyframes scrollCertificates {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Move by 2 images (50% of total width) */
  }
}

.project-item[data-id="4"] .image-carousel:hover {
  animation-play-state: paused;
}

/* Mobile styles for certificate section */
@media (max-width: 768px) {
  .project-item[data-id="4"] .image-carousel {
    width: 400%;
    animation: scrollCertificates 15s linear infinite alternate !important;
  }

  .project-item[data-id="4"] .image-carousel .project-image {
    width: 25%;
    height: 100%;
    object-fit: contain;
    /* border: 2px solid #546956 !important; */ /* Removed border for mobile */
  }
}
