* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "poppins", sans-serif;
}
:root {
  --bg-color: rgb(15, 15, 15);
  --second-bg-color: #161616;
  --text-color: white;
  --main-color: #14ff6a;
}
::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color);
  width: 50px;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}
body {
  background: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
@media (max-width: 1000px) {
  header {
    padding: 2rem 3%;
  }
}
.logo {
  font-size: 2.2rem;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}
.navbar a {
  font-size: 1.6rem;
  color: white;
  margin-left: 3rem;
  font-weight: 500;
  transition: 0.3s ease-in-out;
  border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}
@media (max-width: 995px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 50%;
    border-left: 3px solid var(--main-color);
    border-bottom: 3px solid var(--main-color);
    border-bottom-left-radius: 2em;
    padding: 1rem 3%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }
}
#menu-icon {
  font-size: 3rem;
  color: var(--main-color);
  display: none;
}
section {
  min-height: 100vh;
  padding: 10rem 9% 10rem;
}
@media (max-width: 1000px) {
  section {
    padding: 10rem 3% 2rem;
  }
}
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
}
@media (max-width: 995px) {
  .home {
    flex-direction: column;
    margin: 5rem 4rem;
  }
}

@media (max-width: 480px) {
  .home-content h1 {
    font-size: 4rem;
  }

  .home-content p {
    font-size: 1.5rem;
  }
}
span {
  color: var(--main-color);
}

.logo span {
  color: var(--main-color);
}
.home-content h1 {
  font-size: 7rem;
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 995px) {
  .home-content h1 {
    font-size: 5rem;
  }
}

@media (max-width: 480px) {
  .home-content h1 {
    font-size: 4rem;
  }
}
.home-img {
  border-radius: 50%;
}

.home-img img {
  position: relative;
  border-radius: 50%;
  width: 32vw;
  box-shadow: 0 0 50px var(--main-color);
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

.home-img img:hover {
  box-shadow: 0 0 50px var(--main-color), 
              0 0 100px var(--main-color);
}
@media (max-width: 995px) {
  .home-img img {
    width: 70vw;
    margin-top: 4rem;
  }
}
.home-content p {
  font-size: 1.8rem;
  font-weight: 500;
}
@media (max-width: 480px) {
  .home-content p {
    font-size: 1.5rem;
  }
}
.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  font-size: 2rem;
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease-in-out;
}

.social-icons a:hover {
  color: white;
  transform: scale(1.3) translateY(-5px);
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
}
@media (max-width: 480px) {
  .social-icons a {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.8rem;
  }
}
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--bg-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.3 ease-in-out;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  background: var(--main-color);
  color: var(--text-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
}
@media (max-width: 480px) {
  .btn {
    font-size: 1.4rem;
    padding: 0.8rem 2.5rem;
  }
}
.text-animation {
  font-size: 42px;
  font-weight: 600;
  min-width: 280px;
  margin: 10px 0;
}

.text-animation span {
  position: relative;
}

.text-animation span::before {
  content: "web Developer";
  color: var(--main-color);
  animation: words 20s infinite;
}

