/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

ul {
  padding-left: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.67);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: #2563eb;
  border-radius: 0.5rem;
}

.star-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

.star-dot {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #fbbf24;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333333;
  transition: color 0.2s;
  text-shadow: 0 0 1px white, 0 0 1px white;
}

.nav-link:hover {
  color: #2563eb;
}

.mobile-menu-btn {
  display: none;
  width: 1.5rem;
  height: 1.5rem;
  color: #6b7280;
  cursor: pointer;
}

.parallax-container {
  /* Set a height to allow for scrolling and reveal the background */
  height: 100vh; /* Example height, adjust as needed */
  overflow-y: auto; /* Enable scrolling within the container if needed, or on body */
  perspective: 1px; /* For true CSS 3D parallax with transform: translateZ() */
}

.parallax-background {
  position: fixed!important; /* Or fixed if the container is the viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-size: cover;*/ /* Cover the entire container */
  /*background-position: top center;*/ /* Position the background at the top */
  /*background-attachment: fixed;*/ /* Key for the parallax effect */
  /* For true CSS 3D parallax, use transform: translateZ() and scale() */
  /* transform: translateZ(-1px) scale(2); */
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0 8rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #f3e8ff 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-size: cover; /* Cover the entire container */
  background-position: top center; /* Position the background at the top */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='%230077cc' stroke-width='0.5' fill='none'%3E%3Cpath d='M5 0 V20 H10 V30 H5 V40'/%3E%3Cpath d='M15 0 V25 H20 V35 M20 35 H25 V45'/%3E%3Cpath d='M30 0 V20 H35 V25 H40 V30'/%3E%3Cpath d='M45 0 V30 H50 V40 H55 V50'/%3E%3Cpath d='M60 0 V15 H65 V25 H70 V35'/%3E%3Cpath d='M75 0 V10 H80 V20 H75 V30 H80 V40'/%3E%3Cpath d='M85 0 V30 H90 V35 H95 V45'/%3E%3Ccircle cx='5' cy='40' r='1' fill='%230077cc'/%3E%3Ccircle cx='25' cy='45' r='1' fill='%230077cc'/%3E%3Ccircle cx='40' cy='30' r='1' fill='%230077cc'/%3E%3Ccircle cx='55' cy='50' r='1' fill='%230077cc'/%3E%3Ccircle cx='70' cy='35' r='1' fill='%230077cc'/%3E%3Ccircle cx='80' cy='40' r='1' fill='%230077cc'/%3E%3Ccircle cx='95' cy='45' r='1' fill='%230077cc'/%3E%3C/g%3E%3C/svg%3E");
  z-index: -1; /* Place behind the content */
}

.floating-element {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(2) {
  width: 2rem;
  height: 2rem;
  background: #3b82f6;
}
.floating-element:nth-child(3) {
  background: #8b5cf6;
}
.floating-element:nth-child(4) {
  background: #10b981;
}
.floating-element:nth-child(5) {
  width: 1.5rem;
  height: 1.5rem;
  background: #f59e0b;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.hero-text {
  max-width: 4xl;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.text-blue {
  color: #2563eb;
}

.hero-description {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 42rem;
  margin: 0 auto;
}

.hero-image {
  margin-top: 3rem;
  width: 100%;
  max-width: 80rem;
}

.dashboard-img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

/* Services Section */
.services {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #f9fafb;
}

.tech-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0 10h20M10 0v20" stroke="%23777777" stroke-width="0.5" fill="none"/><circle cx="10" cy="10" r="2" fill="%23777777"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');

  /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hex" x="0" y="0" width="25" height="28" patternUnits="userSpaceOnUse"><polygon points="14,2 26,8 26,16 14,22 2,16 2,8" stroke="%23374151" stroke-width="0.5" fill="none"/></pattern></defs><rect width="125" height="100" fill="url(%23hex)"/></svg>'); */
  background-size: auto!important;
  background-position: top center; /* Position the background at the top */
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 42rem;
  margin: 0 auto;
}

.services-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}
.service-icon.green {
  background: #d1fae5;
  color: #059669;
}
.service-icon.purple {
  background: #e9d5ff;
  color: #7c3aed;
}
.service-icon.orange {
  background: #fed7aa;
  color: #ea580c;
}
.service-icon.pink {
  background: #fce7f3;
  color: #db2777;
}
.service-icon.red {
  background: #fee2e2;
  color: #dc2626;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-description {
  color: #6b7280;
  line-height: 1.6;
}

