/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Colors - Warm, Gentle, Hopeful (Pink/Orange gradients) */
    --color-primary: #FF8C69; /* Warm salmon pink/orange */
    --color-primary-hover: #FF7043;
    --color-secondary: #FFB07C; /* Soft peach */
    --color-secondary-hover: #FF9E5E;
    --color-text-main: #4A4A4A;
    --color-text-light: #7A7A7A;
    --color-bg-main: #FFFDFB;
    --color-bg-light: #FFF5F0; /* Very light warm background */
    --color-white: #FFFFFF;
    --color-border: #F0E0D8;
    --color-gradient-warm: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
    --color-gradient-primary: linear-gradient(135deg, #FF8C69 0%, #FFB07C 100%);

    /* Typography */
    --font-main: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    --font-heading: 'Zen Maru Gothic', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility */
.text-nowrap {
    white-space: nowrap;
    display: inline-block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-main);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.25;
}

.logo-sub-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-hover);
    letter-spacing: 0.03em;
}

.logo-main-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.03em;
}

.header-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* Global Nav (PC) */
.global-nav .nav-list {
    display: flex;
    gap: 32px;
}

.global-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

/* Hamburger (SP) */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    position: absolute;
    left: 10px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(250, 250, 250, 0.7), rgba(250, 250, 250, 0.6)), url('../images/hero_bg.jpg') center/cover no-repeat;
    background-attachment: fixed; /* Parallax effect */
    padding-top: var(--header-height);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg-main) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    padding: 50px 60px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 1000px;
}

.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 36px;
    flex-wrap: nowrap;
}

.hero-logo-img {
    height: auto;
    max-height: 280px;
    width: 45%;
    max-width: 420px;
    object-fit: contain;
    border-radius: 16px;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Animal Grid (JS Rendered)
   ========================================================================== */
.animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.animal-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.animal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.animal-img-wrapper {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.animal-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.animal-card:hover .animal-img {
    transform: scale(1.05);
}

.animal-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-primary);
    color: var(--color-text-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.animal-status.adopted {
    background-color: #E0E0E0;
    color: #666;
}

.animal-status.trial {
    background-color: #4CAF50;
    color: #FFF;
}

.animal-info {
    padding: 24px;
}

.animal-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-secondary);
}

.animal-meta {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.animal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.loading-spinner {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    color: var(--color-text-light);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    padding-top: 75%;
}

.feature-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-secondary);
}

.feature-desc {
    flex-grow: 1;
}

/* ==========================================================================
   Support Section
   ========================================================================== */
.section-support {
    background: linear-gradient(135deg, var(--color-primary) 0%, #FFD700 100%);
    position: relative;
    overflow: hidden;
}

.support-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.support-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 24px;
}

.support-desc {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.support-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Company Section
   ========================================================================== */
.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.company-block {
    padding: 32px;
    border-top: 4px solid var(--color-secondary);
    background: var(--color-white);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.company-role {
    color: var(--color-primary-hover);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--color-text-main);
}

.form-group .required {
    background-color: #E74C3C;
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-bg-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(248, 202, 0, 0.2);
    background-color: var(--color-white);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--color-white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-overlay.is-active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--color-white);
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: var(--color-text-main);
}

.modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.modal-content {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 769px) {
    .modal-content {
        flex-direction: row;
    }
    .modal-image {
        flex: 1;
        min-height: 100%;
    }
    .modal-image img {
        height: 100%;
        object-fit: cover;
    }
    .modal-info {
        flex: 1;
    }
}

.modal-image {
    position: relative;
}

.modal-image img {
    width: 100%;
    display: block;
}

.modal-info {
    padding: 40px;
}

