
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Arial, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
}


.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}


.section-title {
  text-align: center;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 60px;
}


.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  transition: transform 0.35s ease;
}

.main-header.hidden {
  transform: translateY(-100%);
}

.header-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.logo img {
  height: 45px;
}

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

.nav-list a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}


.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background: transparent;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.7);
  transform: scale(1.02);
  transition: filter 0.5s ease;
  animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(179, 47, 18, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.4;
  margin-bottom: 50px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-button {
  padding: 18px 50px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 30px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.9);
}


.about {
  padding: 120px 0;
}

.about-subtitle {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto 80px;
}

.about-text {
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.about-text.lead {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 500;
}

.principles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.principles-title {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.principles-list {
  list-style: none;
  display: grid;
  gap: 30px;
}

.principle-item {
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
  border-left: 3px solid #b32f12;
}

.principle-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.principle-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}

.principle-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
}


.stats-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  list-style: none;
  text-align: center;
}

.stats-value {
  font-size: 4rem;
  font-weight: 700;
}

.stats-label {
  text-transform: uppercase;
  color: #cccccc;
}


.services {
  background: #b32f12;
  padding: 120px 0;
}

.services-img {
  width: 100%;
  height: 100%;             
  min-height: 450px;
  object-fit: cover;       
  border-radius: 12px;
  transition: opacity 0.5s ease-in-out;
}

.services-header {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.services-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

.services-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: stretch;
}

.accordion-item {
  background: #111;
}

.accordion-item + .accordion-item {
  margin-top: 8px;
}

.accordion-header {
  width: 100%;
  padding: 26px 28px;
  background: none;
  border: none;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  font-weight: 300;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active {
  border-left: 4px solid #fff;
}

.accordion-content {
  height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 28px;
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  opacity: 1;
  padding: 20px 28px 28px;
}

.service-content-wrapper {
  padding: 5px 0 10px;
}

.service-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.6;
}

.service-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
  opacity: 0.8;
}