/* ERP Solutions Section */
.erp-solutions {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.erp-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #ffffff;
}

.binary-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="10" y="20" font-family="monospace" font-size="8" fill="%23374151">01001010</text><text x="10" y="40" font-family="monospace" font-size="8" fill="%23374151">11010110</text><text x="10" y="60" font-family="monospace" font-size="8" fill="%23374151">00110101</text><text x="10" y="80" font-family="monospace" font-size="8" fill="%23374151">10101001</text></svg>');
}

.erp-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.erp-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.erp-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
}

.erp-image {
  padding-left: 2rem;
}

.erp-img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

/* Cloud Services Section */
.cloud-services {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cloud-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, #dbeafe 0%, #e0e7ff 100%);
}

.cloud-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-size: cover; /* Cover the entire container */
  background-position: top center; /* Position the background at the top */
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="8" fill="none" stroke="%23374151" stroke-width="0.5"/><circle cx="50" cy="20" r="12" fill="none" stroke="%23374151" stroke-width="0.5"/><circle cx="80" cy="40" r="6" fill="none" stroke="%23374151" stroke-width="0.5"/><path d="M20 30h30M50 20v20M80 40L50 40" stroke="%23374151" stroke-width="0.5"/></svg>');
  z-index: -4!important;
}

.floating-cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: float 3s ease-in-out infinite;
}

.floating-cloud:nth-child(2) {
  width: 2rem;
  height: 2rem;
}
.floating-cloud:nth-child(3) {
  width: 3rem;
  height: 3rem;
}
.floating-cloud:nth-child(4) {
  width: 1.5rem;
  height: 1.5rem;
}

.cloud-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cloud-image {
  order: 1;
}

.cloud-img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.cloud-features {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cloud-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cloud-feature .feature-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.cloud-feature .feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cloud-feature .feature-title {
  font-size: 1.125rem;
}

/* About Section */
.about {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #ffffff;
}

.innovation-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="20" fill="none" stroke="%23374151" stroke-width="0.5"/><circle cx="50" cy="50" r="10" fill="none" stroke="%23374151" stroke-width="0.5"/><path d="M30 50h40M50 30v40M35 35l30 30M35 65l30-30" stroke="%23374151" stroke-width="0.5"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
}

.about-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  color: #6b7280;
  line-height: 1.7;
}

.about-text.large {
  font-size: 1.25rem;
  color: #374151;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
}

/* Contact Section */
.contact {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #f9fafb;
}

.communication-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="5" fill="none" stroke="%23374151" stroke-width="0.5"/><circle cx="80" cy="20" r="5" fill="none" stroke="%23374151" stroke-width="0.5"/><circle cx="50" cy="80" r="5" fill="none" stroke="%23374151" stroke-width="0.5"/><path d="M20 20L80 20L50 80Z" fill="none" stroke="%23374151" stroke-width="0.5"/></svg>');
}

.contact-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: #dbeafe;
  border-radius: 0.5rem;
}

.contact-icon svg {
  width: 1rem;
  height: 1rem;
  color: #2563eb;
}

.business-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #6b7280;
}

.hours-item {
  display: flex;
  justify-content: space-between;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 0.5rem 1rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background: #1d4ed8;
}

.legal-section {
  padding: 2rem;
}

.legal-section .section-title,
.legal-section .section-description {
  text-align: center;
}

.legal-section h2 {
  margin-top: 1rem;
}

/* Footer */
.footer {
  position: relative;
  padding: 3rem 0;
  background: #111827;
  color: white;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10 10h80v80H10z" fill="none" stroke="%23ffffff" stroke-width="0.5"/><path d="M30 30h40v40H30z" fill="none" stroke="%23ffffff" stroke-width="0.5"/><circle cx="50" cy="50" r="10" fill="none" stroke="%23ffffff" stroke-width="0.5"/></svg>');
}

.footer-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-description {
  color: #9ca3af;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

.copyright {
  color: #9ca3af;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: #9ca3af;
  transition: color 0.2s;
}

.social-link:hover {
  color: white;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 3rem 0 5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .erp-content,
  .cloud-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cloud-image {
    order: 0;
  }

  .cloud-features {
    order: 1;
  }

  .erp-image {
    padding-left: 0;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
