/* Fonts */
@font-face {
  font-family: "Popins";
  src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Popins";
  src: url("../fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Popins";
  src: url("../fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

:root {
  /* Основные цвета */
  --color-1: #7b7bb8;
  --color-2: #d1d88f;
  --color-3: #1d837e;
  --color-4: #99c533;

  --primary: #968ecf;
  --secondary: #6c8a92;
  --dark: #2d3436;
  --light: #f5f6fa;
  --accent: #fd79a8;
  --radius-lg: 24px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Шрифты */
  --font1: "Popins", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: var(--font1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
  font-family: var(--font1);
}

h1 {
  font-size: 60px;
  line-height: 1;
  font-weight: 600;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

iframe {
  border: 0;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  font-family: var(--font1);
}

img {
  max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

a {
  transition: 0.2s;
}

/*---------------------
  Helper CSS
-----------------------*/

.container {
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}

.row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.jcc {
  justify-content: center;
}

.d-none {
  display: none !important;
}

.mt {
  margin-top: 1rem;
}

section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.grid {
  display: grid;
  gap: 0.4rem;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 44px;
  }
  .row {
    flex-wrap: wrap;
  }
  section,
  .py {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  html,
  body {
    font-size: 14px;
  }
}

.header {
  position: absolute;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 16px 0;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  text-decoration: none;
  color: var(--color-1);
}

.header__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-1);
}
.header__title span {
  color: var(--color-3);
}

.header__subtitle {
  margin: 5px 0 0;
  font-size: 14px;
  color: #777;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  padding: 0.4rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  color: var(--color-3);
  border-radius: 6px;
}

.header__contacts {
  display: flex;
  align-items: center;
}

.header__phone {
  margin-right: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.button {
  padding: 4px 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--color-2);
  color: var(--color-2);
  letter-spacing: 1.2px;
  transition: 0.2s;
  font-size: 1.4rem;
}
.button:hover {
  opacity: 0.8;
}

.button--secondary {
  background-color: #e74c3c;
  color: white;
  border: none;
}

.button--secondary:hover {
  background-color: #c0392b;
}

.button--primary {
  display: table;
  margin-inline: auto;
  color: var(--color-3);
  background: var(--color-1);
}

/* Footer Styles */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__brand-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer__brand-logo:hover {
  color: var(--secondary);
}

.footer__brand-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer__section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-style: normal;
}

.footer__contacts-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1.6;
}

.footer__contacts-link:hover {
  color: var(--secondary);
}

.footer__icon {
  flex-shrink: 0;
}

.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer__links-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer__links-link:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer__legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer__legal-link:hover {
  color: var(--secondary);
}

.footer__legal-separator {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__section {
    gap: 1rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer__legal-links {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
}

/* Intro Block */
.intro {
  position: relative;
  max-height: 800px;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  color: #ffffff;
}

.intro--steel-frame {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/music-store-bg.jpg") no-repeat center center;
  background-size: cover;
}

.intro._catalog {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/music-store-bg2.jpg") no-repeat center center;
  background-size: cover;
}

.intro._about {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/music-store-bg3.jpg") no-repeat center center;
  background-size: cover;
}
.intro._contact {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/music-store-bg4.jpg") no-repeat center center;
  background-size: cover;
}

.intro__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 40, 40, 0.4);
}

.intro__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.intro__title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f8f8f8;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro__subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.intro__text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.intro__actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.intro__button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.intro__button--primary {
  background-color: #e74c3c;
  color: white;
  border: 2px solid #e74c3c;
}

.intro__button--primary:hover {
  background-color: #c0392b;
  border-color: #c0392b;
}

.intro__button--secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.intro__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .intro__title {
    font-size: 3rem;
  }

  .intro__subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .intro__title {
    font-size: 2.2rem;
  }

  .intro__actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .intro__button {
    width: 100%;
    text-align: center;
  }
}

/* Why Us Block */
.why-us {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.why-us__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #222;
}

.why-us__subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Benefit Card Block */
.benefit-card {
  background: white;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f7ff;
  border-radius: 50%;
}

.benefit-card__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.benefit-card__title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.benefit-card__text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .why-us__title {
    font-size: 2rem;
  }
}

/* Products Block */
.products {
  padding: 4rem 0;
  background-color: white;
}

