/*
 * shared-public.css
 * =================
 * Shared styles for public-facing pages (Home, Contact, Competitions, Tours, Leagues, etc.)
 *
 * NOTE: Footer styles have been moved to the PublicFooter component
 * (Components/Shared/PublicFooter.razor.css). Use <PublicFooter /> in your pages.
 *
 * Structure:
 * 1. CSS Variables (Theme Colors, Typography, Spacing)
 * 2. Base Typography
 * 3. Layout Components (Container, Sections)
 * 4. Utility Classes
 * 5. Hero Section Base Styles
 * 6. WhatsApp FAB Button
 * 7. Sponsors Section
 * 8. Explore More Section
 * 9. CTA Section (App Download)
 * 10. Cards
 * 11. Buttons
 * 12. Content Section with Image
 * 13. Corporate Navigation
 * 14. Feature Grid (3-column)
 * 15. Pricing Section
 * 16. Contact Form Section
 * 17. FAQ Section
 * 18. Testimonials Section
 * 19. Responsive Breakpoints
 */

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

:root {
    /* Primary Colors */
    --primary-color: #419A45;
    --primary-dark-color: #419A45;
    --primary-light-color: #38AB24;

    /* Text Colors */
    --text-color-light: #FFF;
    --text-color-dark: #000;
    --text-color-muted: #555;
    --text-color-body: #444;

    /* Background Colors */
    --background-light: #ECF5EC;
    --background-white: #fff;
    --background-sponsors: #f8f9fa;

    /* Spacing */
    --section-padding: 60px;
    --section-padding-small: 30px;
    --container-max-width: 1200px;
    --container-padding: 15px;

    /* Borders & Shadows */
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-pill: 25px;
    --card-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   2. Base Typography
   ========================================================================== */

@font-face {
    font-family: 'raleway-bold';
    src: url('/fonts/raleway/static/raleway-bold.ttf') format('truetype');
}

.public-page {
    font-family: "Montserrat", sans-serif;
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--background-white);
}

.public-page h1,
.public-page h2,
.public-page h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    font-family: raleway-bold;
}

.public-page h1 {
    font-size: 3rem;
    font-weight: 900;
}

.public-page h2 {
    font-size: 2.2rem;
}

.public-page h3 {
    font-size: 1.5rem;
}

.public-page p {
    line-height: 1.8;
    color: var(--text-color-body);
    font-weight: 400;
    font-size: 1rem;
}

.public-page a {
    text-decoration: none;
    color: var(--primary-color);
}

.public-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   3. Layout Components
   ========================================================================== */

.public-page .container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.public-page section {
    background-image: url('/images/subtle-bg.jpg');
    background-color: var(--background-light);
    background-size: cover;
    background-repeat: repeat;
}

.public-page section.bg-white {
    background-color: var(--background-white);
    background-image: none;
}

/* ==========================================================================
   4. Utility Classes
   ========================================================================== */

.public-page .section-padding {
    padding: var(--section-padding) 0;
}

.public-page .section-padding-small {
    padding: var(--section-padding-small) 0;
}

.public-page .text-center {
    text-align: center;
}

.public-page .bg-primary-dark {
    background-color: var(--primary-dark-color);
    color: var(--text-color-light);
}

.public-page .light-text {
    color: var(--text-color-light) !important;
}

.public-page .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.public-page .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.public-page .mt-3 {
    margin-top: 1rem;
}

.public-page .mb-5 {
    margin-bottom: 3rem;
}

/* ==========================================================================
   5. Hero Section Base Styles
   ========================================================================== */

.public-page .hero-base {
    background-image: url('/images/main-banner-bg.jpg');
    background-color: var(--background-light);
    background-size: cover;
    background-repeat: repeat;
    padding: 80px 0;
    text-align: left;
    position: relative;
}

.public-page .hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.public-page .hero-text {
    max-width: 600px;
}

    .public-page .hero-base h1 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-family: raleway-bold;
        font-size: 5rem;
        font-weight: 900;
    }

