Skip to content

Commit

Permalink
Update faq style
Browse files Browse the repository at this point in the history
  • Loading branch information
aslams2020 committed Jul 26, 2024
1 parent a4634c7 commit ca473f6
Showing 1 changed file with 36 additions and 92 deletions.
128 changes: 36 additions & 92 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -488,139 +488,83 @@ Search Bar

/* FAQ Section Styles */


#faq {
background: linear-gradient(45deg , #e52e71, #2d7cea );
background: rgb(234, 251, 253);
/* background-image: linear-gradient(90deg, #020024 0%, #092b79 35%, #00d4ff 100%); */
border-radius: 15px;
padding: 30px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
/* Increased box shadow */
margin-bottom: 75px;
/* margin-top: 50px; */
}

#faq .heading {
.faq-heading {
font-weight: bold;
display: block;
color: #333;
font-size: 38px;
margin-bottom: 300px !important;
}

.accordion-item {
border: none;
.faq-card {
background: white;
border-radius: 10px;
margin-bottom: 20px;
}

#faq .accordion .card {
border: none;
border-radius: 15px;
margin-bottom: 25px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 10px;
text-align: left;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#faq .accordion .card:hover {
.faq-card:hover {
transform: translateY(-5px);
/* Added hover effect */
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
/* Increased box shadow on hover */
}


#faq .accordion .card-header {
background-color: #fff;
border: none;
border-radius: 15px 15px 0 0;
padding: 15px 20px;
}

.accordion-header {
background-color: #fff;
border: none;
border-radius: 10px;
padding: 15px 20px;
.faq-icon {
text-align: center;
position: relative;
left: 400px;
/* top: 0px; */
margin-bottom: 15px;
}

.accordion-item .collapse {
visibility: visible;
.faq-icon img {
width: 20px;
height: 20px;
}

#faq .accordion .btn-link {
font-size: 1.1rem;
.faq-question {
font-size: 18px;
font-weight: bold;
color: #007bff;
text-decoration: none;
cursor: pointer;
width: 100%;
text-align: left;
}

#faq .accordion .btn-link:hover {
text-decoration: underline;
}

#faq .accordion .btn-link.collapsed {
/* margin-bottom: 10px; */
color: #333;
}

#faq .accordion .card-body {
border-radius: 0 0 15px 15px;
padding: 20px;
.faq-answer {
font-size: 16px;
background-color: #f9f9f9;
}


#faq .heading {
font-weight: bold;
color: white;
font-size: 30px;
text-align: center;
}

#faq .accordion .accordion-item {
border: none;
border-bottom: 1px solid #ddd;
}

#faq .accordion .accordion-button {
font-size: 1.1rem;
font-weight: bold;
color: blueviolet;
text-decoration: none;
cursor: pointer;
}

#faq .accordion .accordion-button:hover {
text-decoration: underline;
}

#faq .accordion .accordion-button:not(.collapsed) {
color: blueviolet;
background-color: #fff;
}

#faq .accordion .accordion-body {
padding: 1rem 1.25rem;
background-color: #f8f9fa;
color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
#faq .heading {
.faq-heading {
font-size: 1.5rem;
}

#faq .accordion .accordion-button {
font-size: 1rem;
.faq-card {
padding: 15px;
}

#faq .accordion .accordion-body {
padding: 0.75rem 1rem;
.faq-question {
font-size: 1.1rem;
}

.mdHide {
display: none;
.faq-answer {
font-size: 0.9rem;
}
}


/* faq css end */


Expand Down

0 comments on commit ca473f6

Please sign in to comment.