:root {
  --primary-color: #2487ce;
  --primary-dark: #1a6ca4;
  --secondary-color: #124265;
  --text-color: #444444;
  --light-bg: #f8f9fa;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
}

a {
  color: var(--primary-color);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-color);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
#hero {
  background-color: #fff;
  padding: 7rem 0 5rem 0; /* Increased top padding */
}

#hero h1 {
  font-size: 2.5rem; /* Slightly reduced font size */
  margin-bottom: 1rem;
}

#hero h2 {
  font-size: 1.8rem; /* Adjusted subheading size */
  margin-bottom: 1.5rem;
}

#hero .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

#hero .img-fluid.rounded.shadow-lg {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  #hero .img-fluid.rounded.shadow-lg {
    max-width: 80%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #hero {
    padding: 5rem 0 3rem 0;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero h2 {
    font-size: 1.5rem;
  }
}

/* Features Section */
#features {
  background-color: var(--light-bg);
  padding: 5rem 0;
}

.icon-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-box .icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* How It Works Section */
#how-it-works {
  background-color: #fff;
  padding: 5rem 0;
}

.step-box {
  text-align: center;
  padding: 2rem;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Advanced Features Section */
#advanced-features {
  background-color: var(--light-bg);
  padding: 5rem 0;
}

#advanced-features .col-md-6 {
    margin-bottom: 2rem;
}

#advanced-features h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

#advanced-features i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Pricing Section */
#pricing {
  background-color: #fff;
  padding: 5rem 0;
}

.pricing-box {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.pricing-box.featured {
  background-color: var(--primary-color);
  color: #fff;
}

.pricing-box.featured h3,
.pricing-box.featured .price {
  color: #fff;
}

.pricing-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-box ul {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
}

.pricing-box ul li {
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  font-weight: normal;
}

@media (max-width: 768px) {
  .pricing-box {
    margin-bottom: 2rem;
  }
}

/* Testimonial Section */
#testimonial {
  background-color: var(--light-bg);
  padding: 5rem 0;
}

.blockquote {
  font-size: 1.25rem;
}

/* CTA Section */
#cta {
  background-color: #f8f9fa;
  padding: 5rem 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  text-align: center;
}

#cta h2 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#cta .lead {
  font-size: 1.25rem;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 2rem;
}

#cta .cta-buttons {
  display: flex;
  justify-content: center;
}

#cta .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  #cta h2 {
    font-size: 2rem;
  }

  #cta .lead {
    font-size: 1.1rem;
  }

  #cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* FAQ Section */
#faq {
  background-color: var(--light-bg);
  padding: 5rem 0;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
  margin: 0;
  padding: 1rem 2rem 1rem 1rem;
  background-color: #fff;
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-question::after {
  content: '\002B';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--primary-color);
}

.faq-question[aria-expanded="true"]::after {
  content: '\2212';
}

.faq-answer {
  padding: 1rem;
  background-color: #fff;
  font-size: 1rem;
  color: var(--text-color);
}

/* Remove these styles if they exist */
.card, .card-header, .card-body {
  background-color: transparent;
  border: none;
  padding: 0;
}

/* Footer */
#footer {
  background-color: #f8f9fa;
  color: var(--secondary-color);
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
}

#footer p {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--secondary-color);
  margin-left: 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .footer-nav {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-link {
    margin: 0 0.75rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .pricing-box {
    margin-bottom: 2rem;
  }
}

/* Add this to your existing CSS file */

.img-fluid.rounded.shadow-lg {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .img-fluid.rounded.shadow-lg {
        max-width: 80%;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  /* Hero section */
  #hero {
    padding: 3rem 0;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero h2 {
    font-size: 1.5rem;
  }

  #hero .lead {
    font-size: 1rem;
  }

  /* CTA buttons */
  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
    margin-bottom: 1rem;
  }

  /* Features section */
  #features .icon-box {
    margin-bottom: 2rem;
  }

  /* How It Works section */
  #how-it-works .step-box {
    margin-bottom: 2rem;
  }

  /* Advanced Features section */
  #advanced-features h3 {
    font-size: 1.2rem;
  }

  /* FAQ section */
  .faq-question {
    font-size: 1rem;
    padding: 0.75rem 2rem 0.75rem 1rem;
  }

  /* Footer */
  #footer {
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-link {
    margin: 0 0.5rem 0.5rem;
  }
}

/* Additional responsive adjustments */
@media (max-width: 576px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Mobile menu improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 56px; /* Adjust this value based on your navbar height */
        left: 0;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        width: 75%;
        height: calc(100% - 56px); /* Adjust this value to match the top value */
        background-color: #fff;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        transition: all 0.3s ease-in-out;
        transform: translateX(-100%);
        display: block; /* Ensure it's always a block */
        opacity: 0; /* Start with 0 opacity */
        visibility: hidden; /* Hide it by default */
    }

    .navbar-collapse.show {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .navbar-nav .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Improve button spacing on mobile */
@media (max-width: 991px) {
    .navbar-nav .nav-item .btn {
        margin-bottom: 10px;
    }
}

/* Close button for mobile menu */
.close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
    display: none;
}

@media (max-width: 991px) {
    .navbar-collapse.show .close-menu {
        display: block;
    }
}