/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
:root {
  --primary-dark: #090b30;
  --accent-purple: #210382;
  --highlight-yellow: #ffc107;
  --text-light: #f8f9fa;
  --text-dark: #343a40;
  --font-primary: 'Montserrat', sans-serif; /* Rounded Sans-serif */
  --font-secondary: 'Lato', sans-serif;     /* Rounded Sans-serif */

  /* Add RGB versions for opacity */
  --accent-purple-rgb: 33, 3, 130;
  --highlight-yellow-rgb: 255, 193, 7;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-dark);
}

h2 {
    font-size: 2.5rem; /* Adjust as needed */
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--highlight-yellow);
  text-decoration: none;
}

section {
  overflow: hidden; /* Prevent horizontal scrollbars from animations */
}

.btn-primary {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    padding: 10px 25px;
    font-family: var(--font-primary);
    font-weight: 700;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--highlight-yellow);
    border-color: var(--highlight-yellow);
    color: var(--primary-dark);
}

.btn-light {
     padding: 10px 25px;
     font-family: var(--font-primary);
     font-weight: 700;
}

.bg-primary {
    background-color: var(--primary-dark) !important; /* Override Bootstrap */
}

/* .bg-light is default Bootstrap, no need to override unless changing the color */

.text-white {
    color: var(--text-light) !important;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  position: relative;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  background-color: var(--primary-dark); /* Fallback color */
  overflow: hidden; /* Contain particles */
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1; /* Behind content */
}

.hero-content {
  position: relative;
  z-index: 2; /* Above particles */
  padding: 20px;
}

.hero-section h1 {
    font-size: 3.5rem; /* Larger heading */
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 0.9;
}

.hero-section .btn-primary {
    background-color: var(--highlight-yellow);
    border-color: var(--highlight-yellow);
    color: var(--primary-dark);
    font-size: 1.1rem;
}
.hero-section .btn-primary:hover {
     background-color: var(--accent-purple);
     border-color: var(--accent-purple);
     color: var(--text-light);
}

/* Style for the added hero logo */
.hero-logo {
    display: block; /* Ensure it takes block-level properties */
    margin-left: auto;
    margin-right: auto;
    max-width: 350px; /* Adjust width as needed, similar to button */
    height: auto; /* Maintain aspect ratio */
}
/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/

/* Card for Features Section */
.feature-card {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 30px 20px;
  border-radius: 15px; /* Rounded borders */
  height: 100%; /* Ensure cards have same height in a row */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03); /* Jump and slight scale effect */
  box-shadow: 0 8px 25px rgba(var(--accent-purple-rgb, 33, 3, 130), 0.3); /* Use RGB for opacity */
}

.feature-card h3 {
  color: var(--highlight-yellow); /* Highlight title */
}

.feature-card p,
.feature-card ul li {
  color: rgba(255, 255, 255, 0.85); /* Lighter text for readability */
}

.feature-card .feature-icon i {
   color: var(--highlight-yellow); /* Make icon yellow */
}

.feature-card .badge {
    background-color: var(--highlight-yellow) !important;
    color: var(--primary-dark) !important;
}
/* Ensure list checkmarks are visible */
.feature-card .list-unstyled .bi-check-circle-fill {
    color: #20c997 !important; /* Bootstrap success color, ensure visibility */
}

.features-section .feature-item {
    text-align: center;
    margin-bottom: 30px;
}

