:root {
  --red: #f9032f;
  --black: #000000;
  --white: #ffffff;
  --gold: #d5a566; /* Added for hover states */
  --transition: all 0.3s ease-in-out;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Nunito", sans-serif;
}

.navbar {
  background: var(--black);
  height: 60px;
  padding: 0.5rem calc((100vw - 1200px) / 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar__logo {
  color: var(--white);
  text-decoration: none;
  padding-left: 1rem;
  font-size: 1.5rem;
}

.navbar__link {
  color: var(--white);
  text-decoration: none;
  padding: 0rem 1rem;
}

.navbar__link:hover {
  color: #d5a566;
}

/* mobile responsive */
@media screen and (max-width: 768px) {
  body.active {
    overflow-y: hidden;
    overflow-x: hidden;
  }

  .navbar__link {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar__menu {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 100px);
    position: absolute;
    width: 100%;
    top: -1000px;
  }

  .navbar__menu.active {
    top: 100%;
    opacity: 1;
    z-index: 99;
    height: 100vh;
    font-size: 1.5rem;
    background: var(--black);
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: var(--white);
    display: block;
    cursor: pointer;
  }

  #mobile-menu {
    position: absolute;
    top: 15%;
    right: 5%;
    transform: translate(5%, 20%);
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)),
    url("./images/background/seamless-background-cleaning-service-backdrop-services.webp");
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding: 0.5rem calc((100vw - 1200px) / 2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero__content {
  color:black;
  padding: 2rem;
  line-height: 1;
  max-width: 600px;
}

.hero__content h1 {
  font-size: clamp(2rem, 8vw, 7rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero__content p {
  font-size: clamp(1rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 1rem;
    justify-content: center;
    background-attachment: scroll;
  }

  .hero__content {
    text-align: center;
    padding: 1rem;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    min-height: 80vh;
  }

  .hero__content {
    padding: 1rem 0.5rem;
  }
}

.button {
  padding: 1rem 3rem;
  border: none;
  background: var(--red);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}

.button:hover {
  background: var(--black);
  transform: translateY(-2px);
}

@media screen and (max-width: 480px) {
  .button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Services section */
.services {
  padding: 8rem calc((100vw - 1200px) / 2);
}

.services__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem;
  gap: 2.5rem;
  align-items: start;
}

/* About page improvements: content readability and card styling */
.services__container > div {
  padding: 0.75rem 1rem;
}

.content-body {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.85);
  background: rgba(250,250,250,0.8);
  padding: 1.25rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(17,17,17,0.06);
}

.services .topline {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 0.6rem;
}

.hero__content h1 {
  letter-spacing: 2px;
  font-weight: 800;
}

.team__card img {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  max-width: 100%;
  height: auto;
  display: block;
}

.logo {
  display: block;
  margin: 1.25rem auto 0 auto;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

@media screen and (max-width: 900px) {
  .services__container {
    grid-template-columns: 1fr;
  }

  .content-body {
    background: transparent;
    box-shadow: none;
    padding: 0.5rem 0;
  }
}

.services__text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services__img-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.services__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.topline {
  color: var(--red);
  text-transform: uppercase;
  font-weight: bolder;
  margin-bottom: 0.5rem;
}

.services__heading {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 3rem);
}

.services__features {
  list-style: none;
}

.services__feature {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 5vw, 1.2rem);
  line-height: 1.6;
}

.fa-broom {
  margin-right: 0.5rem;
  color: var(--red);
}

@media screen and (max-width: 768px) {
  .services {
    padding: 4rem 1rem;
  }

  .services__container {
    grid-template-columns: 1fr;
    padding: 1rem 0;
  }
}

@media screen and (max-width: 480px) {
  .services {
    padding: 3rem 0.5rem;
  }

  .services__feature {
    margin-bottom: 1rem;
  }
}

/* Membership Sec */
.membership {
  background-color: var(--black);
  color: var(--white);
  padding: 6rem calc((100vw - 1100px) / 2);
  text-align: center;
}

.membership h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 3rem);
  padding: 0 1rem;
}

