* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}
body {
  background-color: #f5f5f5;
}
.header {
  background-color: #0057cc;
  color: #fff;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}
.header__title {
  color: white;
  text-decoration: none;
  font-size: 28px;
  flex-shrink: 0;
}
.header__search-social {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-grow: 1;
  justify-content: flex-end;
}
.search-wrapper {
  position: relative;
  width: 300px;
  max-width: 100%;
}
.search-input {
  width: 100%;
  padding: 8px 40px 8px 12px;
  border-radius: 20px;
  border: none;
  font-size: 16px;
}
.search-input:focus {
  outline: none;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}
.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  font-size: 20px;
  pointer-events: none;
}
.social-icons {
  display: flex;
  gap: 20px;
}
.social-link {
  color: #fff;
  font-size: 22px;
  transition: color 0.3s;
}

.main {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.card-link {
  text-decoration: none;
  color: inherit;
}
.card--highlight {
  width: 91vw;
  max-width: 1200px;
  height: 350px;
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}
.card--highlight__content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card--highlight:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.card--highlight__image {
  width: 50%;
  object-fit: cover;
  height: 100%;
}
.card--highlight__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}
.card--highlight__description {
  font-size: 16px;
  color: #555555;
}
.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 40px 60px;
  overflow: visible;
}
.swiper {
  width: 100%;
}
.swiper-wrapper {
  padding: 0 10px;
}
.swiper-slide {
  width: 360px !important;
  display: flex;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  opacity: 0.5;
  transform: scale(0.95);
}
.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.card.card--carousel {
  width: 360px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.card.card--carousel:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card__content {
  padding: 16px;
}
.card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}
.card__description {
  font-size: 14px;
  color: #666;
}
.swiper-button-prev,
.swiper-button-next {
  color: #0057cc;
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-button-prev {
  left: 10px;
}
.swiper-button-next {
  right: 10px;
}
.cards-grid {
  max-width: 1200px;
  width: 100%;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0 20px;
}
.card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card__content {
  padding: 16px;
}
.card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}
.card__description {
  font-size: 14px;
  color: #666;
}
.footer {
  background-color: #0057cc;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  width: 100%;
}
.footer__content {
  max-width: 1200px;
  margin: 0 auto 0 auto;
  display: flex;
  justify-content: space-evenly;
  gap: 0px;
  flex-wrap: wrap;
}

.footer__section h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.footer__section p {
  font-size: 14px;
  margin-bottom: 8px;
}
.footer__social-icons {
  display: flex;
  gap: 20px;
}
.footer__social-icons a {
  color: #ffffff;
  font-size: 24px;
  transition: color 0.3s;
}

.footer__copy {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 12px;
}

.card:hover {
  transform: scale(1.1); 
  transition: transform 0.3s ease;
}

.card--highlight:hover{
  transform: scale(1.05); 
  transition: transform 0.3s ease;
}