.public-page .hero-base p {
    font-size: 1.5rem;
    font-weight: 450;
    margin-bottom: 2rem;
    color: var(--text-color-dark);
}

.public-page .hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.public-page .qr-code {
    width: 150px;
    height: 150px;
    border: 5px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.public-page .app-stores {
    display: flex;
    gap: 15px;
}

.public-page .app-stores a img {
    height: 40px;
}

.public-page .app-stores span {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-color-dark);
}

/* ==========================================================================
   6. WhatsApp FAB Button
   ========================================================================== */

.public-page .fab-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    z-index: 999;
}

.public-page .fab-chat img {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   7. Sponsors Section
   ========================================================================== */

.public-page .sponsors-section {
    padding: 40px 0;
    background-color: var(--background-white);
    background-image: none;
    text-align: center;
}

.public-page .sponsors-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 30px;
    font-family: "Montserrat", sans-serif;
}

.public-page .sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.public-page .sponsor-logo {
    height: 50px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.9;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.public-page .sponsor-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================================
   8. Explore More / Link Buttons Section
   ========================================================================== */

.public-page .explore-section {
    padding: 50px 0;
    background-color: var(--background-white);
    background-image: none;
    text-align: center;
}

.public-page .explore-section h2 {
    color: var(--text-color-dark);
    margin-bottom: 30px;
}

.public-page .explore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.public-page .explore-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background-color: var(--background-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-small);
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.public-page .explore-link:hover {
    border-color: var(--primary-color);
    background-color: var(--background-light);
    transform: translateY(-2px);
}

.public-page .explore-link::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--background-light);
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.public-page .explore-disclaimer {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 25px;
}

/* ==========================================================================
   9. CTA Section (App Download)
   ========================================================================== */

.public-page .cta-section {
    padding: var(--section-padding) 0;
    background-image: url('/images/subtle-bg.jpg');
    background-color: var(--background-light);
    background-size: cover;
    background-repeat: repeat;
}

.public-page .cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.public-page .cta-image-showcase {
    position: relative;
}

.public-page .cta-image-showcase img {
    width: 95%;
    margin-left: auto;
}

.public-page .cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-color-dark);
    margin-bottom: 1rem;
}

.public-page .cta-content p {
    margin-bottom: 1.5rem;
}

.public-page .cta-content .hero-actions {
    margin-top: 20px;
}

.public-page .cta-content h3 {
    color: var(--primary-color);
    margin-top: 10px;
}

/* ==========================================================================
   10. Cards
   ========================================================================== */

.public-page .card {
    background-color: transparent;
    padding: 25px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-small);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.public-page .card.light-card {
    background-color: var(--background-white);
    border-color: var(--background-white);
    color: var(--text-color-dark);
}

.public-page .card.light-card h3,
.public-page .card.light-card p {
    color: var(--text-color-dark);
}

.public-page .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.public-page .card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.public-page .card p {
    font-size: 0.95rem;
    color: var(--text-color-muted);
    flex-grow: 1;
    margin-bottom: 15px;
}

/* ==========================================================================
   11. Buttons
   ========================================================================== */

.public-page .btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: none;
    border-radius: var(--border-radius-pill);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.public-page .btn-primary:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-2px);
}

.public-page .btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    border-radius: var(--border-radius-pill);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.public-page .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.public-page .read-more {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    align-self: flex-start;
}

.public-page .read-more:hover {
    background-color: var(--primary-color);
    color: white;
}

.public-page .read-more.borderless {
    border: 0px solid var(--primary-color);
    color: var(--text-color-dark);
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    padding: 0;
    margin-top: 8px;
}

.public-page .read-more.borderless:hover {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    margin: -8px -15px;
}

/* ==========================================================================
   12. Content Section with Image
   ========================================================================== */

.public-page .content-section {
    padding: var(--section-padding) 0;
}

.public-page .content-section.bg-light {
    background-color: var(--background-light);
}

.public-page .content-with-image {
    display: flex;
    align-items: center;
    gap: 40px;
}

.public-page .content-image {
    flex: 1;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
}

