/* General Reset */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  color: #333;
  background-color: #f9f9f9;
}

/* Section 1: Whatsapp API Header */
.Whatsapp-api-header {
  background-color: #ffffff;
  padding: 40px 20px;
  border-bottom: 1px solid #ddd;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 100px;
}

.header-content {
  flex: 1;
  padding-right: 20px;
}

.header-content h1 {
  font-size: 4.2rem;
  color: #1050f8;
  margin-bottom: 15px;
}

.header-content p {
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
}

.cta-button {
  padding: 10px 20px;
  font-size: 18px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #ff6232;
}

.header-image img {
  max-width: 75%;
  height: auto;
  border-radius: 8px;
  margin-left: 160px;
}

/* Section 2: Integration Guide */
.sms-api-integration {
  background-color: white;
  padding: 30px 20px;
  text-align: center;
  margin: 30px auto;
  max-width: 80%; /* Center and control max width */
  width: 80%; /* Set width */
  box-sizing: border-box;
}

.integration-container {
  max-width: 800px;
  margin: 0 auto;
}

.integration-container h1 {
  font-size: 60px;
  color: #222;
  margin-bottom: 15px;
  margin-top: 100px;
}

.integration-container p {
  font-size: 22px;
  color: #555;
  margin-left: 20px;
}

/* Collapsible Container */
.collapsible-container {
  padding: 30px 20px;
  background-color: #ffffff;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center; /* Centering horizontally */
  align-items: center; /* Centering vertically */
}

.collapsible {
  width: 50%; /* Set the width of collapsible */
  margin-bottom: 10px;
  margin-left: 220px;

  border-radius: 8px;
  background-color: #fff;
  padding: 8px 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}

.collapsible h2 {
  color: #007bff;
  font-size: 27px;
  font-weight: 300;
}

/* Collapsible header */
.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.collapsible-header h3 {
  margin: 0;
}

.collapsible-header .arrow {
  font-size: 18px;
  color: #888;
  transition: transform 0.3s ease;
}

/* Collapsible content */
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  background-color: #f9f9f9; /* Lighter background for the content */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.collapsible-content pre {
  white-space: pre-wrap; /* Ensures code wraps correctly */
  word-wrap: break-word;
  font-family: Arial, sans-serif;

  font-size: 16px;
  margin: 10px;
  padding: 10px;
  background-color: #000000;
  border-radius: 5px;
  border: 1px solid #ddd;
  color: #f0f0f0;
}

.collapsible-content.open {
  max-height: 1000px; /* Adjust to content size */
  padding: 15px 20px;
}

.collapsible.open .arrow {
  transform: rotate(90deg);
}

/* FAQ Section */
.whatsapp-api-faq {
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-top: 1px solid #ddd;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h1 {
  font-size: 44px; /* Slightly larger font for the title */
  color: #222;
  margin-bottom: 30px;
  margin-top: 50px;
  text-align: center;
}

.faq-item {
  background-color: #fff; /* White background for each FAQ item */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for a modern look */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px); /* Lift effect on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.faq-container h2 {
  font-size: 25px;
  color: #007bff;
  margin-top: 0;
  margin-bottom: 15px;
}

.faq-container p {
  font-size: 17px;
  color: black;
  margin-bottom: 0;
  line-height: 1.6; /* Improve readability */
}
