/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.body-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}

.body-text div {
  font-size: 45px;
  font-weight: 600;
}

.hero {
  background-color: #3A3B3C;
}

.hero .hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/att.hDKc5WZBq9pdQ5f7uCRFMt7yGgHt1T5oEIxslVE6F5E.jpeg");
  margin: 0 auto;
  height: 30em;
  max-width: 1920px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero .hero-text {
  text-align: center;
  position: absolute;
  top: 35%;
  left: 30%;
  transform: translate(-60%, -70%);
  color: white;
}

.hero-text h1 {
  padding: 0.5em;
  margin-bottom: 1em;
}

.hero-text h2 {
  margin-bottom: 2em;
}

.hero-text a {
  text-decoration: none;
  padding: 1em 1.5em;
  font-size: 16px;
  margin: 1em;
  border-radius: 12px;
}

.hero-text .choose {
  background-color: #2392ad;
  color: white;
}

@media screen and (max-width: 970px) {
  .hero .hero-text {
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Info Section */
.info-container {
  width: 100%;
  margin-top: 1em;
}

.info {
  max-width: 1200px;
  border: 2px solid #bfbfbf;
  margin: 0 auto;
  border-radius: 5px;
  padding: 1em;
  display: flex;
  justify-content: space-between;
}

.info-image {
  width: 40%;
}

.info-image img {
  width: 100%;
}

.info-text {
  width: 60%;
  padding-left: 1em;
}

.info-text h2 {
  font-weight: 300;
  color: #3A3B3C;
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.info-text p {
  font-size: 20px;
  color: #3A3B3C;
}

.info-text a {
  text-decoration: none;
  padding: 0.5em 1em;
  font-size: 16px;
  margin: 1em;
  border-radius: 12px;
  background-color: #2392ad;
  color: white;
  float: right;
}

@media screen and (max-width: 970px) {
  .info {
    flex-direction: column;
  }
  .info-text,
  .info-image {
    width: 100%;
    max-width: 100%;
    padding-bottom: 0.5em;
  }
}

/* Content */
main {
  padding: 2em;
}

.infoLine {
  padding: 1em;
  font-size: 20px;
}

.infoLine h3 {
  color: #3A3B3C;
  text-decoration: underline;
  text-decoration-color: #2392ad;
  transition: text-decoration-color 0.5s;
  font-weight: 600;
}

.infoLine h3:hover {
  text-decoration-color: #b4d3de;
}

.infoContainer {
  display: flex;
  background-color: #f9f9f3;
  border-radius: 12px;
  max-width: 1400px;
  margin: 2em auto;
  padding: 2em;
  gap: 2em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.information {
  flex: 2;
}

.information h1 {
  color: #3A3B3C;
  font-size: 2rem;
  margin-bottom: 1em;
  font-weight: 600;
  line-height: 1.4;
}

.pContainer {
  max-width: 1000px;
}

.pContainer p {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2em;
}

.pContainer h3 {
  font-size: 1.3rem;
  margin: 1em 0 0.5em 0;
  color: #2392ad;
  font-weight: 600;
  position: relative;
}

.pContainer h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #2392ad;
  margin-top: 6px;
  border-radius: 2px;
}

.pContainer ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.pContainer ul li {
  margin: 0.6em 0;
  padding-left: 1.8em;
  position: relative;
  font-size: 1.05rem;
  color: #3A3B3C;
}

.pContainer ul li::before {
  content: "✔";
  color: #2392ad;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.call-to-action {
  font-size: 1.15rem;
  font-weight: 600;
  color: #242526;
  background: #ffd700;
  display: inline-block;
  padding: 0.6em 1em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.call-to-action:hover {
  background: #f5c400;
  transform: scale(1.05);
}

.call-to-action a {
  color: #242526;
  text-decoration: none;
}

/* Контактна кутия вдясно */
.workTime {
  flex: 1;
  background-color: #edede4;
  border-radius: 12px;
  padding: 1.5em;
}

.workTime h2 {
  font-weight: 500;
  font-size: 1.6rem;
  color: #3A3B3C;
  margin-bottom: 0.8em;
}

.workTime p {
  font-size: 1rem;
  margin-bottom: 0.6em;
}

.workTime .address {
  color: #2392ad;
}

.workTime .email {
  color: #07498b;
}

.workTime .phoneNumber {
  color: #eb3737;
}

.workTime h3 {
  font-size: 1.2rem;
  margin-top: 1em;
  color: #3A3B3C;
}

.workingTime {
  color: #3A3B3C;
  font-size: 1rem;
}

/* Responsive */
@media screen and (max-width: 970px) {
  .infoContainer {
    flex-direction: column;
    padding: 1.5em;
  }

  .information h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .pContainer h3 {
    text-align: center;
  }

  .workTime {
    margin-top: 2em;
  }
}

/* Footer */
footer {
  background: linear-gradient(to right, #1e1f21, #2d2f31);
  color: #fff;
  font-family: Arial, sans-serif;
  box-shadow: inset 0 6px 12px rgba(0,0,0,0.6);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3em;
  padding: 3em 1em;
  max-width: 1200px;
  margin: 0 auto;
}

.foot h1 {
  font-size: 1.3rem;
  margin-bottom: 1em;
  color: #ffd700;
  position: relative;
}

.foot h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #ffd700;
  margin-top: 6px;
  border-radius: 2px;
}

.foot ul {
  list-style: none;
  padding: 0;
}

.foot li {
  margin-bottom: 0.8em;
}

.foot a {
  text-decoration: none;
  color: #d9d9d9;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.foot a:hover {
  color: #fff;
  padding-left: 5px;
}

.foot i {
  color: #ffd700;
  margin-right: 8px;
}

/* Social Icons */
.foot ul li a i.fa-brands {
  background: #333;
  border-radius: 50%;
  padding: 8px;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.foot ul li a i.fa-brands:hover {
  background: #ffd700;
  color: #242526;
  transform: scale(1.1);
}

/* Bottom Footer */
.bottom-footer-container {
  border-top: 1px solid rgba(255,255,255,0.2);
  background-color: #1a1a1a;
  padding: 1em 0;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* Contact */
.contactContainer {
  background-color: #d9d9d9;
  display: flex;
  justify-content: space-between;
  border-radius: 12px;
  margin: 0 auto;
}

.contactInformation h2,
.contactInformation h3 {
  color: #3A3B3C;
  font-size: 30px;
  padding: 0.5em;
  font-weight: 500;
}

.contactInformation p {
  font-size: 19px;
  padding: 0.5em;
  font-weight: 500;
  color: #678899;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .infoContainer {
    flex-direction: column;
  }
}
