* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    padding-bottom: 60px;
}

/* Pure CSS Hero Banner Layout */
.custom-jpg-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dee2e6;
    padding: 25px 10%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(-20px);
    animation: fixedFadeInDown 0.8s ease-out forwards;
}

.custom-jpg-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.4) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.4) 75%, transparent 75%, transparent);
    background-size: 200px 200px;
    opacity: 0.15;
}

.hero-container {
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
}

/* Main Layout Positioning Wrapper */
.main-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.faq-main-card {
    width: 100%;
    max-width: 1100px;
}

.faq-container {
    display: flex;
    width: 100%;
    gap: 30px;
}

/* Sidebar Box Layout */
.faq-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    height: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    opacity: 0;
    transform: translateY(30px);
    animation: fixedFadeInUp 0.8s ease-out forwards;
}

/* Header Style with clean background and border separation */
.sidebar-header {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #444444; /* Dark primary text color */
    background-color: #ffffff; /* Clean white background */
    padding: 18px 20px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #cbd5e1;
    transition: all 0.25s ease;
}

/* Completely hides the arrow icon inside the main FAQ Categories header */
.sidebar-header i {
    display: none !important;
}

/* Hover effect for the Header Area */
.sidebar-header:hover {
    background-color: #f8f9fa;
    color: #EE1D23;
}

/* Active Highlight Style for Header Block */
.sidebar-header.active {
    background-color: #003893;
    color: white; 
}

/* Category Tab Buttons Styling */
.tab-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:last-child {
    border-bottom: none;
}

.tab-btn i {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover Effect: Text and Arrow turn Corporate Red on hover */
.tab-btn:hover {
    background-color: #f8f9fa;
    color: #EE1D23 !important; 
    padding-left: 26px;      
}

.tab-btn:hover i {
    color: #EE1D23 !important;
    transform: translateX(3px);
}

/* Active Selected Button Light Layout Match */
.tab-btn.active {
    background-color: #003893 !important;
    color: white !important;
    font-weight: 600;
}

/* Arrow changes to white when tab button is active */
.tab-btn.active i {
    color: white !important;
    transform: translateX(4px);
}

/* Content Area Configuration */
.faq-content {
    flex-grow: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fixedFadeInUp 0.8s ease-out forwards;
}

.faq-title {
    font-size: 24px;
    font-weight: 700;
    color: #0b1c3f;
    margin-bottom: 24px;
}

/* Context/Description block styling */
.faq-context-desc {
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

/* Content Tab Displays */
.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Accordion Item Card Elements */
.accordion-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
}

.toggle-icon {
    font-size: 14px;
    color: #64748b;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 24px;
}

.accordion-body p {
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
    padding-bottom: 20px;
    margin: 0;
}

.accordion-item.active {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.accordion-item.active .toggle-icon {
    transform: rotate(180deg);
}

/* Responsive Structural Fallbacks */
@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
    }
    .faq-sidebar {
        width: 100%;
    }
}

/* Keyframe Animations */
@keyframes fixedFadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fixedFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-bullet-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 10px;
  padding-left: 0;
}

.faq-bullet-list li {
  margin-bottom: 4px;
}

.faq-answer a {
  color: #0056b3;
  text-decoration: underline;
}

.faq-answer p,
.faq-answer li {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px; 
  line-height: 1.5;
  color: #6c757d; /* Sets uniform text color across paragraphs and lists */
}