.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fff1eb, #ace0f9);
  color: #ff9a9e;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #0d0d0d;
  color: #f0f0f0;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
  color: #fff;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

p {
  font-weight: 400;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff4e42;
}

.highlight {
  color: #ff4e42;
}

.cta-button {
  background-color: #ff4e42;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e03c32;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo img {
  width: 36px;
  height: 36px;
}

.logo h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.site-nav a {
  font-weight: 500;
  color: #ccc;
  font-size: 1rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #ff4e42;
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #121212;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 6rem 5%;
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("../assets/images/slider1.jpg") no-repeat center center / cover;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-content h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-align: left;
}

.hero-content p {
  font-size: 1.125rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.hero-content .cta-button {
  font-size: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 5rem 1.5rem 3rem;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-image {
    margin-top: 3rem;
  }
}

.services-section {
  padding: 6rem 5% 4rem;
  background-color: #121212;
  text-align: center;
}

.services-section h2 {
  margin-bottom: 3rem;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-box {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(255, 78, 66, 0.15);
}

.service-box h3 {
  color: #ff4e42;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-box p {
  font-size: 1rem;
  color: #aaa;
  line-height: 1.6;
}

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

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

.about-section {
  padding: 6rem 5% 4rem;
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.about-section p {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
  color: #bbb;
  line-height: 1.7;
}

.contact-section {
  background-color: #0f0f0f;
  padding: 6rem 5% 4rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-section p {
  font-size: 1.125rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.contact-section .cta-button {
  background-color: transparent;
  border: 2px solid #ff4e42;
  color: #ff4e42;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-section .cta-button:hover {
  background-color: #ff4e42;
  color: #fff;
}

.cookies-section {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 20, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  max-width: 90%;
}

.cookies-section p {
  margin: 0;
  color: #ccc;
  font-size: 0.95rem;
  flex: 1;
}

.cookies-button {
  background: #ff4e42;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookies-button:hover {
  background: #e03c32;
}

@media (max-width: 640px) {
  .cookies-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
  }

  .cookies-button {
    width: 100%;
  }
}

.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #ff4e42;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-to-top.show {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
}

.site-footer {
  background-color: #111;
  padding: 4rem 5% 2rem;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  margin-bottom: 0.8rem;
}

.footer-logo p {
  color: #aaa;
  line-height: 1.6;
}

.footer-contact h3,
.footer-hours h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-contact p,
.footer-hours p {
  margin-bottom: 0.5rem;
  color: #aaa;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-socials img:hover {
  opacity: 1;
}

.footer-links {
  text-align: center;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0;
}

.footer-links a {
  color: #888;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff4e42;
}

.footer-bottom {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.technologies-section {
  padding: 6rem 5% 4rem;
  background-color: #141414;
  text-align: center;
}

.technologies-section h2 {
  color: #fff;
  margin-bottom: 3rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-item {
  background: transparent;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}

.tech-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  filter: grayscale(100%) brightness(0.8);
  transition: filter 0.3s ease;
}

.tech-item p {
  font-size: 0.95rem;
  color: #ccc;
}

.tech-item:hover {
  background: rgba(255, 78, 66, 0.05);
  box-shadow: 0 6px 18px rgba(255, 78, 66, 0.15);
  transform: translateY(-4px);
}

.tech-item:hover img {
  filter: none;
}

.testimonials-section {
  background-color: #0e0e0e;
  padding: 6rem 5% 4rem;
  text-align: center;
}

.testimonials-section h2 {
  color: #fff;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #181818;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(255, 78, 66, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(255, 78, 66, 0.1);
}

.quote {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.client-name {
  font-weight: 600;
  color: #ff4e42;
  font-size: 0.95rem;
}

.gallery-section {
  background-color: #131313;
  padding: 6rem 5% 4rem;
  text-align: center;
}

.gallery-section h2 {
  color: #fff;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.footer-links {
  text-align: center;
  margin: 2rem 0 1rem;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff4e42;
}

@media (max-width: 600px) {
  .footer-links ul {
    flex-direction: column;
    gap: 0.8rem;
  }
}

.title_background {
  background-color: #111;
  padding: 6rem 5% 2rem;
  text-align: center;
}

.title_background .title {
  color: #ff4e42;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text_background {
  background-color: #0d0d0d;
  padding: 3rem 5%;
}

.text_background .text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .title_background .title {
    font-size: 1.5rem;
  }

  .text_background .text {
    font-size: 1rem;
  }
}

.about-us-section {
  background-color: #111;
  padding: 6rem 5% 4rem;
}

.about-us-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-text-block {
  text-align: center;
  margin-bottom: 4rem;
}

.about-text-block h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.about-text-block p {
  color: #bbb;
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-card {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(255, 78, 66, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(255, 78, 66, 0.1);
}

.about-card h3 {
  color: #ff4e42;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.about-card p,
.about-card ul {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

.about-card ul {
  padding-left: 1.2rem;
}

.about-card li {
  margin-bottom: 0.5rem;
}

.team-gallery {
  margin-top: 5rem;
  text-align: center;
}

.team-gallery h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.team-member {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.team-member img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.team-member:hover img {
  filter: grayscale(0%);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-member:hover .overlay {
  opacity: 1;
}

.company-timeline {
  margin-top: 5rem;
  text-align: center;
}

.company-timeline h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #444;
  transform: translateX(-50%);
}

.timeline-item {
  background: #1a1a1a;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  position: relative;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 12px rgba(255, 78, 66, 0.05);
  text-align: left;
}

.timeline-item .year {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ff4e42;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 2rem;
  }
}

.interactive-services-section {
  background: #111;
  padding: 6rem 5% 4rem;
  text-align: center;
}

.interactive-services-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 3rem;
}

.services-grid-interactive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  perspective: 1000px;
}

.service-card:hover .card-front {
  transform: rotateY(180deg);
}

.service-card:hover .card-back {
  transform: rotateY(0deg);
}

.card-front,
.card-back {
  width: 100%;
  height: 280px;
  background: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  position: absolute;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.card-front img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.card-front h3 {
  color: #ff4e42;
  font-size: 1.2rem;
}

.card-back {
  transform: rotateY(180deg);
  background: #222;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

.service-card {
  position: relative;
  height: 280px;
  transform-style: preserve-3d;
}
