 /* =========================================
    FOOTER & LAYOUT FIXES
    ========================================= */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 1. Make main a flex container */
main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 2. Force the footer component to sit correctly */
main > footer, 
.footer, 
#footer {
    position: relative !important;
    margin-top: auto !important;
    width: 100%;
    z-index: 100;
}

/* =========================================
    PAGE STYLES
    ========================================= */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ff0404ff;
    margin-bottom: 2rem;
    text-align: center;
    margin-top: 40px;
}

.help-container {
    flex: 1; /* Pushes footer down */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 10;
}

/* Quick Links Section */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.quick-link-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.quick-link-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.quick-link-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.quick-link-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

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

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #3498db;
    transition: transform 0.3s;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #555;
    line-height: 1.7;
    padding: 0 10px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 15px 10px;
}

/* Contact Section */
.contact-section {
    background: white;
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-method {
    background: #f8f9fa;
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
    border: 2px solid #e0e0e0;
}

.contact-method:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.contact-method-icon {
    font-size: 24px;
}

.contact-method-info {
    text-align: left;
}

.contact-method-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 3px;
}

.contact-method-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.contact-method:hover .contact-method-label,
.contact-method:hover .contact-method-value {
    color: white;
}

/* Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.resource-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #3498db;
}

.resource-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 12px;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.resource-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.resource-link:hover {
    color: #2980b9;
    text-decoration: underline;
}
/* --- Location Section Styles --- */
.location-section {
    background: white;
    border-radius: 12px;
    padding: 0; /* Padding handled by inner content for full-width map look */
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden; /* Keeps the map corners rounded */
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    min-height: 450px;
}

.location-info {
    flex: 1;
    min-width: 300px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-wrapper {
    flex: 1;
    min-width: 300px;
    background: #eee;
    min-height: 300px;
}

.location-desc {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.address-box, .hours-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.address-icon {
    font-size: 1.5rem;
    background: #f0f7fc;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #3498db;
}

.address-details {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.direction-btn {
    display: inline-block;
    margin-top: 10px;
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    align-self: flex-start;
}

.direction-btn:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* --- Shop Section Styles --- */
.shop-section {
    background: white;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left; /* Aligns text inside cards to left */
}

.shop-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: white;
    border-color: #3498db; /* Blue accent on hover */
}

.shop-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.shop-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.shop-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Shop Button Style */
.shop-action {
    margin-top: 20px;
}

.shop-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .faq-section, .contact-section {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    .shop-section {
        padding: 30px 20px;
    }
    .shop-grid {
        grid-template-columns: 1fr;
    }
    .location-content {
        flex-direction: column;
    }
    .location-info {
        padding: 30px 20px;
    }
    .map-wrapper {
        height: 300px; /* Fixed height for map on mobile */
    }
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

#backToTop:active {
    transform: translateY(-2px);
}

#backToTop svg {
    width: 24px;
    height: 24px;
    fill: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

#backToTop:hover svg {
    animation: none;
}

@media (max-width: 768px) {
    #backToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
/* --- Contact Grid (Map + Form) Styles --- */
.contact-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Common Card Styles */
.location-card, .form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Map Specifics */
.info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.info-icon {
    background: #f0f7fc;
    color: #3498db;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.map-container {
    margin-top: auto; /* Pushes map to bottom of card */
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
    margin-top: 20px;
}

/* Form Specifics */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f9f9f9;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr; /* Stack them vertically on smaller screens */
        padding: 0 20px;
    }
}
/* Alert Box Styles */
.alert-box {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}