/* ===================================
   Business Listings Page Styles
   =================================== */

/* ---------- Hero ---------- */
.bts-hero {
    padding: 10rem 0 4rem; /* Adjusted padding to account for fixed nav */
    text-align: center;
    background-color: var(--clr-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.bts-hero h1 {
    font-size: var(--fs-h1);
    color: var(--clr-secondary);
    margin-bottom: 1rem;
}

.bts-hero p {
    color: var(--clr-bg);
    font-size: var(--fs-body);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Sticky Filters ---------- */
.filter-bar {
    background: var(--clr-dark);
    padding: 16px 0;
    position: sticky;
    top: 100px; /* Adjust based on your navbar height */
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.filter-inner {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 16px;
}

.filter-inner input,
.filter-inner select {
    flex: 1;
    min-width: 200px; /* Prevent inputs from becoming too small */
    padding: 12px 16px;
    border-radius: 0;
    border: 1px solid var(--clr-accent);
    background: var(--clr-dark);
    color: var(--clr-light);
    font-family: var(--font-body);
}

/* ---------- Grid ---------- */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
    padding: var(--space-section) 0;
    background-color: var(--clr-dark);
}

@media (min-width: 1235px) {
    .company-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Cards ---------- */
.company-card {
    /* background: rgba(255, 255, 255, 0.03); */
    border: 1px solid var(--clr-secondary);
    padding: 22px;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    max-width: 500px;
}

.company-card:hover {
    transform: translateY(-2.5px);
    /* background: rgba(255, 255, 255, 0.07); */
    box-shadow: 0 0 15px rgba(68, 169, 158, 0.1);
}

/* Thumbnail */
.card-thumb {
    width: 100%;
    height: 200px;
    /* border-radius: 10px; */
    /* object-fit: contain; */
    margin-bottom: 15px;
    border-bottom: 1px solid var(--clr-gray);
    border-top: 1px solid var(--clr-gray);
}

/* Status label */
.card-status {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.75rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.card-status.available { background: #7ce981; color: #266d32; }
.card-status.booked { background: #d8b839; color: #7d6220; }
.card-status.sold { background: #ffb0b0; color: #7d2020; }

/* Sector Color System */
.company-sector {
    font-size: 0.9rem;
    color: var(--clr-light);
    font-weight: 600;
    margin-bottom: 5px;
}

.sector-Pharmaceuticals { color: #057fd6; }
.sector-AgriTech { color: #138d00; }
.sector-E-commerce { color: #be8107; }
.sector-Fintech { color: #470fee; }
.sector-Renewable-Energy { color: #00cf95; }

/* Name + Description */
.company-name {
    font-size: 1.4rem;
    color: var(--clr-secondary);
    margin-bottom: 6px;
}

.company-desc {
    color: var(--clr-dark);
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 16px;
    word-break: break-all;
}

/* Button */
.view-btn {
    padding: 0.7rem 1.2rem;
    background: var(--clr-primary);
    color: white;
    border: none;
    border-radius: 0;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--clr-secondary);
    color: var(--clr-dark);
}

@media screen and (max-width: 600px) {    
    .card-thumb {
    width: 100%;
    height: 150px;
    }

}









.why-readymade {
  background: var(--clr-bg);
  padding: 6rem 0;
}

.why-readymade .section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 3rem;
  color: var(--clr-dark);
}

.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  background: var(--clr-white);
  padding: 2rem;
  text-align: center;
  box-shadow: rgba(0,0,0,0.05) 0 4px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: rgba(0,0,0,0.08) 0 8px 30px;
}

.feature-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--clr-dark);
}

.feature-card p {
  font-size: 0.95rem;
 /* color: var(--clr-muted); */
    color: var(--clr-dark);
  line-height: 1.5;
}













/* ===================================
   Timeline Styles (Fix for Listings Page)
   =================================== */

/*
  The original styles in style.css set the line opacity to 0 for an animation.
  We override that here to make the lines visible on this page.
*/
.timeline .line {
  width: 500px; /* Match original width */
  height: 3px; /* Match original height */
  background: var(--clr-light);
  align-self: center;
  opacity: 1; /* Make the line visible */
  transform: scaleX(1); /* Ensure it's full width */
  /*transition = "transform 0.9s ease-out, opacity 0.4s";*/
  transition: transform 0.9s ease-out, opacity 0.4s;
  transform: scaleX();
  transform-origin: left;
}

  
@media (max-width: 900px) {
  .timeline {
    flex-direction: column;
    gap: 3rem;
  }

  .timeline .line {
    width: 3px;
    height: 60px;
    transform-origin: top;
    margin: 0 auto;
  }
}











/* CUSTOM SETUP CTA */
.custom-setup-cta {
  padding: 4rem 0;
  background: var(--clr-bg);
}

.customSetupBox {
  margin: 0 auto; /* Centers the div horizontally */
  //display: grid;
  //grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3rem;
}

.cta-content .cta-title {
  font-size: 2rem;
  color: var(--clr-dark);
  margin-bottom: 0.8rem;
}

.cta-content .cta-text {
  font-size: 1rem;
  color: var(--clr-gray);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  justify-content: center;
}

.cta-btn-main {
  display: inline-block;
  padding: 12px 26px;
  background: var(--clr-primary);
  color: var(--clr-white);
  text-decoration: none;
  border-radius: 0;
  transition: 0.2s ease;
}
.cta-btn-main:hover {
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 800px) {
  .customSetupBox {
   // grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-content .cta-text {
    margin: 0 auto 1.4rem auto;
  }
}












/* General Layout & Background */
.faq-container {
    //max-width: 900px;
    margin: 40px auto;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 30px;
    font-family: sans-serif;
}
/* Define the user-specified background class */
.faq-container.-bg- {
    background-color: #f8f8f8; /* Light gray background */
}

/* Section Title */
.faq-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Individual Item Styling */
.faq-item {
  margin: 0 auto; /* Centers the div horizontally */
    margin-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    overflow: hidden; /* Ensures smooth collapse */
    max-width: 900px;
    align-items: center;
    
}

/* Question/Summary Styling (The clickable header) */
.faq-question {
    display: block;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1em;
    color: #333;
    list-style: none; /* Removes default triangle/arrow in some browsers */
    position: relative;
    transition: background-color 0.2s;
    align-items: center;
    font-family: var(--font-body);
    max-width: 900px;
    

}

/* Arrow/Indicator Styling (A common accent color, e.g., Glint's brand color) */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5em;
    line-height: 1;
    color:var(--clr-bg)
    transition: transform 0.2s;
    align-self: center;

}

/* Styling when open */
.faq-item[open] > .faq-question {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}
.faq-item[open] > .faq-question::after {
    content: '−'; /* Change to minus sign */
    transform: rotate(0deg);
}

/* Answer Content Styling */
.faq-answer {
    padding: 15px 25px;
    line-height: 1.6;
    color: #555;
    animation: fadeIn 0.3s ease-in-out;
    font-family: var(--font-body);
}
.faq-answer p {
    margin: 0;
}
