* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  color: #1b1f28;
  line-height: 1.7;
}

.hero-section {
  min-height: 90vh;
  background:
    linear-gradient(120deg, rgba(8, 13, 32, 0.88), rgba(15, 38, 84, 0.75)),
    url("img/silder.jpg") center/cover no-repeat;
}

.hero-content {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-card {
  color: #fff;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
}

.section-title {
  max-width: 760px;
}

.section-title h2 {
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.section-title p {
  color: #596071;
}

.feature-box {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}

.feature-box h6 {
  font-weight: 600;
}

.feature-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.service-card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card h5 {
  font-size: 1.08rem;
  font-weight: 600;
}

.service-card p {
  margin-bottom: 0;
  color: #5c6475;
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(15, 32, 73, 0.08);
}

.catalog-card {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e4e9f1;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.catalog-card h6 {
  font-weight: 600;
}

.catalog-card p {
  margin-bottom: 0;
  color: #626a7a;
  font-size: 0.94rem;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(21, 35, 72, 0.09);
}

.office-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.testimonials-section {
  background: #f7f8fb;
}

.testimonials-carousel {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.6s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 14px;
  padding: 1.1rem;
  min-height: 245px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.75rem;
  border: 2px solid #e4e8f1;
}

.testimonial-card h6 {
  font-weight: 600;
}

.testimonial-card small {
  color: #6d7584;
}

.testimonial-card p {
  margin-bottom: 1rem;
  color: #3d4658;
  font-size: 0.95rem;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.testimonial-meta .stars {
  color: #0db37a;
  letter-spacing: 1px;
}

.contact-section {
  background: #0f1f47;
  color: #fff;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 1rem;
}

.contact-grid h6 {
  margin-bottom: 0.35rem;
  color: #c8d5ff;
}

.contact-grid a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.contact-grid a:hover {
  text-decoration: underline;
}

.contact-panel {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer {
  background: #051042;
  color: #fff;
}

.footer-brand {
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
}

.footer-title {
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-icon {
  display: inline-flex;
  min-width: 18px;
  margin-top: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.88);
}

.navbar .nav-link {
  opacity: 0.9;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .office-gallery img {
    height: 210px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-height: auto;
  }

  .site-footer {
    text-align: left;
  }

  .footer-title {
    margin-top: 0.35rem;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 1rem) / 2);
  }
}
