.hero {
  min-height: 40rem;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
  padding-bottom: 4rem !important;
}

.hero .container .avatar img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 50%;
}

.hero .container h1 {
  font-size: 1.2rem;
  font-weight: 500;
}

.hero .container h2 {
  max-width: 55%;
  font-size: 3rem;
  text-align: center;
  font-weight: bolder;
  padding-bottom: 1rem;
}

.hero .container h2 span {
  color: var(--blue-color);
}

.hero .container p {
  max-width: 60%;
  font-weight: 300;
  font-size: 1rem;
  color: rgb(203, 202, 202);
  text-align: center;
  line-height: 1.5rem;
}

.hero .container .btns {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 2rem;
}

.hero .container .btns a {
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.filled {
  background-color: var(--primary-color);
  color: var(--black-color);
  padding: 1rem;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
}

.hero .container .btns a:hover {
  color: var(--primary-color);
  background-color: transparent;
  transform: scale(1.05);
}

.hero .container .btns span {
  font-size: 1.5rem;
}

.last-post,
.works {
  padding: 5rem 0;
  background-color: var(--white-background);
  color: var(--black-text-color);
}

.works {
  padding-bottom: 0 !important;
}

.last-post .sect-header {
  text-align: center;
  max-width: 60%;
  margin: 0 auto;
}

.last-post .sect-header h2 {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.last-post .sect-header p {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.post {
  max-width: 90%;
  margin: 1rem auto;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 4rem;
}

.post .thumbnail {
  width: 50%;
}

.post .thumbnail img {
  width: 100%;
  height: 22.5rem;
  object-fit: cover;
  border-radius: 30px;
}

.post .content {
  width: 50%;
  height: 22.5rem;
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
}

.post .content .date {
  color: var(--blue-color);
  font-weight: 500;
}

.post .content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  margin-top: 1rem;
}

.post .content .description {
  font-size: 1rem;
  line-height: 1.7rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.post .content .btns {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 2rem;
}

.btn {
  padding: 0.8rem 1rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.post .content .btns .primary {
  background-color: var(--primary-color);
}

.post .content .btns .primary:hover,
.download:hover {
  transform: scale(1.03);
  background-color: white;
  color: var(--primary-color);
}

.post .content .btns .secondary {
  background-color: var(--blue-color);
  padding: 1rem;
}

.post .content .btns .secondary:hover {
  transform: scale(1.03);
  background-color: white;
  color: var(--blue-color);
}

.post .content .btns .btn span {
  font-size: 1.5rem;
}

.borderded {
  border-bottom: 1px solid #73737350;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.borderded:last-child {
  margin-bottom: 0 !important;
  border-bottom: none !important;
  padding-bottom: 5rem;
}

.all-posts {
  background-color: var(--white-background);
  min-height: 40rem;
  color: var(--black-text-color);
}

.all-posts .post {
  max-width: 100% !important;
}

.section {
  min-height: 20rem;
  padding: 5rem 0;
  margin-top: 1rem;
}

.resume {
  background-color: var(--white-background);
  color: var(--black-text-color);
}

.page-header {
  margin-bottom: 3rem;
  margin-top: 2rem;
  max-width: 80%;
}

.page-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1rem;
  font-weight: 400;
}

.resume .list {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 2rem;
}

.resume .list .experiences {
  width: 55%;
  padding-top: 1rem;
}

.resume .list .experiences .experience {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #c8c8c889;
}

.resume .list .experiences .experience:last-child {
  border-bottom: none !important;
  padding-bottom: 0;
}

.resume .list .experiences .experience .logo {
  background-color: white;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resume .list .experiences .experience .logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.resume .list .experiences .experience h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

.resume .list .experiences .experience .date {
  color: gray;
  font-size: 0.85rem;
  font-weight: 300;
}

.resume .list .experiences .experience .company-name {
  color: var(--blue-color);
}

.resume .list .skills {
  width: 45%;
  min-height: 15rem;
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
}

.resume .list .skills h3 {
  text-transform: uppercase;
  padding-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
}

.resume .list .skills .technos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  padding: 1rem 0;
}

.resume .list .skills .technos .techno {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}

.resume .list .skills .technos .techno img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.other-works {
  border-bottom: 1px solid #c8c8c889;
  padding-bottom: 2rem;
}

.other-works .title {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  padding-bottom: 1rem;
}

.other-works .title .line {
  flex: 1;
  height: 1px;
  background-color: #c8c8c889;
}

.other-works .sites {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.other-works a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue-color);
  text-decoration: underline;
}

.swiper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: start;
  justify-content: start;
  overflow: hidden;
  margin-bottom: 2rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--blue-color) !important;
  font-size: 1rem !important;
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  aspect-ratio: 1/1;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important; /* Adjust this to the desired arrow size */
}

/* Ensure swiper slides are arranged in a row */
.swiper-slide {
  display: flex !important; /* Enables flexbox layout */
  justify-content: space-between; /* Optional: Adjust space between left and right content */
  align-items: start; /* Vertically center the items */
  width: 100%; /* Ensure the slide takes up full width */
}

/* Styling for left and right sections */
.swiper-slide .left {
  flex: 1; /* Makes the left part take equal space */
  padding-right: 20px; /* Adjust as needed */
  padding-left: 3rem !important;
}

.swiper-slide .right {
  flex: 1; /* Makes the right part take more space */
  padding-right: 3rem !important;
  padding-top: 1rem;
}

.swiper-slide .left img {
  width: 100%;
  height: 20rem;
  object-fit: contain;
}

