@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap");

:root[data-theme="light"] {
  --text: #44091f;
  --background: #f9dcbe;
  --primary: #44091f;
  --secondary: #a3385f;
  --accent: #da627c;
}

:root[data-theme="dark"] {
  --text: #f6bbd1;
  --background: #412506;
  --primary: #f6bbd1;
  --secondary: #c75c83;
  --accent: #9d253f;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px */
}

body {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  background: var(--background);
  color: var(--text);
  padding-top: 72px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4.21rem;
} /* 67.36px */
h2 {
  font-size: 3.158rem;
} /* 50.56px */
h3 {
  font-size: 2.369rem;
} /* 37.92px */
h4 {
  font-size: 1.777rem;
} /* 28.48px */
h5 {
  font-size: 1.333rem;
} /* 21.28px */
small {
  font-size: 0.75rem;
} /* 12px */

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(4, 3, 22, 0.1);
}

.top-bar {
  background: var(--background-100);
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info a {
  margin-right: 20px;
  color: var(--text-600);
  text-decoration: none;
}

.social-links a {
  margin-left: 15px;
  color: var(--text-600);
}

.navbar {
  background: var(--background);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(4, 3, 22, 0.1);
}

[data-theme="dark"] .navbar {
  border-bottom: 1px solid rgba(255, 251, 224, 0.1);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 4px;
  background: transparent;
}

.navbar .logo object,
.navbar .logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .navbar .logo object,
[data-theme="dark"] .navbar .logo img {
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--background);
}

.nav-menu li {
  position: relative;
  margin: 0 15px;
}