.text-animation span::after {
  content: "";
  background-color: var(--bg-color);
  position: absolute;
  width: calc(100% + 8px);
  height: 100%;
  border-left: 3px solid var(--bg-color);
  right: -8px;
  animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
@keyframes cursor {
  to {
    border-left: 2px solid var(--main-color);
  }
}

@keyframes words {
  0%, 20% {
    content: "Web Developer";
  }
  21%, 40% {
    content: "Java Developer";
  }
  41%, 60% {
    content: "Photograper";
  }
  61%, 80% {
    content: "Video Editor";
  }
  81%, 100% {
    content: "Content Creator";
  }
}

@keyframes typing {
  10%, 15%, 30%, 35%, 50%, 55%, 70%, 75%, 90%, 95% {
    width: 0;
  }
  5%, 20%, 25%, 40%, 45%, 60%, 65%, 80%, 85% {
    width: calc(100% + 8px);
  }
}
.heading {
  text-align: center;
  font-size: 8rem;
}
@media (max-width: 480px) {
  .heading {
    font-size: 5rem;
  }
}
.services {
  background-color: var(--second-bg-color);
}

.services h2 {
  margin-bottom: 8rem;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.service-container .services-box {
  flex: 1 1 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background: var(--bg-color);
  padding: 3rem 2rem 4rem;
  height: 550px;
  /* width:5%; */
  border-radius: 2rem;
  border: 3px solid var(--main-color);
  cursor: pointer;
  transition: 0.3s ease-in-out;
  overflow: hidden;
}

.service-container .services-box:hover {
  transform: scale(1.02);
  background-color: white;
  color: black;
}

.services-box i {
  font-size: 7rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.services-box h3 {
  font-size: 2.6rem;
}

.services-box p {
  font-size: 1.6rem;
  margin: 1rem 0 3rem;
  font-weight: 500;
}

.services-box ul {
  list-style-type: none;
  /* Removes default bullets */
  padding: 0;
  margin: 2rem 0 1rem;
}

.services-box ul li {
  font-size: 1.8rem;
  /* Bigger text */
  margin-bottom: 1.2rem;
  /* Spacing between list items */
  font-weight: 600;
  /* Slightly bolder */
  color: var(--main-color);
  /* Optional: make it consistent with your theme */
}

.services-box .btn {
  background-color: transparent;
  margin-top: auto;
  padding: 1.2rem 2.5rem;
  border: 2px solid var(--main-color);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.services-box .btn:hover {
  color: var(--main-color);
  background-color: black;
}
@media (max-width: 1000px) {
  .services {
    padding-bottom: 7rem;
  }
}

@media (max-width: 995px) {
  .services-box {
    margin: 0 5rem;
  }

  .services h2 {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .services-box h3 {
    font-size: 2.2rem;
  }

  .services-box p {
    font-size: 1.4rem;
  }
}

.projects {
  background-color: var(--bg-color);
  padding: 5rem 2rem;
}

.projects h2 {
  margin-bottom: 5rem;
  text-align: center;
  /* font-size: 4rem; */
  /* color: var(--main-color); */
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  justify-content: center;
  align-items: stretch;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.projects-box {
  position: relative;
  background: #1a1a1a;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 550px; /* Increased height */
}

.projects-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px var(--main-color);
}

.projects-box img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.projects-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  flex-grow: 1;
}

.projects-info h4 {
  font-size: 3rem;
  color: var(--main-color);
  min-height: 3.6rem;
  display: flex;
  align-items: flex-start; /* pushed Spotify Clone heading a bit up */
  justify-content: center;
  text-align: center;
  padding-top: 0.2rem;
}

.projects-info p {
  font-size: 1.6rem;
  color: #ccc;
  line-height: 1.6;
  text-align: center;
}

.project-links {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.project-links a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: var(--main-color);
  color: var(--second-bg-color);
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  transition: 0.3s;
}

.project-links a:hover {
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .projects h2 {
    font-size: 3rem;
  }

  .projects-info h4 {
    font-size: 2.5rem;
  }

  .projects-info p {
    font-size: 1.5rem;
  }

  .project-links a {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .projects {
    padding: 3rem 1.5rem;
  }

  .projects-container {
    gap: 2rem;
  }

  .projects-box img {
    height: 200px;
  }

  .projects-info h4 {
    font-size: 2.2rem;
  }

  .projects-info p {
    font-size: 1.4rem;
  }

  .project-links a {
    font-size: 1.2rem;
    padding: 5px 16px;
  }
}

@media (max-width: 480px) {
  .projects h2 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
  }

  .projects-box {
    min-height: 540px;
  }

  .projects-box img {
    height: 180px;
  }

  .projects-info h4 {
    font-size: 2rem;
  }

  .projects-info p {
    font-size: 1.3rem;
  }

  .project-links a {
    font-size: 1.1rem;
    padding: 4px 14px;
  }
}


.timeline-section {
  background: var(--second-bg-color);
  padding: 100px 15px;
}

.timeline-section h2 {
  margin-bottom: 5rem;
}

.timeline-items {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.timeline-items::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 100%;
  background-color: var(--main-color);
  left: calc(50% - 1px);
}

.timeline-item {
  margin-bottom: 40px;
  width: 100%;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  height: 21px;
  width: 21px;
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  position: absolute;
  left: calc(50% - 8px);
  border-radius: 50%;
  top: 10px;
}

.timeline-data {
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin: 6px 0 15px;
}

.timeline-content {
  background-color: var(--bg-color);
  backdrop-filter: blur(20px);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 10px var(--main-color);
  padding: 30px;
  border-radius: 1rem;
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color);
}

.timeline-content h3 {
  font-size: 20px;
  color: var(--main-color);
  margin: 0 0 50px;
  text-transform: capitalize;
  font-weight: 800;
}

.timeline-content p {
  color: white;
  opacity: 0.8;
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 995px) {
  .timeline-items::before {
    left: 7px;
  }

  .timeline-item:nth-child(odd) {
    padding-right: 0;
    text-align: center;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 37px;
  }

  .timeline-dot {
    left: 0;
  }

  .timeline-item {
    text-align: left !important;
    padding-left: 37px !important;
    padding-right: 0 !important;
  }

  .timeline-content h3,
  .timeline-data {
    text-align: left !important;
  }
}
.timeline-section2 {
  background: var(--bg-color);
  padding: 80px 20px;
  text-align: center;
}

.timeline-section2 .heading {
  color: white;
  margin-bottom: 60px;
  /* font-size:2.5rem; */
}

.sub-heading {
  color: var(--main-color);
  font-size: 30px;
  margin-top: 60px;
  margin-bottom: 60px;
}

/* Common Timeline Container */
.timeline-container2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  padding: 60px 0;
  max-width: 1000px;
  margin: auto;
}

/* Add gap between each skill section */
.timeline-container2:not(:last-of-type) {
  margin-bottom: 100px;
}

/* Horizontal Line */
.timeline-container2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
  z-index: 1;
}

/* Skill Item */
.timeline-item2 {
  position: relative;
  width: 100px;
  display: flex;
  justify-content: center;
}

/* Vertical Connector */
.timeline-item2::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 40px;
  background-color: var(--main-color);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-item2.up::before {
  bottom: 50%;
}

.timeline-item2.up .skill-box {
  position: absolute;
  bottom: 100%;
  margin-bottom: 40px;
}

.timeline-item2.down::before {
  top: 50%;
}

.timeline-item2.down .skill-box {
  position: absolute;
  top: 100%;
  margin-top: 40px;
}

/* Skill Box */
.skill-box {
  /* background-color: var(--bg-color); */
  color: white;
  font-size: 18px;
  padding: 5px 25px;
  border-radius: 50px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 0 5px var(--main-color);
  transition: 0.4s ease-in-out;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Hover Animation */
.skill-box:hover {
  transform: scale(1.1);
  background-color: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
  box-shadow: 0 0 20px var(--main-color);
}
@media (max-width: 768px) {
  .timeline-container2 {
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    gap: 10px; /* Increased space between skill rows */
  }

  .timeline-container2:not(:last-of-type) {
    margin-bottom: 30px !important; /* Reduced from 100px */
  }

  .timeline-container2::before,
  .timeline-item2::before {
    display: none;
  }

  .timeline-item2 {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none !important;
    margin: 0 !important;
  }

  /* Override absolute positioning for mobile */
  .timeline-item2.up .skill-box,
  .timeline-item2.down .skill-box {
    position: static !important;
    margin: 10px 0 !important;
  }

  .skill-box {
    font-size: 16px;
    padding: 12px 24px;
    margin: 10px 0;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 0 10px var(--main-color);
    display: inline-block;
  }

  .sub-heading {
    margin-bottom: 20px !important; /* Reduced from 60px */
    margin-top: 30px !important;     /* Optional: reduce top spacing too */
  }
}

@media (max-width: 480px) {
  .sub-heading {
    font-size: 24px;
    text-align: center;
  }

  .timeline-section2 .heading {
    font-size: 28px;
    text-align: center;
  }

  .skill-box {
    font-size: 15px;
    padding: 10px 20px;
    margin: 12px 0 !important;
    box-shadow: 0 0 8px var(--main-color);
  }
}
.experience-section {
  background: var(--second-bg-color);
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.experience-section .heading {
  margin-bottom: 40px;
}

.experience-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 700px;
  margin: auto;
}

.experience-box {
  background-color: var(--bg-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 5px var(--main-color);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--main-color);
}

.experience-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--main-color);
}

