:root {
  --primary-color: #6c63ff;
  --secondary-color: #2d2d2d;
  --accent-color: #ff6584;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--light-bg);
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Workflow Section */
.workflow {
  padding: 100px 0;
}

.workflow h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 2px;
  background: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-content {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

/* Contact Form */
.contact {
  padding: 100px 0;
  background: var(--light-bg);
}

.contact h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: var(--secondary-color);
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 50px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
}

/* Design Principles Section */
.principles {
  padding: 100px 0;
  background: var(--light-bg);
}

.principles h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.principle-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-10px);
}

.principle-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* About Company Section */
.about {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon i {
  font-size: 24px;
  color: var(--white);
}

.about-card h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.about-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
}

.values-section {
  margin: 60px 0;
  text-align: center;
}

.values-section h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.value-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-item i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.value-item h4 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

.services-section {
  margin: 60px 0;
  text-align: center;
}

.services-section h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-item {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item i {
  font-size: 24px;
  color: var(--primary-color);
}

.service-item span {
  font-size: 16px;
  color: var(--text-color);
}

.stats-section {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--light-bg);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .about-header h2 {
    font-size: 32px;
  }

  .about-intro {
    font-size: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-section {
    flex-direction: column;
    gap: 30px;
  }

  .stat-item {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
  }
}

/* Why Choose Us Section */
.why-us {
  padding: 100px 0;
  background: var(--light-bg);
}

.why-us h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
}

.author {
  text-align: right;
}

.author strong {
  display: block;
  color: var(--primary-color);
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--light-bg);
}

.faq h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 20px;
  font-size: 36px;
}

.newsletter p {
  margin-bottom: 30px;
  font-size: 18px;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .cta-button {
    width: 100%;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