.nav-menu a {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background-50);
  box-shadow: 0 2px 5px rgba(var(--text-900), 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 10px 0;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 20px;
  display: block;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(var(--background), 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 0;
    transition: 0.3s ease;
    display: none;
  }

  .nav-menu.active {
    left: 0;
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .hero {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.theme-toggle button {
  background: var(--primary-500);
  color: var(--background-50);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.theme-toggle button:hover {
  transform: scale(1.1);
  background: var(--primary-600);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--background);
  overflow: hidden;
  margin-top: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-svg-visual {
  flex: 1 1 420px;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg-visual svg {
  width: 420px;
  height: 420px;
  max-width: 100%;
  display: block;
}

.hero-text {
  flex: 1 1 400px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
}

.hero-text h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-text p {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-buttons .btn {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  padding: 0.8rem 1.8rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04);
}

.hero-buttons .btn-primary {
  background: var(--accent);
  color: var(--background);
  border: none;
}

.hero-buttons .btn-primary:hover {
  background: var(--primary);
  color: var(--background);
}

.hero-buttons .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.hero-buttons .btn-outline:hover {
  background: var(--primary);
  color: var(--background);
}

.hero-tech-tags {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.hero-tech-tags span {
  background: var(--secondary);
  color: var(--background);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 0.7rem;
  padding: 0.25rem 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.03);
}

.hero-tech-tags span:hover {
  background: var(--accent);
  color: var(--background);
}

@media (max-width: 1100px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }
  .hero-svg-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 50vh;
    padding: 2rem 0 1rem 0;
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .hero-svg-visual svg {
    width: 160px;
    height: 160px;
  }
}

/* New Hero Section Styles */
.hero.new-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #fff8f0 60%, #f48c06 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-content.new-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  min-height: 100vh;
  z-index: 2;
}

.hero-svg-visual {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  max-width: 480px;
  z-index: 2;
}

#tech-hero-svg {
  width: 100%;
  height: auto;
  max-width: 420px;
  display: block;
}

.hero-text.new-hero-text {
  flex: 1 1 400px;
  max-width: 540px;
  z-index: 3;
  background: var(--background);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(68, 9, 31, 0.08);
  position: relative;
}

.hero-text.new-hero-text h1 {
  color: var(--primary);
}

.hero-text.new-hero-text h1 span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero-text.new-hero-text p {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-highlight {
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--accent) 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-tech-tags {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.hero-tech-tags span {
  background: var(--accent);
  color: var(--background);
  padding: 0.4rem 1.1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(232, 93, 4, 0.08);
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content.new-hero {
    flex-direction: column;
    gap: 2.5rem;
    min-height: 80vh;
    padding: 3rem 0;
  }

  .hero-svg-visual {
    max-width: 340px;
    min-width: 220px;
  }

  .hero-text.new-hero-text {
    padding: 2rem 1.2rem;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero h1 span {
    font-size: 4rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
    height: 400px;
  }

  .hero-image:hover {
    transform: none;
  }

  .hero-stats {
    justify-content: center;
    text-align: center;
  }

  .hero-stats .stat {
    text-align: center;
  }

  .tech-badges {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
  }
}

/* Next Section */
.next-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--background),
    rgba(144, 208, 202, 0.1)
  );
  overflow: hidden;
}

.tech-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(var(--primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  opacity: 0.05;
  animation: gridMove 20s linear infinite;
}

.next-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.next-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(144, 208, 202, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.next-card:hover {
  transform: translateY(-10px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--background);
  position: relative;
  overflow: hidden;
}

.card-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.next-card:hover .card-icon::after {
  transform: translateX(100%);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.card-description {
  color: var(--text);
  opacity: 0.8;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: var(--background);
  border-radius: 20px;
  font-size: 0.8rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-heading h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading p {
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.next-card.ai-ml .card-icon,
.next-card.security .card-icon,
.next-card.consulting .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

/* About Section */
.about-section {
  position: relative;
  padding: 6rem 0 5rem 0;
  background: linear-gradient(
    120deg,
    var(--background) 70%,
    var(--secondary) 120%
  );
  overflow: hidden;
}

.about-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      var(--accent) 0%,
      transparent 60%
    ),
    radial-gradient(circle at 20% 80%, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 0;
}

.about-unique-layout {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.about-unique-left {
  flex: 1 1 350px;
  min-width: 320px;
}

.about-unique-right {
  flex: 1 1 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--background);
  font-weight: 700;
  border-radius: 1rem;
  padding: 0.3rem 1.2rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.about-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.about-title span {
  color: var(--accent);
}

.about-intro {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  max-width: 500px;
}

.about-values-grid {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--background);
  border-radius: 1rem;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
  padding: 1.1rem 1.2rem;
  min-width: 180px;
  flex: 1 1 180px;
}

.about-value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-value-icon svg {
  width: 32px;
  height: 32px;
}

.about-value-text h4 {
  font-family: "Orbitron", sans-serif;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.about-value-text p {
  color: var(--text);
  font-size: 0.98rem;
  margin: 0;
}

.about-achievements {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.about-achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--background);
  border-radius: 1rem;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
  padding: 1rem 1.2rem;
  min-width: 90px;
}

.about-achieve-num {
  font-family: "Orbitron", sans-serif;
  color: var(--accent);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  transition: color 0.2s;
}

.about-achievement span:last-child {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
}

.about-tech-visual {
  background: var(--background);
  border-radius: 2rem;
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-tech-visual svg {
  width: 320px;
  height: 320px;
  max-width: 100%;
  display: block;
}

@media (max-width: 1100px) {
  .about-unique-layout {
    flex-direction: column;
    gap: 2.5rem;
  }
  .about-unique-right {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .about-section {
    padding: 2.5rem 0 1.5rem 0;
  }
  .about-title {
    font-size: 1.5rem;
  }
  .about-values-grid {
    flex-direction: column;
    gap: 1rem;
  }
  .about-achievements {
    gap: 1rem;
  }
  .about-tech-visual svg {
    width: 200px;
    height: 200px;
  }
}

/* Testimonials Section */
.testimonials {
  position: relative;
  padding: 120px 0;
  background: var(--background);
  overflow: hidden;
}

.testimonial-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.testimonial-card {
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.05),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.testimonial-card.featured {
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.1),
    rgba(var(--accent-rgb), 0.05)
  );
  transform: scale(1.05);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.15);
  transition: transform 0.3s ease;
}

.client-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.client-avatar:hover {
  transform: scale(1.05);
}

.client-details h4 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.client-details p {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
}

.rating {
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.project-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--background);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: var(--accent);
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .testimonial-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonial-track {
    grid-template-columns: 1fr;
  }

  .testimonial-card.featured {
    transform: none;
  }
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 6rem 0 5rem 0;
  background: linear-gradient(
    120deg,
    var(--background) 70%,
    var(--accent) 120%
  );
  overflow: hidden;
}

.contact-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      var(--primary) 0%,
      transparent 60%
    ),
    radial-gradient(circle at 20% 80%, var(--secondary) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 0;
}

.contact-unique-layout {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.contact-unique-left {
  flex: 1 1 350px;
  min-width: 320px;
}

.contact-unique-right {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--background);
  font-weight: 700;
  border-radius: 1rem;
  padding: 0.3rem 1.2rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.contact-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.contact-intro {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  max-width: 500px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
}

.contact-detail h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.contact-detail p {
  color: var(--text);
  font-size: 0.98rem;
  margin: 0;
}

.contact-socials {
  margin-top: 2.2rem;
}

.contact-socials h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.contact-social-icons {
  display: flex;
  gap: 1.1rem;
}

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--secondary);
  color: var(--background);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.contact-social-icon:hover {
  background: var(--accent);
  color: var(--background);
  transform: scale(1.1) rotate(-6deg);
}

.contact-form-modern {
  background: var(--background);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.06);
  padding: 2.2rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form-modern h3 {
  color: var(--primary);
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  text-align: center;
}

.form-group-modern {
  position: relative;
  margin-bottom: 1.2rem;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
  width: 100%;
  padding: 1.1rem 1rem 0.6rem 1rem;
  border: 2px solid var(--secondary);
  border-radius: 0.8rem;
  background: var(--background);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
  resize: none;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
  border-color: var(--accent);
}

.form-group-modern label {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  color: var(--secondary);
  font-size: 1rem;
  background: var(--background);
  padding: 0 0.2rem;
  pointer-events: none;
  transition: 0.2s cubic-bezier(0.4, 2, 0.6, 1);
}

.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:not(:placeholder-shown) + label,
.form-group-modern select:focus + label,
.form-group-modern select:not([value=""]) + label {
  top: -0.7rem;
  left: 0.8rem;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--background);
}

.contact-submit-btn {
  background: var(--accent);
  color: var(--background);
  border: none;
  border-radius: 0.8rem;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 auto;
}

.contact-submit-btn:hover {
  background: var(--primary);
  color: var(--background);
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 1100px) {
  .contact-unique-layout {
    flex-direction: column;
    gap: 2.5rem;
  }
  .contact-unique-right {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .contact-section {
    padding: 2.5rem 0 1.5rem 0;
  }
  .contact-title {
    font-size: 1.3rem;
  }
  .contact-form-modern {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    min-width: 0;
    max-width: 100%;
  }
}

/* Footer Section */
.footer {
  background: linear-gradient(
    120deg,
    var(--background) 70%,
    var(--primary) 120%
  );
  color: var(--text);
  margin-top: 3rem;
}

.footer-main {
  padding: 3.5rem 0 1.5rem 0;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand-block {
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo svg {
  width: 160px;
  height: 40px;
  display: block;
}

.footer-desc {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  background: var(--secondary);
  color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social:hover {
  background: var(--accent);
  color: var(--background);
  transform: scale(1.1) rotate(-6deg);
}

.footer-links-block {
  flex: 2 1 400px;
  display: flex;
  gap: 2.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links-col {
  min-width: 150px;
  margin-bottom: 1.2rem;
}

.footer-links-col h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  font-family: "Orbitron", sans-serif;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col ul li {
  margin-bottom: 0.5rem;
}

.footer-links-col ul li a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-links-col ul li a:hover {
  color: var(--accent);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1rem;
}

.footer-contact-list i {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-bottom-bar {
  background: var(--background);
  border-top: 1px solid var(--secondary);
  padding: 1rem 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-flex span {
  color: var(--primary);
  font-size: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.2rem;
}

.footer-legal-links a {
  color: var(--text);
  font-size: 0.98rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
  }
  .footer-links-block {
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .footer-main {
    padding: 2rem 0 0.5rem 0;
  }
  .footer-logo svg {
    width: 120px;
    height: 30px;
  }
  .footer-links-col {
    min-width: 120px;
  }
  .footer-bottom-bar {
    padding: 0.7rem 0;
  }
  .footer-bottom-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Expertise Section */
.expertise-section {
  position: relative;
  padding: 5rem 0 4rem 0;
  background: linear-gradient(
    120deg,
    var(--background) 70%,
    var(--secondary) 120%
  );
  overflow: hidden;
}

.expertise-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      var(--accent) 0%,
      transparent 60%
    ),
    radial-gradient(circle at 20% 80%, var(--primary) 0%, transparent 70%);
  opacity: 0.08;
  z-index: 0;
}

.expertise-heading {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.expertise-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--background);
  font-weight: 700;
  border-radius: 1rem;
  padding: 0.3rem 1.2rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.expertise-heading h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.expertise-heading p {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.expertise-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.expertise-card {
  background: var(--background);
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 220px;
  max-width: 270px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}

.expertise-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.1);
}

.expertise-icon {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-icon svg {
  width: 48px;
  height: 48px;
}

.expertise-card h3 {
  color: var(--primary);
  font-family: "Orbitron", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.expertise-card p {
  color: var(--text);
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 900px) {
  .expertise-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .expertise-section {
    padding: 2.2rem 0 1.2rem 0;
  }
  .expertise-heading h2 {
    font-size: 1.3rem;
  }
  .expertise-card {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    min-width: 0;
    max-width: 100%;
  }
}
