:root {
    --primary-blue: #0277B6;
    --accent-pink: #E07A9D;
    --text-dark: #2B2B2B;
    --text-light: #605A55;
    --background: #E7DED1;
    --background-container: #FBF9F5;
    --background-surface: #F5F2EC;
    --border-light: #E7DED1;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

/* Typography System based on Material Theme */
h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 48px;
    letter-spacing: 0px;
    line-height: 1.2;
}

h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0;
    line-height: 1.3;
}

h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

h4 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
    line-height: 1.4;
}

/* Body Text */
body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

/* Large Body Text */
.body-large {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* Small Body Text */
.body-small {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 12px;
    letter-spacing: 0.25px;
    line-height: 1.5;
}

/* Labels */
.label-large {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.label-medium {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.label-small {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 12px;
    letter-spacing: 0.25px;
    line-height: 1.4;
}

/* Title Text */
.title-large {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 24px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.title-medium {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.title-small {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--background-container);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background-color: var(--background-container);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 48px;
    letter-spacing: 0px;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero p {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    font-size: 24px;
    user-select: none;
}

/* Ensure no other content appears in the icon */
.material-symbols-outlined.search-icon::before,
.material-symbols-outlined.search-icon::after {
    content: '';
}

/* Categories Grid */
.categories {
    padding: 4rem 0;
}

.categories h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--background-container);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.category-icon {
    width: 48px;
    height: 48px;
    background-color: var(--background-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 24px;
}

.category-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.category-description {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

/* FAQ Header with button */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.faq-header h2 {
    margin: 0;
    text-align: center;
    flex: 1;
}

.expand-all-button {
    background-color: var(--background-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.expand-all-button:hover {
    background-color: var(--background);
    transform: translateY(-1px);
}

.expand-icon {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.expand-all-button.expanded .expand-icon {
    transform: rotate(45deg);
}

/* FAQ Section */
.faq-section {
    background-color: var(--background-container);
    padding: 4rem 0;
    margin-top: 2rem;
}

.faq-group {
    margin-bottom: 3rem;
}

.faq-group h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--background-surface);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--background);
}

.faq-question.active {
    background-color: var(--background);
    color: var(--primary-blue);
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--background-container);
}

.faq-answer.active {
    padding: 1rem 1.5rem;
    max-height: 800px;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    text-align: center;
}

.contact-card {
    background-color: var(--background-container);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.contact-card p {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.contact-button {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 12px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.contact-button:hover {
    background-color: #025e94;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--background-container);
    padding: 2rem 0;
    text-align: center;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-button {
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.language-button:hover {
    background-color: var(--background-surface);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.language-button.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: var(--background-container);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 150px;
    display: none;
    z-index: 1000;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    display: block;
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: var(--background-surface);
}

.language-option.active {
    background-color: var(--background);
    font-weight: 500;
}

.language-option:first-child {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.language-option:last-child {
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    nav {
        justify-content: space-between;
    }

    .faq-header {
        flex-direction: column;
        text-align: center;
    }

    .faq-header h2 {
        margin-bottom: 1rem;
    }
}

/* Material Icons styling */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Remove emoji and add back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
    font-size: 20px;
}

/* Search Results */
.search-results-text {
    text-align: center;
    margin: 2rem 0;
    color: var(--text-light);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: none;
}

.no-results {
    text-align: center;
    margin: 2rem 0;
    color: var(--text-light);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: none;
}

.back-to-top.visible {
    opacity: 1;
}