.swiper-pagination-bullet .swiper-pagination-bullet-active {
  background-color: var(--blue-color) !important;
}

.swiper-slide .right h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.swiper-slide .right .description {
  font-size: 0.9rem;
  line-height: 1.4rem;
  margin-bottom: 1rem;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.swiper-slide .right .tech {
  width: 100%;
  display: flex !important;
  align-items: start;
  justify-content: start;
  gap: 1rem;
  padding-bottom: 1.5rem !important;
}

.swiper-slide .right .title {
  font-weight: 600;
  margin-bottom: 0.5rem !important;
}

.swiper-slide .right .technos {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.swiper-slide .right .technos img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.swiper-slide .right .btn {
  background-color: var(--primary-color);
  max-width: max-content;
  margin: 0 auto;
}

.swiper-slide .right .btn:hover {
  transform: scale(1.03);
  background-color: white;
  color: var(--primary-color);
}

.services-list {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.services-list .card {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  flex-direction: column;
}

.services-list .card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.services-list .card h2 {
  font-size: 1.1rem;
}

.services-list .card p {
  font-size: 0.9rem;
  line-height: 1.4rem;
}

@media only screen and (max-width: 900px) {
  .page-header {
    max-width: 100%;
  }

  .page-header h2 {
    font-size: 1.8rem;
  }

  .page-header p {
    font-size: 14px;
  }

  .hero {
    min-height: 40rem;
  }

  .hero .container h1 {
    font-size: 1.1rem;
    font-weight: 500;
  }

  .hero .container h2 {
    max-width: 70%;
    font-size: 2.5rem;
  }

  .hero .container p {
    max-width: 70%;
  }

  .hero .container .btns a {
    font-size: 14px;
  }

  .hero .container .btns span {
    font-size: 1rem;
  }

  .last-post .sect-header {
    max-width: 80%;
  }

  .last-post .sect-header p {
    font-size: 1.8rem;
  }

  .post {
    max-width: 100%;
    margin: 1rem auto;
    display: flex;
    gap: 2rem;
  }

  .post .thumbnail {
    width: 50%;
  }

  .post .thumbnail img {
    width: 100%;
    height: 17.5rem;
  }

  .post .content {
    width: 50%;
  }

  .post .content .btns {
    gap: 1rem;
  }

  .btn {
    padding: 0.6rem 0.8rem;
    font-size: 14px;
  }

  .post .content .btns .btn span {
    font-size: 1rem;
  }

  .post .content .date {
    font-size: 13px;
  }

  .post .content h2 {
    font-size: 1.8rem;
  }

  .post .content .description {
    font-size: 14px;
    line-height: 1.6rem;
  }

  .post .content .btns {
    gap: 1rem;
  }

  .resume .list {
    flex-direction: column;
  }

  .resume .list .experiences {
    width: 100%;
  }

  .resume .list .experiences .experience .logo {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .resume .list .experiences .experience h3 {
    font-size: 0.9rem;
  }

  .resume .list .experiences .experience .date {
    font-size: 0.8rem;
  }

  .resume .list .skills {
    width: 100%;
  }

  /* Ensure swiper slides are arranged in a row */
  .swiper-slide {
    display: flex !important; /* Enables flexbox layout */
    justify-content: space-between; /* Optional: Adjust space between left and right content */
    align-items: start; /* Vertically center the items */
    width: 100%; /* Ensure the slide takes up full width */
    flex-direction: column;
    padding: 0;
  }

  /* Styling for left and right sections */
  .swiper-slide .left {
    width: 100%;
    padding-right: 0; /* Adjust as needed */
    padding-left: 0 !important;
    width: 100%;
  }

  .swiper-slide .right {
    width: 100%;
    padding-right: 0 !important;
    padding-top: 0;
    padding-left: 2rem;
  }

  .swiper-slide .left img {
    width: 100%;
    height: 15rem;
    object-fit: contain;
  }

  .swiper-slide .right h2 {
    font-size: 1.2rem;
  }

  .swiper-slide .right .description {
    font-size: 14px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .swiper-slide .right .tech {
    flex-wrap: wrap;
    padding-bottom: 1rem !important;
  }

  .swiper-slide .right .technos {
    flex-wrap: wrap;
  }

  .swiper-slide .right .technos img {
    width: 25px;
    height: 25px;
  }

  .services-list {
    flex-wrap: wrap;
  }

  .services-list .card {
    width: calc(100% / 2 - 1rem / 2);
  }

  .services-list .card img {
    width: 40px;
    height: 40px;
  }

  .services-list .card h2 {
    font-size: 1rem;
  }

  .services-list .card p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 560px) {
  .page-header {
    max-width: 100%;
    padding-bottom: 0;
  }

  .page-header h2 {
    font-size: 1.5rem;
  }

  .hero .container h1 {
    font-size: 1rem;
  }

  .hero .container h2 {
    width: 100%;
    max-width: 100%;
    font-size: 1.8rem;
  }

  .hero .container p {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }

  .resume .list .skills .technos {
    grid-template-columns: repeat(2, 1fr);
  }

  .post {
    flex-direction: column;
  }

  .post .thumbnail {
    width: 100%;
  }

  .post .thumbnail img,
  .all-posts .post .thumbnail img {
    height: 17rem !important;
  }

  .post .content {
    width: 100%;
    height: 20rem !important;
  }

  .all-posts .post .content {
    width: 100%;
    height: 17.5rem !important;
  }

  .post .content .btns {
    gap: 1rem;
  }

  .post .content h2 {
    font-size: 1.4rem;
  }

  .services-list .card {
    width: 100%;
  }
}