.products__title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.products__subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.products__filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.products__filter-btn {
  padding: 0.6rem 1.2rem;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.products__filter-btn:hover {
  background: #f5f5f5;
}

.products__filter-btn--active {
  background: #2c3e50;
  color: white;
  border-color: #2c3e50;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Product Card Block */
.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.product-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.product-card__content {
  padding: 1.2rem;
}

.product-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
}

.product-card__category {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.8rem;
}

.product-card__rating {
  color: #f39c12;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.product-card__reviews {
  color: #777;
  font-size: 0.8rem;
}

.product-card__price {
  margin-bottom: 1.2rem;
}

.product-card__price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.product-card__price-original {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.product-card__btn {
  width: 100%;
  padding: 0.7rem;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.product-card__btn:hover {
  background: #1a252f;
}

.products__footer {
  text-align: center;
  margin-top: 2rem;
}

.products__view-all {
  padding: 0.8rem 2rem;
  background: transparent;
  color: #2c3e50;
  border: 2px solid #2c3e50;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.products__view-all:hover {
  background: #2c3e50;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products__grid {
    grid-template-columns: 1fr;
  }

  .products__title {
    font-size: 1.8rem;
  }
}

/* Reviews Block */
.reviews {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.reviews__title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.reviews__subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Review Card Block */
.review-card {
  background: white;
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-card__header {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.review-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid #f1f1f1;
}

.review-card__user {
  flex: 1;
}

.review-card__name {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: #2c3e50;
}

.review-card__role {
  font-size: 0.85rem;
  color: #95a5a6;
  margin: 0;
}

.review-card__rating {
  color: #f39c12;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-card__date {
  font-size: 0.8rem;
  color: #bdc3c7;
  margin: 0;
}

/* Reviews Controls */
.reviews__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.reviews__control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #7f8c8d;
}

.reviews__control:hover {
  background: #2c3e50;
  color: white;
  border-color: #2c3e50;
}

.reviews__pagination {
  display: flex;
  gap: 0.8rem;
}

.reviews__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.reviews__dot--active {
  background: #2c3e50;
}

.reviews__dot:hover {
  background: #95a5a6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .reviews__title {
    font-size: 1.9rem;
  }

  .review-card {
    padding: 1.5rem;
  }
}

/* FAQ Block */
.faq {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.faq__title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.faq__subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.faq__accordion {
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Accordion Item Block */
.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-item__header {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background: white;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-item__header:hover {
  background: #f5f5f5;
}

.accordion-item__header[aria-expanded="true"] {
  background: #2c3e50;
  color: white;
}

.accordion-item__header[aria-expanded="true"] .accordion-item__icon::after {
  transform: rotate(90deg);
}

.accordion-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 1rem;
}

.accordion-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion-item__icon::before,
.accordion-item__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.accordion-item__icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-item__icon::after {
  width: 3px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%) rotate(0deg);
}

.accordion-item__header[aria-expanded="true"] .accordion-item__icon::before,
.accordion-item__header[aria-expanded="true"] .accordion-item__icon::after {
  background-color: white;
}

.accordion-item__content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: white;
}

.accordion-item__content p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  line-height: 1.6;
  color: #34495e;
}

.accordion-item__content a {
  color: #3498db;
  text-decoration: none;
}

.accordion-item__content a:hover {
  text-decoration: underline;
}

.accordion-item__header[aria-expanded="true"] + .accordion-item__content {
  max-height: 500px;
  padding: 0;
}

.faq__footer {
  text-align: center;
  margin-top: 3rem;
}

.faq__help-text {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}

.faq__contact-link {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #2c3e50;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq__contact-link:hover {
  background: #1a252f;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq {
    padding: 3rem 0;
  }

  .faq__title {
    font-size: 2rem;
  }

  .accordion-item__header {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .faq__title {
    font-size: 1.8rem;
  }

  .faq__subtitle {
    font-size: 1rem;
  }

  .accordion-item__title {
    font-size: 1rem;
  }
}

/* About Us Block */
.about {
  padding: 5rem 0;
  background-color: white;
}

.about__header {
  text-align: center;
  margin-bottom: 3rem;
}

.about__title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.about__subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin: 0;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about__text {
  padding-right: 2rem;
}

.about__heading {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.about__text p {
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 1.5rem;
}

/* Stats Grid */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.stat-card__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.3rem;
}

.stat-card__label {
  font-size: 0.9rem;
  color: #7f8c8d;
}

/* Gallery Grid */
.about__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.05);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
}

/* Gallery Item Sizes */
.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

/* Mission Section */
.about__mission {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.about__mission-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.about__mission-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 2rem;
}

