/*
  Mindful Milo - FAQ Page Stylesheet (Consolidated)
  This file contains all necessary styles for the FAQ page, isolated from the global styles.css
*/

/* 1. Base Styles (Imported from styles.css) */
:root {
    --background-color: #FFB347; /* New Orange Background */
    --logo-color: #281B04; /* New Dark Brown for Logo and Text */
    --golden-amber: #281B04; /* Old amber is now the new dark color */
    --text-dark: #333333;
    --text-light: #281B04; /* Old light text is now the new dark color */
    --button-color: #333333;
    --button-text: #FFFFFF;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --secondary-color: #FDF5E6; /* Light Cream */
    --accent-color: #8A4B08; /* Dark Brown */
    --text-color: #281B04; /* Darkest Brown */
    
    /* Font standardization */
    --primary-font: 'Inter', sans-serif;
    --display-font: 'Bungee', cursive;
    --accent-font: 'Baloo 2', cursive;
    
    /* Font size standardization */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-md: 1.125rem;   /* 18px */
    --font-size-lg: 1.25rem;    /* 20px */
    --font-size-xl: 1.5rem;     /* 24px */
    --font-size-2xl: 1.75rem;   /* 28px */
    --font-size-3xl: 2rem;      /* 32px */
    --font-size-4xl: 2.5rem;    /* 40px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-title: 18rem;   /* For the main Milo title */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Core Layout & Scrolling Fix */
html.faq-body-parent, .faq-body {
    font-family: var(--primary-font);
    font-size: var(--font-size-base);
    background: linear-gradient(to top, #FFB347 0%, #FFC470 25%, #FFD699 50%, #FFE4B8 75%, #FFF2E6 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    position: static;
    height: auto;
    overflow: auto; /* Allow scrolling */
}

/* Forcefully hide the scrollbar */
html.faq-body-parent, .faq-body {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For IE and Edge */
}
html.faq-body-parent::-webkit-scrollbar, 
.faq-body::-webkit-scrollbar {
    display: none; /* For Chrome, Safari */
}

/* 3. Header Styles (Copied from privacy.css for consistency) */
header {
    display: flex;
    justify-content: flex-start; /* Align items to the left */
    align-items: center;
    gap: 20px; /* Add space between menu and logo */
    padding: 20px 40px;
    background-color: transparent;
    position: relative;
    z-index: 1000;
}

.logo-container .logo {
    font-family: 'Bungee', cursive;
    font-size: 48px;
    color: var(--text-light);
    margin: 0;
    text-decoration: none;
}

.logo-link {
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger-menu {
    width: 48px;
    height: 36px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 20px;
}

.hamburger-menu.active span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    top: 15px;
    transform: rotate(-45deg);
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background-color: #F5F5F5;
    z-index: 1000;
    padding: 80px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 20px 20px 0;
}

.side-menu.active {
    transform: translateX(0);
}



.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-menu ul li a {
    color: #333;
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
    padding: 5px 0;
}

.side-menu ul li a.active,

.side-menu ul li a:hover {
    opacity: 0.7;
    color: var(--golden-amber);
}


.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    padding-left: 20px;
    width: 100%;
    box-sizing: border-box;
}

.social-links a {
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 5px 0;
}

.social-links a:hover {
    text-decoration: underline;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 30px;
    padding-bottom: 40px;
    text-align: left;
    width: 100%;
    padding-left: 40px;
    box-sizing: border-box;
}

.footer-link {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-color);
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Main Content Section (White Panel) - Same as privacy.css */
.content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.content-section h1 {
    font-family: 'Bungee', cursive;
    font-size: 42px;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 30px;
}

.content-section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.content-section h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.content-section h3:hover {
    color: var(--accent-color);
}

.content-section p, .content-section li {
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
}

.content-section ul {
    list-style-type: disc;
    padding-left: 30px;
}

.content-section a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* FAQ Specific Styles */
.faq-section {
    margin-bottom: 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-question {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
    opacity: 0;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
}

.faq-answer p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.faq-answer ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content-section {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .content-section h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-question {
        font-size: 1.2rem;
    }
}