/*
 * Global and Utility Styles
 */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #dee3e9;
  color: #111;
  min-height: 100vh;
}

section {
  padding: 50px 15px;
  max-width: 1200px;
  margin: auto;
}

h1,
h2,
h3 {
  margin: 0 0 20px 0;
}

p {
  margin: 0 0 10px 0;
}

/*
 * Header Styles
 */
.site-header {
  background: white;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  color: #1358ec;
  font-size: 1.6em;
  letter-spacing: -0.5px;
}

/*
 * Button Styles
 */
.btn {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s;
}

.btn.primary {
  background: #6aed8c;
  border: 5px solid #60c14f;
  color: #000;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.btn.primary:hover {
  background: #ffffff;
  transform: scale(1.05);
  border: 5px solid #60c14f;

}

.btn.secondary {
  background: #6aed8c;
  border: 5px solid #60c14f;
  color: #000;
}

.btn.secondary:hover {
  border: 5px solid #60c14f;
  background: #ffffff;
  transform: scale(1.05);
}

/*
 * Hero Section
 */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: space-around;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content {
  text-align: left;
  max-width: 550px;
}

.hero h1 {
  /* font-size: 1.8rem ;  */
  line-height: 1.3;
  color: #1a1a1a; /* Changed heading color */
}

.highlight-text {
  color: #1fa942c2; /* Highlight specific text in heading */
}

.hero-buttons .btn {
  margin-right: 15px;
  margin-top: 20px;
}

.hero-image img {
  max-width: 350px;
  height: auto;
  display: block;
  border-radius: 15px;
}
.cta-title{
  color: var(--latest_heading_color);
}
/* Adjust alignment for smaller screens */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 1.8em; /* Adjusted for mobile */
  }
  .hero-buttons {
    text-align: center;
  }
}

/*
 * Card/Grid Styles
 */
.how-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  overflow: hidden; 
  cursor: pointer;
}

/* Decorative corners (same concept as your .card before/after) */
.how-card::before,
.how-card::after {
  position: absolute;
  content: "";
  width: 20%;
  height: 20%;
  background: linear-gradient(135deg,
    rgba(19, 88, 236, 0.15),
    rgba(45, 102, 223, 0.25));
  transition: all 0.5s ease;
  z-index: 0;
}

.how-card::before {
  top: 0;
  right: 0;
  border-radius: 0 15px 0 100%;
}

.how-card::after {
  bottom: 0;
  left: 0;
  border-radius: 0 100% 0 15px;
}

/* Hover animation */
.how-card:hover::before,
.how-card:hover::after {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: all 0.5s ease;
}

/* Optional: add text or color overlay on hover */
.how-card:hover::after {
  background: linear-gradient(135deg,
    rgba(19, 88, 236, 0.4),
    rgba(45, 102, 223, 0.6));
}

/* Content stays visible above the expanding effect */
.how-card * {
  position: relative;
  z-index: 1;
}

/* Lift & shadow effect on hover */
.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 2px 2px 20px rgba(19, 88, 236, 0.3);
}


.how-steps,
.benefits-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* .how-card, */
.benefit-item {
  background: #fff;
  border-radius: 5px 20px;
  padding: 0px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  
}

/* .how-card:hover, */
.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow:2px 2px 15px 10px rgba(93, 102, 251, 0.15);
}

/* Icon Enhancement */
.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
}

.how-icon .icon-wrapper {
  background: #e6ffec;
}

.how-icon i,
.benefit-icon i {
  font-size: 28px !important;
}

/* Specific colors for Benefit Icons */
.benefit-item:nth-child(1) .icon-wrapper {
  background: #ffe6e6;
}
.benefit-item:nth-child(2) .icon-wrapper {
  background: #e6f0ff;
}
.benefit-item:nth-child(3) .icon-wrapper {
  background: #f0e6ff;
}
.benefit-item:nth-child(4) .icon-wrapper {
  background: #e6fffb;
}

/*
 * Section-Specific Styles
 */
.widget-benefits {
  background: #f9fafb;
  margin-top: 20px;
  padding: 20px;
}

.widget-how h2,
.widget-benefits h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
}

/*
 * CTA Section
 */
.widget-cta {
  text-align: center;
  padding: 70px 15px;
  background: linear-gradient(135deg, #1358ec, #1358ec);
  color: white;
  border-radius: 10px;
  margin-bottom: 50px;
}

.cta-title {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cta-text {
  font-size: 18px;
  color: #e6e6e6;
  margin-bottom: 25px;
}

.cta-buttons .btn.secondary {
  background: white;
  color: #1358ec;
}

.cta-buttons .btn.secondary:hover {
  background: #f0f0f0;
}

/*
 * Footer Styles
 */
.site-footer {
  text-align: center;
  padding: 20px 0;
  background: #222;
  color: #aaa;
  font-size: 12px;
}

.site-footer a {
  color: #1358ec;
  text-decoration: none;
}

/*
 * Animation Styles
 */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  padding: 10px 10px;
}

/* ============================= */
/* Responsive Media Queries      */
/* ============================= */

/* Mobile devices: max-width 768px */
@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    flex-direction: column !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    gap: 20px !important;
  }

  .hero-content {
    text-align: center !important;
    max-width: 100% !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .hero-image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  /* How Steps Section */
  .how-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 10px !important;
  }

  .how-card img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Benefits Grid */
  .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 10px !important;
  }

  /* CTA Section */
  .widget-cta {
    padding: 40px 15px !important;
    border-radius: 12px !important;
  }

  .cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .cta-title {
    font-size: 1.5rem !important;
  }

  .cta-text {
    font-size: 1rem !important;
  }
}

/* Extra small devices: max-width 480px */
@media (max-width: 480px) {
  /* h1,
  h2,
  h3 {
    font-size: 90% !important;
  } */

  .btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }

  .icon-wrapper {
    width: 50px !important;
    height: 50px !important;
  }

  .how-card,
  .benefit-item {
    padding: 15px !important;
  }
}
