/* ==================== PAGES.CSS — COMPLETE STANDALONE ==================== */
/* No dependency on styles.css — everything is self-contained */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2e7d32;
    --primary-green-light: #4caf50;
    --primary-green-dark: #1b5e20;
    --secondary-orange: #ff9800;
    --secondary-orange-light: #ffb74d;
    --secondary-yellow: #ffc107;
    --accent-red: #e53935;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e0e0e0;
    --medium-gray: #9e9e9e;
    --dark-gray: #424242;
    --black: #212121;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--off-white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c8e6c9; border-radius: 3px; }

/* ==================== NAVBAR ==================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 30px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo i {
    font-size: 1.6rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links li a {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.nav-links li a.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ==================== PAGE HERO ==================== */
.page-hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #43a047 100%);
    padding: 60px 30px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 193, 7, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    backdrop-filter: blur(10px);
}

.page-hero-icon i {
    font-size: 1.8rem;
    color: var(--secondary-yellow);
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-yellow);
}

.breadcrumb i {
    font-size: 0.6rem;
    opacity: 0.6;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==================== PAGE CONTENT ==================== */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 30px 60px;
}

.page-content-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 60px;
}

/* ==================== CONTENT SECTIONS ==================== */
.content-section {
    margin-bottom: 45px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section h2 i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.content-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
    margin-top: 20px;
}

.content-section p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.content-section ul,
.content-section ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.content-section ul li,
.content-section ol li {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 6px;
}

.content-section ul li::marker {
    color: var(--primary-green);
}

.content-section a {
    color: var(--primary-green);
    font-weight: 500;
    transition: color 0.2s ease;
}

.content-section a:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

