/* Reset and basic styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-light-color: #ffffff;
  --primary-dark-color: #000000;
  --hover-from-dark-color: #363636;
  --hover-from-light-color: #e4e4e4;
  --padding-header-footer: 10px;
}

/*
==================================================================================== 
==================================================================================== 
*/
/* Ensure the html and body take up the full height of the viewport */
/*used to push the footer at the bottom*/
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  display: flex;
  /*used to push the footer at the bottom*/
  flex-direction: column;
  padding: 0;
  margin: 0;
}

/* Allow the main content to grow and fill the available space */
main {
  flex: 1;
  /*used to push the footer at the bottom*/
}

/*This is used to add blank space before and after the markdown content of a page*/
main.container {
  margin-top: 50px;
  /* Alternative: Add space above the content */
  margin-bottom: 160px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  padding-block: var(--padding-header-footer);
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;

}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

/* Adjust the logo size and text */
.logo img {
  width: 100px;
}


.logo span {
  font-size: 33px;
  /* Adjust font size */
  font-weight: normal;
  /* Make the text bold */
  color: var(--primary-dark-color);
  /* Set text color */
}

/*
==================================================================================== 
==================================================================================== 
*/

/* Hero Section */
.hero {
  background: var(--primary-dark-color);
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  /* Align items vertically centered */
  justify-content: space-between;
  /* Create space between text and image */
  gap: 2rem;
  /* Add space between flex items */
  flex-wrap: wrap;
  /* Allow wrapping for smaller screens */
}

.hero-text {
  flex: 1 1 60%;
  /* Take 60% width on larger screens, allow resizing */
  max-width: 600px;
  /* Optional: Limit the maximum width of the text */
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-text p {
  font-size: 1.4rem;
  color: #ffffff;
}

.hero-image {
  flex: 1 1 40%;
  /* Take 40% width on larger screens, allow resizing */
  max-width: 350px;
  /* Optional: Limit the maximum width of the image */
}

.hero-image img {
  width: 100%;
  /* Make the image responsive */
  height: auto;
  /* Maintain aspect ratio */
  display: block;
  /* Remove extra space below the image */
}

/*
==================================================================================== 
==================================================================================== 
*/
/* Define a basic button style */
.button-group {
  display: flex;
  gap: 20px;
  /* Adjust the spacing between buttons */
  justify-content: center;
  /* Center align the buttons horizontally */
  margin-top: 40px;
  /* Space the button group from other elements */
}

.button-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Adjust the spacing between buttons */

  margin-top: 10px;
  /* Space the button group from other elements */
}

.button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  /* Prevents text from wrapping */
}

.button:hover {
  transform: scale(1.07);
  /* Add a hover effect */
}

/* Specific button styles for different variations */
.button-dark {
  background-color: var(--primary-dark-color);
  color: #fff;
}

.button-dark:hover {
  background-color: var(--hover-from-dark-color);
  color: #ffffff
}

.button-light {
  background-color: #ffffff;
  color: var(--primary-dark-color);
}

.button-light:hover {
  background-color: var(--hover-from-light-color);
  color: #000000;
}

.button-icon {
  width: 25px;
  /* Adjust the size of the logo */
  height: auto;
  /* Adjust the size of the logo */
  vertical-align: middle;
  /* Ensure the logo aligns properly */
  margin-right: 10px;

}


/*
==================================================================================== 
==================================================================================== 
*/

/* Footer Styles */
.footer {
  background-color: #ffffff;
  margin-top: auto;
  width: 100%;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-block: var(--padding-header-footer);

}

.footer-links-center {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-grow: 1;
}