.public-page .content-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.public-page .content-text {
    flex: 1;
}

.public-page .content-text h2 {
    color: var(--text-color-dark);
    margin-bottom: 1rem;
}

.public-page .content-text p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   13. Corporate Navigation
   ========================================================================== */

.public-page .corporate-nav {
    background-color: var(--background-white);
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.public-page .corporate-nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.public-page .corporate-nav-link {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-dark);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
}

.public-page .corporate-nav-link:hover {
    color: var(--primary-color);
}

.public-page .corporate-nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* ==========================================================================
   14. Feature Grid (3-column)
   ========================================================================== */

.public-page .features-section {
    background-color: var(--background-white);
    background-image: none;
}

.public-page .features-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.public-page .feature-card {
    text-align: center;
    padding: 20px;
}

.public-page .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-page .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.public-page .feature-icon-placeholder {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-page .feature-icon-placeholder svg {
    width: 40px;
    height: 40px;
}

.public-page .feature-card h3 {
    font-family: raleway-bold, sans-serif;
    font-size: 1.1rem;
    color: var(--text-color-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.public-page .feature-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-color-body);
    margin-bottom: 0;
}

/* ==========================================================================
   15. Pricing Section
   ========================================================================== */

.public-page .pricing-section {
    background-color: var(--background-light);
    background-image: url('/images/subtle-bg.jpg');
    background-size: cover;
    border-top: 1px solid #e0e0e0;
}

.public-page .pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.public-page .pricing-image {
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.public-page .pricing-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.public-page .pricing-content h2 {
    font-family: raleway-bold, sans-serif;
    font-size: 2.5rem;
    color: var(--text-color-dark);
    margin-bottom: 1.5rem;
}

.public-page .pricing-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color-body);
    margin-bottom: 2rem;
}

/* ==========================================================================
   16. Contact Form Section
   ========================================================================== */

/* Contact Hero - centered text variation */
.public-page .contact-hero {
    text-align: center;
    padding: 60px 0;
}

.public-page .contact-hero-content {
    text-align: center;
}

.public-page .contact-hero h1 {
    color: var(--primary-color);
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.public-page .contact-hero p {
    font-size: 1.3rem;
    color: var(--text-color-dark);
    margin-bottom: 0;
}

/* Contact Form Layout */
.public-page .contact-form-section {
    padding: var(--section-padding) 0;
}

.public-page .contact-form-section h2 {
    margin-bottom: 40px;
}

.public-page .contact-form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.public-page .contact-image {
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.public-page .contact-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.public-page .contact-form-wrapper {
    background-color: var(--background-white);
}

/* Form Elements */
.public-page .form-group {
    margin-bottom: 15px;
}

.public-page .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-small);
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background-white);
}

.public-page .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(65, 154, 69, 0.1);
}

.public-page .form-input::placeholder {
    color: #999;
}

.public-page .form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox styling */
.public-page .form-checkbox-group {
    margin-top: 10px;
}

.public-page .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-color-body);
    cursor: pointer;
    line-height: 1.4;
}

.public-page .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.public-page .checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Submit button */
.public-page .btn-submit {
    display: block;
    width: auto;
    min-width: 120px;
    margin: 20px auto 0;
    padding: 12px 40px;
    font-size: 1rem;
}

.public-page .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Honeypot field - hidden from users */
.public-page .form-field-honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Turnstile container */
.public-page .turnstile-container {
    margin: 15px 0;
    min-height: 65px;
    display: flex;
    justify-content: center;
}

.public-page .turnstile-container .cf-turnstile {
    margin: 0 auto;
}