.features-section .feature-icon {
    font-size: 3rem; /* Example size, adjust as needed */
    color: var(--accent-purple);
    margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Benefits Section
--------------------------------------------------------------*/
.benefits-section {
  background-color: var(--primary-dark) !important; /* Dark background */
  color: var(--text-light); /* Default light text for the section */
}

.benefits-section h2,
.benefits-section h3,
.benefits-section h4 {
    color: var(--text-light); /* Light headings */
}
.benefits-section p,
.benefits-section ul li {
    color: rgba(255, 255, 255, 0.85); /* Light text for paragraphs and lists */
}
.benefits-section .text-muted { /* Override text-muted for dark bg */
     color: rgba(255, 255, 255, 0.7) !important;
}

/* Ensure comparison list icons are visible */
.benefits-section .bi-caret-right {
    color: var(--highlight-yellow); /* Make bullets yellow */
}
.benefits-section .bi-check-lg {
     color: #20c997 !important; /* Bootstrap success color */
}
.benefits-section .text-danger {
    color: #dc3545 !important; /* Keep Bootstrap danger color */
}
.benefits-section .text-success {
    color: #198754 !important; /* Keep Bootstrap success color */
}
.benefits-section .border-bottom {
    border-color: rgba(255, 255, 255, 0.2) !important; /* Lighter border */
}
.benefits-section .display-4 { /* Arrow between comparison */
     color: var(--highlight-yellow) !important;
}
/* Key benefits icons */
.benefits-section .display-4 i {
     color: var(--highlight-yellow) !important;
}

/*--------------------------------------------------------------
# How it Works Section
--------------------------------------------------------------*/
.how-it-works-section {
  background-color: #f8f9fa !important; /* Ensure light background */
}

/* Card for How it Works Section */
.step-card {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 30px 20px;
  border-radius: 15px; /* Rounded borders */
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-card:hover {
  transform: translateY(-8px) scale(1.03); /* Jump and slight scale effect */
  box-shadow: 0 8px 25px rgba(var(--accent-purple-rgb, 33, 3, 130), 0.3);
}

.step-card h3 {
  color: var(--highlight-yellow);
}

.step-card p,
.step-card ul li {
  color: rgba(255, 255, 255, 0.85);
}
.step-card .text-muted { /* Override text-muted for dark bg */
     color: rgba(255, 255, 255, 0.7) !important;
}
.step-card .display-4 { /* Step number */
    color: var(--highlight-yellow) !important; /* Solid yellow color */
}
.step-card .fs-1 { /* Step icon */
     color: var(--highlight-yellow) !important;
}
/* Ensure list checkmarks are visible */
.step-card .list-unstyled .bi-check {
    color: #20c997 !important; /* Bootstrap success color */
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
  background-color: var(--primary-dark) !important; /* Dark Navy Blue background */
  color: var(--text-light);
}

.testimonials-section h2,
.testimonials-section .lead {
    color: var(--text-light);
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition */
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.03); /* Jump and slight scale effect */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 15px;
    color: #555; /* Keep dark text inside white card */
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--primary-dark); /* Keep dark text inside white card */
}

.testimonial-card .role {
    font-size: 0.9em;
    color: #777; /* Keep dark text inside white card */
}

/* Social Proof Metrics Color */
.testimonials-section .display-6 {
    color: var(--highlight-yellow) !important; /* Change color to yellow */
}
.testimonials-section .text-muted { /* Ensure muted text is light on dark bg */
     color: rgba(255, 255, 255, 0.7) !important;
}
.testimonials-section .border-top {
     border-color: rgba(255, 255, 255, 0.2) !important; /* Lighter border */
}

.rating {
    color: var(--highlight-yellow);
    margin-top: 10px;
}

/*--------------------------------------------------------------
# Contact Form Section
--------------------------------------------------------------*/

#contact-form label {
    font-weight: bold;
    color: var(--primary-dark);
}

#form-message {
    font-weight: bold;
}

/*--------------------------------------------------------------
# CTA Bottom Section
--------------------------------------------------------------*/
.cta-bottom-section h2,
.cta-bottom-section .lead {
    color: var(--text-light);
}

/* Style for the bottom CTA button */
.cta-bottom-section .btn-light {
    background-color: var(--highlight-yellow);
    border-color: var(--highlight-yellow);
    color: var(--primary-dark); /* Dark text for contrast */
    font-weight: 700;
}

.cta-bottom-section .btn-light:hover {
    background-color: #ffca2c; /* Slightly lighter yellow on hover */
    border-color: #ffca2c;
    color: var(--primary-dark);
}

/* Style for the small text items with icons */
.cta-bottom-section .small .col-auto {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}
.cta-bottom-section .small i {
    font-size: 1.5rem; /* Icon size */
    margin-bottom: 5px;
    color: var(--highlight-yellow); /* Icon color */
}

/*--------------------------------------------------------------
# Footer Section
--------------------------------------------------------------*/

.footer-section p {
    margin-bottom: 5px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: var(--highlight-yellow);
}

/* Style for the added footer logo */
.footer-logo {
    max-height: 60px; /* Adjust height to fit footer */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Align vertically if needed */
}

/*--------------------------------------------------------------
# Responsive Adjustments (Example)
--------------------------------------------------------------*/
@media (max-width: 768px) {
  h1, .hero-section h1 {
    font-size: 2.5rem;
  }
  h2 {
      font-size: 2rem;
  }
  .hero-section p {
      font-size: 1.1rem;
  }
}