.projects-section.projects {
  height: 450px;
  padding-top: 160px;
  justify-content: flex-start;
  background-image:
    linear-gradient(
      180deg,
      #1a1a1a 0%,
      rgba(0, 0, 0, 0.4) 45.19%,
      #1a1a1a 100%
    ),
    url("../images/Images/about-hero.png");
  background-image:
    linear-gradient(
      180deg,
      #1a1a1a 0%,
      rgba(0, 0, 0, 0.4) 45.19%,
      #1a1a1a 100%
    ),
    image-set(url("../images/Images/about-hero.webp") type("image/webp"), url("../images/Images/about-hero.png") type("image/png"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-title {
  max-width: 986px;
}

.about-img {
  max-width: 560px;
}

.project-details-main-container {
  margin-top: -36px;
}

.about-text-bold {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--bold);
  color: var(--neutral-01);
}

.klinker-type {
  font-weight: var(--bold);
}

.brands-by-country-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 64px;
}

.brands-by-country-main-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  gap: 64px;
}

.brands-by-country {
  display: flex;
  gap: 16px;
  width: 100%;
}

.single-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  border: 1px solid var(--neutral-18);

  padding: 24px;
  height: 198px;
}

.brand-country {
  font-weight: var(--bold);
  font-size: 24px;
  line-height: 32px;
  color: var(--brand-terracotta-02);
}

.brand-names {
  font-weight: var(--medium);
  font-size: 18px;
  line-height: 26px;
  color: var(--neutral-06);
}

.brand-logo {
  height: 32px;
}

.single-brand:hover {
  background-color: var(--brand-terracotta-02);
}

.single-brand:hover .brand-country,
.single-brand:hover .brand-names {
  color: var(--neutral-02);
}

.first-panels {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.production-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 64px;
}

.production-main-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: 1280px;
}

.production-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.production-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 640px;
}

.prod-subheading-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.production-subheading {
  font-weight: var(--semiBold);
  font-size: 32px;
  line-height: 40px;
  color: var(--brand-terracotta-02);
}

.production-top img {
  width: 317px;
}

.production-cards {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 40px;
}

.single-prod-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 28px;
  width: 100%;
  border: 1px solid var(--neutral-18);
  height: 244px;
}

.card-name {
  font-family: "Montserrat", sans-serif;
  font-weight: var(--bold);
  font-size: 24px;
  line-height: 32px;
  color: var(--brand-terracotta-02);
  flex-shrink: 0;
  letter-spacing: 0%;
}

.card-name span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.card-text {
  font-weight: var(--medium);
  font-size: 14px;
  line-height: 22px;
  color: var(--neutral-04);
}

.single-prod-card:hover {
  background-color: var(--neutral-02);
}

.single-prod-card:hover .card-text {
  color: var(--neutral-18);
}

.section-partners {
  padding-top: 120px;
  margin-top: 0;
}

.about-info-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 120px;
}

.about-info-main-container {
  display: flex;
  flex-direction: column;
  gap: 140px;
  width: 100%;
  max-width: 1280px;
}

.klinker-info-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
}

.klinker-info-cards {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}

.single-klinker-info-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: var(--neutral-18);
  padding: 40px 32px;
  width: 100%;
}

.klinker-info-heading-subheading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}

.klinker-info-heading {
  font-weight: var(--bold);
  font-size: 24px;
  line-height: 32px;
  color: var(--brand-terracotta-02);
}

.klinker-info-heading span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.klinker-subheading {
  font-weight: var(--medium);
  font-size: 14px;
  line-height: 22px;
  color: var(--neutral-04);
}

.klinker-card-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.klinker-card-img {
  max-width: 190px;
}

.klinker-card-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 350px;
  align-items: flex-start;
}

.klinker-card-heading-container {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  color: var(--neutral-02);
}

.klinker-card-heading-container img {
  width: 20px;
  height: 20px;
}

.klinker-card-divider {
  width: 100%;
  height: 1px;
  flex-shrink: 0;
  background-color: var(--neutral-16);
}

.service-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.prod-img {
  max-width: 560px;
}

.orange-text {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: var(--brand-terracotta-02);
}

.certificate-container {
  display: flex;
  gap: 48px;
}

.cert-img {
  max-width: 624px;
}

.reviews-section {
  padding-bottom: calc(178px - 116px);
}

.about-img-mobile {
  display: none;
}

.klinker-card-img-mobile {
  display: none;
}

.expand-card,
.collapse-card {
  display: none;
}

@media (max-width: 1380px) {
  .brands-by-country-main-container,
  .production-main-container,
  .about-info-section {
    max-width: unset;
    padding-inline: 48px;
  }
}