.experience-box h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--main-color);
}

.experience-box span {
  font-size: 15px;
  color: gray;
  display: block;
  margin-bottom: 10px;
}

.experience-box p {
  font-size: 14px;
  line-height: 1.5;
  /* font-weight: bold; */
  font-style: italic;
  color: #ffffff;
}
@media screen and (max-width: 768px) {
  .experience-box {
    padding: 20px;
  }
}
.certificate-preview-section {
  padding: 60px 15px;
  background: var(--bg-color);
  text-align: center;
}

.certificate-preview-section .heading {
  color: var(--text-color);
  /* font-size:2.2rem; */
  margin-bottom: 35px;
}

.certificate-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px; /* small gap between two cards */
  margin-bottom: 50px; /* reduced vertical spacing */
}

.certificate-card {
  flex: 0 1 calc(50% - 12px); /* two per row */
  background: var(--bg-color);
  border-radius: 12px;
  box-shadow: 0 0 10px var(--main-color);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  max-width: 480px;
  border: 2px solid var(--main-color);
  transition: all 0.3s ease-in-out;
  /* margin-bottom:15px; */
}

.certificate-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--main-color);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.certificate-image img {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 2px var(--main-color);
}

.certificate-content {
  color: var(--text-color);
  text-align: left;
}

.certificate-content h3 {
  font-size: 20px;
  color: var(--main-color);
  margin-bottom: 6px;
}