.membership__desc {
  margin-bottom: 3rem;
  font-size: clamp(1rem, 3vw, 1.5rem);
  padding: 1rem;
}

.membership__wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.membership__card {
  padding: 3rem;
  min-height: 420px;
  width: 350px;
  /* to change color */
  background: var(--white);
  color: var(--black);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.membership__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.membership__perks {
  min-height: 180px;
}

/* Make images inside perks/cards responsive and fit nicely */
.membership__perks img,
.membership__img-side img,
.team__card img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

/* Prevent blurring for portrait/profile images in team cards */
.team__card img {
  max-width: 220px;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
}

.membership__card p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 2.5rem;
  /* to change color */
  color: var(--red);
}

.membership__card h3 {
  font-size: clamp(1.2rem, 5vw, 2rem);
  margin-bottom: 2.5rem;
  font-weight: 700;
}

@media screen and (max-width: 1100px) {
  .membership__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .membership__card {
    width: 90%;
    margin-bottom: 2rem;
  }
}

/* Team Section */
.team {
  padding: 8rem calc((100vw - 1100px) / 2);
}

.team__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(auto, 350px);
}

.team__card {
  margin: 1rem;
  border-radius: 10px;
  position: relative;
}

.team__text {
  padding: 1rem;
}

.team__text h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.team__desc {
  font-size: clamp(1rem, 3vw, 1.3rem);
  line-height: 1.4;
}

.team__card p {
  position: absolute;
  bottom: 30px;
  color: var(--white);
  left: 25px;
  font-size: 3rem;
}

.team__img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.text__text:nth-child(1) {
  grid-row: 1 / 3;
  grid-column: 2 /3;
}

.team__text:nth-child(2) {
  grid-row: 5 /6;
  grid-column: 1 /2;
}

.team__card:nth-child(3) {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.team__card:nth-child(4) {
  grid-row: 2 / 4;
  grid-column: 2 / 3;
}

.team__card:nth-child(5) {
  grid-row: 3 / 5;
  grid-column: 1 / 2;
}

.team__card:nth-child(6) {
  grid-row: 4 / 6;
  grid-column: 2 / 3;
}

@media screen and (max-width: 768px) {
  .team__wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .team__text:nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 1 /2;
  }

  .team__text:nth-child(2) {
    grid-row: 6 / 7;
    grid-column: 1 /2;
  }

  .team__card:nth-child(3) {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
  }

  .team__card:nth-child(4) {
    grid-row: 4 / 5;
    grid-column: 1 / 2;
  }

  .team__card:nth-child(5) {
    grid-row: 5 / 6;
    grid-column: 1 / 2;
  }

  .team__card:nth-child(6) {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
}

/* Form Section */
.email {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.6) 35%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    url("./images/Logos/scm.jpg") no-repeat center;
  background-size: cover;
  height: 450px;
  width: 100%;
  padding: 5rem calc((100vw - 1300px) / 2);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.email__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email__content h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 5vw, 3rem);
  padding: 0.1rem;
}

.email__content p {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  padding: 0 1rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: rgb(225, 195, 155);
}

form {
  z-index: 10;
}

.form__wrap input {
  padding: 1rem 1.5rem;
  outline: none;
  width: 350px;
  height: 50px;
  border: none;
  margin-right: 1rem;
  border-radius: 4px;
}

/* Quote / Booking form styles */
.quote {
  margin: 2rem 0 1.5rem 0;
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.03);
}

.quote h2 {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.quote-form .quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="date"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.95);
}

.quote-form textarea { resize: vertical; }

.form-actions { margin-top: 0.5rem; }

@media screen and (max-width: 820px) {
  .quote-form .quote-grid { grid-template-columns: 1fr; }
}

