@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600&display=swap');



*{box-sizing:border-box}
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  min-height: 100vh;
  background: #fff;
  padding: 40px 20px;
}


.container {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

#mainheading {
  font-size: 44px;
  margin: 6px 0 18px;
  color: 46494C;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

input[type="text"] {
  width: 100%;
  padding: 14px 18px;
  margin: 12px 0 20px;
  border: 1px solid rgba(69, 65, 65, 0.18);
  border-radius: 10px;
  outline: none;
  font-size: 16px;
}

input::placeholder { 
  color: rgba(169, 172, 174, 0.6); 
}


h3 { 
  color: rgb(0, 0, 0); 
  margin-bottom: 8px;  
}
#topicheading {
  font-size: 30px !important;  /* increase size */
  font-weight: 700;
  color: #222;
  margin-bottom: 25px;
}
.grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  align-items: start;
}

.card {
  background: #e4e9ea;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.04);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,0.25); }

.card img { width: 120px; height: 120px; object-fit: contain; display:block; margin: 0 auto 8px; }
.heading { font-size: 18px; color: #0b0b0b; margin: 6px 0 0; }


.hidden { display: none; }

#faqSection { margin-top: 18px; text-align: left; }

#backBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f4f5; 
  color: #1a1818;
  border: 1px solid #c7cccd;
  border-radius: 6px;
  padding: 10px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#backBtn:hover {
  background: #525455;
  color: #fff;       
}

#backBtn:active {
  transform: scale(0.96);    
}

.faq-container { max-width: 700px; margin: 0 auto 60px; }

.faq {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  margin: 12px 0;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .2s ease;
}


.faq-row{
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;     
  cursor: pointer;
  min-height: 56px;     
}


.faq-title {
  margin: 0;   
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #333;
  flex: 1;    
}


.faq-toggle {
  border: 0;
  background: rgba(255,255,255,0.03);
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #666;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}


.faq-toggle .fa-chevron-down { display: inline-block; }
.faq-toggle .fa-circle-xmark { display: none; }


.faq-text {
  padding: 5px 16px 16px 16px;
  color: #444;
  font-size: 1rem;
  display: none; 
  line-height: 1.45;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.faq.active {
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transform: translateY(-4px);
  background-color: #f1f4f5;
}
.faq.active .faq-text { display: block; }
.faq.active .fa-chevron-down { display: none; }
.faq.active .fa-circle-xmark { display: inline-block; color: #d02626; }

/* small screens */
@media (max-width:520px){
  #mainheading { font-size: 30px; }
  .faq-row { min-height: 48px; padding: 10px 12px; }
  .faq-toggle { width: 40px; height: 40px; }
}
