@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(1, 1, 18);
  color: rgb(226, 230, 234);
  font-family: 'poppins', sans-serif;
}

nav img {
  width: 170px;
  height: 65px;
  margin-right: 20px;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 75px;
  background-color: rgb(12, 12, 48);
  font-family: 'poppins', sans-serif;
  z-index: 100;
opacity: 0;
animation: show-content 1.0s linear forwards;
animation-delay: 1.0s;

}

@keyframes show-content {
  100% {
    /* visibility: visible; */
    opacity: 1;
  }
}

nav ul {
  display: flex;
  list-style: none;
}
.download-link {
  display: block; /* Make the <a> tag fill the button */
  width: 100%;
  height: 100%;
  text-decoration: none; /* Remove underline from the link */
  /* color: inherit; */
}
nav ul li {
  margin: 0 24px;
  color: white;
  text-decoration: none;
}

nav ul li a {
 text-decoration: none;
 color: white;
 font-size: 1.1rem;
}

nav ul li a:hover {
  cursor: pointer;
  color: aqua;
  text-decoration: none;
  transition: color 0.3s ease;
}

.left {
  font-size: 30px;
  font-family: 'poppins', sans-serif;
  font-weight: 450;
}

.home {
  display: flex;
  height: 77vh;
  padding: 0 7%;
  align-items: center;
}

.blur{
  position: absolute;
  box-shadow: 0 0 800px 50px #011b68;
}

.home-content {
  max-width: 600px;
}

.home-content h1 {
  font-size: 55px;
  font-weight: 700;
}

.home-content h3 {
  display: inline-block;
  font-size: 35px;
  font-weight: 700;
  color: #00abf0;
}
.home-content h3 span{
  position: relative;
  display: inline-block;
  color:transparent;
  -webkit-text-stroke: .7px  #00abf0;
  animation: display-text 16s linear infinite;
  animation-delay: calc(-4s * var(--i));
}

@keyframes display-text {
  25%,
  100%{
    display: none;
  }
}

.home-content h3 span:before {
  content: attr(data-text);
  position: absolute;
  width: 0;
  border-right: 2px solid #0a0845;
  color: #143dd2;
  white-space: nowrap;
  overflow: hidden;
  animation: fill-text 4s linear infinite;
}
@keyframes fill-text {
  10%,
  100%{
    width: 0;
  }
  70%,
  90%{
    width: 100%;
  }
}

.button {
  --width: 100px;
  --height: 35px;
  --tooltip-height: 35px;
  --tooltip-width: 90px;
  --gap-between-tooltip-to-button: 18px;
  --button-color: #1163ff;
  --tooltip-color: #fff;
  width: var(--width);
  height: var(--height);
  background: var(--button-color);
  position: relative;
  text-align: center;
  border-radius: 0.45em;
  font-family: "Arial";
  transition: background 0.3s;
  display: inline-flex;
  cursor: pointer;
  letter-spacing: 1px;
}

.button::before {
  position: absolute;
  content: attr(data-tooltip);
  width: var(--tooltip-width);
  height: var(--tooltip-height);
  background-color: var(--tooltip-color);
  font-size: 0.9rem;
  color: #111;
  border-radius: .25em;
  line-height: var(--tooltip-height);
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
  left: calc(50% - var(--tooltip-width) / 2);
}

.button::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: var(--tooltip-color);
  left: calc(50% - 10px);
  bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.button::after,
