html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: #0d3b2e;
  color: #f0f0f0;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
body.light {
  background: #f0f0f0;
  color: #111;
}
.toggle-theme {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  background: rgba(0, 255, 174, 0.1);
  border: 1px solid #00ffae;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.toggle-theme:hover {
  background: #00ffae;
  transform: scale(1.1);
}
.toggle-theme img {
  width: 32px;
  height: 32px;
  pointer-events: none;
}
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #093026;
  transition: background 0.3s;
}
body.light .hero {
  background: rgb(0, 81, 55);
}
.hero img.profile {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #00ffae;
  box-shadow: 0 0 30px #00ffaeaa;
  object-fit: cover;
}
.hero h1 {
  font-size: 3rem;
  color: #9be2b4;
  margin-top: 1rem;
}
.hero p {
  font-size: 1.2rem;
  color: #c6f5e0;
}
body.light .hero h1,
body.light .hero p {
  color: #ffffff;
}
.nav {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 1rem;
  z-index: 999;
}
.nav a {
  color: #00ffae;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #00ffae;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.355); 
  transition: transform 0.2s ease, background 0.3s;
  font-size: 1rem;
}
body.light .nav a{
  color :#ffffff;
}
.nav a:hover {
  background: #00ffae;
  color: #0d3b2e;
  transform: scale(1.1);
}
.burger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 4px;
  background: #00ffae;
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: fixed;
  top: 70px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7); /* Более плотный фон */
  backdrop-filter: blur(6px);     /* Эффект стекла (необязателен) */  
  padding: 1rem;
  border: 1px solid #00ffae;
  border-radius: 10px;
  z-index: 999;
}
.mobile-nav a {
  color: #00ffae;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 255, 174, 0.2);
  border-radius: 6px;
  font-size: 1rem;
  border: 1px solid transparent;
}
.mobile-nav a:hover {
  border-color: #00ffae;
  background: #00ffae;
  color: #0d3b2e;
}
section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(13, 59, 46, 0.8);
  border-left: 6px solid rgba(0, 100, 68, 0.785);
  border-radius: 16px;
  box-shadow: 0 0 30px #00ffaa66;
  transition: background 0.3s, color 0.3s;
}
body.light section {
  background: #ffffff;
  color: #111;
  box-shadow: 0 0 20px #ccc;
}
section h2 {
  font-size: 1.8rem;
  color: #9be2b4;
  margin-bottom: 1rem;
}
body.light section h2 {
  color: #0d3b2e;
}
section ul {
  list-style: none;
  padding-left: 0;
}
section ul li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}
section ul li::before {
  content: '•';
  color: #00ffae;
  position: absolute;
  left: 0;
}
a {
  color: #00ffae;
}
body.light a{
  color:rgba(0, 100, 68, 0.785);
}
a:hover {
  color: #000000;
}
.service-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
}
.service-slider::-webkit-scrollbar {
  display: none;
}
.service-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 100, 68, 0.785);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 255, 174, 0.2);
  transition: transform 0.2s;
}
.service-card:hover {
  transform: scale(1.02);
}

.review {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #00ffae;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 174, 0.2);
  transition: transform 0.2s ease;
}
.review:hover {
  transform: scale(1.01);
  box-shadow: 0 0 20px rgba(0, 255, 174, 0.35);
}
.review p {
  margin: 0.3rem 0;
}
.review-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0;
}
.review-slider::-webkit-scrollbar {
  display: none;
}
.review-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 100, 68, 0.785);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 255, 174, 0.2);
  transition: transform 0.2s;
}
.review-card:hover {
  transform: scale(1.02);
}
.review-card p {
  margin: 0.3rem 0;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}