/* Form messages */
.public-page .form-error-message {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #dc2626;
    padding: 12px 15px;
    border-radius: var(--border-radius-small);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.public-page .form-success-message {
    text-align: center;
    padding: 40px 20px;
}

.public-page .form-success-message h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.public-page .form-success-message p {
    color: var(--text-color-body);
}

/* Validation messages */
.public-page .validation-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* ==========================================================================
   17. FAQ Section
   ========================================================================== */

/* FAQ Hero - centered text variation */
.public-page .faq-hero {
    text-align: center;
    padding: 60px 0;
}

.public-page .faq-hero-content {
    text-align: center;
}

.public-page .faq-hero h1 {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.public-page .faq-hero p {
    font-size: 1.3rem;
    color: var(--text-color-dark);
    margin-bottom: 0;
}

/* FAQ Content Section */
.public-page .faq-content-section {
    background-color: var(--background-white);
    background-image: none;
}

/* FAQ Category Navigation */
.public-page .faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.public-page .faq-category-link {
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color-body);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.public-page .faq-category-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.public-page .faq-category-link.active {
    color: var(--text-color-light);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* FAQ Categories */
.public-page .faq-categories {
    max-width: 900px;
    margin: 0 auto;
}

.public-page .faq-category-section {
    margin-bottom: 50px;
}

.public-page .faq-category-section:last-child {
    margin-bottom: 0;
}

.public-page .faq-category-title {
    font-family: raleway-bold, sans-serif;
    font-size: 1.8rem;
    color: var(--text-color-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* FAQ List */
.public-page .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.public-page .faq-item {
    background-color: var(--background-light);
    border-radius: var(--border-radius-small);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.public-page .faq-item:hover {
    box-shadow: var(--card-shadow);
}

.public-page .faq-item.expanded {
    box-shadow: var(--card-shadow-hover);
}

.public-page .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-dark);
    transition: background-color 0.3s ease;
    gap: 15px;
}

.public-page .faq-question:hover {
    background-color: rgba(65, 154, 69, 0.05);
}

.public-page .faq-item.expanded .faq-question {
    background-color: rgba(65, 154, 69, 0.1);
    color: var(--primary-color);
}

.public-page .faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1;
}

.public-page .faq-answer {
    padding: 0 25px 20px 25px;
}

.public-page .faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color-body);
    margin: 0;
}

/* FAQ Contact Section */
.public-page .faq-contact-section {
    background-image: url('/images/subtle-bg.jpg');
    background-color: var(--background-light);
}

.public-page .faq-contact-section h2 {
    font-size: 2.2rem;
    color: var(--text-color-dark);
    margin-bottom: 15px;
}

.public-page .faq-contact-section p {
    font-size: 1.1rem;
    color: var(--text-color-body);
    margin-bottom: 30px;
}

.public-page .faq-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.public-page .faq-contact-buttons .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.public-page .faq-contact-buttons .btn-icon {
    width: 20px;
    height: 20px;
}

/* FAQ Loading & Error States */
.public-page .faq-loading,
.public-page .faq-error {
    text-align: center;
    padding: 60px 20px;
}

.public-page .faq-loading p,
.public-page .faq-error p {
    font-size: 1.1rem;
    color: var(--text-color-muted);
}

/* ==========================================================================
   18. Testimonials Section
   ========================================================================== */

.public-page .testimonials {
    background-image: url('/images/subtle-bg.jpg');
    background-color: var(--background-light);
}

.public-page .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.public-page .testimonial-card {
    background-color: var(--background-light);
    padding: 30px 25px 75px 25px;
    border-radius: var(--border-radius-small);
    position: relative;
    box-shadow: var(--card-shadow);
}

.public-page .testimonial-card .stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.public-page .testimonial-card p {
    font-style: italic;
    color: #444;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.public-page .testimonial-card .author {
    display: block;
    font-weight: 600;
    color: var(--text-color-dark);
    position: absolute;
    bottom: 20px;
    left: 25px;
    max-width: calc(100% - 100px);
    font-size: 0.9rem;
}

.public-page .testimonial-card .author em {
    font-weight: 400;
    color: var(--text-color-muted);
}

.public-page .testimonial-card .quote-mark-icon {
    position: absolute;
    bottom: -25px;
    right: -20px;
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* ==========================================================================
   19. Events Page Styles
   ========================================================================== */

/* Event Cards Grid (for Events landing page) */
.public-page .event-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.public-page .event-card {
    background-color: var(--background-white);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-medium);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.public-page .event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.public-page .event-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-page .event-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.public-page .event-card h3 {
    font-family: raleway-bold, sans-serif;
    font-size: 1.4rem;
    color: var(--text-color-dark);
    margin-bottom: 15px;
}

.public-page .event-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color-body);
    margin-bottom: 25px;
    flex-grow: 1;
}