/* ==================== HIGHLIGHT BOX ==================== */
.highlight-box {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border: 2px solid #c8e6c9;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.highlight-box.orange {
    background: linear-gradient(135deg, #fff3e0, #fff8e1);
    border-color: #ffe0b2;
}

.highlight-box.blue {
    background: linear-gradient(135deg, #e3f2fd, #e8eaf6);
    border-color: #bbdefb;
}

.highlight-box h3 {
    color: #1b5e20;
    margin-bottom: 8px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-box.orange h3 { color: #e65100; }
.highlight-box.blue h3 { color: #1565c0; }

.highlight-box p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 6px;
}

.highlight-box p:last-child { margin-bottom: 0; }

/* ==================== INFO CARDS ==================== */
.info-card {
    background: var(--white);
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.info-card-icon i {
    font-size: 1.3rem;
    color: var(--primary-green);
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ==================== ABOUT PAGE ==================== */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 30px 0 40px;
}

.story-image {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-text h2 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-text h2 i {
    color: var(--primary-green);
}

.story-text p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0 40px;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    border-radius: 14px;
    color: var(--white);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
    color: var(--secondary-yellow);
}

.stat-label {
    font-size: 0.82rem;
    opacity: 0.9;
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.12);
    border-color: #c8e6c9;
}

.value-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.value-card h3 {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 10px;
}

.contact-form-card {
    background: var(--white);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.contact-form-card h2 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-card h2 i {
    color: var(--primary-green);
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.85rem;
}

.contact-form .form-group label i {
    color: var(--primary-green);
    font-size: 0.8rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
    color: var(--black);
    resize: none;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    border-color: var(--primary-green);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.submit-btn:active {
    transform: scale(0.97);
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    border-color: #c8e6c9;
}

.contact-info-item .item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .item-icon i {
    font-size: 1.1rem;
    color: var(--primary-green);
}

.contact-info-item h4 {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.contact-info-item a {
    color: var(--primary-green);
    font-weight: 500;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-map {
    margin-top: 8px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.contact-map iframe {
    width: 100%;
    height: 220px;
    border: none;
    display: block;
}

/* ==================== FAQ PAGE ==================== */
.faq-search {
    max-width: 600px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 12px;
    padding: 0 16px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-search:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.faq-search i { color: var(--medium-gray); }

.faq-search input {
    flex: 1;
    padding: 13px 12px;
    border: none;
    outline: none;
    font-size: 0.92rem;
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    background: transparent;
}

.faq-search input::placeholder { color: #aaa; }

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.faq-cat-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: var(--white);
    color: #666;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-cat-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.faq-cat-btn:hover:not(.active) {
    border-color: var(--primary-green-light);
    color: var(--primary-green);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: #c8e6c9; }

.faq-item.active {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    gap: 12px;
    transition: background 0.2s ease;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.faq-question:hover { background: #f8fdf8; }

.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-toggle i {
    font-size: 0.75rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--primary-green);
}

.faq-item.active .faq-toggle i {
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    display: none;
}

.faq-no-results i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #ddd;
    display: block;
}

.faq-still-need-help {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-radius: 14px;
    border: 2px solid #c8e6c9;
}

.faq-still-need-help h3 {
    color: #1b5e20;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.faq-still-need-help p {
    color: #555;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border-radius: 10px;
    color: var(--white) !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    text-decoration: none !important;
}

/* ==================== LEGAL PAGES (Terms / Privacy) ==================== */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 30px 60px;
}

.legal-nav {
    position: sticky;
    top: 70px;
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    align-self: start;
}

.legal-nav h4 {
    font-size: 0.9rem;
    color: var(--black);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.legal-nav h4 i { color: var(--primary-green); }

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav ul li { margin-bottom: 4px; }

.legal-nav ul li a {
    display: block;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #666;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.legal-nav ul li a:hover,
.legal-nav ul li a.active {
    background: #e8f5e9;
    color: var(--primary-green);
}

.legal-content { min-width: 0; }

.legal-content .content-section {
    scroll-margin-top: 80px;
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    color: var(--dark-gray);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    max-width: 420px;
    width: 90%;
    border-left: 4px solid var(--primary-green);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-content i { color: var(--primary-green); font-size: 1.1rem; }
.toast-content span { font-size: 0.88rem; font-weight: 500; }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 30px 18px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-logo i { color: var(--primary-green-light); }

.footer-section p {
    color: var(--medium-gray);
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.footer-section h4 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 0.95rem;
}

.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 8px; }

.footer-section ul a {
    color: var(--medium-gray);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-section ul a:hover { color: var(--primary-green-light); }

.footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer .contact-info i {
    color: var(--primary-green-light);
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--dark-gray);
    color: var(--medium-gray);
    font-size: 0.78rem;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .story-section { grid-template-columns: 1fr; gap: 24px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }

    .legal-layout {
        grid-template-columns: 1fr;
        padding: 30px 20px 50px;
    }

    .legal-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 14px;
    }

    .legal-nav h4 { width: 100%; margin-bottom: 8px; }

    .legal-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .legal-nav ul li { margin-bottom: 0; }

    .legal-nav ul li a {
        padding: 6px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 10px;
        padding: 8px;
        margin-top: 10px;
        gap: 2px;
    }

    .nav-links.active { display: flex; }

    .nav-links li a {
        display: block;
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .menu-toggle { display: flex; }

    /* Hero */
    .page-hero { padding: 45px 20px 40px; }
    .page-hero h1 { font-size: 1.7rem; }
    .page-hero p { font-size: 0.9rem; }

    .page-hero-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .page-hero-icon i { font-size: 1.4rem; }

    /* Content */
    .page-content,
    .page-content-wide { padding: 35px 16px 45px; }

    .contact-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-item { padding: 18px 12px; }
    .stat-number { font-size: 1.6rem; }
    .content-section h2 { font-size: 1.3rem; }

    .faq-categories { gap: 6px; }
    .faq-cat-btn { padding: 6px 14px; font-size: 0.8rem; }
    .contact-form-card { padding: 22px 18px; }
    .legal-layout { padding: 25px 14px 40px; }

    .footer { padding: 35px 16px 16px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar { padding: 10px 12px; }
    .nav-logo i { font-size: 1.4rem; }
    .nav-logo span { font-size: 1.1rem; }

    .page-hero { padding: 35px 14px 30px; }
    .page-hero h1 { font-size: 1.45rem; }
    .page-hero p { font-size: 0.85rem; }

    .page-content,
    .page-content-wide { padding: 25px 12px 35px; }

    .stats-bar { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-number { font-size: 1.4rem; }
    .stat-label { font-size: 0.75rem; }
    .values-grid { grid-template-columns: 1fr; }

    .faq-question { padding: 14px 16px; }
    .faq-question h3 { font-size: 0.88rem; }
    .faq-answer-inner { padding: 0 16px 14px; font-size: 0.84rem; }

    .contact-info-item { padding: 16px; }

    .footer { padding: 30px 12px 14px; }
    .footer-content { grid-template-columns: 1fr; gap: 18px; text-align: center; }
    .social-links { justify-content: center; }
    .footer-section ul { text-align: center; }
    .footer .contact-info p { justify-content: center; }
    .footer-logo { justify-content: center; }
}

/* Tiny Mobile */
@media (max-width: 360px) {
    .page-hero h1 { font-size: 1.25rem; }
    .nav-logo span { font-size: 0.95rem; }

    .page-content,
    .page-content-wide { padding: 20px 10px 30px; }

    .info-card { padding: 20px 16px; }
    .contact-form-card { padding: 18px 14px; }
    .footer { padding: 22px 10px 12px; }
    .footer-bottom { font-size: 0.68rem; }
}

@media print {
    .navbar, .footer, .toast { display: none !important; }
    body { background: white; }
}