.button::before {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-wrapper,
.text,
.icon {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  color: #fff;
}

.text {
  top: 0
}

.text,
.icon {
  transition: top 0.5s;
}

.icon {
  color: #fff;
  top: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.button:hover {
  background: #011148;
}

.button:hover .text {
  top: -100%;
}

.button:hover .icon {
  top: 0;
}

.button:hover:before,
.button:hover:after {
  opacity: 1;
  visibility: visible;
}

.button:hover:after {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.button:hover:before {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}


.rightsection img {
  width: 55%;
  box-sizing: border-box;
  border-radius: 50%;
  border: 10px solid #1163ff;
  margin: 0 190px;
}

.btn-box {
  display: inline-flex;
  margin: 20px;
}

.btn-box a {
  margin: 2px 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #00abf0;
    border-radius: 0.45em;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    background: transparent;
    color: #1163ff;
    width: 105px;
    height: 35px;
}

.btn-box a:hover {
  box-shadow: 0px 0px 10px navy;
  content: "";
  animation: spin 2s linear infinite;
  z-index: 1;
}

ul {
  list-style: none;
}

li::after {
  content: "";

  height: 0px;
  transition: height 0.3s ease-in-out;
  pointer-events: none;
}

li:hover::after {
  height: 10px;
}

.buttons{
  display: flex;
  padding: 10px;
    margin: 0px 550px;
}

ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}

.example-2 .icon-content a:hover {
  color: white;
}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,

.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,

.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}

.example-2 .icon-content a[data-social="instagram"] .filled,

.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {

  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip {
  background-color: #25d366; /* WhatsApp green color */
}

.myself {
  background-color: #1e2326;
  color: #fff;
  padding: 50px 20px;
  margin-top: 55px;
}

.myself .about-me {
  max-width: 1100px;
  margin: auto;
}

.myself h1 {
  font-size: 48px;
  font-family: 'poppins';
  text-align: center;
  padding: 20px 0;
}

.myself .about-me p span {
  color: #0ea6f8;
  font-weight: bold;
}

.myself .about-me p {
  line-height: 25px;
  margin-bottom: 20px;
}

.myself .fila {
  display: flex;
}

.myself .fila .col {
  width: 40vw;
  height: 35vh;
  margin: 12px 0px;
}

.myself .fila .col h2 {
  font-size: xx-large;
}

.myself .fila .col ul {
  list-style: none;
}

/* Personal Details Section */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 15px; /* Space between items */
  margin-top: 20px;
}

.detail-item {
  background-color: #2a2a2a; /* Dark background for each item */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.detail-item strong {
  color: #00abf0; /* Highlight color for labels */
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.detail-item span {
  color: #fff; /* White color for details */
  font-size: 16px;
}
.detail-item {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* About Me Section */
.myself {
  background-color: #1e2326;
  color: #fff;
  padding: 50px 20px;
  margin-top: 55px;
}

.myself .about-me {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.myself h1 {
  font-size: 48px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 20px 0;
}

.myself .about-me p span {
  color: #0ea6f8;
  font-weight: bold;
}

.myself .about-me p {
  line-height: 25px;
  margin-bottom: 20px;
}

/* Personal Details Layout */
.fila {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 20px; /* Space between columns */
  align-items: center; /* Center items vertically */
}

.col {
  flex: 1 1 45%; /* Allow columns to grow and shrink */
  min-width: 300px; /* Minimum width for columns */
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 15px; /* Space between items */
  margin-top: 20px;
}

.detail-item {
  background-color: #2a2a2a;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.detail-item strong {
  color: #00abf0;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.detail-item span {
  color: #fff;
  font-size: 16px;
}

/* Image Styling */
.box-img {
  width: 100%;
  text-align: center; /* Center the image */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .fila {
    flex-direction: column; /* Stack columns vertically on mobile */
  }

  .col {
    width: 100%; /* Full width for columns on mobile */
  }

  .details-grid {
    grid-template-columns: 1fr; /* Single column for details on mobile */
  }

  .box-img img {
    width: 100%; /* Adjust image size for mobile */
    margin-top: 20px; /* Add space above the image */
  }
}
.detail-item {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.detail-item:nth-child(1) { animation-delay: 0.1s; }
.detail-item:nth-child(2) { animation-delay: 0.2s; }
.detail-item:nth-child(3) { animation-delay: 0.3s; }
.detail-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .detail-item {
    padding: 10px;
  }

  .detail-item span {
    font-size: 14px;
  }
}
.myself .fila .col ul li {
  margin: 12px 0px;
}

.myself .fila .col ul li strong {
  display: inline-block;
  color: #0ea6f8;
  width: 130px;
}

.box-img img {
  width: 1060px;
  height: 250px;
  border: 3px solid #0ea6f8;
  margin: 20px 0px;
  display: block
}

.career2 > h1{
  text-align: center;
  font-size: 40px;
  color: #ffffff;
  margin: 5px 0px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  border: 0.5px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 40px 0px;
}

.grid-image {
  max-width: 100%;
  height: auto;
  border: 0.5px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bottom-image {
  grid-column: 1 / -1;
  justify-self: center;
  width: 700px;
}

/* Technical Skills Section */
.skills {
  background-color: #000;
  padding: 50px 20px;
}

.skills .interest-skills {
  background-color: #1b1a1a;
  padding: 20px;
  border-radius: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.skills .interest-skills h2 {
  text-align: center;
  font-size: 39px;
  margin: 50px;
  color: #00abf0;
}

.boxes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.box1  p{
  margin-top: 10px;
  font-size: 25px;
  font-weight: 550;
}

.box2  p{
  margin-top: 10px;
  font-size: 25px;
  font-weight: 550;
}
.box3  p{
  margin-top: 10px;
  font-size: 25px;
  font-weight: 550;
}
.box4  p{
  margin-top: 10px;
  font-size: 25px;
  font-weight: 550;
}
.box5  p{
  margin-top: 10px;
  font-size: 25px;
  font-weight: 550;
}

.img1 p {
  margin-top: 40px;
  font-size: 25px;
  font-weight: 550;
}

.img2 p {
  margin-top: 40px;
  font-size: 25px;
  font-weight: 550;
}
.img3 p {
  margin-top: 40px;
  font-size: 25px;
  font-weight: 550;
}
.img4 p {
  margin-top: 40px;
  font-size: 25px;
  font-weight: 550;
}
.img5 p {
  margin-top: 40px;
  font-size: 25px;
  font-weight: 550;
}
.boxes .box1,
.boxes .box2,
.boxes .box3,
.boxes .box4,
.boxes .box5 {
  flex: 1 1 200px;
  max-width: 210px;
  text-align: center;
  padding: 20px;
  background-color: #2a2a2a;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 230px;
}

.boxes .box1:hover,
.boxes .box2:hover,
.boxes .box3:hover,
.boxes .box4:hover,
.boxes .box5:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.boxes img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  height: 140px;
}

/* Soft Skills Section */
.skills2 {
  display: flex;
  /* justify-content: space-around; */
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.skills2 .img1,
.skills2 .img2,
.skills2 .img3,
.skills2 .img4,
.skills2 .img5 {
  flex: 1 1 300px;
  max-width: 215px;
  text-align: center;
  padding: 20px;
  background-color: #2a2a2a;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 230px;
}

.skills2 .img1:hover,
.skills2 .img2:hover,
.skills2 .img3:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.skills2 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  height: 140px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .boxes,
  .skills2 {
    flex-direction: column;
    align-items: center;
  }

  .boxes .box1,
  .boxes .box2,
  .boxes .box3,
  .boxes .box4,
  .boxes .box5,
  .skills2 .img1,
  .skills2 .img2,
  .skills2 .img3 {
    max-width: 100%;
    width: 100%;
  }
}
.section{
  margin: 10px 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}
 .form-container{
  margin-left: 310px;
  padding-bottom: 10px;
}
.form-container {
  margin-bottom: 12px;
  width: 800px;
  background: linear-gradient(#212121, #212121) padding-box,
              linear-gradient(145deg, transparent 35%,#e81cff, #40c9ff) border-box;
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background-size: 200% 100%;
  animation: gradient 5s ease infinite;
  margin-top: 1.2%;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.form-container button:active {
  scale: 0.95;
}

.form-container .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #717171;
  font-weight: 600;
  font-size: 12px;
}

.form-container .form-group input {
  width: 95%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid #414141;
}

.form-container .form-group textarea {
  width: 95%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #fff;
  height: 96px;
  border: 1px solid #414141;
  background-color: transparent;
  font-family: inherit;
}

.form-container .form-group input::placeholder {
  opacity: 0.5;
}

.form-container .form-group input:focus {
  outline: none;
  border-color: #e81cff;
}

.form-container .form-group textarea:focus {
  outline: none;
  border-color: #e81cff;
}

.form-container .form-submit-btn {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: #717171;
  font-weight: 600;
  width: 40%;
  background: #313131;
  border: 1px solid #414141;
  padding: 10px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
  margin-top: 1.2%;
}

.form-container .form-submit-btn:hover {
  background-color: #fff;
  border-color: #fff;
}
footer {
  background-color: #010141;
  color: white;
  text-align: center;
  padding: 15px 0;
  width: 100%;
  position: relative;
  bottom: -50px;
}
.social-links a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
  font-size: 20px;
}
.social-links a:hover {
  color: #ddd;
}
.copyright {
  margin-top: 15px;
  font-size: 14px;
}
.social-links{
  display: flex;
  justify-content: space-around;
}
.social-links .github{
  padding-left: 450px;
}
.social-links .linkedin{
  padding-right: 450px;
}
.social-links .instagram img{
  border-radius: 12px;
}
.social-links .whatsapp img{
  border-radius: 11px;
}
.social-links .twitterr img{
  border-radius: 12px;
}
.social-links img{
  background: tra;
}

.right {
  transition: all 0.3s ease;
}
#menu-toggle:checked ~ .hamburger::before {
  content: "✕";
}
.right {
  background-color: rgba(12, 12, 48, 0.95);
}

/* General Mobile Styles */
@media screen and (max-width: 768px) {
  /* Adjust navigation */
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  nav img {
    width: 120px;
    height: 50px;
    margin-bottom: 10px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .left {
    font-size: 24px;
    margin-bottom: 10px;
  }

  /* Adjust home section */
  .home {
    flex-direction: column;
    height: auto;
    padding: 5px;
    text-align: center;
  }

  .home-content h1 {
    font-size: 36px;
  }

  .home-content h3 {
    font-size: 24px;
  }

  .rightsection img {
    width: 50%;
    margin: 20px 0;
  }

  .btn-box {
    flex-direction: column;
    align-items: center;
  }

  .btn-box a {
    margin: 10px 0;
  }

  /* Adjust about section */
  .myself .fila {
    flex-direction: column;
    align-items: center;
  }

  .myself .fila .col {
    width: 100%;
    text-align: center;
  }

  .box-img img {
    width: 100%;
    margin: 20px 0;
    height: 300px;
  }

  /* Adjust career achievements section */
  .image-grid {
    grid-template-columns: 1fr;
  }

  .bottom-image {
    width: 100%;
  }

  /* Adjust skills section */
  .boxes {
    flex-direction: column;
    align-items: center;
  }

  .boxes .box1,
  .boxes .box2,
  .boxes .box3,
  .boxes .box4,
  .boxes .box5 {
    width: 100%;
    text-align: center;
  }

  .boxes img {
    width: 100%;
    max-width: 200px;
  }

  .skills2 {
    flex-direction: column;
    align-items: center;
  }

  .skills .img1,
  .skills .img2,
  .skills .img3 {
    width: 100%;
    text-align: center;
  }

  .skills .img1 img,
  .skills .img2 img,
  .skills .img3 img {
    width: 100%;
    max-width: 200px;
    position: relative;
        top: 2%;
        height: 60%;
  }

  /* Adjust form section */
  .form-container {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
  }

  .form-container .form-group input,
  .form-container .form-group textarea {
    width: 100%;
  }

  /* Adjust footer */
  .social-links {
    flex-direction: row;
    align-items: center;
  }

  .social-links .github,
  .social-links .linkedin {
    padding: 0;
    margin: 10px 0;
  }

  .social-links img {
    width: 40px;
    height: 40px;
  }

  .copyright {
    margin-top: 10px;
  }
}

/* For very small devices (480px and below) */
@media screen and (max-width: 480px) {
  .home-content h1 {
    font-size: 28px;
  }

  .home-content h3 {
    font-size: 20px;
  }

  .btn-box a {
    width: 100%;
  }

  .myself h1 {
    font-size: 36px;
  }

  .myself .fila .col h2 {
    font-size: 24px;
  }

  .form-container {
    width: 100%;
    padding: 15px;
  }

  .form-container .form-submit-btn {
    width: 100%;
  }
}
/* Hamburger Menu Styles */
.hamburger {
  display: none; /* Hide by default */
  font-size: 30px;
  cursor: pointer;
  color: white;
}

#menu-toggle {
  display: none; /* Hide the checkbox */
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block; /* Show hamburger icon on mobile */
  }

  .right {
    display: none; /* Hide the nav links by default */
    width: 100%;
    background-color: rgb(12, 12, 48);
    position: absolute;
    top: 75px;
    left: 0;
    z-index: 1000;
  }

  .right ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .right ul li {
    margin: 10px 0;
  }

  .right ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }

  /* Show the nav links when the checkbox is checked */
  #menu-toggle:checked ~ .right {
    display: block;
  }
}
/* Projects Section */
.projects {
  background-color: #1e2326;
  padding: 30px 20px;
  color: white;
  margin: 50px 0px;
  overflow: hidden; /* Hide overflow for carousel */
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.projects-container h1 {
  font-size: 48px;
  margin-bottom: 40px;
  color: #00abf0;
}

.project-carousel {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Smooth scrolling */
  gap: 20px; /* Space between cards */
  padding-bottom: 20px; /* Space for scrollbar */
  scroll-snap-type: x mandatory; /* Snap cards into place */
}

.project-carousel::-webkit-scrollbar {
  height: 8px;
}

.project-carousel::-webkit-scrollbar-thumb {
  background-color: #00abf0;
  border-radius: 4px;
}

.project-card {
  flex: 0 0 300px; /* Fixed width for each card */
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start; /* Snap cards into place */
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  font-size: 24px;
  margin: 20px 0 10px;
  color: #00abf0;
}

.project-card p {
  font-size: 16px;
  padding: 0 20px;
  color: #ccc;
}

.project-link {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  background-color: #00abf0;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.project-link:hover {
  background-color: #0077b6;
}

/* Carousel Navigation Buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00abf0;
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: #0077b6;
}

.carousel-button.prev {
  left: -50px;
}

.carousel-button.next {
  right: -50px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .carousel-button.prev {
    left: -20px;
  }

  .carousel-button.next {
    right: -20px;
  }

  .project-card {
    flex: 0 0 250px; /* Smaller cards on mobile */
  }
}
section > h1{
  font-size: 50px;
            color: #319fff;
            text-align: center;
}
