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

:root {
  /* Rainbow Colors (HSL) */
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(240, 30%, 20%);
  --color-primary: hsl(330, 100%, 45%);
  --color-primarygreen: hsl(207, 100%, 50%);
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-primary-light: hsl(330, 100%, 95%);
  --color-accent: hsl(30, 100%, 50%);
  --color-accent-foreground: hsl(0, 0%, 100%);
  --color-accent-light: hsl(30, 100%, 95%);
  --color-muted: hsl(60, 100%, 95%);
  --color-muted-foreground: hsl(240, 30%, 40%);
  --color-border: hsl(210, 50%, 90%);

  /* Rainbow Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    hsl(330, 100%, 45%) 0%,
    hsl(270, 100%, 55%) 25%,
    hsl(210, 100%, 55%) 50%,
    hsl(150, 100%, 40%) 75%,
    hsl(30, 100%, 50%) 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    hsl(330, 100%, 97%) 0%,
    hsl(240, 100%, 95%) 25%,
    hsl(180, 100%, 95%) 50%,
    hsl(60, 100%, 95%) 75%,
    hsl(30, 100%, 95%) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    hsl(30, 100%, 50%) 0%,
    hsl(60, 100%, 50%) 25%,
    hsl(120, 100%, 40%) 50%,
    hsl(210, 100%, 50%) 75%,
    hsl(270, 100%, 50%) 100%
  );

  /* Rainbow Shadows */
  --shadow-soft: 0 4px 6px -1px hsl(330, 100%, 45%, 0.15),
    0 2px 4px -1px hsl(210, 100%, 55%, 0.1);
  --shadow-medium: 0 10px 15px -3px hsl(330, 100%, 45%, 0.2),
    0 4px 6px -2px hsl(210, 100%, 55%, 0.1);
  --shadow-large: 0 25px 50px -12px hsl(330, 100%, 45%, 0.3);
  --shadow-softgreen: 0 4px 6px -1px hsla(197, 95%, 33%, 0.15),
    0 2px 4px -1px hsla(194, 100%, 55%, 0.1);
  --shadow-green: 0 10px 15px -3px hsla(197, 99%, 38%, 0.2),
    0 4px 6px -2px hsla(204, 81%, 46%, 0.1);
  --shadow-hero: 0 10px 15px -3px hsla(0, 0%, 13%, 0.2),
    0 4px 6px -2px hsla(0, 0%, 9%, 0.1);
  --shadow-stat: 0 10px 15px -3px hsla(268, 98%, 64%, 0.2),
    0 4px 6px -2px hsla(273, 100%, 58%, 0.1);
  --shadow-stats: 0 10px 15px -3px hsla(268, 100%, 73%, 0.2),
    0 4px 6px -2px hsla(266, 97%, 69%, 0.1);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-background);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
}

.nav-brand img {
  height: 60px;
  width: 60px;
  object-fit: cover;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
}

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

.nav-link {
  text-decoration: none;
  color: var(--color-muted-foreground);
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--color-foreground);
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  max-width: 28rem;
}

.text-primary {
  color: var(--color-primary);
}

.text-primarys {
  color: var(--color-primarygreen);
}
.text-primaryp {
  color: #6c63ff;
}

.text-accent {
  color: var(--color-accent);
}

.font-semibold {
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-primary-foreground);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary-light);
}

.trust-indicators {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}

.indicator {
  text-align: center;
}

.indicator-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.indicator-value.accent {
  color: var(--color-accent);
}

.indicator-label {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.hero-image-container {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
  transform: translateY(-4px);
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-hero);
}

.image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  border-radius: 1rem;
}

.floating-card {
  position: absolute;
  background: var(--color-background);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-smooth);
}

.floating-card:hover {
  transform: scale(1.05);
}

.floating-card-1 {
  top: -1rem;
  right: -1rem;
}

.floating-card-2 {
  bottom: -1rem;
  left: -1rem;
}

.floating-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.floating-card-1 .floating-text {
  color: var(--color-accent);
}

.floating-card-2 .floating-text {
  color: var(--color-primary);
}

/* Section Styles */
.process-section {
  padding: 5rem 0;
  background: var(--color-muted);
}

.companies-section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  position: relative;
}

.connector-line {
  display: none;
  position: absolute;
  top: 3rem;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--color-primary),
    var(--color-accent)
  );
  opacity: 0.5;
}

.step-card {
  background: var(--color-background);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 10;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.step-description {
  color: var(--color-muted-foreground);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.2;
}

.process-footer {
  text-align: center;
  margin-top: 3rem;
}

.process-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent-light);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* Companies Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--color-background);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-stats);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-stat);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #6c63ff;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-muted-foreground);
  font-weight: 500;
}

.company-logos-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Arial", sans-serif;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 50px;
  font-weight: 700;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.company-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.company-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.logo-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 3px solid #e9ecef;
  transition: all 0.3s ease;
  overflow: hidden;
}

.company-item:hover .logo-image {
  transform: scale(1.1);
  border-color: var(--color-primary);
}

.company-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 50px;
}

.company-item:hover .company-logo {
  transform: scale(1.1);
}

.company-name {
  font-size: 1.3rem;
  color: #fe82b4;
  margin: 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.company-item:hover .company-name {
  color: var(--color-primary);
}

/* Alternative square logo containers */
.logo-image.square {
  border-radius: 50px;
}

.square .company-logo {
  border-radius: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .companies-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .logo-image {
    width: 80px;
    height: 80px;
  }

  .company-logo {
    width: 80px;
    height: 80px;
  }
}

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

  .company-item {
    padding: 20px 15px;
  }

  .logo-image {
    width: 80px;
    height: 80px;
  }

  .company-logo {
    width: 80px;
    height: 80px;
  }
}

/* Success Stories Section */

.success-stories {
  margin-top: 6rem;
}

.stories-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #2d3748;
  margin-bottom: 50px;
}

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

.story-card {
  background: var(--color-background);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-softgreen);
  transition: var(--transition-smooth);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.story-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primarygreen);
  color: var(--color-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.story-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.story-info {
  flex: 1;
}

.story-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.story-role {
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

/* Footer */
.footer {
  background: var(--color-foreground);
  color: var(--color-background);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  color: lightgray;
  line-height: 1.6;
}

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

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

.footer-links a {
  color: lightgray;
  text-decoration: none;
  transition: var(--transition-smooth);
}


.footer-links a:hover {
  color: var(--color-primary);
}

.contact-info {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info p{
  font-size: 0.9rem;
  margin: 0;
}

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

.contact-link {
  color: lightgray;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem; 
}

.contact-link:hover {
  color: var(--color-primary);
}

.footer-cta-text {
  color: lightgray;
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid hsl(215, 25%, 27%, 0.2);
  color: lightgray;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .connector-line {
    display: block;
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-menu {
    display: flex;
  }
}
.hero-content {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-background);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-medium);
  }

  .hero-content {
    margin-top: 40px;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-indicators {
    justify-content: center;
  }

  .floating-card-1,
  .floating-card-2 {
    position: static;
    margin: 1rem auto;
  }

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

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

  .hero-content {
    margin-top: 30px;
  }

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

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
