277 lines
5.0 KiB
CSS
277 lines
5.0 KiB
CSS
.section {
|
|
padding: 4rem 0;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 3rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.leftColumn {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.label {
|
|
color: #2563eb;
|
|
font-weight: 700;
|
|
font-size: 0.875rem;
|
|
margin-bottom: 1rem;
|
|
display: block;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.heading {
|
|
font-size: 2.25rem;
|
|
font-weight: 800;
|
|
color: #111827;
|
|
margin-bottom: 2.5rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.featureList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.featureItem {
|
|
display: flex;
|
|
gap: 1.25rem;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.featureItem:hover {
|
|
background-color: #F8FAFC;
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.featureItem.active {
|
|
background-color: white;
|
|
border-color: #E2E8F0;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
|
transform: translateX(10px);
|
|
}
|
|
|
|
.iconWrapper {
|
|
flex-shrink: 0;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* Icon Styles - Default opacity for non-active? Or just keep colorful */
|
|
.iconWrapper.orange {
|
|
background: linear-gradient(135deg, #f9cd35, #f9cd35);
|
|
box-shadow: 0 4px 12px rgba(255, 107, 69, 0.2);
|
|
}
|
|
|
|
.iconWrapper.red {
|
|
background: linear-gradient(135deg, #ec4899, #ec4899);
|
|
box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
|
|
}
|
|
|
|
.iconWrapper.blue {
|
|
background: linear-gradient(135deg, #1255d8, #1255d8);
|
|
box-shadow: 0 4px 12px rgba(41, 121, 255, 0.2);
|
|
}
|
|
|
|
.featureItem:hover .iconWrapper {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.activeIcon {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15) !important;
|
|
}
|
|
|
|
.featureContent h4 {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: #1F2937;
|
|
margin-bottom: 0.25rem;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.featureItem.active .featureContent h4 {
|
|
color: #EC4899;
|
|
/* Highlight active title */
|
|
}
|
|
|
|
.featureContent p {
|
|
color: #6B7280;
|
|
line-height: 1.4;
|
|
font-size: 0.9rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.supportSection {
|
|
margin-top: 2rem;
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
.supportText {
|
|
color: #6B7280;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.9375rem;
|
|
}
|
|
|
|
.contactBtn {
|
|
background: linear-gradient(135deg, #4F46E5, #EC4899);
|
|
color: white;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
|
|
}
|
|
|
|
.contactBtn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 15px -1px rgba(79, 70, 229, 0.3);
|
|
}
|
|
|
|
/* Right Column */
|
|
.faqList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
min-height: 500px;
|
|
/* Prevent large layout shifts */
|
|
}
|
|
|
|
.mobileCategoryTitle {
|
|
display: none;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.faqItem {
|
|
background: white;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
border: 1px solid #F3F4F6;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
|
|
animation: fadeInRight 0.4s ease-out;
|
|
}
|
|
|
|
@keyframes fadeInRight {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.faqItem:hover {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.faqButton {
|
|
width: 100%;
|
|
padding: 1.25rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: transparent;
|
|
border: none;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.question {
|
|
font-weight: 600;
|
|
color: #1F2937;
|
|
font-size: 0.95rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.chevron {
|
|
color: #EC4899;
|
|
flex-shrink: 0;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.faqItem[data-state="open"] .chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.answer {
|
|
display: grid;
|
|
grid-template-rows: 0fr;
|
|
transition: grid-template-rows 0.3s ease-out;
|
|
}
|
|
|
|
.faqItem[data-state="open"] .answer {
|
|
grid-template-rows: 1fr;
|
|
}
|
|
|
|
.answerContent {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.answerInner {
|
|
padding: 0 1.25rem 1.25rem;
|
|
color: #6B7280;
|
|
line-height: 1.6;
|
|
font-size: 0.9375rem;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.grid {
|
|
grid-template-columns: 0.8fr 1.2fr;
|
|
gap: 4rem;
|
|
}
|
|
|
|
.heading {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.section {
|
|
padding: 4rem 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.featureItem.active {
|
|
transform: translateX(0);
|
|
background-color: #F0F9FF;
|
|
/* Highlight slightly differently on mobile/tablet */
|
|
}
|
|
|
|
.mobileCategoryTitle {
|
|
display: block;
|
|
/* Show title above questions on mobile */
|
|
}
|
|
} |