@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: #081c15;
  --background: #fff;
  --primary: #40916c;
  --secondary: #74c69d;
  --accent: #2d6a4f;
}

:root[data-theme="dark"] {
  --text: #d8f3dc;
  --background: #081c15;
  --primary: #52b788;
  --secondary: #95d5b2;
  --accent: #40916c;
}

/* 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);
}

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: 100vh;
  padding: 120px 0;
  background: var(--background);
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.shape-1 {
  top: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.15),
    transparent 70%
  );
}

.shape-2 {
  bottom: 20%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.15),
    transparent 70%
  );
}

.shape-3 {
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(var(--secondary-rgb), 0.1),
    transparent 70%
  );
  transform: translate(-50%, -50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-meta {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-tag {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--background);
  padding: 1rem 2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: left;
}

.stat-value {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text);
  opacity: 0.7;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.tech-sphere {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.tech-cards {
  position: absolute;
  inset: 0;
}

.tech-card {
  position: absolute;
  background: var(--background);
  padding: 1rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: float 3s infinite alternate ease-in-out;
}

.tech-card[data-position="0"] {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}
.tech-card[data-position="1"] {
  top: 40%;
  left: -20px;
  animation-delay: 0.5s;
}
.tech-card[data-position="2"] {
  bottom: 30%;
  right: -20px;
  animation-delay: 1s;
}
.tech-card[data-position="3"] {
  bottom: 10%;
  left: -20px;
  animation-delay: 1.5s;
}

.tech-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.tech-card span {
  font-weight: 500;
  color: var(--text);
}

.clients-banner {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(var(--background-rgb), 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.clients-banner span {
  display: block;
  margin-bottom: 1rem;
  color: var(--text);
  opacity: 0.7;
  font-size: 0.9rem;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.client-logos img {
  height: 25px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logos img:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .stat {
    text-align: center;
  }

  .tech-card {
    display: none;
  }
}

/* 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: 120px 0;
  background: var(--background);
  overflow: hidden;
}

.about-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pattern-circle {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1),
    transparent 70%
  );
  filter: blur(60px);
}

.pattern-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--text) 1px, transparent 1px),
    linear-gradient(90deg, var(--text) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.03;
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-header {
  margin-bottom: 4rem;
}

.about-header .badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-header h2 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-header .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.8;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.milestone {
  text-align: center;
}

.milestone-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
}

.milestone-icon svg {
  width: 100%;
  height: 100%;
}

.progress-ring {
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: progress 2s ease forwards;
}

.milestone-text {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.milestone h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.milestone p {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
}

.expertise-section {
  background: linear-gradient(
    145deg,
    rgba(var(--primary-rgb), 0.05),
    rgba(var(--accent-rgb), 0.05)
  );
  border-radius: 24px;
  padding: 3rem;
}

.expertise-section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.expertise-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.expertise-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expertise-icon i {
  font-size: 1.5rem;
  color: var(--background);
}

.expertise-content h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.expertise-content ul {
  list-style: none;
  padding: 0;
}

.expertise-content li {
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expertise-content li::before {
  content: "•";
  color: var(--primary);
}

.image-collage {
  position: relative;
  height: 600px;
}

.collage-img {
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.collage-img.main {
  width: 100%;
  height: 400px;
  position: relative;
  z-index: 2;
}

.collage-img.overlay-1 {
  position: absolute;
  width: 200px;
  height: 250px;
  top: 0;
  right: -50px;
  z-index: 1;
  transform: rotate(15deg);
}

.collage-img.overlay-2 {
  position: absolute;
  width: 200px;
  height: 250px;
  bottom: 50px;
  left: -50px;
  z-index: 1;
  transform: rotate(-15deg);
}

.experience-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.badge-content {
  text-align: center;
  color: var(--background);
}

.badge-content .years {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.badge-content .label {
  font-size: 0.8rem;
  opacity: 0.9;
}

@keyframes progress {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-header h2 {
    font-size: 2.5rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .image-collage {
    height: 500px;
  }

  .collage-img.overlay-1,
  .collage-img.overlay-2 {
    width: 150px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .expertise-section {
    padding: 2rem;
  }

  .image-collage {
    height: 400px;
  }

  .collage-img.main {
    height: 300px;
  }
}

/* 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: var(--background);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.1;
}

.testimonial-card.featured {
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: var(--background);
}

.testimonial-card.featured .client-details p,
.testimonial-card.featured .testimonial-text {
  color: var(--background);
  opacity: 0.9;
}

.client-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--text-rgb), 0.1);
}

.project-date {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
}

.testimonial-card.featured .project-date,
.testimonial-card.featured .project-tag {
  color: var(--background);
}

.rating {
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .testimonial-track {
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.05),
    rgba(var(--accent-rgb), 0.05)
  );
  overflow: hidden;
}

.contact-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pattern-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.1;
}

.pattern-circles .circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}

.circle-1 {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1),
    transparent 70%
  );
  animation: floatCircle 20s infinite;
}

.circle-2 {
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.1),
    transparent 70%
  );
  animation: floatCircle 25s infinite reverse;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-header .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info-cards {
  display: grid;
  gap: 2rem;
}

.info-card {
  background: var(--background);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--background);
  flex-shrink: 0;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-detail i {
  color: var(--primary);
  font-size: 1.1rem;
}

.hours-grid {
  display: grid;
  gap: 0.5rem;
}

.day {
  display: flex;
  justify-content: space-between;
  color: var(--text);
  opacity: 0.8;
}

.direction-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.direction-link:hover {
  gap: 1rem;
}

.contact-form-container {
  background: var(--background);
  border-radius: 30px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: transparent;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-wrapper label {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  opacity: 0.6;
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-wrapper textarea ~ label {
  top: 1rem;
  transform: none;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.1rem;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.input-wrapper input:focus ~ label,
.input-wrapper select:focus ~ label,
.input-wrapper textarea:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 1rem;
  font-size: 0.8rem;
  background: var(--background);
  padding: 0 0.5rem;
}

.form-footer {
  margin-top: 2rem;
  text-align: right;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--background);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
}

.social-connect {
  text-align: center;
}

.social-connect h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--background);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
  color: var(--primary);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  transition: all 0.3s ease;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.company-tagline {
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.8;
}

/* Footer Logo Styles */
.footer-logo .logo-container {
  padding: 0;
}