.modal-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.modal-meta {
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.modal-desc {
    line-height: 1.8;
    margin-bottom: 32px;
}

.modal-actions .btn {
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-text-main);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info {
    width: 100%;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.footer-address {
    color: #BBBBBB;
    font-size: 0.9rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #DDDDDD;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #999;
}

.stealth-link {
    color: inherit;
    text-decoration: none;
    transition: none;
}

.stealth-link:hover {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.pagetop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.pagetop::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid #FFF;
    border-left: 2px solid #FFF;
    transform: translate(-50%, -30%) rotate(45deg);
}

.pagetop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pagetop:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Media Queries (Mobile)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    /* Padding & Font adjustments */
    .section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        width: 100%;
        margin-bottom: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Navigation */
    .hamburger {
        display: block;
    }
    
    .global-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(255, 255, 255, 0.98);
        padding: 40px 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .global-nav .nav-list {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .global-nav a {
        font-size: 1.1rem;
        display: block;
        padding: 12px;
    }
    
    /* Layout adjustments */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .support-box {
        padding: 40px 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .modal-info {
        padding: 30px 20px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }
}

/* ==========================================================================
   New Sections (Message, Challenges, Expanded Activities, Achievements, FAQ, Volunteer, Company)
   ========================================================================== */

/* Message Section */
.message-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

@media (min-width: 768px) {
    .message-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 50px;
        padding: 50px;
    }
}

.message-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.message-image img {
    width: 100%;
    height: auto;
    display: block;
}

.message-text {
    flex: 1;
}

.message-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.message-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Challenges Grid */
.challenges-grid .feature-card {
    background: var(--white);
}

/* Expanded Activities List */
.activities-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.activity-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .activity-row {
        flex-direction: row;
        gap: 0;
    }
    
    .activity-row.row-reverse {
        flex-direction: row-reverse;
    }
}

.activity-image {
    width: 100%;
}

@media (min-width: 768px) {
    .activity-image {
        width: 50%;
    }
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .activity-content {
        width: 50%;
        padding: 50px;
    }
}

.activity-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.activity-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.activity-meta {
    font-size: 0.95rem;
    color: var(--text-color);
    background: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 10px;
}

/* Achievements */
.achievements-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .achievements-wrapper {
        flex-direction: row;
    }
}

.achievement-box {
    flex: 1;
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius-lg);
}

.achievement-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.achievement-desc {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.achievement-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Volunteer Section */
.volunteer-section {
    background: linear-gradient(135deg, #fff9f0 0%, #fff0f0 100%);
}

.hero-content {
    background: rgba(255, 255, 255, 0.92);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-org-name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.volunteer-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(232, 65, 46, 0.1);
    position: relative;
    text-align: center;
    border: 2px solid rgba(232, 65, 46, 0.2);
}

.volunteer-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #e8412e; /* Alert red */
    color: var(--white);
    padding: 5px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.volunteer-title {
    font-size: 2rem;
    color: #e8412e;
    margin-bottom: 30px;
    margin-top: 10px;
}

.volunteer-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px;
}

.volunteer-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.volunteer-info {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.volunteer-info p {
    margin-bottom: 10px;
}

.volunteer-info p:last-child {
    margin-bottom: 0;
}

.volunteer-pledge {
    padding: 20px;
    border: 1px dashed #ccc;
    border-radius: var(--border-radius);
}

.volunteer-pledge h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.volunteer-pledge ul {
    padding-left: 20px;
    font-size: 0.95rem;
}

.volunteer-pledge li {
    margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 100, 146, 0.03);
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-item.is-open .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--white);
}

.faq-item.is-open .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px; /* Arbitrary large max-height */
}

.faq-answer p {
    line-height: 1.8;
}

/* Company Section Additions */
.company-detail {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.company-detail dl {
    display: flex;
    flex-wrap: wrap;
}

.company-detail dt {
    width: 100%;
    font-weight: 700;
    color: var(--primary-color);
    padding: 15px 0 5px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.company-detail dd {
    width: 100%;
    margin: 0;
    padding: 10px 0 15px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .company-detail dt {
        width: 30%;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .company-detail dd {
        width: 70%;
        padding: 20px 0 20px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .company-detail dt:last-of-type,
    .company-detail dd:last-of-type {
        border-bottom: none;
    }
}

/* Gallery Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   New Layout & Decorations (Beautiful Weather Update)
   ========================================================================== */

/* Background Decorations */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.deco {
    position: absolute;
    font-size: 5rem;
    opacity: 0.05;
    color: var(--color-primary);
}
.deco-paw::before { content: '🐾'; color: #FF9E5E; }
.deco-heart::before { content: '❤'; color: #FF6B81; }
.deco-note::before { content: '♪'; color: #FF8C69; }

.paw-1 { top: 8%; left: 3%; transform: rotate(-15deg); font-size: 5rem; }
.paw-2 { top: 48%; right: 4%; transform: rotate(20deg); font-size: 5.5rem; }
.paw-3 { top: 82%; left: 5%; transform: rotate(-25deg); font-size: 5rem; }
.note-1 { top: 25%; right: 8%; transform: rotate(15deg); font-size: 4.5rem; }
.note-2 { top: 68%; left: 7%; transform: rotate(-12deg); font-size: 5rem; }
.heart-1 { top: 78%; right: 12%; transform: rotate(-10deg); font-size: 6rem; }
.heart-2 { top: 38%; left: 8%; transform: rotate(18deg); font-size: 4rem; }

/* Flow Section (Why 2 organizations) */
.flow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--color-secondary);
    position: relative;
}

.flow-step-highlight {
    border-top: 4px solid var(--color-primary);
    background: linear-gradient(to bottom, #fff, var(--color-bg-light));
}

.flow-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gradient-primary);
    color: var(--color-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.flow-title {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-size: 1.3rem;
    margin: 15px 0 10px;
}

.flow-arrow {
    color: var(--color-primary);
    font-size: 1.5rem;
}

/* Story Section */
.story-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .story-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }
    .story-image {
        flex: 1;
    }
    .story-text {
        flex: 1.5;
    }
}
.story-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.story-catch {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    color: var(--color-primary-hover);
    margin-bottom: 12px;
    line-height: 1.5;
    text-align: center;
}
.story-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
}
.story-text p {
    margin-bottom: 15px;
}

.credentials-box {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}
.credentials-box h4 {
    margin-bottom: 10px;
    color: var(--color-secondary-hover);
}
.credentials-box ul {
    list-style: disc inside;
    color: var(--color-text-main);
}

/* Logo Section */
.logo-section {
    background: var(--color-bg-main);
    padding-bottom: 0;
}
.section-logo-img {
    max-width: 480px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 16px;
}
.logo-intro {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}
.logo-explanation {
    text-align: center;
    background: var(--color-white);
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--color-border);
}
.logo-explanation h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--color-secondary);
}
.logo-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.logo-item {
    flex: 1;
    min-width: 220px;
    background: var(--color-bg-light);
    padding: 30px 20px;
    border-radius: 12px;
}
.logo-item span {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
}
.logo-item h4 {
    color: var(--color-primary-hover);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* bwar Section */
.policy-box {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid var(--color-secondary);
    margin-bottom: 40px;
}

.hope-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.hope-item {
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    width: calc(33.333% - 20px);
    flex: none;
}
@media (max-width: 900px) {
    .hope-item { width: calc(50% - 20px); }
}
@media (max-width: 600px) {
    .hope-item { width: 100%; }
}
.hope-item h4 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cost-visualization {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(255,140,105,0.1) 0%, rgba(255,176,124,0.1) 100%);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}
.cost-visualization h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
}
.cost-visualization strong {
    color: var(--color-primary-hover);
    font-size: 1.2rem;
}

