:root {
  --main: #5fa7a6;
  --dark: #222;
  --light: #f7f7f7;
}

html {
  scroll-behavior: smooth;
  background-color: var(--light);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

body {
  color: var(--dark);
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  font-size: 41px;
}

h2 {
  font-size: 41px;
  margin-bottom: 40px;
}

h3 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 15px;
}

p {
  font-size: 16px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 25px;
  }
  
  h2 {
    font-size: 25px;
    margin-bottom: 30px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  p {
    font-size: 16px;
  }
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo {
  height: 55px;
}

.logo-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav {
  max-width: 1200px;
  height: 10vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.burger {
  display: none;
  cursor: pointer;
  font-size: 30px;
  margin-top: -5px;
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    display: none;
    padding: 20px;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .burger {
    display: block;
  }
}

.hero {
  padding: 80px 15px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("hero.jpg") center/cover;
  color: #fff;
  height: 90vh;
  position: relative;
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.hero-inner h1,
.hero-inner p {
  margin: 20px 0;
}

.hero-inner p {
  font-size: 16px;
  max-width: 500px;
}

.hero-button {
  border-radius: 100vw;
  padding: 15px 30px;
  background: var(--main);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background: #4d8988;
}

section {
  padding: 80px 15px;
@media screen and (max-width: 768px) {
  padding: 40px 15px;
    
}
}

.container {
  max-width: 1200px;
  margin: auto;
}

.link-button {
  font-size: 16px;
  background: none;
  text-decoration: underline;
  border: none;
  margin-top: 15px;
  cursor: pointer;
  color: var(--dark);
  padding: 0;
}

.link-button:hover {
  color: var(--main);
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  border: 1px solid #eee;
  border-left: 4px solid var(--main);
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-title {
  display: block;
}

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

#projects {
  background: var(--light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  position: relative;
}

.project-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.project-title {
  display: block;
}

.project-content {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

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



.faq-list {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background: var(--main);
  border-radius: 10px;
  overflow: hidden;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.faq-question {
  cursor: pointer;
  font-weight: 500;
  padding: 22px 25px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  transition: color 0.3s ease, background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.faq-item.active {
  background: #fff;
  border: 1px solid #ddd;
}

.faq-item.active .faq-question {
  color: var(--dark);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  filter: none;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 25px 22px 25px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  color: var(--dark);
}

@media (max-width: 768px) {
  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }
  
  .faq-answer-content {
    padding: 0 20px 18px 20px;
    font-size: 15px;
  }

  .faq-icon {
    width: 14px;
    height: 14px;
  }
}

#contact {
  background: var(--light);
}
#contact h2 {
  text-align: center;
}
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

form {
  display: grid;
  gap: 25px;
  max-width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

input,
textarea {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--main);
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  background: var(--main);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.submit-button:hover {
  background: #4d8988;
}

@media (max-width: 768px) {
  .contact-wrapper {
    padding: 30px 20px;
  }
  
  form {
    gap: 20px;
  }
}

footer {
  background: white;
  padding: 50px 15px 0 15px;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

.footer-logo img {
  height: 60px;

}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-info p {
  font-size: 14px;
  margin: 0;
}

.footer-info strong {
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--main);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #222;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background: var(--main);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  margin: 0 -15px;
  padding: 20px 15px;
 
}

.footer-copyright p {
  font-size: 14px;
  text-align: center;
  margin: 0;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-info {
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.popup.active {
  display: block;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
}

.popup-close {
  position: sticky;
  float: right;
  top: 0;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--dark);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  background: var(--light);
}

.popup-close:hover {
  background: var(--dark);
  color: #fff;
}

.popup-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.popup-inner img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.popup-text {
  flex: 1;
}

.popup-text h3 {
  margin-bottom: 20px;
  font-size: 28px;
}

.popup-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.popup-text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.popup-text ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.project-popup-content .popup-inner {
  flex-direction: column;
}

.privacy-popup-content {
  max-width: 760px;
}

.privacy-popup-content .popup-inner {
  flex-direction: column;
  gap: 0;
}

.privacy-popup-content h2:first-child {
  font-size: 26px;
  margin-bottom: 24px;
}

.privacy-popup-content h2 {
  margin: 24px 0 8px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.privacy-popup-content ol,
.privacy-popup-content ul {
  padding-left: 20px;
  margin: 8px 0;
}

.privacy-popup-content li {
  margin-bottom: 6px;
  line-height: 1.7;
  font-size: 14px;
}

.privacy-popup-content p {
  margin: 8px 0;
  line-height: 1.7;
  font-size: 14px;
}

.privacy-popup-content a {
  color: inherit;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

.project-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f0f0f0;
}

@media (max-width: 768px) {
  .popup-content {
    padding: 30px 20px;
    width: 95%;
  }

  .popup-inner {
    flex-direction: column;
  }

  .popup-inner img {
    width: 100%;
  }

  .popup-text h3 {
    font-size: 22px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery img {
    height: auto;
  }
}