/* Font Face Declarations */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Regular.ttf?v=20260321-1') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Medium.ttf?v=20260321-1') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-SemiBold.ttf?v=20260321-1') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Bold.ttf?v=20260321-1') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Base styles */
:root {
    --primary-color: #ff2828;
    /* Cherry red */
    --accent-color: #1f1e1e;
    /* Dark grey */
    --text-color: #333333;
    --error-color: #dc3545;
    --success-color: #28a745;
    --border-color: #e6e6e6;
    --background-color: #fff;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    /* min-height: 100vh; */
    /* display: flex; */
    /* flex-direction: column; */
}

a {
    text-decoration: none;
}

.header {
    padding: 0.5rem 1rem;
    background: #fff;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

body.dark-mode {
    --accent-color: #ffffff;
    --text-color: #ffffff;
    --background-color: #1f1e1e;
    --bg-primary: #1f1e1e;
    --bg-secondary: #000000;
}

/* Search page specific styles */
.header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    position: relative;
    gap: 1rem;
}

.header .nav-left {
    flex-shrink: 0;
    min-width: 110px;
}

.header .logo-link {
    flex-shrink: 0;
    min-width: 90px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    height: 40px;
    gap: 8px;
}

.header .logo-img {
    height: 30px;
    width: auto;
    vertical-align: middle;
    border-radius: 4px;
}

.header .brand-lockup {
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: center;
    align-items: center;
    line-height: 1;
    color: var(--accent-color);
}

.header .brand-mark {
    display: none;
}

.header .brand-name {
    margin-top: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--accent-color);
}

.header .logo-text.full-logo {
    display: inline;
}

.header .logo-text.short-logo {
    display: none;
}

.header .search-form {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.header .search-input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
    caret-color: black;
}

.header .search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(31, 30, 30, 0.1);
}

.header .search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header .search-button:hover {
    background: #333333;
}

.header .nav-button {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--accent-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.header .nav-button:hover {
    background: rgba(31, 30, 30, 0.1);
}

.header .nav-button-primary {
    background: var(--accent-color);
    color: #ffffff;
}

.header .nav-button-primary:hover {
    background: #333333;
    color: #ffffff;
}

.search-form {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid #e6e6e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(31, 30, 30, 0.1);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #333333;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-button {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-button:hover {
    background: rgba(31, 30, 30, 0.1);
}

.nav-button-primary {
    background: var(--accent-color);
    color: #ffffff;
}

.nav-button-primary:hover {
    background: #333333;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 4rem;
}

.search-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: bold;
}

.search-form {
    width: 100%;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(31, 30, 30, 0.1);
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1.5rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #333333;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background-color: #f8f9fa;
}

.suggestion-title {
    font-size: 14px;
    color: #333;
    flex-grow: 1;
}

.suggestion-match {
    color: #4a90e2;
    font-weight: 500;
}

/* Custom scrollbar for suggestions */
.search-suggestions::-webkit-scrollbar {
    width: 8px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 250px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

.footer {
    background: var(--accent-color);
    color: #fff;
    padding: 20px 0 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Search Filters Container */
.search-filters-container {
    background: #1a1a1a;
    border-top: 1px solid #333;
    padding: 0.5rem 1rem;
}

.search-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background: rgba(31, 30, 30, 0.05);
}

.filter-option input[type="radio"] {
    display: none;
}

.filter-text {
    color: var(--accent-color);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.filter-option input[type="radio"]:checked+.filter-text {
    color: var(--accent-color);
    font-weight: 500;
}

.filter-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.filter-option.disabled:hover {
    background: none;
}

.filter-option small {
    font-size: 0.8rem;
    color: #999;
}

/* Update the main content margin for search results page */
.search-results-page {
    margin-top: calc(60px + 52px);
    /* Header height (60px) + filters container height (52px) */
}



/* Ensure results container has proper spacing */
.results-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Add these styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Add these styles for the logo */
.short-logo {
    display: none;
}

.mobile-search-form {
    display: flex;
    position: relative;
    flex: 1;
    align-items: center;
    height: 40px;
    margin: 0 1rem;
    max-width: 400px;
}

.mobile-search-input {
    width: 100%;
    height: 40px;
    padding: 0 2.5rem 0 1rem;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #fff;
    color: var(--accent-color);
    caret-color: black;
    font-size: 0.9rem;
    pointer-events: auto !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.mobile-search-input::placeholder {
    color: var(--accent-color);
    opacity: 1;
}

.mobile-search-button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: #666;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
    flex: 1;
    min-width: 0;
    margin-left: 2rem;
}

.header-controls .mobile-search-form {
    flex: 1 1 100px;
    min-width: 200px;
    max-width: 420px;
    margin: 0;
}

.header-controls .mobile-search-input {
    min-width: 0;
    width: 100%;
}

.header-controls .content-controls {
    flex-shrink: 1;
    flex-grow: 0;
    min-width: 0;
    gap: 0.7rem;
    margin: 0;
}

.compact-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    flex: 1;
    min-width: 0;
    margin-left: 1.2rem;
    flex-wrap: nowrap;
}

.logout-btn {
    margin-left: auto;
    padding: 0.4rem 0.9rem;
    font-size: 0.97rem;
}

.compact-search {
    flex: 1 1 180px;
    min-width: 120px;
    max-width: 320px;
    margin: 0;
}

.compact-search .mobile-search-input {
    min-width: 0;
    width: 100%;
    font-size: 0.95rem;
    height: 40px;
    padding: 0 2.2rem 0 0.8rem;
}

.feed-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
}