.certificate-content p {
  font-size: 15px;
  margin: 4px 0;
}

.cert-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  background: var(--main-color);
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  transition: 0.3s;
}

.cert-btn:hover {
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}
@media (max-width: 768px) {
  .certificate-row {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
  }

  .certificate-card {
    width: 100%;
    max-width: 480px;
    flex-direction: column;
    text-align: center;
    margin: 0 0 40px 0; /* ✅ 30px gap after EVERY card */
  }

  .certificate-content {
    text-align: center;
  }

  .certificate-image img {
    width: 90%;
  }
}
.contact {
  background-color: var(--second-bg-color);
}

.contact h2 {
  margin-bottom: 3rem;
}

.contact form {
  max-width: 70rem;
  margin: 1rem auto;
  text-align: center;
  margin-bottom: 3rem;
}

.contact form .input-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: var(--text-color);
  background: var(--second-bg-color);
  border-radius: 0.8rem;
  border: 2px solid var(--main-color);
  margin: 1rem;
  resize: none;
}

.contact form .btn {
  margin-top: 2rem;
}
.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  padding: 40px 0;
  background-color: var(--bg-color);
}

.footer .social {
  text-align: center;
  padding-bottom: 25px;
  color: white;
}

.footer .social a {
  font-size: 25px;
  color: var(--main-color);
  width: 42px;
  height: 42px;
  border: 2px solid var(--main-color);
  line-height: 42px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.3s ease-in-out;
}

.footer .social a:hover {
  transform: scale(1.2) translateY(-10px);
  background-color: var(--main-color);
  color: var(--text-color);
  box-shadow: 0 0 25px var(--main-color);
}

.footer ul {
  margin-top: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
}

.footer ul li a {
  color: white;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease-in-out;
}

.footer ul li a:hover {
  border-bottom: 3px solid var(--main-color);
}

.footer ul li {
  display: inline-block;
  padding: 0 15px;
}

.footer .copyright {
  margin-top: 50px;
  text-align: center;
  font-size: 16px;
  color: white;
}
@media (max-width: 1000px) {
  .footer {
    padding: 2rem 3%;
  }
}

@media (max-width: 480px) {
  /* General adjustments */
  html {
    font-size: 52%;
  }

  section {
    padding: 6rem 2rem 6rem;
  }

  .header {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 1.8rem;
  }

  /* Navbar */
  .navbar {
    width: 100%;
    border-radius: 0;
  }

  .navbar a {
    font-size: 1.8rem;
    margin: 2rem 0;
  }

  /* Home Section */
  .home {
    gap: 3rem;
    margin: 4rem 2rem;
  }

  .home-img img {
    width: 90vw;
  }

  .home-content h1 {
    font-size: 3.5rem;
  }

  .home-content p {
    font-size: 1.4rem;
  }

  /* Services */
  .service-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .services-box {
    padding: 2rem 1.5rem 3rem;
    height: auto;
  }

  /* Projects */
  .projects-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .projects-box {
    height: auto;
    flex-direction: column;
  }

  .projects-info h4 {
    font-size: 2.5rem;
  }

  .projects-info p {
    font-size: 1.3rem;
  }

  /* Timeline */
  .timeline-content {
    padding: 20px;
  }

  .timeline-content h3 {
    font-size: 18px;
  }

  .timeline-content p {
    font-size: 14px;
  }

  /* Contact Form */
  .contact form .input-box input,
  .contact form textarea {
    font-size: 1.4rem;
  }

  /* Footer */
  .footer .social a {
    font-size: 2rem;
    width: 36px;
    height: 36px;
    line-height: 36px;
  }

  .footer ul {
    font-size: 1.4rem;
  }

  .footer .copyright {
    font-size: 1.2rem;
  }
}