/* Additional mobile responsiveness improvements */
@media screen and (max-width: 820px) {
  .membership__wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }

  .membership__card {
    width: 100%;
    padding: 1.5rem;
    min-height: auto;
  }

  .membership__card .card-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  .quote {
    padding: 1rem;
  }

  .quote-form .quote-grid { grid-template-columns: 1fr; }
  .quote-form input,
  .quote-form select,
  .quote-form textarea { width: 100%; }

  .button { width: 100%; }

  .footer {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 1rem;
  }

  .footer__wrapper {
    grid-template-columns: 1fr;
  }

  .footer__links { padding: 1rem; }

  .social-icons { gap: 0.6rem; }
  .social-icon { width: 36px; height: 36px; font-size: 1rem; }
}

@media screen and (max-width: 480px) {
  .membership__card { padding: 1rem; }
  .quote h2 { font-size: 1rem; }
  .quote-form textarea { font-size: 0.95rem; }
  .footer__desc h1 { font-size: 1.1rem; }
  .footer__title { font-size: 13px; }
  .social-icon { width: 34px; height: 34px; }
  .hero { padding: 1rem; }
}

@media screen and (max-width: 768px) {
  .form__wrap {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
  }

  .form__wrap input {
    margin-bottom: 1rem;
    width: 100%;
    margin-right: 0;
  }

  .button {
    width: 100%;
    min-width: 350px;
  }
}

@media screen and (max-width: 400px) {
  button {
    width: 100%;
    min-width: 250px;
  }
}

/* Footer Section */
.footer {
  padding: 4rem calc((100vw -1100px) / 2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  color: var(--white);
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  gap: 3rem;
}

.footer__desc {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
  border: 3px solid rgba(255,255,255,0.03);
}

.footer__desc h1 {
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__desc p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

#phone {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

#email {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

#email a {
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease-in-out;
}

#email a:hover {
  color: var(--white);
}

/* Phone link styling: match email styles with hover & focus states */
#phone a {
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

#phone a:hover,
#phone a:focus {
  color: var(--white);
  transform: translateX(4px);
}

#phone a:focus {
  outline: 2px solid rgba(213,165,102,0.22);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
  gap: 0.6rem; /* even spacing between title and links */
}

.footer__links:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Make footer panels share the same interactive effects */
.footer__desc:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.copyright-wrapper {
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
  border: 3px solid rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright-wrapper:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
}

.footer__link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease-in-out;
  position: relative;
  padding-bottom: 0.25rem;
}

.footer__link:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