.feed-control {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.feed-control svg {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--accent-color);
}

.feed-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    z-index: 100;
    min-width: 120px;
}

.feed-control:focus .feed-dropdown,
.feed-control:hover .feed-dropdown {
    display: block;
}

.feed-dropdown select {
    width: 100%;
    border: none;
    background: none;
    font-size: 0.95rem;
    color: var(--text-color);
    padding: 0.2rem 0;
}

.feed-controls svg,
.feed-control svg {
    color: var(--accent-color) !important;
    fill: var(--accent-color) !important;
}



/* Add this media query for screens between 1020px and 1200px */
@media (max-width: 1200px) {
    .header .search-form {
        max-width: 400px;
        /* Reduce width to prevent overlap */
    }
}

@media (max-width: 1100px) {
    .header-controls {
        gap: 0.5rem;
        margin-left: 0.5rem;
    }

    .header-controls .mobile-search-form {
        min-width: 120px;
        max-width: 390px;
    }
}

/* Further reduce for smaller screens */
@media (max-width: 1020px) {
    .header .search-form {
        max-width: 400px;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        position: static;
        margin-left: auto;
        margin-right: 0;
    }

    .header-controls .mobile-search-form {
        min-width: 120px;
        max-width: 220px;
    }

    .compact-header {
        gap: 0.3rem;
    }

    .compact-search {
        max-width: 160px;
    }

    .logout-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.93rem;
    }

    .feed-dropdown {
        min-width: 90px;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
        position: static;
        margin-left: auto;
        margin-right: 0;
        z-index: 1100;
    }

    .header .nav-left {
        width: auto;
        padding-right: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: block;
    }

    .header .nav-right {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .header .nav-button {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

    .main {
        margin-top: 60px;
    }

    .nav-links.active .nav-button {
        background: #333333;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        margin-bottom: 0.5rem;
        color: #fff;
    }

    .nav-links.active .nav-button:hover {
        background: #444444;
    }

    .nav-links.active .nav-button-primary {
        background: var(--accent-color);
        color: #1a1a1a;
    }

    .nav-links.active .nav-button-primary:hover {
        background: #d17a64;
    }

    .header .logo-text.full-logo {
        display: none;
    }

    .header .logo-text.short-logo {
        display: inline;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .header .logo-link {
        max-width: none;
    }

    .header .logo-img {
        height: 1.8rem;
    }

    .header .brand-mark {
        display: none;
    }

    .header .brand-name {
        font-size: 1.05rem;
    }

    .menu-toggle svg {
        fill: var(--primary-color) !important;
        color: var(--primary-color) !important;
    }
}

/* Update the media query for responsive design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav .nav-links.active {
        display: flex;
    }

    nav .nav-links a {
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .header-controls {
        display: flex !important;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        width: auto;
        margin-left: 0;
        background: transparent;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        z-index: auto;
        gap: 0.6rem;
    }
}

/* Update responsive styles */
@media (max-width: 768px) {
    .search-filters-container {
        display: none;
        padding: 0.5rem;
    }

    .header .nav.nav-open+.search-filters-container {
        display: block;
    }

    .search-filters {
        gap: 0.5rem;
    }

    .filter-option {
        padding: 0.4rem 0.8rem;
    }
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .search-results-page {
        margin-top: 60px;
        /* Only header height since filters are in the menu on mobile */
    }
}

/* Update mobile styles */
@media (max-width: 768px) {
    .header .nav {
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .header .nav-left {
        margin-right: auto;
    }

    .menu-toggle {
        display: block;
        padding: 0.5rem;
        margin-right: 0;
        margin-top: -0.3rem;
    }

    /* Rest of your existing mobile styles... */
}

@media (max-width: 700px) {
    .compact-header {
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    .compact-search {
        min-width: 80px;
        max-width: 100px;
    }

    .feed-controls {
        gap: 0.1rem;
    }

    .logout-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* =====================
   Privacy & Support Pages
   ===================== */
.privacy-content {
    background: #ffffff;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 16px 16px 16px;
}

.privacy-hero {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(20, 33, 61, 0.07);
    padding: 40px 32px 28px 32px;
    margin-bottom: 32px;
    text-align: center;
    position: relative;
}

.privacy-hero h1 {
    font-size: 2.7rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.privacy-hero .fa-shield-alt {
    color: var(--accent-color);
    font-size: 2.2rem;
}

.privacy-hero .last-updated {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.privacy-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(20, 33, 61, 0.06);
    margin-bottom: 28px;
    padding: 28px 24px 20px 24px;
    transition: box-shadow 0.2s;
}

.privacy-section:hover {
    box-shadow: 0 6px 24px rgba(20, 33, 61, 0.10);
}

.privacy-section h2 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-section h3 {
    color: var(--primary-color);
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.privacy-section ul {
    margin-left: 22px;
    list-style: disc;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0;
}

.privacy-section p {
    color: #444;
    margin-bottom: 10px;
}

.privacy-section i {
    color: var(--accent-color);
    min-width: 22px;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 1px 4px rgba(20, 33, 61, 0.04);
    font-size: 1.08rem;
}

.contact-card i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .container {
        padding: 12px 2vw 0 2vw;
    }

    .privacy-hero {
        padding: 24px 8px 18px 8px;
    }

    .privacy-section {
        padding: 14px 6px 10px 6px;
    }

    .contact-card {
        padding: 10px 8px;
        font-size: 1rem;
    }

    .privacy-hero h1 {
        font-size: 2rem;
    }
}

/* Footer for privacy/support pages */
footer {
    background: var(--accent-color);
    color: #fff;
    padding: 40px 0 0 0;
    margin-top: 40px;
    text-align: center;
}

.footer-privacy {
    background: var(--accent-color);
    color: #fff;
    padding: 40px 0 0 0;
    margin-top: 0px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 32px 0;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--accent-color);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 12px rgba(20, 33, 61, 0.08);
}

.footer-section {
    flex: 1 1 220px;
    margin: 0 16px 24px 16px;
    color: #fff;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #fff;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-link {
    color: #fff;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: #fff;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 16px 0;
    color: #fff;
    font-size: 0.95rem;
    margin-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 -2px 8px rgba(20, 33, 61, 0.10);
}

/* Responsive for privacy/support pages */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 0;
    }

    .footer-section {
        margin: 0 0 24px 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .privacy-content {
        padding: 16px 0;
    }

    .privacy-section {
        padding: 12px;
    }

    .footer-content {
        padding: 16px 0;
        border-radius: 12px 12px 0 0;
    }

    .footer-section {
        padding: 0 8px;
    }

    .footer-bottom {
        border-radius: 0 0 12px 12px;
    }
}

/* Modern Support Page Styles */
.support-content {
    background: #ffffff;
    min-height: 100vh;
    padding: 0;
}

.support-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 32px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.support-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(20, 33, 61, 0.06);
    padding: 32px 20px 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.support-card:hover {
    box-shadow: 0 6px 24px rgba(20, 33, 61, 0.10);
    transform: translateY(-4px) scale(1.02);
}

.support-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.support-card h2 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.support-card p {
    color: #555;
    margin-bottom: 18px;
}

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: #fff;
    width: 100%;
    max-width: 260px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 4px rgba(20, 33, 61, 0.04);
}

.support-card .support-button {
    margin-top: auto;
}

.support-button:hover {
    background: var(--primary-color);
    color: var(--accent-color);
}

.faq-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(20, 33, 61, 0.06);
    padding: 32px 24px 24px 24px;
    margin-bottom: 32px;
}

.faq-section h2 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 1px 4px rgba(20, 33, 61, 0.04);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .faq-section {
        padding: 16px 6px 12px 6px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .support-card {
        padding: 18px 8px 14px 8px;
    }
}

/* Modern Child Safety Page Styles */
.safety-content {
    background: #ffffff;
    min-height: 100vh;
    padding: 0;
}

.safety-hero {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(20, 33, 61, 0.07);
    padding: 40px 32px 28px 32px;
    margin-bottom: 32px;
    text-align: center;
    position: relative;
}

.safety-hero h1 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.safety-hero .fa-child {
    color: var(--accent-color);
    font-size: 2.2rem;
}

.safety-hero .last-updated {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.safety-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(20, 33, 61, 0.06);
    margin-bottom: 28px;
    padding: 28px 24px 20px 24px;
    transition: box-shadow 0.2s;
}

.safety-section:hover {
    box-shadow: 0 6px 24px rgba(20, 33, 61, 0.10);
}

.safety-section h2 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.safety-section ul {
    margin-left: 22px;
    list-style: disc;
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0;
}

.safety-section p {
    color: #444;
    margin-bottom: 10px;
}

.safety-section i {
    color: var(--accent-color);
    min-width: 22px;
    text-align: center;
}

.highlight-box {
    background: #ffeaea;
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 18px 0 0 0;
    color: #a94442;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(20, 33, 61, 0.04);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 1px 4px rgba(20, 33, 61, 0.04);
    font-size: 1.08rem;
}

.contact-card i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .safety-hero {
        padding: 24px 8px 18px 8px;
    }

    .safety-section {
        padding: 14px 6px 10px 6px;
    }

    .contact-card {
        padding: 10px 8px;
        font-size: 1rem;
    }

    .safety-hero h1 {
        font-size: 1.5rem;
    }
}
