﻿.projects-section {
  background: url("/assets/images/rectangle-168.png") no-repeat center;
  background-size: 100% 100%;
  padding: 60px 0;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
}

.tab-btn {
  position: relative;
  padding: 15px 44px;
  border-radius: 30px;
  border: 2px solid var(--secondary-blue);
  background: white;
  color: var(--secondary-blue);
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.tab-arrow {
	position: absolute;
    bottom: -15px;
    left: 20%;
    transform: translateX(-50%);
    width: 22px;
    height: 19px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
  margin-bottom: 40px;
}

.project-card {
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  background: white;
}


.project-card img {
  width: 100%;
  height: 293px;
  object-fit: cover;
}

.project-content {
  padding: 10px 7px;
}

.project-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 10px;
  color: white;
  transition: all .3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card:hover .project-title {
  color: var(--primary-blue);
}

.project-description {
    border-bottom: 2px solid #fff;
    margin-bottom: 10px;
}
.project-description p {
	font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    transition: transform 0.3s ease;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card:hover .project-description {
	color: var(--secondary-blue);
    border-bottom: 2px solid rgb(40 88 164 / 30%);
  
}

.project-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-date img {
  width: 19px;
  height: 19px;
}

.project-date-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  transition: transform 0.3s ease;
}

.project-card:hover .project-date {
  color: var(--scolor);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pagination-btn {
  width: 36px;
  height: 36px;
  background: var(--primary-blue);
  border-radius: 18px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pagination-btn:hover {
  background: rgba(14, 64, 143, 0.8);
}

.pagination-number {
  font-weight: 700;
  font-size: 24px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-number:hover {
  transform: scale(1.1);
}

.pagination-number.active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.pagination-dots {
  font-weight: 700;
  font-size: 24px;
  color: white;
}

@media screen and (max-width: 1920px) {
}

@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .social-buttons {
    position: static;
    flex-direction: row;
    margin-top: 20px;
    justify-content: center;
  }

  .tabs-nav {
	align-items: center;
    flex-wrap: wrap;
    gap: 10px;
	margin-bottom: 40px;
  }

  .tab-btn {

  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  
	.projects-section {
		padding: 20px 0;
	}
}

@media screen and (max-width: 480px) {
  .nav-link {
    font-size: 12px;
  }

  .tab-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .project-title {
    font-size: 16px;
  }

  .project-description {
    font-size: 14px;
  }
}
