/* ============================================
   🔹 UNIVERSAL CONTAINER & SECTION BASE STYLES
   ============================================ */
.cft-container,
.common-summary-section,
.common-summary-wrapper {
  width: 100%;
  /*max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;*/
}

.common-summary-section {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow-x: visible;
}

/* ================================
   🔹 HEADING STYLES
   ================================ */
h1, h2, h3, h4 {
  margin: 0 0 15px 0;
  font-weight: 600;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; color: #1a3f7a; text-align: center; }
h3 { font-size: 1.25rem; color: #007bff; }

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* ================================
   🔹 LINK STYLES
   ================================ */
a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 15px 0;
}
p {
  margin-bottom: 0; /* likely missing or reset elsewhere */
}

/* ================================
   🔹 IMAGE / MEDIA NORMALIZATION
   ================================ */
img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ============================================
   🔹 FILTER CONTROLS (above table)
   ============================================ */
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.filters input,
.filters select {
  padding: 8px 10px;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    align-items: stretch;
  }
  .filters input,
  .filters select {
    width: 100%;
  }
}

/* ============================================
   🔹 RESPONSIVE TABLE CONTAINER
   ============================================ */
/* ✅ Mobile-safe responsive table handling */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  /*border: 1px solid #ddd;*/
  box-sizing: border-box;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure table doesn't push beyond screen */
.table-responsive td,
.table-responsive th {
  padding: 10px 12px;
  white-space: normal;
  word-break: break-word;
  text-align: left;
  vertical-align: top;
  max-width: 100%;
}

/* Header styling */
.table-responsive thead th {
  background: linear-gradient(135deg, #007bff, #0056d2);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Compact layout for smaller screens */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
  }

  .table-responsive table {
    min-width: unset;
    width: 100%;
  }

  .table-responsive td,
  .table-responsive th {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}

/* Hide last column on extra small screens */
@media (max-width: 480px) {
  .table-responsive td:last-child,
  .table-responsive th:last-child {
    display: none;
  }
}


/* ✅ Fix horizontal scroll issue on mobile devices */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

.comparison-section,
.common-summary-section,
.cft-container,
.common-summary-wrapper {
  overflow-x: hidden !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}


.comparison-section,
.common-summary-section,
.cft-container,
.common-summary-wrapper {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}


/*# sourceMappingURL=common.min.css.map */

/* ==========================
   About Section Styling
   ========================== */
.about-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  color: #333;
}

.about-container {
  max-width: 1100px;   /* previously 900px — gives more breathing room */
  margin: 0 auto;
  background-color: #fff;
  padding: 50px 40px;  /* slightly increased */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
}

.about-container h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #222;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.3;
  padding: 0 10px;
}

.about-container p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #555;
}

/* Tablet / Medium Screens */
@media (max-width: 1024px) {
  .about-container {
    padding: 30px 20px;
  }

  .about-container h1 {
    font-size: 1.8rem;
  }

  .about-container p {
    font-size: 1rem;
  }
}

/* Mobile / Narrow Screens */
@media (max-width: 600px) {
  .about-container {
    padding: 20px 15px;
    margin: 0 10px;
  }

  .about-container h1 {
    font-size: 1.5rem;
    padding: 0 5px;
    line-height: 1.25;
  }

  .about-container p {
    font-size: 0.95rem;
  }
}

/* ==========================
   Contact Section Styling
   ========================== */
.contact-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.contact-container {
  max-width: 900px;    /* previously 700px */
  margin: 0 auto;
  background: #fff;
  padding: 50px 40px;  /* more balanced for wide view */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.3;
  padding: 0 10px;
}

.contact-container p {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

.contact-container form div {
  margin-bottom: 20px;
}

.contact-container label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.contact-container input[type="text"],
.contact-container input[type="email"],
.contact-container textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s;
}

.contact-container input[type="text"]:focus,
.contact-container input[type="email"]:focus,
.contact-container textarea:focus {
  border-color: #007bff;
  outline: none;
}

.contact-container button {
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-container button:hover {
  background-color: #0056b3;
}

.contact-container a {
  color: #007bff;
  text-decoration: none;
}

.contact-container a:hover {
  text-decoration: underline;
}

/* Responsive Contact Section */
@media (max-width: 1024px) {
  .contact-container {
    padding: 30px 25px;
  }

  .contact-container h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .contact-container {
    padding: 20px 15px;
    margin: 0 10px;
  }

  .contact-container h1 {
    font-size: 1.5rem;
    padding: 0 5px;
    line-height: 1.25;
  }

  .contact-container p {
    font-size: 0.95rem;
  }
}


@media (max-width: 1024px) {
  .about-container,
  .contact-container {
    max-width: 95%;
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .about-container,
  .contact-container {
    width: 100%;
    max-width: 100%;
    margin: 0 10px;
    padding: 20px 15px;
  }
}



/* Fix spacing between consecutive content blocks */
p {
  margin: 0 0 1.2rem 0; /* ensures spacing below paragraphs */
  line-height: 1.6;
}

/* Ensure headings that follow a paragraph have proper vertical gap */
p + h1,
p + h2,
p + h3,
p + h4 {
  margin-top: 1.5rem !important;
}

/* Optional: space above ordered/unordered lists following a paragraph */
p + ul,
p + ol {
  margin-top: 1rem;
}

/* Optional: make list items breathe slightly */
ul li,
ol li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

p + div,
div + p,
div + h2,
div + h3 {
  margin-top: 1.2rem;
}


/* Give spacing between consecutive article blocks */
article {
  margin-bottom: 2rem; /* space after each article */
}

/* Add breathing space between article heading and its paragraph/list */
article h1 {
  margin-bottom: 0.8rem;
}

article p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Fix heading spacing that directly follows another article */
article + article h1 {
  margin-top: 2rem !important;
}


@media (max-width: 768px) {
  article {
    margin-bottom: 1.5rem; /* slightly tighter on small screens */
  }
}


/* ===================== FAQ Section ===================== */
.faq-section {
  margin: 40px 0;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.faq-heading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 0;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  user-select: auto;
  position: relative;
  z-index: 1;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "➤";
  transition: transform 0.3s ease;
  font-size: 18px;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Show answer when open */
.faq-item[open] .faq-answer {
  display: block;
}

/* 🔹 Responsive Media Queries */
@media (max-width: 1024px) {
  .faq-heading { font-size: 1.45rem; }
  .faq-question { font-size: 1.05rem; }
  .faq-answer { font-size: 0.98rem; }
}

@media (max-width: 600px) {
  .faq-section { margin: 30px 0; padding-top: 15px; }
  .faq-heading { font-size: 1.3rem; margin-bottom: 15px; }
  .faq-question { font-size: 1rem; }
  .faq-item { padding: 10px 0; }
  .faq-answer { font-size: 0.97rem; line-height: 1.55; }
  .faq-item summary::after { font-size: 16px; }
}

@media (max-width: 375px) {
  .faq-heading { font-size: 1.2rem; }
  .faq-question { font-size: 0.95rem; }
  .faq-answer { font-size: 0.93rem; }
}

/* Force enable toggle functionality, fully scoped */
.faq-section details {
  overflow: visible !important;
}

.faq-section details > summary {
  display: flex !important;
  cursor: pointer !important;
}

.faq-section details[open] > *:not(summary) {
  display: block !important;
}
