@import url("https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap");

/* Base Typography & Reset */
html {
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body,
* {
  font-family: "Tinos", serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: whitesmoke;
}

/* Font Utility Classes */
.tinos-regular {
  font-weight: 400;
  font-style: normal;
}
.tinos-bold {
  font-weight: 700;
  font-style: normal;
}
.tinos-regular-italic {
  font-weight: 400;
  font-style: italic;
}
.tinos-bold-italic {
  font-weight: 700;
  font-style: italic;
}

/* Header & Navigation */
header {
  background-color: whitesmoke;
}

nav {
  width: 100%;
  box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.205);
  padding: 5px 0;
}

.nav-list {
  display: flex;
  align-items: center;
  padding: 1rem;
}

ul {
  list-style-type: none;
}

.nav-list li {
  list-style: none;
  padding: 3px;
  margin-left: 2.5rem;
  white-space: nowrap;
}

.nav-list li.logo {
  margin-left: 0;
  margin-right: auto;
}

.nav-list a {
  text-decoration: none;
  color: rgb(35, 35, 35);
  font-size: 1.2rem;
  transition: 0.3s;
  padding-bottom: 10px;
}

.nav-list li:not(.logo) a:hover {
  color: rgb(255, 139, 23);
  border-bottom: 1px solid #ff4d4d;
}

.logo img {
  height: 50px;
  width: 50px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

.contact-btn a {
  font-size: 1.1875rem;
  background-color: rgb(246, 101, 100);
  border-radius: 5px;
  padding: 15px;
  color: white;
  transition: 0.3s;
}

.contact-btn:hover a {
  cursor: pointer;
  color: black !important;
  background-color: #ffa638;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url(./images/hero-pexels-shvets-production-7176319.jpg)
    center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.551);
  z-index: 0;
}

.hero-section * {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  margin: 2rem 0;
  color: whitesmoke;
  font-size: clamp(2rem, 5vw, 3.3rem);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.588);
}

h2 {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.5rem, 2.5vw, 3rem);
}

h3 {
  margin-bottom: 35px;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin: 0;
}

.hero-section p {
  width: 90%;
  max-width: 600px;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  color: whitesmoke;
  text-align: left;
}

/* CTA Button */
.cta-btn {
  margin: 3rem 0 2rem;
  font-size: 1.5rem;
  background-color: rgb(246, 101, 100);
  border-radius: 5px;
  padding: 20px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background-color: #ffa638;
  color: black;
}

/* Mission Section */
.mission-section {
  background: url(./images/mission-background.png) center/cover no-repeat;
  padding: 4rem 2rem;
  overflow: hidden;
}

.mission-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 3rem;
}

/* .mission-content img {
  width: 100%;
  max-width: 450px;
  height: 450px;
  border-radius: 20px;
} */

.mission-paragraphs {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
}

.mission-paragraphs p {
  text-align: left;
  padding-bottom: 2rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 2;
  max-width: 900px;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background: url(./images/services-background.png) center/cover no-repeat;
  color: whitesmoke;
}

.services-title {
  margin-bottom: 3rem;
}

.services-content {
  margin: 0 auto;
  max-width: 1500px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.services-section p {
  font-size: 1.3125rem;
  line-height: 2.2;
  padding: 15px 0;
  text-align: left;
  width: 5520px;
}

.service-card {
  flex: 1 1 300px;
  max-width: 400px;
  margin: 2rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.card-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  margin-bottom: 1rem;
  text-align: left;
}

.service-card p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
  max-width: 100%;
}

.service-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
}

/* Footer Section */
.footer-section {
  background: rgb(45, 45, 45);
  border-top: 1px solid rgba(150, 150, 150, 0.538);
  color: rgba(195, 195, 195, 0.513);
  padding-bottom: 3rem;
  text-align: left;
}

.footer-section h2 {
  margin: 4rem 0 2rem;
  font-size: clamp(1.1rem, 2.1vw, 2.5rem);
}

.footer-section p {
  margin: 2rem 0;
  font-size: 1.1875rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-social img {
  filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(747%)
    hue-rotate(330deg);
  transition: 0.5s;
}

.footer-social img:hover {
  filter: brightness(0) saturate(100%) invert(70%) sepia(90%) saturate(747%)
    hue-rotate(330deg);
  transition: 0.3s;
}

.footer-lists {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.footer-list {
  display: flex;
  flex-direction: column;
}

.footer-list li {
  margin: 8px 0;
}

.footer-list a {
  color: rgba(195, 195, 195, 0.513);
}

.footer-copyright {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-lists {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  /* html {
    min-width: fit-content;
  }
  */

  .hero-section h1 {
    margin: 1rem 0;
  }

  .hero-section p {
    line-height: 1.5;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  .mission-content {
    flex-direction: column;
    align-items: center;
  }

  .services-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .service-card {
    max-width: 100%;
    margin: 1rem 0;
    padding: 1rem;
  }

  .card-title {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
  }

  .service-card p {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .footer-section h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .footer-section p {
    font-size: 1rem;
  }
}