.about__button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: #2c3e50;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.about__button:hover {
  background: #1a252f;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .about__content {
    grid-template-columns: 1fr;
  }

  .about__text {
    padding-right: 0;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .about__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .about__mission {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .about__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__title {
    font-size: 2rem;
  }

  .about__heading {
    font-size: 1.5rem;
  }

  .about__mission {
    padding: 1.5rem;
  }
}

/* Team Block */
.team {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.team__header {
  text-align: center;
  margin-bottom: 3rem;
}

.team__title {
  font-size: 2.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.team__subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin: 0;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

/* Team Card Block */
.team-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.team-card__image {
  height: 250px;
  overflow: hidden;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__img {
  transform: scale(1.05);
}

.team-card__info {
  padding: 1.5rem;
  text-align: center;
}

.team-card__name {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.team-card__position {
  font-size: 0.9rem;
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: #7f8c8d;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .team__grid {
    grid-template-columns: 1fr;
  }

  .team__title {
    font-size: 1.8rem;
  }

  .team-card__image {
    height: 200px;
  }
}

.contact-form {
  background-color: white;
}

.contact-form__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form__info {
  padding-right: 40px;
}

.contact-form__title {
  font-size: 2.5rem;
  color: #2c2c2c;
  margin-bottom: 15px;
}

.contact-form__subtitle {
  color: var(--color-1);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-methods {
  display: grid;
  gap: 30px;
}

.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 24px;
  height: 24px;
  fill: var(--color-2);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-method h3 {
  font-size: 1.1rem;
  color: #2c2c2c;
  margin-bottom: 5px;
}

.contact-method a,
.contact-method address {
  color: var(--color-1);
  text-decoration: none;
  font-style: normal;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.contact-method a:hover {
  color: var(--color-2);
}

.form {
  display: grid;
  gap: 20px;
}

.form__group {
  position: relative;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c2c2c;
}

.form__label:after {
  content: "*";
  color: var(--color-2);
  margin-left: 4px;
  opacity: 0;
}

.form__label[required]:after {
  opacity: 1;
}

.form__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-2);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  display: block;
  color: var(--color-2);
  font-size: 0.8rem;
  margin-top: 5px;
  height: 18px;
}

.button--block {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  color: #fff;
}

@media (max-width: 992px) {
  .contact-form__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form__info {
    padding-right: 0;
    text-align: center;
  }

  .contact-methods {
    justify-content: center;
    margin-bottom: 40px;
  }

  .contact-method {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 60px 0;
  }

  .contact-form__title {
    font-size: 2rem;
  }
}

/* Header Styles */
.policy-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.policy-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.policy-header p {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Navigation */
.policy-nav {
  background-color: var(--light-gray);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.policy-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.policy-nav li {
  margin: 0 1rem;
}

.policy-nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.policy-nav a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Main Content */
.policy-main {
  padding: 10rem 0 2rem;
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --medium-gray: #e0e0e0;
  --dark-gray: #7f8c8d;
  --white: #ffffff;
}

.policy-section {
  margin-bottom: 3rem;
  padding: 0;
  border-bottom: 1px solid var(--medium-gray);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0 0 0 1rem;
  color: var(--primary-color);
}

.policy-section h3 {
  color: var(--secondary-color);
  margin: 1.5rem 0 1rem;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.policy-table th,
.policy-table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--medium-gray);
}

.policy-table th {
  background-color: var(--primary-color);
  color: var(--white);
}

.policy-table tr:nth-child(even) {
  background-color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .policy-header h1 {
    font-size: 2rem;
  }

  .policy-header p {
    font-size: 1rem;
  }

  .policy-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .policy-nav li {
    margin: 0.25rem 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header h2 {
    margin: 0.5rem 0 0;
  }
}

@media (max-width: 480px) {
  .payment-methods {
    grid-template-columns: 1fr;
  }
}

/* === Header === */
.terms-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
}

.terms-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.terms-header p {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* === Main Content === */
.terms-content {
  background: var(--white);
  padding: 10rem 0 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-section {
  margin-bottom: 2.5rem;
  padding: 0;
}

.terms-section h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.terms-section h3 {
  color: var(--secondary);
  margin: 1.5rem 0 1rem;
  font-size: 1.3rem;
}

.terms-section p,
.terms-section li {
  margin-bottom: 1rem;
}

.terms-section ul {
  padding-left: 1.5rem;
}

.highlight-box {
  background-color: var(--light-bg);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  margin: 1.5rem 0;
}

/* === Footer === */
.terms-footer {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--gray);
}

/* === Responsive === */
@media (max-width: 768px) {
  .terms-header h1 {
    font-size: 2rem;
  }

  .terms-header p {
    font-size: 1rem;
  }

  .terms-section h2 {
    font-size: 1.5rem;
  }
}

/* Thank You Section Styles */
.thank-you {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.thank-you__content {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.thank-you__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 20px;
}

.thank-you__subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 25px;
}

.thank-you__icon {
  font-size: 3rem;
  margin: 20px 0;
}

.thank-you__message {
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.thank-you__actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}