/* LLC Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.business-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 260px;
    box-sizing: border-box;
    overflow: hidden;
}
@media (max-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr;
    }
}
.business-card:hover {
    transform: translateY(-5px);
}
.business-card h3 {
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Support Options */
.support-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}
.support-box {
    flex: 1;
    min-width: 300px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.support-box-action {
    margin-top: auto;
    padding-top: 20px;
}
.support-box-action .btn {
    width: 100%;
}
.donation-box {
    border-top: 5px solid var(--color-primary);
}
.volunteer-box {
    border-top: 5px solid var(--color-secondary);
}
.support-box h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}
.support-box p {
    margin-bottom: 20px;
}

/* Accordion */
.accordion details {
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    text-align: left;
}
.accordion summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0,0,0,0.02);
    color: #d32f2f; /* Highlight for strict rules */
}
.accordion-content {
    padding: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.accordion-content ul {
    list-style: disc inside;
    font-size: 0.9rem;
    line-height: 1.6;
}
.accordion-content li {
    margin-bottom: 5px;
}

/* Company Blocks (Standalone Organizations) */
.company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
}

.company-block {
    background: var(--color-white);
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.company-block-header {
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.company-block-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary-hover);
    margin: 0;
    line-height: 1.4;
}

.company-dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px 12px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.company-dl dt {
    font-weight: bold;
    color: var(--color-secondary);
    border-bottom: 1px dashed rgba(0,0,0,0.08);
    padding-bottom: 10px;
}

.company-dl dd {
    border-bottom: 1px dashed rgba(0,0,0,0.08);
    padding-bottom: 10px;
    margin: 0;
}

.company-dl dd ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-dl dd li {
    margin-bottom: 8px;
}

@media (max-width: 850px) {
    .company-grid {
        grid-template-columns: 1fr;
    }
    .company-block {
        padding: 24px 18px;
    }
    .company-dl {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .company-dl dt {
        border-bottom: none;
        padding-bottom: 0;
        margin-top: 10px;
        font-size: 0.95rem;
    }
}
.note-text {
    font-size: 0.82rem;
    color: var(--color-text-light);
}
@media (max-width: 500px) {
    .company-info dl {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .company-info dd {
        margin-bottom: 15px;
    }
}

.compliance-box {
    background: #FFF3E0;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}
.compliance-box h3 {
    color: #E65100;
    margin-bottom: 15px;
}

/* Entertainment Section */
.entertainment-section {
    background: var(--color-white);
}
.ent-wrapper {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: 16px;
    border-left: 5px solid var(--color-primary);
}
.ent-text p {
    margin-bottom: 15px;
}
.ent-text ul {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 10px;
}
.ent-text li {
    margin-bottom: 8px;
    color: var(--color-text-main);
}
