/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Code Spark Brand Colors */
  --primary: #3b82f6;
  --primary-foreground: #ffffff;
  --accent: #fd594f !important;
  --button : #fd594f ;
  --button-hover:#055360;
  --accent-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #475569;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e5e7eb;
  --card: #f1f5f9;
  --card-foreground: #475569;

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

  /* Spacing */
  --container-max-width: 1280px;
  --section-padding: 4rem 0;
  --border-radius: 0.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

html {
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Typography */
.text-primary {
  color:#06525d;
}

.text-accent {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-accent {
  background-color: #fd594f;
  color: var(--accent-foreground);
}


.btn-accent:hover {
  background-color: #055360;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: var(--background);
  color: #055360;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--muted);
}

/* Improved contrast for outline button */
.btn-outline {
  background-color: rgba(255, 255, 255, 0.9);
  color: #055360;
  border: 2px solid #055360;
  font-weight: 600;
}

.btn-outline:hover {
  background-color: #fd594f;
  color: #ffffff;
  border: 2px solid #e5e7eb;

}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  width: 5rem;
  height: 5rem;
  background-color: #ffffff !important
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brandIcon{
 width: 2rem;
  height: 2rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--primary);
}

.nav-mobile {
  display: block;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

.mobile-menu {
  background-color: var(--background);
  border-top: 1px solid var(--border);
}

.mobile-menu-content {
  padding: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  color: var(--foreground);
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-cta {
  padding: 0.75rem;
}

.hidden {
  display: none;
}

/* Hero Section */
.hero {
  padding: 6rem 1rem 4rem;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
}

.hero-content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #06525d;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: var(--section-padding);
}

.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--card);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon.primary {
  background-color: rgba(59, 130, 246, 0.1);
  color: #055360;
}

.feature-icon.accent {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.feature-description {
  color: var(--muted-foreground);
}

/* How It Works Section */
.how-it-works {
  padding: var(--section-padding);
  background-color: rgba(241, 245, 249, 0.3);
}

.steps-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  text-align: center;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-number.primary {
  background-color: #055360;
  color: var(--primary-foreground);
}

.step-number.accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.step-description {
  color: var(--muted-foreground);
}

/* Benefits Section */
.benefits {
  padding: var(--section-padding);
}

.benefits-content {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .benefits-content {
    grid-template-columns: 1fr 1fr;
  }
}

.benefits-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-title {
    font-size: 2.5rem;
  }
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.benefit-icon.primary {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.benefit-icon.accent {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.benefit-description {
  color: var(--muted-foreground);
}

.benefits-stats {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .benefits-stats {
    padding-left: 2rem;
  }
}

.stats-card {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
  padding: 2rem;
  border-radius: var(--border-radius);
}

.stats-content {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-number.primary {
  color: #055360;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-value.primary {
  color: #055360;
}

.stat-value.accent {
  color: var(--accent);
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* CTA Section */
.cta {
  padding: var(--section-padding);
  background: linear-gradient(145deg, #055360 30%, #fd5c52 70%);
    background-attachment: fixed;
}

.cta-content {
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: white !important;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 3rem 0;
  background-color: var(--foreground);
  color: var(--background);
}

.footer-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  margin-bottom: 1rem;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.brand-description {
  color: rgba(255, 255, 255, 0.8);
  max-width: 24rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--background);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--background);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.fade-in-delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-in-delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

/* Responsive Design */
@media (max-width: 640px) {
  .hero {
    padding: 5rem 1rem 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .benefits-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }
}