.image-placeholder {
  height: 600px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

.services-image {
  width: 100%;
  height: 100%;             
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

.services-cta {
  text-align: center;
  margin-top: 80px;
  width: 100% ;
  display: block;
  justify-content: center;
}

.callback-button {
  padding: 16px 44px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
  margin: 0 auto;
  display: inline-block;
}

.callback-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.services-accordion {
  width: 100%;
  height: 100%;            
  list-style: none;
}

.services-accordion .accordion-item {
  list-style: none;
}

.services-accordion .accordion-item::before {
  display: none;
  content: none;
}


.projects {
  padding: 120px 0;
  background: #0a0a0a;
}

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

.project-card article {
  background: #111;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover article {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(179, 47, 18, 0.3);
}

.project-image {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.projects-header {
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
}

.projects-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.projects-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto;
}

.project-categories {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-title {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.categories-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  min-width: 180px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.category-item:hover {
  background: rgba(179, 47, 18, 0.1);
  border-color: rgba(179, 47, 18, 0.3);
  transform: translateY(-5px);
}

.category-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.category-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

.categories-note {
  text-align: center;
  color: #b32f12;
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.projects-gallery {
  margin-top: 60px;
}

.gallery-title {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

.view-more-button {
  padding: 16px 44px;
  background: transparent;
  border: 2px solid #b32f12;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-more-button:hover {
  background: rgba(179, 47, 18, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(179, 47, 18, 0.2);
}


.contacts {
  padding: 140px 0;
  background: #b32f12;
  text-align: center;
}

.contacts-header {
  max-width: 800px;
  margin: 0 auto 70px;
}

.contacts-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contacts-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  text-align: left;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-title {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  width: 100%;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-button {
  padding: 16px 40px;
  background: #fff;
  border: none;
  border-radius: 30px;
  color: #b32f12;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.submit-button.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.submit-button.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  right: 20px;
  margin-top: -10px;
  border: 2px solid rgba(179, 47, 18, 0.3);
  border-radius: 50%;
  border-top-color: #b32f12;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success {
  margin-top: 20px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-left: 4px solid #4CAF50;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.form-error {
  margin-top: 20px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-left: 4px solid #ff4444;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-section {
  max-width: 600px;
  margin: 0 auto;
}

.social-title {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-item {
  text-align: center;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  min-width: 120px;
}

.social-link:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-icon {
  font-size: 2rem;
}

.social-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button {
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}


.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.show {
  display: flex;
  opacity: 1;
}

.gallery-modal-content {
  position: relative;
  margin: auto;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10;
  transition: transform 0.2s ease;
}

.gallery-close:hover {
  transform: scale(1.1);
  color: #b32f12;
}


.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


.carousel-slides {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}


.carousel-prev,
.carousel-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(179, 47, 18, 0.7);
  transform: scale(1.1);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}


.carousel-dots {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #b32f12;
  width: 30px;
  border-radius: 6px;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}


.carousel-counter {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  letter-spacing: 1px;
}


.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 25px;
  }
  
  .nav-list li {
    width: 100%;
    text-align: center;
  }
  
  .nav-list a {
    font-size: 18px;
    padding: 10px;
    display: block;
    color: #000;
  }

  .services-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-img {
    min-height: 250px;
    
  }
}



@media (max-width: 600px) {
  .burger-menu {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 25px;
  }
  
  .nav-list a {
    font-size: 18px;
    padding: 10px;
    display: block;
    color: #000;
  }
}


@media (max-width: 768px) {
  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .carousel-dots {
    gap: 8px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .dot.active {
    width: 20px;
  }
  
  .gallery-close {
    font-size: 32px;
    top: 10px;
    right: 15px;
  }
}


@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .services-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {

  .container {
    padding: 0 15px;
  }
  

  .section-title {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
  }
  

  .header-container {
    padding: 0 15px;
    height: 60px;
  }
  
  .logo img {
    height: 35px;
  }
  
  .nav-list {
    gap: 15px;
  }
  
  .nav-list a {
    font-size: 12px;
  }
  

  .hero-title {
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
  }
  
  .hero-button {
    padding: 12px 30px;
    font-size: 14px;
  }
  

  .about {
    padding: 60px 0;
  }
  
  .about-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }
  
  .about-text {
    font-size: 1rem;
  }
  
  .stats-list {
    gap: 30px;
  }
  
  .stats-value {
    font-size: 2.5rem;
  }
  
  .stats-label {
    font-size: 12px;
  }
  

  .services {
    padding: 60px 0;
  }
  
  .services-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-subtitle {
    font-size: 1.3rem;
  }
  
  .services-intro {
    font-size: 1rem;
  }
  
  .accordion-header {
    padding: 18px 20px;
    font-size: 0.9rem;
  }
  
  .accordion-item.active .accordion-content {
    padding: 15px 20px 20px;
  }
  
  .service-subtitle {
    font-size: 1rem;
  }
  
  .service-list li {
    font-size: 0.85rem;
  }
  
  .services-img {
    max-width: 250px;
  }
  
  .callback-button {
    padding: 12px 30px;
    font-size: 14px;
  }
  

  .projects {
    padding: 60px 0;
  }
  
  .projects-subtitle {
    font-size: 1.3rem;
  }
  
  .projects-intro {
    font-size: 1rem;
  }
  
  .categories-list {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .category-item {
    min-width: auto;
    width: 100%;
    max-width: 250px;
  }
  
  .category-name {
    font-size: 0.85rem;
  }
  
  .categories-note {
    font-size: 0.9rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-card article {
    padding: 15px;
  }
  
  .project-image {
    height: 200px;
  }
  
  .gallery-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .view-more-button {
    padding: 12px 30px;
    font-size: 14px;
  }
  

  .contacts {
    padding: 60px 0;
  }
  
  .contacts-subtitle {
    font-size: 1.3rem;
  }
  
  .contacts-intro {
    font-size: 1rem;
  }
  
  .contacts-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info, .contact-form {
    padding: 25px;
  }
  
  .contact-info-title, .form-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .contact-item {
    gap: 12px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  
  .contact-label {
    font-size: 0.75rem;
  }
  
  .contact-value {
    font-size: 0.9rem;
  }
  
  .form-input, .form-textarea {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .submit-button {
    padding: 12px 30px;
    font-size: 14px;
  }
  

  .social-section {
    margin-top: 20px;
  }
  
  .social-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .social-list {
    gap: 15px;
  }
  
  .social-link {
    min-width: 80px;
    padding: 10px;
  }
  
  .social-icon {
    font-size: 1.5rem;
  }
  
  .social-name {
    font-size: 0.7rem;
  }
  

  .gallery-modal-content {
    width: 95%;
    height: 85vh;
  }
  
  .gallery-close {
    top: 10px;
    right: 15px;
    font-size: 32px;
  }
  
  .carousel-container {
    height: 55vh;
  }
  
  .carousel-prev, .carousel-next {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .carousel-dots {
    gap: 8px;
    margin-top: 20px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .dot.active {
    width: 20px;
  }
  
  .carousel-counter {
    font-size: 12px;
    margin-top: 15px;
  }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .stats-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-value {
    font-size: 2rem;
  }
  
  .principle-item {
    padding: 15px;
  }
  
  .principle-name {
    font-size: 1rem;
  }
  
  .principle-desc {
    font-size: 0.85rem;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-details {
    align-items: center;
  }
  
  .carousel-container {
    height: 45vh;
  }
  
  .carousel-prev, .carousel-next {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}