
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    display: flex;
	    max-width: 800px;
    margin: 0 auto;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.top-timer-container {
  background-color: #ff0080;
  color: #fff;
  padding: 0.5rem;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
}

.end-list {
    margin-bottom: 20px;
    list-style: decimal;
    list-style-position: inside;
}
ol, ul {
    list-style: none;
}


.started {
	padding: 20px 0;
	position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.final{display:none;}
.started button {
	cursor: pointer;
	display: block;
	color: #000000;
	background: #fff;
	font-family: 'Roboto Bold', sans-serif;
	width: 100%;
	font-size: 1.125rem;
	line-height: 28px;
	border: 3px solid #000000;
	padding: 10px 20px;
	-webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
	box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
}
.started a {
	display: block;
	width: 90%;
	padding: 10px 20px;
	background: #000000;
	color: #fff;
	line-height: 30px;
	font-size: 1rem;
	text-align: center;
	text-decoration: none;
	font-size: 1.125rem;
	font-family: 'Roboto', sans-serif;
}

.started button:hover, .question button:hover {
	background: #000000;
	color: #fff;
	border: 3px solid #fff;
}

.end-list li:first-child {
    border: 0;
}
.end-list li {
    padding: 16px 0;
    font-size: 1rem;
    border-top: 1px solid #e5e7eb;
}

.end-text {
    margin-bottom: 48px;
    font-size: 1rem;
}

.color {
    font-weight: 500;
    color: #ff1f6a;
}

main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* === Header === */
header {
    background-color: #000;
    color: #fff;
    padding: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    display: flex;
    width: 90%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
}

.program-title {
    font-size: 1.2rem;
    margin-left: 10px;
}

.info-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}


/* === Content Containers === */
#questionsContainer,
#loadingContainer,
#errorContainer {
    text-align: center;
    max-width: 600px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
}

#questionsContainer {
    padding: 30px;
    position: relative;
}

#nextQuestionPreview {
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: #999;
    transition: opacity 0.3s ease;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#nextQuestionPreview p {
    margin: 0;
    pointer-events: none;
}

/* === Error Message === */
.error-message {
    text-align: center;
    padding: 20px;

}

.error-icon {
    font-size: 4rem;
    color: #f00;
    display: block;
    margin-bottom: 10px;
}

.error-message p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#tryAgainButton {
    background-color: #007bff;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#tryAgainButton:hover {
    background-color: #0056b3;
}

/* === Question Styles === */
.question {
    margin-bottom: 30px;
    text-align: left;
}

.question p {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: #2c2c2c;
    line-height: 1.3;
}

.question small {
    font-size: 1.1rem;
    color: #777;
    font-weight: 400;
}

.question button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 15px 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    color: #2c2c2c;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    outline: none;
}

.question button:hover {
    background-color: #f2f2f2;
    border-color: #bbb;
}

/* === Loading Styles === */
#loadingContainer h2 {
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 600;
    font-size: 1.7rem;
}

#loadingContainer p {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 2rem;
    font-weight: 400;
}

#loadingMessages {
    list-style: none;
    padding: 0;
    text-align: left;
}

#loadingMessages li {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    font-weight: 400;
}

/* === Timer Styles === */
.timer-container {
    margin-top: 1rem;
    text-align: center;
}

.timer-text {
    font-size: 1.2rem;
    font-weight: bold;
}

/* === Loading Circle Animation === */
.loading-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 4px solid #ccc;
    border-radius: 50%;
    border-top: 4px solid transparent;
    animation: spin 1s linear infinite;
    animation-play-state: paused;
    margin-left: 0.5rem;
    position: absolute;
    right: 0;
    top: 10%;
    transform: translateY(-50%);
    opacity: 0;
}

.loading-circle.active {
    border-color: #4CAF50;
    border-top-color: transparent;
    animation-play-state: running;
    opacity: 1;
}

/* === Button Styles === */
#startTimer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 1.2rem 2.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#startTimer:hover {
    background-color: #222;
}


/* === Keyframe Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === Modal Styles (Simplified) === */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 8px;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 10px;
  border: none;
  background-color: #f0f0f0;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 5px;
}

.faq-question:hover,
.faq-question.active {
  background-color: #e0e0e0;
}

.faq-answer {
  display: none;
  padding: 10px;
  margin-top: 0.5rem;
  background-color: #f8f8f8;
  border-radius: 5px;
}

/* === Hero Section === */
.hero {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
    transition: opacity 0.5s ease;
}

.hero.hidden {
  opacity: 0;
  display: none;
}

h1 {
    color: #333;
    text-align: left;
    font-size: 30px;
}

.highlight {
    color: #f00;
    font-weight: bold;
}

/* === Testimonials Section === */
.testimonials {

    padding: 2rem;
    margin-top: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: margin-top 0.5s ease;
}

.comment-section {
    margin-top: 20px;
}