.footer-link {
  color: var(--primary-dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: normal;
  font-size: 1.2rem;
  white-space: nowrap;
  /* Prevents text from wrapping */
}

.footer-link:hover {
  color: var(--hover-from-dark-color);
}

/* Download Now Section */
.download-now {
  background-color: var(--primary-dark-color);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  /* Reduced padding */
  width: 100%;
}

.download-now .container {
  max-width: 800px;
  margin: 0 auto;
}

.download-now h2 {
  margin-bottom: 50px;
  font-size: 40px;
}

.download-now p {
  margin-bottom: 30px;
  font-size: 23px;
}


/*
==================================================================================== 
==================================================================================== 
*/

/* Content/Markdown Styling */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Specific markdown content styling */
.container div {
  /* This targets the div containing your markdown content */
  line-height: 1.6;
}

.container h1 {
  margin: 0rem 0 1.5rem 0;
}

.container h2 {
  margin: 0rem 0 1rem 0;
}

.container h3 {
  margin: 0rem 0 1rem 0;
}

.container p {
  margin: 0 0 1rem 0;
  /* Add space after paragraphs */
}


.container ul,
.container ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

/* Add spacing between list items */
.container li {
  margin: 0.5rem 0;
}

/* Add spacing for horizontal rules */
.container hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #eee;
}


/*
==================================================================================== 
==================================================================================== 
*/
/* How It Works Section */
.how-it-works {
  padding: 60px 0;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary-dark-color);
}

.card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  gap: 80px;
}

/* Alternating cards */
.card:nth-child(odd) {
  flex-direction: row-reverse;
  /* Reverse the order for even cards */
}

.card-image {
  flex: 1;
  max-width: 300px;
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.card-text {
  flex: 2;
  text-align: left;
  margin-left: 40px;
  /* For odd cards */
}

.card:nth-child(even) .card-text {
  margin-left: 0;
  margin-right: 40px;
  /* Adjust margin for even cards */
}

.card-text h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-dark-color);
}

.card-text p {
  font-size: 1.5rem;
  color: #666;
  line-height: 2;
}

/*
==================================================================================== 
==================================================================================== 
*/

/*  
==================================================================================== 
==================================================================================== 
==================================================================================== 
==================================================================================== 
*/

/* Mobile specific */
@media (max-width: 768px) {

  /* Adjust the logo size and text */
  .logo img {
    width: 90px;
    /* Reduce the logo size */
  }

  .logo span {
    font-size: 24px;
    /* Reduce the font size of the text */
  }

  .logo {
    gap: 0.5rem;
  }

  /* Adjust the button size and padding */
  .button {
    padding: 12px 15px;
    /* Reduce padding */
    font-size: 16px;
    /* Reduce font size */
  }

  /* Ensure the header elements are properly aligned and spaced */
  nav {
    padding: 1rem 0;
    /* Reduce padding */
  }

  .hero-text h1 {
    font-size: 2.5rem;
    /* Adjust heading size for smaller screens */
  }

  .hero-text p {
    font-size: 1.2rem;
    /* Adjust paragraph font size */
  }

  .hero-image {
    max-width: 100%;
    /* Full width on smaller screens */
    margin-top: 20px;
    /* Add spacing between text and image */
  }

  .card {
    flex-direction: column;
    /* Stack image and text vertically */
    text-align: center;
    /* Center-align text */
    gap: 20px;
    /* Reduce gap between elements */
  }

  .card:nth-child(odd),
  .card:nth-child(even) {
    flex-direction: column;
    /* Reset alternating styles for mobile */
  }

  .card-text {
    margin: 0;
    /* Remove margins for mobile */
  }

  .card-image {
    max-width: 100%;
    /* Allow image to take full width */
  }

  .card-text h3 {
    font-size: 1.8rem;
    /* Adjust heading size for smaller screens */
  }

  .card-text p {
    font-size: 1.2rem;
    /* Adjust paragraph font size */
    line-height: 1.8;
  }
  .footer-content {
    display: flex; /* Align logo and links horizontally */
    align-items: center; /* Vertically center the logo and links */
  }
  
  .logo {
    flex-shrink: 0; /* Prevent the logo from shrinking */
  }
  
  .footer-links-center {
    display: flex;
    flex-wrap: wrap; /* Allow links to wrap to the next line */
    gap: 10px; /* Add spacing between links */
    justify-content: center; /* Center the links */
  }
  
  .footer-link {
    white-space: nowrap; /* Prevent text from wrapping within a link */
  }
}

/*  
==================================================================================== 
==================================================================================== 
==================================================================================== 
==================================================================================== 
*/