.footer-logo .logo-icon {
  width: 50px;
  height: 50px;
}

.footer-logo .company-name {
  color: var(--background);
  font-size: 1.4rem;
}

.footer-logo .company-tagline {
  color: var(--background);
  opacity: 0.9;
}

/* Logo Hover Effects */
.logo-container:hover {
  transform: translateY(-2px);
}

.logo-container:hover .logo-icon svg {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Responsive Styles */
@media (max-width: 768px) {
  .logo-container {
    gap: 8px;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
  }

  .company-name {
    font-size: 1rem;
  }

  .company-tagline {
    font-size: 0.7rem;
  }
}

@keyframes floatCircle {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-header h2 {
    font-size: 2rem;
  }

  .info-card {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .card-icon {
    margin: 0 auto;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }
}

/* Services Section - Fixed */
.services-section {
  position: relative;
  padding: 120px 0;
  background: var(--background);
  isolation: isolate;
  overflow: visible;
}

.services-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.service-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
}

.circle-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  animation: float 20s infinite;
}

.circle-2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -50px;
  right: -50px;
  animation: float 25s infinite reverse;
}

.services-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 80px;
}

.service-category {
  position: relative;
  z-index: 2;
  margin-bottom: 80px;
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 4px solid var(--primary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-box {
  background: linear-gradient(
    145deg,
    rgba(var(--background-rgb), 0.8),
    rgba(var(--background-rgb), 0.95)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(var(--primary-rgb), 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-box:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.service-box:hover::before {
  transform: translateX(100%);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 2rem;
  position: relative;
}

.service-box h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.service-features {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text);
  opacity: 0.8;
  border-bottom: 1px dashed rgba(var(--text-rgb), 0.1);
}

.service-features li::before {
  content: "→";
  color: var(--primary);
  font-weight: bold;
}

.service-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.service-price {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

.explore-btn {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--background);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: var(--accent);
  transform: translateX(5px);
}

.services-cta {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 30px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-cta {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .services-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* Footer Section - Fixed */
.footer {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--background);
  margin-top: 100px;
}

.footer-waves {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.waves {
  width: 100%;
  height: 100%;
}

.wave-1 {
  fill: var(--primary);
  animation: waveAnimation 3s ease-in-out infinite alternate;
}

.footer-content {
  position: relative;
  padding: 80px 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.company-details h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--background);
}

.company-details p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-description {
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--background);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--background);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--background);
  opacity: 0.5;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul a {
  color: var(--background);
  opacity: 0.9;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer ul a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.contact-items {
  display: grid;
  gap: 15px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.2rem;
  opacity: 0.9;
}

.contact-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

.footer-newsletter {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.newsletter-content h4 {
  margin-bottom: 10px;
}

.newsletter-content p {
  opacity: 0.9;
}

.newsletter-form {
  flex: 1;
  max-width: 500px;
}

.newsletter-form .form-group {
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--background);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  background: var(--background);
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  opacity: 0.9;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 30px;
}

.legal-links a {
  color: var(--background);
  opacity: 0.9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.legal-links a:hover {
  opacity: 1;
}

@keyframes waveAnimation {
  0% {
    transform: translateX(-25px);
  }
  100% {
    transform: translateX(25px);
  }
}

@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-info {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-newsletter {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }
}

/* Fix for nested content */
.services-cta {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  isolation: isolate;
}

.footer-newsletter {
  position: relative;
  z-index: 2;
}

/* Clear floats */
.footer::after,
.services-section::after {
  content: "";
  display: table;
  clear: both;
}
  0% {
    transform: translateX(-25px);
  }
  100% {
    transform: translateX(25px);
  }
}

@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-info {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-newsletter {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .newsletter-form .form-group {
    flex-direction: column;
  }
}

/* Fix for nested content */
.services-cta {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  isolation: isolate;
}

.footer-newsletter {
  position: relative;
  z-index: 2;
}

/* Clear floats */
.footer::after,
.services-section::after {
  content: "";
  display: table;
  clear: both;
}