.public-page .event-card .btn-primary {
    margin-top: auto;
}

/* Section Subtitle */
.public-page .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-body);
    max-width: 700px;
    margin: 0 auto 20px;
}

/* Hero Decorations (green triangles) */
.public-page .hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.public-page .hero-decorations .decoration {
    position: absolute;
    width: 0;
    height: 0;
}

.public-page .hero-decorations .decoration-1 {
    top: 10%;
    left: 5%;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--primary-color);
    transform: rotate(-15deg);
    opacity: 0.7;
}

.public-page .hero-decorations .decoration-2 {
    top: 20%;
    right: 10%;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--primary-color);
    transform: rotate(25deg);
    opacity: 0.6;
}

.public-page .hero-decorations .decoration-3 {
    bottom: 15%;
    left: 15%;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid var(--primary-color);
    transform: rotate(10deg);
    opacity: 0.5;
}

.public-page .hero-decorations .decoration-4 {
    top: 5%;
    right: 25%;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--primary-color);
    transform: rotate(-30deg);
    opacity: 0.4;
}

.public-page .hero-decorations .decoration-5 {
    bottom: 30%;
    right: 5%;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid var(--primary-color);
    transform: rotate(45deg);
    opacity: 0.5;
}

/* Pricing Buttons */
.public-page .pricing-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Help/Video Section */
.public-page .help-section {
    background-color: var(--background-white);
    background-image: none;
}

.public-page .video-placeholder {
    position: relative;
    max-width: 600px;
    margin: 30px auto 0;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    cursor: pointer;
}

.public-page .video-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.public-page .video-placeholder .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.public-page .video-placeholder:hover .play-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    transform: translate(-50%, -50%) scale(1.1);
}

.public-page .video-placeholder .play-button svg {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

.public-page .video-placeholder .video-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-color-light);
    padding: 10px 20px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
}

/* Screen Reader Only */
.public-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*
    App Bar
*/

/* AppBar layout + navigation styling */
.mud-appbar.sc-appbar {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.sc-appbar__left,
.sc-appbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.sc-appbar__center {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.sc-appbar__logo {
    height: 34px;
    width: auto;
}

.sc-appbar__nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: min(920px, 100%);
    gap: 8px;
}

.sc-appbar-link {
    color: #000000;
    text-decoration: none;
    padding: 10px 10px;
    border-bottom: 2px solid transparent;
    line-height: 1;
    white-space: nowrap;
    font-weight: 500;
}

    .sc-appbar-link:hover {
        border-bottom-color: rgba(56, 171, 36, 0.45);
    }

    .sc-appbar-link.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
    }

/* ==========================================================================
   20. Responsive Breakpoints
   ========================================================================== */