@media screen and (max-width: 820px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem calc((100vw - 100px) / 2);
  }

  .footer__wrapper {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 400px) {
  .footer {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .footer__desc {
    padding: 1.5rem;
  }

  .footer__links {
    padding: 1.5rem;
  }

  .social-icons {
    gap: 0.8rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease-in-out;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(213, 165, 102, 0.1);
}

.social-icon.facebook:hover {
  color: #1877f2;
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
}

.social-icon.whatsapp:hover {
  color: #25d366;
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

.social-icon.instagram:hover {
  color: #e1306c;
  border-color: #e1306c;
  background: rgba(225, 48, 108, 0.1);
}

.social-icon.tiktok:hover {
  color: #000000;
  border-color: #000000;
  background: rgba(0, 0, 0, 0.1);
}

.logo {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

/* Animation Classes */
.animation-hero,
.animation-services,
.animation-card,
.animation-team,
.animation-email,
.animation-img {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional Layout Classes */

/* Mobile responsiveness: global adjustments */
@media screen and (max-width: 900px) {
  .hero {
    min-height: 60vh;
    padding: 1rem;
    background-attachment: scroll;
  }

  .hero__content h1 {
    font-size: clamp(1.6rem, 8vw, 3.4rem);
  }

  .services__container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0.75rem;
  }

  .membership__wrapper,
  .team__wrapper {
    padding: 1rem 0;
  }

  .team__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .membership__card {
    width: 100%;
  }

  .button {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .content-body {
    padding: 0.9rem 0.9rem;
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 768px) {
  .navbar__logo { font-size: 1.1rem; }
  .navbar__link { font-size: 0.95rem; padding: 0.5rem 0.75rem; }

  .hero__content { text-align: center; }
  .hero__content p { margin-bottom: 1.25rem; }

  .team__card img,
  .membership__perks img,
  .services__img {
    max-width: 100%;
    height: auto;
  }

  .footer__wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer__links {
    padding: 1rem;
  }

  .footer__desc { padding: 1rem; }
}

@media screen and (max-width: 480px) {
  html, body { -webkit-text-size-adjust: 100%; }

  .hero {
    min-height: 50vh;
    padding: 0.75rem;
  }

  .hero__content h1 { font-size: 1.8rem; }

  .button { padding: 0.8rem; font-size: 0.95rem; }

  .services__feature { font-size: 1rem; }

  .footer__links { padding: 0.75rem; }

  .footer__title { font-size: 13px; }

  .copyright-wrapper { padding: 0.75rem; font-size: 0.95rem; }
}

@media screen and (max-width: 360px) {
  .hero__content h1 { font-size: 1.6rem; }
  .hero__content p { font-size: 1rem; }
}

/* Desktop enhancements for wide screens */
@media screen and (min-width: 1100px) {
  .navbar {
    padding: 0.75rem calc((100vw - 1200px) / 2);
  }

  .navbar__logo {
    font-size: 1.9rem;
    padding-left: 1.5rem;
  }

  .navbar__menu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
  }

  .navbar__link {
    padding: 0 1rem;
    font-size: 1.05rem;
  }

  .hero {
    height: 90vh;
    align-items: center;
    padding: 0;
  }

  .hero__content {
    max-width: 900px;
    padding-left: 4rem;
    color: var(--white);
  }

  .hero__content h1 {
    font-size: clamp(3rem, 4.5vw, 6rem);
    letter-spacing: 2px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.55);
  }

  .hero__content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
  }

  .services__container {
    grid-template-columns: 1fr 520px;
    gap: 3rem;
    align-items: center;
  }

  .content-body {
    font-size: 1.08rem;
    padding: 1.5rem;
  }

  .team__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer {
    grid-template-columns: repeat(4, 1fr);
    padding: 4rem calc((100vw - 1200px) / 2);
    gap: 2.5rem;
  }

  .footer__wrapper {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer__desc {
    grid-column: 1 / 2;
    padding: 2.25rem;
  }

  .footer__links {
    padding: 1.75rem;
    min-height: 160px;
  }

  .footer__links .footer__link {
    margin-bottom: 0.9rem;
    display: block;
  }

  .copyright-wrapper {
    grid-column: 3 / 5;
    align-self: end;
    justify-self: center;
    padding: 1rem 1.25rem;
    min-width: 280px;
  }

  .social-icons { margin-top: 1rem; }
}
.services__text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services__img-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form {
  padding: 6rem calc((100vw - 1200px) / 2);
  background: #f8f9fa;
}

.form__desc {
  text-align: center;
  margin-bottom: 3rem;
}

.form__desc h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--black);
}

.form__desc p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact__form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form__group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form__group label {
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--black);
  font-size: 1rem;
}

.form__group input,
.form__group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(249, 3, 47, 0.1);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #999;
}

.form__group textarea {
  resize: vertical;
  min-height: 150px;
}

.form__submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
}

.form__submit:hover {
  background: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .form {
    padding: 4rem 1rem;
  }

  .contact__form {
    padding: 2rem;
  }

  .form__group {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .form {
    padding: 3rem 0.5rem;
  }

  .contact__form {
    padding: 1.5rem;
  }

  .form__group input,
  .form__group textarea {
    font-size: 16px;
  }

  .form__submit {
    padding: 0.8rem;
    font-size: 1rem;
  }
}

.form__desc h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--black);
}

.form__desc p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact__form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form__group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form__group label {
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--black);
  font-size: 1rem;
}

.form__group input,
.form__group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(249, 3, 47, 0.1);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #999;
}

.form__group textarea {
  resize: vertical;
  min-height: 150px;
}

.form__submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
}

.form__submit:hover {
  background: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .form {
    padding: 4rem calc((100vw - 95vw) / 2);
  }

  .contact__form {
    padding: 2rem;
  }

  .form__group {
    margin-bottom: 1.5rem;
  }
}