@media (max-width: 1080px) {
  .brands-by-country {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .production-cards {
    flex-direction: column;
    gap: 16px;
  }

  .single-prod-card {
    height: fit-content;
  }
  .cert-img,
  .prod-img {
    width: 50%;
  }

  .klinker-info-cards {
    flex-direction: column;
  }

  .project-details-main-container {
    flex-direction: column-reverse;
  }

  .about-img {
    display: none;
  }

  .about-img-mobile {
    display: block;
  }
}

@media (max-width: 970px) {
  .brands-by-country-main-container,
  .production-main-container,
  .about-info-section {
    padding-inline: 32px;
  }

  .about-img-mobile {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .brands-by-country-main-container,
  .production-main-container,
  .about-info-section {
    padding-inline: 20px;
  }

  .project-name-details {
    display: block;
    text-align: center;
  }

  .production-top img {
    display: none;
  }

  .production-top {
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .production-left {
    width: 100%;
    align-items: center;
  }

  .prod-subheading-text {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .production-subheading {
    text-align: center;
  }

  .project-details-description.prod {
    text-align: center;
  }

  .service-container {
    flex-direction: column;
    gap: 40px;
  }

  .production-left.mobile-left {
    align-items: flex-start;
  }

  .cert-img,
  .prod-img {
    width: 100%;
    max-width: unset;
  }

  .certificate-container {
    flex-direction: column-reverse;
  }
}

@media (max-width: 500px) {
  .brands-by-country-main-container,
  .production-main-container,
  .about-info-section {
    padding-inline: 16px;
  }

  .brands-by-country-section {
    padding-top: 48px;
  }

  .brands-by-country-main-container {
    gap: 80px;
  }

  .brands-by-country {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .single-brand {
    height: fit-content;
  }

  .brand-country {
    font-size: 20px;
    line-height: 20px;
  }

  .brand-names {
    font-size: 14px;
    line-height: 14px;
  }

  .project-name-details {
    font-size: 28px;
    line-height: 36px;
  }

  .production-left,
  .prod-subheading-text {
    gap: 16px;
  }

  .production-subheading {
    font-size: 20px;
    line-height: 28px;
  }

  .production-section,
  .section-partners,
  .about-info-section {
    padding-top: 80px;
  }

  .production-main-container {
    gap: 48px;
  }

  .prod-card-icon {
    width: 32px;
    height: 32px;
  }

  .card-name,
  .klinker-info-heading {
    font-size: 20px;
    line-height: 28px;
  }

  .klinker-card-img {
    display: none;
  }

  .klinker-card-img-mobile {
    display: flex;
    width: 100%;
  }

  .single-klinker-info-card {
    padding: 32px 24px;
  }

  .about-info-main-container {
    gap: 80px;
  }

  .production-left.mobile-left .main-button {
    margin-top: 16px;
  }

  .card-name {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .single-prod-card {
    gap: 20px;
    padding: 32px 20px;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    transition:
      gap 0.3s ease,
      background-color 0.3s ease,
      padding 0.3s ease,
      border-color 0.3s ease;
  }

  .single-prod-card:not(.collapsed) {
    background-color: var(--neutral-02);
  }

  .single-prod-card.collapsed {
    gap: 0;
    padding: 40px 20px;
    background-color: unset;
  }

  .collapse-card {
    display: flex;
  }

  .card-text {
    color: var(--neutral-18);
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
    overflow: hidden;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      transform 0.35s ease,
      color 0.3s ease;
  }

  .single-prod-card .prod-card-icon {
    max-height: 56px;
    opacity: 1;
    transform: translateY(0);
    transition:
      max-height 0.3s ease,
      opacity 0.2s ease,
      transform 0.3s ease,
      margin 0.3s ease;
  }

  .single-prod-card.collapsed .prod-card-icon,
  .single-prod-card.collapsed .card-text,
  .single-prod-card.collapsed .collapse-card {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .single-prod-card.collapsed .prod-card-icon {
    max-height: 0;
    margin: 0;
  }

  .single-prod-card.collapsed .card-text {
    max-height: 0;
    margin: 0;
  }

  .single-prod-card.collapsed .expand-card {
    display: flex;
  }

  .single-prod-card.collapsed .card-name {
    color: var(--neutral-02);
  }

  .klinker-info-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .single-klinker-info-card {
    gap: 32px;
    max-height: 1600px;
    padding: 32px 20px;
    border: 1px solid var(--neutral-18);
    background-color: var(--neutral-18);
    overflow: hidden;
    cursor: pointer;
    transition:
      max-height 0.4s ease,
      padding 0.3s ease,
      background-color 0.3s ease,
      border-color 0.3s ease;
  }

  .single-klinker-info-card.collapsed {
    padding: 54px 20px;
    background-color: transparent;
    border-color: var(--neutral-18);
  }

  .single-klinker-info-card.collapsed .klinker-info-heading {
    color: var(--neutral-02);
  }

  .single-klinker-info-card .collapse-card {
    display: flex;
  }

  .single-klinker-info-card .klinker-subheading,
  .single-klinker-info-card .klinker-card-container,
  .single-klinker-info-card .klinker-card-divider {
    overflow: hidden;
    opacity: 1;
    max-height: 1000px;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      margin 0.3s ease;
  }

  .single-klinker-info-card .klinker-card-divider {
    max-height: 1px;
  }

  .single-klinker-info-card.collapsed .collapse-card,
  .single-klinker-info-card.collapsed .klinker-subheading,
  .single-klinker-info-card.collapsed .klinker-card-divider,
  .single-klinker-info-card.collapsed .klinker-card-container {
    opacity: 0;
    pointer-events: none;
    display: none;
  }

  .single-klinker-info-card.collapsed .klinker-card-container,
  .single-klinker-info-card.collapsed .klinker-card-divider {
    max-height: 0;
    margin: 0;
  }

  .single-klinker-info-card.collapsed .klinker-subheading {
    max-height: 0;
    margin: 0;
  }

  .single-klinker-info-card.collapsed .expand-card {
    display: flex;
  }
}

@media (max-width: 400px) {
  .first-panels {
    max-height: 200px;
  }
}