/* Tablet and below */
@media (max-width: 992px) {
    .public-page .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .public-page .hero-text {
        max-width: 100%;
    }

    .public-page .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 25px;
    }

    .public-page .hero-base .qr-code {
        margin-bottom: 15px;
    }

    .public-page .cta-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .public-page .cta-image-showcase {
        order: 1;
        margin-bottom: 30px;
    }

    .public-page .cta-image-showcase img {
        margin: 0 auto;
        max-width: 400px;
    }

    .public-page .cta-content {
        order: 2;
    }

    .public-page .cta-content .hero-actions {
        justify-content: center;
        flex-direction: column;
    }

    .public-page .content-with-image {
        flex-direction: column;
        text-align: center;
    }

    /* Corporate Navigation - Tablet */
    .public-page .corporate-nav-links {
        gap: 20px;
    }

    /* Feature Grid - Tablet */
    .public-page .features-grid-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 25px;
    }

    /* Pricing Section - Tablet */
    .public-page .pricing-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .public-page .pricing-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .public-page .pricing-content {
        max-width: 600px;
        margin: 0 auto;
    }

    /* Contact Form - Tablet */
    .public-page .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .public-page .contact-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .public-page .contact-image img {
        min-height: 250px;
    }

    .public-page .contact-form-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    /* FAQ - Tablet */
    .public-page .faq-category-nav {
        gap: 8px 15px;
    }

    .public-page .faq-category-link {
        font-size: 0.9rem;
        padding: 6px 14px;
    }

    /* Event Cards - Tablet */
    .public-page .event-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
    }

    .public-page .event-card {
        padding: 30px 25px;
    }

    /* Hero Decorations - Tablet (hide some) */
    .public-page .hero-decorations .decoration-3,
    .public-page .hero-decorations .decoration-4 {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .public-page h1 {
        font-size: 2.5rem;
    }

    .public-page h2 {
        font-size: 1.8rem;
    }

    .public-page .hero-base h1 {
        font-size: 2.5rem;
    }

    .public-page .hero-base p {
        font-size: 1.2rem;
    }

    .public-page .explore-grid {
        grid-template-columns: 1fr;
    }

    .public-page .sponsors-grid {
        gap: 20px;
    }

    .public-page .sponsor-logo {
        height: 40px;
        max-width: 120px;
    }

    /* Corporate Navigation - Mobile */
    .public-page .corporate-nav-links {
        gap: 15px;
    }

    .public-page .corporate-nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    /* Feature Grid - Mobile */
    .public-page .features-grid-3col {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .public-page .feature-card {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Pricing Section - Mobile */
    .public-page .pricing-content h2 {
        font-size: 2rem;
    }

    /* Contact Hero - Mobile */
    .public-page .contact-hero h1 {
        font-size: 3rem;
    }

    .public-page .contact-hero p {
        font-size: 1.1rem;
    }

    /* Testimonials - Mobile */
    .public-page .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ - Mobile */
    .public-page .faq-hero h1 {
        font-size: 2.5rem;
    }

    .public-page .faq-hero p {
        font-size: 1.1rem;
    }

    .public-page .faq-category-nav {
        gap: 6px 10px;
        margin-bottom: 35px;
    }

    .public-page .faq-category-link {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    .public-page .faq-category-title {
        font-size: 1.5rem;
    }

    .public-page .faq-question {
        padding: 15px 18px;
        font-size: 0.95rem;
    }

    .public-page .faq-answer {
        padding: 0 18px 15px 18px;
    }

    .public-page .faq-contact-section h2 {
        font-size: 1.8rem;
    }

    .public-page .faq-contact-section p {
        font-size: 1rem;
    }

    .public-page .faq-contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Events Navigation - Mobile (wrap links) */
    .public-page .corporate-nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Event Cards - Mobile */
    .public-page .event-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .public-page .event-card h3 {
        font-size: 1.2rem;
    }

    /* Video Placeholder - Mobile */
    .public-page .video-placeholder .play-button {
        width: 60px;
        height: 60px;
    }

    .public-page .video-placeholder .play-button svg {
        width: 24px;
        height: 24px;
    }

    .public-page .video-placeholder .video-label {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    /* Hero Decorations - Mobile (hide all) */
    .public-page .hero-decorations {
        display: none;
    }

    /* Pricing Buttons - Mobile */
    .public-page .pricing-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .public-page .hero-base h1 {
        font-size: 2rem;
    }

    .public-page .hero-base p {
        font-size: 1rem;
    }

    .public-page .qr-code {
        width: 120px;
        height: 120px;
    }

    .public-page .app-stores a img {
        height: 35px;
    }

    .public-page .fab-chat {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .public-page .fab-chat img {
        width: 18px;
        height: 18px;
    }

    /* Contact Hero - Small Mobile */
    .public-page .contact-hero h1 {
        font-size: 2.5rem;
    }

    .public-page .contact-hero p {
        font-size: 1rem;
    }

    /* Contact Form - Small Mobile */
    .public-page .contact-image img {
        min-height: 200px;
    }
}