.comment {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    position: relative;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.comment-profile-pic {
  width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-user {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.comment-user a {
    text-decoration: none;
    color: inherit;
}

.comment-text {
    margin-bottom: 10px;
    background: #f0f2f5;
    border-radius: 20px;
}

.comment-footer {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
   color: #777;
    padding-top: 5px;
  border-top: 1px solid #ddd;

}

.comment-action {
  margin-right: 10px;
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
}

.comment-action:hover {
    text-decoration: underline;
}

.comment-image {
    max-width: 200px;
    margin-top: 10px;
    display: block;  /* This ensures the image takes up the full width of its container */
    height: auto;
	margin-left: 40px;
    border-radius: 15px;
}

.background {background: #f0f2f5;
border-radius: 10px;
padding: 7px 11px 2px 8px;}

/* === Product Showcase === */
.product-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.product-showcase img {
	width:99%;
    max-width: 350px;
    height: auto;
    margin: 0.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #777;
}
footer .legal-links a {
  margin-right: 10px;
  color: #007bff;
  text-decoration: none;
}

footer .legal-links a:hover {
  text-decoration: underline;
}
footer .legal-links p {
  margin-bottom: 1rem;
    font-size: 0.9rem;
}
footer .copyright {
  margin-top: 1rem;
    font-size: 0.9rem;
}

.like-icon {
    width: 15px;
    height: 15px;
    background-image: url('../images/like.svg');
    background-size: contain;
     background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
    cursor: pointer;
}

.comment-action.liked .like-icon {
    background-image: url('../images/like.svg');
}

.like-action {
    display: flex;
    align-items: center;
}

#loadMoreButton {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
      display: block;
    margin: 20px auto;
}

#loadMoreButton:hover {
    background-color: #0056b3;
}

.comments-header{
     display: flex;
     align-items: center;
    justify-content: space-between;
        margin-bottom: 1rem;
        color:#777;

}
.sort-button {
    background-color: #f2f2f2;
    border: 1px solid #ddd;
     padding: 5px 10px;
       border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
       position: relative;
       display: inline-flex;
    align-items: center;

}

.sort-button:hover{
    background-color: #e6e6e6;
}

.sort-options {
       position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 10;
    display: none;
        flex-direction: column;
}

 .sort-button.active  .sort-options {
     display: flex; /* Or use block if you want each option to be a block */
}
 .sort-options button{
      padding: 5px 10px;
        text-align: left;
        border: none;
           background-color: #fff;
         cursor: pointer;
}
  .sort-options button:hover{
           background-color: #f2f2f2;
}

.add-comment{
  margin-top: 1rem;
}
 .add-comment input{
  width: 92%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 1rem;
 }
 
 .testimonials {
    padding: 0; /* Remove padding */
    margin-top: 2rem;
    border-radius: 0; /* Remove border radius */
    box-shadow: none; /* Remove box shadow */
}

.comment {
    margin-bottom: 10px; /* Reduced margin */
    padding: 0; /* Remove padding */
    background-color: transparent; /* Remove background color */
    border-radius: 0; /* Remove border radius */

}

.comment-header {
    margin-bottom: 5px; /* Reduced margin */
}

.comment-text {
    margin-top: 2px; /* Reduced Margin */
    background: transparent; /* Remove background */
    border-radius: 0;
	
}

.comment-footer {
    border-top: none;
    padding-top: 6px;
    margin-bottom: 15px;
    justify-content: flex-start;
    margin-left: 40px;
}

.comment-profile-pic {
    width: 40px; /* Increased size */
    height: 40px; /* Increased size */
}

.comment-user {
    font-size: 1rem; /* Slightly smaller font size */
}


.comment-action {
    margin-right: 15px; /* Increased margin */
    color: #65676b;
}

.like-action {
    margin-right: 10px;
}

.like-icon {
    width: 18px; /* Slightly larger icon */
    height: 18px; /* Slightly larger icon */
}

.comment-action:hover {
    text-decoration: none; /* Facebook doesn't underline on hover */
}

.comments-header {
    margin-bottom: 10px; /* Reduced margin */
    color: #65676b; /* Darker color */
    font-size: 14px;
    padding: 10px 0; /* Added padding to match Facebook's visuals */
    border-bottom: 1px solid #ddd;
}

.add-comment {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}
.add-comment input {
  border-radius: 20px;  /* More rounded corners */
  border: 1px solid #ccd0d5; /* Lighter border */
}


.comment-header {
    display: flex; /* Crucial: Use flexbox for alignment */
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 5px;
}

.comment-profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;  /* Space between picture and name */
}

.comment-user {
    font-size: 1rem;
	padding: 5px;
    font-weight: 600; /* Slightly bolder */
    align-self: center; /* Vertically center the name */
}


.comment-action {
   align-items: center; /* Align the Like icon and count vertically */
}
