/* 全局样式 */
:root {
    --primary-color: #dc3545;
    --secondary-color: #ff6b6b;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --max-width: 1200px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    padding-top: 56px; /* 假设 navbar 高度约为80px，后面可能需要微调 */
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    margin-top: 65px;
}

.btn-primary:hover {
    background-color: #c82333;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    margin-top: 65px;
}

.btn-secondary:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: top 0.3s ease-in-out;
}

.navbar.navbar-hidden {
    top: -100px; /* 或者一个足够大的负值确保它完全移出屏幕 */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}


.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 0;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* 主要内容区域样式 */
.main-content {
    position: relative;
}

.section {
    height: 800px;
    padding: 20px 0;
    padding-top: 30px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 首页英雄区域样式 */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 0 0 0;
    min-height: 95vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 200, 120, 0.1) 100%),
        url('img/photo-1548199973-03cce0bbc87b.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundSlide 20s infinite;
}

@keyframes backgroundSlide {
    0% {
        background-image: 
            linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 200, 120, 0.1) 100%),
            url('img/photo-1548199973-03cce0bbc87b.avif');
    }
    25% {
        background-image: 
            linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 200, 120, 0.1) 100%),
            url('img/photo-1601758228041-f3b2795255f1.avif');
    }
    50% {
        background-image: 
            linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 200, 120, 0.1) 100%),
            url('img/photo-1583337130417-3346a1be7dee.avif');
    }
    75% {
        background-image: 
            linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 200, 120, 0.1) 100%),
            url('img/photo-1514888286974-6c03e2ca1dba.avif');
    }
    100% {
        background-image: 
            linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 200, 120, 0.1) 100%),
            url('img/photo-1548199973-03cce0bbc87b.avif');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-in-out;
    margin-top: 100px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-in-out 0.5s;
    animation-fill-mode: both;
    margin-top: 100px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in-out 1s;
    animation-fill-mode: both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease-in-out 1.5s;
    animation-fill-mode: both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

/* 关于我们区域样式 */
.about-section {
    background-color: white;
    height: 1020px;
    padding-top: 65px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}



.mission-card:hover {
    transform: translateY(-10px);
}

.mission-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.mission-card[data-bg="care"] .mission-bg {
    background-image: url('img/photo-1548199973-03cce0bbc87b.avif');
}

.mission-card[data-bg="medical"] .mission-bg {
    background-image: url('img/photo-1576201836106-db1758fd1c97.avif');
}

.mission-card[data-bg="education"] .mission-bg {
    background-image: url('img/photo-1544568100-847a948585b9.avif');
}

.mission-card[data-bg="community"] .mission-bg {
    background-image: url('img/photo-1559827260-dc66d52bef19.avif');
}

.mission-card:hover .mission-bg {
    opacity: 0.2;
}

.mission-content {
    position: relative;
    z-index: 1;
}



.mission-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.about-timeline h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-year {
    position: absolute;
    left: -2.5rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.timeline-content {
    padding-left: 1.5rem;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* 协会信息样式 */
.association-info {
    margin-top: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

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

/* 救助中心区域样式 */
.rescue-section {
    height: 820px;
}

.rescue-content {
    max-width: 900px;
    margin: 0 auto;
}

/* 使用新的救助成果样式，定义在5600行处 */

.rescue-facility {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.facility-image {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rescue-facility h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.facility-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    font-weight: 500;
}



.rescue-process h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.step {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 1rem;
    z-index: 1;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* 领养服务区域样式 */
.adopt-section {
    background-color: #f8f9fa;
    height: 800px;
    padding-top: 65px;
}

.adopt-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.adopt-info {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 120px;
    height: 482px;
}

.adopt-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.adopt-requirements {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.adopt-requirements li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 1.05rem;
}

.adopt-requirements li i {
    color: var(--success-color);
    margin-right: 0.8rem;
    margin-top: 3px;
}

.adopt-stats {
    text-align: center;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.adopt-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.adopt-stats .stat-label {
    font-size: 1rem;
    color: #666;
}

.adopt-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pet-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.pet-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.pet-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pet-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pet-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.pet-info p:last-of-type {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.pet-card .btn {
    width: 100%;
}

/* 参与我们页面样式 */
.participate-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.participate-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.participate-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 参与理念 */
.participate-philosophy {
    padding: 40px 0;
    background: #f8f9fa;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.philosophy-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.philosophy-points {
    list-style: none;
    padding: 0;
}

.philosophy-points li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

.philosophy-points li i {
    color: #e74c3c;
    margin-right: 15px;
    font-size: 1.2rem;
}

.philosophy-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 参与方式 */
.participate-ways {
    padding: 40px 0;
}

.participate-ways h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.way-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.way-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.way-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.way-icon i {
    font-size: 2rem;
    color: white;
}

.way-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

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

.way-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature-tag {
    background: #e8f4fd;
    color: #2980b9;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 志愿者招募 */
.volunteer-section {
    padding: 30px 4em;
    background: #f8f9fa;
    margin: 0 auto;
}

.volunteer-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.volunteer-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.volunteer-type {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.volunteer-type:hover {
    transform: translateY(-5px);
}

.type-image {
    height: 200px;
    overflow: hidden;
}

.type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.volunteer-type:hover .type-image img {
    transform: scale(1.05);
}

.type-content {
    padding: 30px;
}

.type-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.type-header i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-right: 15px;
}

.type-header h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0;
}

.type-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.req-tag {
    background: #e8f4fd;
    color: #2980b9;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 捐赠方式 */
.donation-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.donation-method {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.donation-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.method-image {
    overflow: hidden;
}

.method-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.donation-method:hover .method-image img {
    transform: scale(1.05);
}

.method-content {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.method-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.method-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.method-header h4 {
    font-size: 1.5rem;
    margin: 0;
}

.method-content > p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.needed-items, .donation-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.item-tag, .amount-tag {
    background-color: #f0f0f0;
    color: var(--dark-color);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.item-tag:hover, .amount-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.donation-method .btn {
    width: 100%;
    margin-top: auto;
    padding: 0.9rem;
    font-size: 1.1rem;
}

.donation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.donation-type {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.donation-type:hover {
    transform: translateY(-5px);
}

.donation-image {
    height: 200px;
    overflow: hidden;
}

.donation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donation-content {
    padding: 30px;
}

.donation-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.donation-header i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-right: 15px;
}

.donation-header h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0;
}

.donation-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.option {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #555;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    background: #e8f4fd;
    border-color: #2980b9;
    color: #2980b9;
}

.needed-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.item-tag {
    background: #fff3cd;
    color: #856404;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-tag:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

.item-tag.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.amount-tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-tag:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

.amount-tag.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.donate-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
}

/* 加入我们表单 */
.join-form-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.join-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.join-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.join-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #555;
}

.benefit i {
    color: #e74c3c;
    margin-right: 15px;
    font-size: 1.3rem;
}

.join-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* 参与我们区域样式 */
.participate-section {
    background-color: #f9f9f9;
    height: 805px;
    padding-top: 65px;
}

.participate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.option-card {
    position: relative;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    min-height: 350px;
}

.option-card:hover {
    transform: translateY(-10px);
}

.option-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.option-card[data-bg="donation"] .option-bg {
    background-image: url('img/photo-1559827260-dc66d52bef19.avif');
}

.option-card[data-bg="volunteer"] .option-bg {
    background-image: url('img/photo-1582213782179-e0d53f98f2ca.avif');
}

.option-card[data-bg="supplies"] .option-bg {
    background-image: url('img/photo-1601758228041-f3b2795255f1\ \(1\).avif');
}

.option-card:hover .option-bg {
    opacity: 0.1;
}

.option-content {
    position: relative;
    z-index: 1;
}

.option-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.option-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.option-card p {
    margin-bottom: 1.5rem;
}

.donation-amounts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 4.5rem;
}

.amount-btn {
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

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

.volunteer-tasks, .supply-list {
    margin: 1.5rem 0;
    text-align: left;
    padding-left: 1.5rem;
}

.volunteer-tasks li, .supply-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.volunteer-tasks li::before, .supply-list li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* 科普教育区域样式 */
.education-section {
    background-color: white;
    height: 950px;
    padding-top: 65px;
}

.education-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.education-programs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.program-card {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-image {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.program-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.program-stats {
    margin-top: 1rem;
    font-weight: 500;
}

.education-achievements {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.education-achievements h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.achievement-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.achievement-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* 联系我们区域样式 */
.contact-section {
    background-color: #f9f9f9;
    height: 900px;
    padding: 65px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    justify-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 1rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ddd;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 页面特定样式 */
.about-page, .rescue-page, .adopt-page, .participate-page, .education-page, .contact-page {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}
.main-content {
    padding-top: 0;
}

.about-page .section, .rescue-page .section, .adopt-page .section, 
.participate-page .section, .education-page .section, .contact-page .section {
    height: auto;
    min-height: calc(100vh - 80px);
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    padding: 40px 0;
}
.adopt-page{
    height: 1800px;
}
/* 救助中心页面样式 */
.rescue-hero {
    height: 600px;
    background: linear-gradient(rgba(220, 53, 69, 0.8), rgba(220, 53, 69, 0.8)), 
                url('img/photo-1601758228041-f3b2795255f1.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}



.rescue-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.rescue-hero .hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.rescue-services {
    padding: 40px 0;
    background: #f8f9fa;
    height: 910px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    color: #666;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

/* 使用新的救助成果样式，定义在5600行处 */

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-highlight {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.stat-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.rescue-process {
    padding: 40px 0;
    background: white;
    height: 750px
}



.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-icon i {
    font-size: 28px;
    color: white;
}

.step-content {
    background: #f8f9fa;
    padding: 0px;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    width: 291px;
}

.step-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}



.step-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rescue-contact {
    padding: 40px 0;
    background: #f8f9fa;
    height: 640px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card.emergency {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card.emergency .contact-icon {
    background: rgba(255,255,255,0.2);
}

.contact-icon i {
    font-size: 28px;
    color: #dc3545;
}

.contact-card.emergency .contact-icon i {
    color: white;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-card.emergency h3 {
    color: white;
}

.contact-number, .contact-address, .contact-email {
    font-size: 1.4rem;
    font-weight: 700;
    color: #dc3545;
    margin: 15px 0;
}

.contact-card.emergency .contact-number {
    color: white;
    font-size: 1.6rem;
}

.contact-card p {
    color: #666;
    margin: 10px 0;
}

.contact-card.emergency p {
    color: rgba(255,255,255,0.9);
}

.contact-note {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

.contact-card.emergency .contact-note {
    color: rgba(255,255,255,0.8);
}

/* 关于我们页面样式 */
.about-hero {
    height: 650px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/photo-1601758228041-f3b2795255f1.avif') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero .hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.about-hero .hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
}

/* 机构简介 */
.about-intro {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    height: 750px;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="%23dc2626" opacity="0.05"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>') repeat;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.intro-text {
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-text h2 {
    font-size: 3rem;
    color: #1f2937;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    border-radius: 2px;
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 2rem;
    text-align: justify;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    position: relative;
}

.intro-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 20px;
    z-index: -1;
}

.intro-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.intro-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 35px 70px rgba(0,0,0,0.2);
}

/* 使命愿景 */
.mission-vision {
    height: 900px;
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.mission-card {
    text-align: center;
    padding: 10px 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.6s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
    background: rgba(255, 255, 255, 0.95);
}

.mission-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7c2d12 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 2.5rem;
    position: relative;
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3);
    transition: all 0.4s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
}

.mission-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.mission-card h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

.mission-card > p {
    font-size: 1.3rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.mission-detail p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    text-align: left;
    padding: 20px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border-left: 4px solid #dc2626;
}

/* 成就数据 */
.achievements {
    padding: 20px 0;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 30%, #7c2d12 70%, #451a03 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><polygon points="50,5 55,35 85,35 62,57 70,87 50,70 30,87 38,57 15,35 45,35" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>') repeat;
    animation: twinkle 15s linear infinite;
}

@keyframes twinkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.achievements .section-title {
    color: white;
    text-align: center;
    margin-bottom: 80px;
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
}

.stat-label {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
}

/* 发展历程 */
.timeline-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
    height: 1000px;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 50%, #7c2d12 100%);
    opacity: 0.3;
}

.timeline-section .timeline-container {
    margin-top: 30px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto 0;
}

.timeline-section .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.timeline-section .timeline-item:nth-child(even) {
    grid-template-columns: unset;
    direction: unset;
}

.timeline-section .timeline-item:nth-child(even) .timeline-content {
    direction: unset;
}

.timeline-section .timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
    border: 2px solid #dc2626;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    min-width: 80px;
}

.timeline-section .timeline-year::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.4s ease;
}

.timeline-section .timeline-year:hover::before {
    left: 100%;
}

.timeline-section .timeline-year:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.timeline-section .timeline-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-left: 3px solid #dc2626;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.timeline-section .timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #991b1b, #7c2d12);
}

.timeline-section .timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-left-color: #991b1b;
}

.timeline-section .timeline-content h4 {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.timeline-section .timeline-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    border-radius: 1px;
}

.timeline-section .timeline-content p {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.4;
    margin-bottom: 0;
    text-align: center;
}

.timeline-section .timeline-image {
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.timeline-section .timeline-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, transparent 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.timeline-section .timeline-image:hover::before {
    opacity: 0;
}

.timeline-section .timeline-image img {
    width: 100%;
    max-width: 450px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.timeline-section .timeline-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* 团队介绍 */
.team-section {
    padding: 40px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #dc2626;
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #dc2626;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 5px;
    font-weight: 600;
}

.member-title {
    font-size: 1rem;
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
        padding: 0 1rem;
    }
    
    .about-hero .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .about-hero .hero-content p {
        font-size: 1.4rem;
    }
    
    .about-intro {
        padding: 40px 0;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .intro-text {
        padding: 30px;
    }
    
    .intro-text h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .intro-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .intro-image img {
        height: 300px;
    }
    
    .mission-vision {
        padding: 40px 0;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 60px;
    }
    
    .mission-card {
        padding: 40px 30px;
    }
    
    .mission-card h3 {
        font-size: 1.5rem;
    }
    
    .mission-card > p {
        font-size: 1.2rem;
    }
    
    .mission-detail p {
        font-size: 1rem;
        padding: 15px;
    }
    
    .achievements {
        padding: 40px 0;
    }
    
    .achievements .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-item {
        padding: 10px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .timeline-section {
        padding: 40px 0;
    }
    
    .timeline-section::before {
        display: none;
    }
    
    .timeline-section .timeline-container {
        margin-top: 30px;
    }
    
    .timeline-section .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;

    }
    
:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .timeline-section .timeline-year {
        position: static;
        text-align: center;
        padding: 20px 15px;
        font-size: 2rem;
        margin: 0 auto;
        max-width: 200px;
    }
    
    .timeline-section .timeline-content {
        padding: 10px;
    }
    
    .timeline-section .timeline-content h4 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .timeline-section .timeline-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .timeline-section .timeline-image img {
        height: 200px;
        max-width: 100%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 救助中心页面移动端样式 */
    .rescue-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .rescue-hero .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 24px;
    }
    
    .process-step:not(:last-child):before {
        left: 30px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-number {
        font-size: 1.2rem;
    }
    
    .contact-card.emergency .contact-number {
        font-size: 1.4rem;
    }
}



/* 领养服务页面样式 */
.adopt-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.adopt-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/photo-1601758228041-f3b2795255f1.avif') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.adopt-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.adopt-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 领养理念 */
.adopt-philosophy {
    padding: 40px 0;
    background: #f8f9fa;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.philosophy-text h3 {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.philosophy-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.philosophy-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2c3e50;
}

.feature-item i {
    color: #3498db;
    font-size: 1.2rem;
    width: 20px;
}

.philosophy-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 待领养动物 */
.adopt-animals {
    padding: 40px 0;
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.animal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.animal-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.animal-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.animal-status:contains('康复中') {
    background: #f39c12;
}

.animal-info {
    padding: 1.5rem;
}

.animal-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.animal-breed {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.animal-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.animal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-adopt {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-adopt:hover {
    background: #2980b9;
}

/* 领养流程 */
.adopt-process {
    padding: 40px 0;
    background: #f8f9fa;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.process-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.timeline-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.timeline-step:hover {
    transform: translateX(10px);
}

.step-number {
    background: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}


/* 领养条件 */
.adopt-requirements {
    padding: 5px 0;
}

.requirements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.requirements-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.requirements-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.requirements-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.requirement-item:hover {
    background: #e9ecef;
}

.requirement-item i {
    color: #27ae60;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.requirement-item span {
    color: #2c3e50;
    line-height: 1.6;
}

.requirements-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 申请表单 */
.adopt-form-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.adopt-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #2980b9;
}

/* 领养服务页面移动端响应式 */
@media (max-width: 768px) {
    .adopt-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .animals-grid {
        grid-template-columns: 1fr;
    }
    
    .process-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .requirements-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .philosophy-text h2,
    .requirements-text h2 {
        font-size: 2rem;
    }
}


/* 科普教育页面样式 */
.education-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.education-philosophy {
    padding: 40px 0;
    background: #f8f9fa;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.philosophy-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.point {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.point i {
    color: #667eea;
    font-size: 1.5rem;
}

.philosophy-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.education-topics {
    padding: 40px 0;
}

.education-topics h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.topic-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.topic-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.topic-content {
    padding: 30px;
}

.topic-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.topic-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.education-programs {
    padding: 20px 0;
    background: #f8f9fa;
}

.education-programs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateY(-5px);
}

.program-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 30px;
}

.program-icon {
    background: #667eea;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.program-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.program-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.program-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-stats span {
    font-size: 0.9rem;
    color: #555;
}

.program-stats strong {
    color: #667eea;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .philosophy-text h2 {
        font-size: 2rem;
    }
    
    .education-topics h2,
    .education-programs h2 {
        font-size: 2rem;
    }
    
    .topics-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* 领养页面增强样式 */
.filter-section {
    background: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 40px;
    border-radius: 15px;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-input {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    background: white;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-btn {
    padding: 8px 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* 动物卡片增强样式 */
.animal-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.animal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.animal-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.animal-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.animal-status.healthy {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.animal-status.recovering {
    background: #fff3cd;
    color: #856404;
    border: 2px solid #ffeaa7;
}

.animal-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.animal-favorite:hover {
    background: white;
    transform: scale(1.1);
}

.animal-favorite.active i {
    color: #e74c3c;
}

.animal-favorite i {
    font-size: 18px;
    color: #666;
    transition: color 0.3s ease;
}

.animal-info {
    padding: 25px;
}

.animal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.animal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.animal-id {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.animal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.detail-item i {
    color: var(--primary-color);
    width: 16px;
}

.animal-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.animal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.personality {
    background: #e3f2fd;
    color: #1976d2;
}

.tag.health {
    background: #e8f5e8;
    color: #2e7d32;
}

.tag.medical {
    background: #f3e5f5;
    color: #7b1fa2;
}

.tag.skill {
    background: #fff3e0;
    color: #f57c00;
}

.tag.size {
    background: #fce4ec;
    color: #c2185b;
}

.tag.suitability {
    background: #e0f2f1;
    color: #00695c;
}

.tag.care {
    background: #fff8e1;
    color: #ff8f00;
}

.tag.status {
    background: #fff3cd;
    color: #856404;
}

.animal-actions {
    display: flex;
    gap: 10px;
}

.btn-adopt {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-adopt:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* 知识库样式 */
.knowledge-base {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;
}

.knowledge-base h3 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.knowledge-base h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-section h4 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.category-section h4 i {
    color: var(--primary-color);
    font-size: 28px;
}

.knowledge-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.knowledge-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.knowledge-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    border-left-color: var(--primary-dark);
}

.knowledge-item h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.knowledge-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .knowledge-categories {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .category-section {
        padding: 25px 20px;
    }
    
    .category-section h4 {
        font-size: 20px;
    }
    
    .knowledge-item {
        padding: 15px;
    }
    
    .knowledge-item h5 {
        font-size: 16px;
    }
    
    .knowledge-base h3 {
        font-size: 28px;
    }
}

.btn-details {
    padding: 12px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-details:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 动物卡片隐藏动画 */
.animal-card.hidden {
    display: none;
}

.animal-card.fade-out {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.animal-card.fade-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-select {
        min-width: 150px;
    }
    
    .search-group {
        width: 100%;
    }
    
    .search-input {
        flex: 1;
        width: auto;
    }
    
    .animal-details {
        grid-template-columns: 1fr;
    }
    
    .animal-actions {
        flex-direction: column;
    }
    
    .btn-details {
        margin-top: 10px;
    }
}

/* 这部分样式已移至新的统一媒体查询中 */


/* 参与我们页面移动端样式 */
@media (max-width: 768px) {
    .participate-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .participate-hero .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .participate-hero .hero-stats {
        justify-content: center;
    }
    
    .participate-philosophy .philosophy-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .participate-ways .ways-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-types {
        grid-template-columns: 1fr;
    }
    
    .donation-methods {
        grid-template-columns: 1fr;
    }
    
    .join-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .join-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .join-form .checkbox-group {
        grid-template-columns: 1fr;
    }
}




.contact-info {
    padding: 40px 0;
    background: #f8f9fa;
}

.contact-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px
    ;
}



.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.contact-card i {
    font-size: 3rem;
    color: #4facfe;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-card .contact-detail {
    font-weight: 600;
    color: #4facfe;
    font-size: 1.1rem;
}

.emergency-rescue {
    padding: 40px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.emergency-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.emergency-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.emergency-hotline {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
}

.emergency-hotline h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.emergency-hotline .hotline-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.emergency-hotline p {
    margin: 0;
    opacity: 0.8;
}

.emergency-tips {
    list-style: none;
    padding: 0;
}

.emergency-tips li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.emergency-tips li i {
    color: #ffd700;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.emergency-image {
    text-align: center;
}

.emergency-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-section {
    padding: 40px 0;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.form-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.form-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.form-features .feature {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #555;
}

.form-features .feature i {
    color: #4facfe;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4facfe;
}

.contact-form .checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-form .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
}

.contact-form .checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.contact-form .submit-btn {
    background: #4facfe;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form .submit-btn:hover {
    background: #3d8bfe;
    transform: translateY(-2px);
}



.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.map-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.map-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.location-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.location-details .detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.location-details .detail i {
    color: #4facfe;
    font-size: 1.5rem;
    margin-top: 5px;
}

.location-details .detail h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.location-details .detail p {
    color: #666;
    margin: 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.social-media-section {
    padding: 40px 0;
}

.social-content {
    text-align: center;
}

.social-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.social-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.social-item {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.social-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.social-item .social-icon {
    margin-bottom: 1.5rem;
}

.social-item .social-icon i {
    font-size: 3rem;
    color: #4facfe;
}

.social-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 2px solid #eee;
}

.social-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.social-item p {
    color: #666;
    margin: 0;
}


.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.faq-header p {
    font-size: 1.1rem;
    color: #666;
}

.faq-list {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-question h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: #4facfe;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 联系我们页面移动端响应式 */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .emergency-content,
    .form-content,
    .map-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid,
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .emergency-hotline .hotline-number {
        font-size: 2rem;
    }
}


/* 联系我们页面样式 */



.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 联系方式样式 */
.contact-methods {
    padding: 40px 0;
    background: #f8f9fa;
}

.contact-methods h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.method-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.5rem;
}

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

.method-card .highlight {
    color: #667eea;
    font-weight: 600;
}

/* 紧急救助样式 */
.emergency-contact {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.emergency-contact h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.emergency-contact p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.emergency-phone {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 20px 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* 在线留言表单样式 */
.contact-form-section {
    padding: 40px 0;
    background: white;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* 位置地图样式 */
.map-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.map-header {
    text-align: center;
    margin-bottom: 50px;
}

.map-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.map-header p {
    color: #666;
    font-size: 1.1rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 社交媒体样式 */
.social-media-section {
    padding: 40px 0;
    background: white;
}

.social-header {
    text-align: center;
    margin-bottom: 50px;
}

.social-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.social-header p {
    color: #666;
    font-size: 1.1rem;
}

.social-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.social-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: translateY(-5px);
}

.social-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.social-item h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.social-item p {
    color: #666;
    margin-bottom: 20px;
}

.social-item img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.social-link {
    display: inline-block;
    padding: 10px 25px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* 常见问题样式 */
.faq-section {
    padding: 10px 0;
    background: #f8f9fa;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.faq-header p {
    color: #666;
    font-size: 1.1rem;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px 30px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.faq-question h4 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 联系我们页面移动端样式 */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .social-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .emergency-phone {
        font-size: 1.8rem;
        padding: 15px 30px;
    }
}

/* ... existing code ... */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 15px;
}

/* New Emergency Rescue Section Styles */
.emergency-rescue-section {
    padding: 60px 0;
}

.emergency-rescue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border-radius: 20px;
    padding: 50px;
    overflow: hidden;
}

.emergency-rescue-text > .fas.fa-heartbeat {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
}

.emergency-rescue-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.emergency-rescue-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.emergency-hotline {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    color: #e53e3e;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hotline-btn:hover {
    background-color: #fdd8d8;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.emergency-hotline span {
    font-weight: 500;
}

.emergency-rescue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

@media (max-width: 992px) {
    .emergency-rescue-content {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .emergency-rescue-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .emergency-rescue-text h2 {
        font-size: 2rem;
    }

    .hotline-btn {
        padding: 12px 25px;
        font-size: 1.2rem;
    }

    .emergency-hotline {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 新的关注我们部分样式 */
.follow-us-section {
    padding: 40px 0;
    background: #f8f9fa;
}

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

.follow-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
}

.follow-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.follow-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.follow-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 320px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.follow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-icon i {
    font-size: 3rem;
}

.card-content {
    padding: 25px 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
}

.qr-image {
    display: flex;
    justify-content: center;
}

.qr-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

@media (max-width: 992px) {
    .follow-cards {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .follow-card {
        width: 100%;
        max-width: 350px;
    }
    
    .follow-header h2 {
        font-size: 2rem;
    }
}

/* 新页脚样式 */
.new-footer {
    background-color: #222;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-about .footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.slogan {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-left: 5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #dc3545;
    transform: translateY(-3px);
}

.footer-contact h4, .footer-links h4, .footer-qrcode h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after, .footer-links h4::after, .footer-qrcode h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #dc3545;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-list li i {
    width: 20px;
    margin-right: 10px;
    color: #dc3545;
}

.contact-list li span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
}

.footer-links ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-qrcode p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.qrcode-container {
    display: flex;
    justify-content: center;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.icp {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 5px 0 0 0;
}

/* 这部分样式已移至新的统一媒体查询中 */

/* 这部分样式已移至新的统一媒体查询中 */

/* 新的救助成果样式 */
.rescue-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 30px auto;
    width: 90%;
    max-width: 1500px; /* 进一步增加宽度，几乎填满屏幕 */
    padding: 0;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* 兼容 Safari */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px; /* 增加卡片高度，使其更有存在感 */
}

.achievement-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.achievement-number {
    font-size: 5rem; /* 更大的数字 */
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.achievement-number::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

@media (max-width: 992px) {
    .achievement-number {
        font-size: 3.5rem;
    }
}

.achievement-label {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.achievement-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 90%;
    margin: 0 auto;
}

/* 救助统计部分背景和容器 */
.rescue-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    position: relative;
    overflow: hidden;
}

.rescue-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/photo-1548199973-03cce0bbc87b.avif');
    opacity: 0.1;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.rescue-stats .container {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .rescue-achievements {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rescue-achievements {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .achievement-card {
        padding: 25px 20px;
        min-height: auto;
    }
    
    .achievement-number {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
    
    .achievement-label {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .achievement-desc {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .rescue-stats {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    /* 救助成果部分优化 */
    .rescue-achievements {
        padding: 0 10px;
        gap: 15px;
    }
    
    .achievement-card {
        padding: 20px 15px;
        margin-bottom: 0;
    }
    
    .achievement-number {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .achievement-label {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .achievement-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 400px) {
    /* 救助成果部分优化 */
    .rescue-achievements {
        padding: 0 8px;
        gap: 10px;
    }
    
    .achievement-card {
        padding: 20px 12px;
    }
    
    .achievement-number {
        font-size: 2.1rem;
        margin-bottom: 8px;
    }
    
    .achievement-label {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .achievement-desc {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* ========================================= */
/*      新版领养页面样式 (New Adopt Page)      */
/* ========================================= */

/* 新版领养流程 */
.new-adopt-process {
    position: relative;
    background: url('img/photo-1601758228041-f3b2795255f1.avif') no-repeat center center/cover;
    padding: 40px 0;
}

.new-adopt-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.new-adopt-process .container {
    position: relative;
    z-index: 1;
}

.new-adopt-process .section-header h2,
.new-adopt-process .section-header p {
    color: white;
}

.process-timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.step-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.step-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.step-details p {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.5;
}

/* 整合后的领养条件与申请表区域 */
.requirements-form-section {
    position: relative;
    padding: 40px 0;
    background: url('img/photo-1560807707-8cc77767d783.avif') no-repeat center center/cover;
}

.requirements-form-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.requirements-form-section .container {
    position: relative;
    z-index: 1;
}

.requirements-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.requirements-panel, .form-panel {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    height: 100%;
}

.requirements-panel .section-header h2,
.requirements-panel .section-header p,
.form-panel .section-header h2,
.form-panel .section-header p {
    color: white;
}

.requirements-panel .requirements-list li {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

/* 新表单样式 */
#combined-adopt-form .form-group label {
    color: #f0f0f0;
    font-weight: 500;
}

#combined-adopt-form .form-group input,
#combined-adopt-form .form-group textarea,
#combined-adopt-form .form-group select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

#combined-adopt-form .form-group input::placeholder,
#combined-adopt-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#combined-adopt-form .form-group input:focus,
#combined-adopt-form .form-group textarea:focus,
#combined-adopt-form .form-group select:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

#combined-adopt-form select option {
    background: #333;
    color: white;
}

.btn-submit-combined {
    background: var(--primary-color);
    height: 6vh;
    border-radius: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0 20px;
}

.btn-submit-combined:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .requirements-form-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.adopt-page .adopt-content {
    display: block !important;
}

@media (max-width: 768px) {
    .adopt-page .adopt-content {
        display: block !important;
    }
}

.donation-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* ========================================= */
/*      "加入我们"表单苹果风格 (Join Us Form Apple Style)     */
/* ========================================= */

.join-form-section {
    background-color: #f5f5f7;
    padding: 40px 0;
}

.form-container-apple {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 1rem 2rem;
    box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.06);
}

.form-container-apple .section-header {
    margin-bottom: 2.5rem;
}

.join-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.join-form .form-group {
    margin-bottom: 1.5rem;
}

.join-form label {
    display: block;
    color: #1d1d1f;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.join-form input[type="text"],
.join-form input[type="tel"],
.join-form input[type="email"],
.join-form select,
.join-form textarea {
    width: 100%;
    background-color: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #1d1d1f;
    transition: all 0.2s ease-in-out;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.join-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.join-form textarea {
    resize: vertical;
}

.join-form .form-submit-group {
    margin-top: 2rem;
    margin-bottom: 0;
}

.join-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background-color: var(--primary-color);
}

.join-form .btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-container-apple {
        padding: 2rem;
    }
    .join-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
}

/* Modern Rescue Section Styles */
.rescue-section {
    padding-top: 80px;
    background-color: #f8f9fa; /* A slightly off-white, clean background */
}

.rescue-content-modern {
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rescue-content-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.rescue-facility-modern {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e5eb;
}

.facility-icon {
    font-size: 4rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.facility-text h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.facility-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.highlight-number {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2em;
}

.rescue-process-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.process-step-modern {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.process-step-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: #fff;
}

.step-icon-modern {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.process-step-modern:hover .step-icon-modern {
    color: var(--secondary-color);
}

.process-step-modern h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.process-step-modern p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.process-arrow {
    font-size: 1.5rem;
    color: #ccc;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .rescue-process-modern {
        flex-direction: column;
        gap: 0.7rem;
    }
    .process-arrow {
        transform: rotate(90deg);
    }
    .process-arrow:last-of-type {
        display: none;
    }
}

@media (max-width: 768px) {
    .rescue-facility-modern {
        flex-direction: column;
        text-align: center;
    }
    .rescue-content-modern {
        padding: 2rem;
    }
}

/* New Rescue Process Section on rescue.html */
.rescue-process {
    background-color: var(--light-color, #f8f9fa);
    padding: 6rem 0;
}

.rescue-process .process-step {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rescue-process .process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.rescue-process .step-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.rescue-process .step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rescue-process .process-step:hover .step-image img {
    transform: scale(1.05);
}

.rescue-process .step-content {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rescue-process .step-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.rescue-process .step-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.rescue-process .step-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

/* New Numbered Horizontal Rescue Process Section on rescue.html */

.rescue-process .process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
}

/* The connector line */
.rescue-process .process-timeline::before {
    content: '';
    position: absolute;
    top: 22px; /* Vertically center with the number circle */
    left: 8%; /* Adjust to not touch the first/last circle */
    right: 8%;
    height: 1px; /* Thinner line */
    background-color: #ddd; /* Lighter grey line */
    z-index: 0;
}

.rescue-process .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 16%; /* Equal width for each step */
    position: relative;
    background: none;
    padding: 0;
    box-shadow: none;
}

.rescue-process .process-step:hover {
    transform: none;
    box-shadow: none;
}

.rescue-process .step-number {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color); /* Red number color */
    margin-bottom: 1.5rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.rescue-process .process-step:hover .step-number {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.rescue-process .step-details h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.rescue-process .process-step:hover .step-details h4 {
    color: var(--primary-color);
}

.rescue-process .step-details p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .rescue-process .process-timeline {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center; /* Center items on vertical stack */
    }

    .rescue-process .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
        top: 2%;
        bottom: 2%;
        width: 1px;
        height: auto;
    }

    .rescue-process .process-step {
        width: 80%; /* Give some space on the sides */
        max-width: 350px;
    }
}

/* ========================================= */
/* == Apple Style Partnership Application == */
/* ========================================= */

.partnership-application-apple {
    background-color: #f5f5f7;
    padding: 80px 0;
}

.application-content-apple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.application-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.card-subtitle {
    color: #6e6e73;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Benefits Section */
.partnership-benefits-apple {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
}

.benefit-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 107, 107, 0.1));
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.benefit-text span {
    font-size: 0.95rem;
    color: #6e6e73;
}

/* Form Styles */
.apple-form {
    display: flex;
    flex-direction: column;
}

.form-group-apple {
    margin-bottom: 20px;
}

.form-group-apple label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group-apple input,
.form-group-apple textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    background-color: #f5f5f7;
    color: #1d1d1f;
    transition: all 0.3s ease;
}

.form-group-apple input::placeholder,
.form-group-apple textarea::placeholder {
    color: #86868b;
}

.form-group-apple input:focus,
.form-group-apple textarea:focus {
    outline: none;
    border-color: #007aff;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.form-group-apple textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn-apple {
    display: inline-block;
    padding: 14px 25px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #007aff, #00c6ff);
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.2);
}

.submit-btn-apple:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.submit-btn-apple i {
    margin-right: 8px;
}


/* Responsive */
@media (max-width: 992px) {
    .application-content-apple {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .application-card {
        padding: 25px;
    }
    .card-title {
        font-size: 1.8rem;
    }
    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* ==========================================================================
   16. 领养页面新版模块 (Adoption Page New Sections)
   ========================================================================== */

.adoption-section-new {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.adoption-section-new:nth-child(even) {
    background-color: #ffffff;
}

.adoption-section-new .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.adoption-section-new .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.adoption-section-new .section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* 领养流程时间轴 */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.timeline-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color-lighter, #e9f5ff);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.timeline-content p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 领养条件和申请表单 */
.requirements-application-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.requirements-card,
.application-form-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.06);
    height: 100%;
}

.card-header {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.card-subheader {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.requirements-list-new {
    list-style: none;
    padding: 0;
}

.requirements-list-new li {
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.requirements-list-new li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 4px;
}

/* 新版表单样式 */
#adoption-form-new {
    display: flex;
    flex-direction: column;
}

.form-group-new {
    margin-bottom: 1.5rem;
}

.form-group-new label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #343a40;
}

.form-group-new input[type="text"],
.form-group-new input[type="tel"],
.form-group-new textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group-new input[type="text"]:focus,
.form-group-new input[type="tel"]:focus,
.form-group-new textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-lighter);
}

.form-group-new textarea {
    resize: vertical;
}

.btn-submit-new {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start;
}

.btn-submit-new:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .requirements-application-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .adoption-section-new {
        padding: 3rem 1rem;
    }
    .process-timeline {
        grid-template-columns: 1fr;
    }
    .card-header {
        font-size: 1.8rem;
    }
    .requirements-card,
    .application-form-card {
        padding: 2rem;
    }
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        grid-template-columns: 1fr;
    }

    .about-section {
        height: auto;
        padding-bottom: 4rem;
    }
}


/* 协会信息样式 */
.association-info {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .timeline-content h4 {
        font-size: 1rem;
    }
}


/* ==========================================================================
   17. 联系页面新版英雄区域
   ========================================================================== */
.contact-hero {
    padding: 6rem 0;
    height: 600px;
    color: #1a1a1a;
    background-image: url('img/photo-1601758228041-f3b2795255f1.avif');
    opacity: 0.8;
}

.contact-hero .container {
    max-width: 1200px;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 3rem;
}

.hero-text-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-text-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.7;
}

.hero-text-content .btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
}

.hero-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card-small {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-card-small i {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.contact-card-small h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
}

.contact-card-small p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

@media (max-width: 992px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text-content {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-text-content h1 {
        font-size: 2.5rem;
    }
    .hero-contact-cards {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }
}

/* ==========================================================================
   18. 合作医院页面新版英雄区域
   ========================================================================== */

.hospitals-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.hospitals-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hospitals-hero .hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hospitals-hero .hero-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hospitals-hero .hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hospitals-hero .stat-item {
    text-align: left;
}

.hospitals-hero .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hospitals-hero .stat-label {
    font-size: 1rem;
    color: #6c757d;
    display: block;
}

.hospitals-hero .hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .hospitals-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hospitals-hero .hero-text {
        order: 2;
    }

    .hospitals-hero .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .hospitals-hero .hero-stats {
        justify-content: center;
    }
}

/* 基础响应式设计 - 添加更全面的移动端适配 */
@media (max-width: 768px) {
    /* 通用样式调整 */
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* 导航栏移动端优化 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 100;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* 首页英雄区域移动端优化 */
    .hero-section {
        min-height: 80vh;
        padding-top: 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-top: 60px;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        gap: 0.8rem;
    }
    
    /* 关于我们区域移动端优化 */
    .about-section {
        height: auto;
        padding: 40px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        grid-template-columns: 1fr;
    }
    
    /* 救助中心区域移动端优化 */
    .rescue-content-modern {
        flex-direction: column;
    }
    
    .rescue-facility-modern {
        margin-bottom: 2rem;
    }
    
    .rescue-process-modern {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step-modern {
        margin-bottom: 1.5rem;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    /* 领养服务区域移动端优化 */
    .adopt-content {
        grid-template-columns: 1fr;
    }

    .adopt-gallery {
        grid-template-columns: 1fr;
    }
    
    .adopt-info {
        margin-top: 2rem;
    }
    
    /* 参与我们区域移动端优化 */
    .participate-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* 科普教育区域移动端优化 */
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-programs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 联系我们区域移动端优化 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* 小型移动设备优化 */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* 页脚优化 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .social-icons {
        margin-left: 0;
        justify-content: center;
    }
    
    .footer-about .footer-logo {
        justify-content: center;
    }
    
    .footer-contact h4::after, 
    .footer-links h4::after, 
    .footer-qrcode h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact h4, 
    .footer-links h4, 
    .footer-qrcode h4 {
        text-align: center;
    }
    
    .contact-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links ul {
        text-align: center;
    }
    
    .qrcode-container {
        justify-content: center;
    }
    
    .footer-qrcode p {
        text-align: center;
    }
}

/* 平板设备优化 */
@media (min-width: 577px) and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rescue-process-modern {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .process-step-modern {
        width: 45%;
        margin-bottom: 2rem;
    }
    
    .process-arrow {
        display: none;
    }
    
    .education-programs {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 删除重复的移动端样式 */
/* ... existing code ... */

/* 首页各section的移动端适配增强 */
@media (max-width: 768px) {
    /* 关于我们区域增强 */
    .mission-card {
        margin-bottom: 1.5rem;
        padding: 1.2rem;
    }
    
    .mission-card h3 {
        font-size: 1.2rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .timeline-year {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
        left: -1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    /* 救助中心区域增强 */
    .facility-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .facility-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .highlight-number {
        font-size: 1.1rem;
    }
    
    .step-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .process-step-modern h4 {
        font-size: 1.1rem;
    }
    
    /* 领养服务区域增强 */
    .pet-card {
        margin-bottom: 1.5rem;
    }
    
    .pet-image img {
        height: 200px;
    }
    
    .pet-info h3 {
        font-size: 1.2rem;
    }
    
    /* 参与我们区域增强 */
    .option-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .option-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .option-card h3 {
        font-size: 1.3rem;
    }
    
    .donation-amounts {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .amount-btn {
        margin: 0.3rem;
    }
    
    /* 科普教育区域增强 */
    .program-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .program-image {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .program-card h3 {
        font-size: 1.2rem;
    }
    
    /* 联系我们区域增强 */
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-right: 1rem;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
}

/* 页脚在小屏幕设备上的额外优化 */
@media (max-width: 576px) {
    .social-icons a {
        width: 32px;
        height: 32px;
    }
    
    .footer-contact h4, 
    .footer-links h4, 
    .footer-qrcode h4 {
        font-size: 1rem;
    }
    
    .qrcode-img {
        width: 100px;
        height: 100px;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

/* 移动端适配核心改进 */
/* 移动端视口和尺寸控制 */
@media (max-width: 768px) {
    /* 通用布局和尺寸控制 */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        -webkit-text-size-adjust: 100%;
        touch-action: manipulation; /* 改善触摸体验 */
    }
    
    /* 容器宽度控制 */
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* 区块高度自适应 */
    .section {
        height: auto !important;
        min-height: auto;
        padding: 40px 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* 标题尺寸优化 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        word-break: break-word;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        word-break: break-word;
        line-height: 1.5;
    }
    
    /* 图片宽度控制 */
    img {
        max-width: 100%;
        height: auto;
        display: block; /* 避免底部间隙 */
    }
    
    /* 解决移动端溢出问题 */
    .row, 
    .col,
    .flex-container,
    .grid-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* 优化文本可读性 */
    p, li, span, a {
        line-height: 1.5;
        word-break: break-word;
    }
    
    /* 表单元素移动端优化 */
    form {
        width: 100%;
    }
    
    .form-group,
    .form-group-apple,
    .form-group-new {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .form-group label,
    .form-group-apple label,
    .form-group-new label {
        font-size: 0.95rem;
        margin-bottom: 6px;
        display: block;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-group-apple input,
    .form-group-apple select,
    .form-group-apple textarea,
    .form-group-new input,
    .form-group-new select,
    .form-group-new textarea {
        padding: 12px 10px;
        font-size: 16px; /* 防止iOS缩放 */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
        -webkit-appearance: none; /* 移除iOS默认样式 */
        appearance: none;
    }
    
    .form-group select,
    .form-group-apple select,
    .form-group-new select {
        background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
        background-position: right 10px center;
        background-repeat: no-repeat;
        padding-right: 30px;
    }
    
    .form-group textarea,
    .form-group-apple textarea,
    .form-group-new textarea {
        min-height: 100px;
    }
    
    .form-row {
        flex-direction: column;
        width: 100%;
    }
    
    /* 提交按钮优化 */
    button[type="submit"],
    input[type="submit"],
    .btn-submit,
    .submit-btn,
    .submit-btn-apple,
    .btn-submit-new,
    .btn-submit-combined {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        font-size: 16px;
        border-radius: 8px;
        margin-top: 10px;
        -webkit-appearance: none;
        appearance: none;
        display: block;
    }
    
    /* 英雄区域高度控制 */
    .hero-section, 
    .education-hero, 
    .participate-hero, 
    .contact-hero,
    .hospitals-hero,
    .about-hero,
    .rescue-hero,
    .adopt-hero {
        min-height: auto;
        height: auto;
        padding: 60px 0 40px;
    }
    
    /* 英雄区域内容布局 */
    .hero-content,
    .hero-content-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* 标题和子标题调整 */
    .hero-title,
    .hero-text h1,
    .hero-text-content h1,
    .about-hero .hero-content h1,
    .rescue-hero .hero-content h1,
    .adopt-hero h1,
    .hospitals-hero .hero-text h1 {
        font-size: 1.8rem;
        margin-top: 20px;
        margin-bottom: 0.8rem;
        word-break: break-word;
    }
    
    .hero-subtitle,
    .hero-text p,
    .hero-text-content p,
    .about-hero .hero-content p,
    .rescue-hero .hero-content p,
    .adopt-hero p,
    .hospitals-hero .hero-text p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        word-break: break-word;
    }
    
    /* 统计数据区域调整 */
    .hero-stats,
    .participate-hero .hero-stats,
    .education-hero .hero-stats,
    .hospitals-hero .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .stat-item {
        flex-basis: calc(33% - 20px);
        margin: 0;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* 按钮区域调整 */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        gap: 0.8rem;
    }
    
    .btn {
        min-height: 40px;
        width: 100%;
        padding: 8px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* 内容区块通用调整 */
    .about-content,
    .rescue-content,
    .adopt-content,
    .participate-content,
    .education-content,
    .contact-content,
    .philosophy-content,
    .requirements-content,
    .process-content,
    .emergency-rescue-content,
    .form-content,
    .timeline-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    /* 网格布局调整为单列 */
    .about-text,
    .rescue-facility-modern,
    .rescue-process-modern,
    .adopt-gallery,
    .adopt-info,
    .participate-options,
    .philosophy-content,
    .education-programs,
    .timeline,
    .contact-info,
    .contact-form,
    .contact-card-small,
    .animals-grid,
    .stats-grid,
    .team-grid,
    .services-grid,
    .topics-grid,
    .way-card,
    .hospital-card,
    .follow-card,
    .method-card,
    .knowledge-categories,
    .category-section,
    .process-step-modern,
    .animal-details,
    .benefit-item,
    .mission-card {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    /* 卡片式布局改进 */
    .mission-card,
    .pet-card,
    .option-card,
    .program-card,
    .process-step-modern,
    .contact-card,
    .hospital-card,
    .service-card,
    .topic-card,
    .animal-card,
    .requirement-item,
    .way-card,
    .donation-method,
    .benefit-item,
    .form-container-apple,
    .application-card {
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        height: auto;
    }
    
    /* 图标尺寸调整 */
    .facility-icon,
    .service-icon,
    .contact-icon,
    .program-icon,
    .step-icon-modern,
    .way-icon,
    .option-icon,
    .type-icon,
    .hospital-icon,
    .mission-icon,
    .stat-icon,
    .method-icon,
    .follow-icon,
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    /* 文本尺寸调整 */
    .mission-card h3,
    .pet-info h3,
    .option-card h3,
    .program-card h3,
    .process-step-modern h4,
    .contact-details h3,
    .hospital-card h3,
    .service-content h3,
    .topic-content h3,
    .animal-info h3,
    .requirement-item span,
    .way-card h3,
    .donation-method h4,
    .timeline-content h4,
    .benefit-item h4,
    .category-section h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    /* 介绍性文本调整 */
    .mission-card p,
    .pet-info p,
    .option-card p,
    .program-card p,
    .process-step-modern p,
    .contact-card p,
    .hospital-card p,
    .service-content p,
    .topic-content p,
    .animal-desc,
    .way-card p,
    .donation-method p,
    .timeline-content p,
    .benefit-item p,
    .category-section p,
    .knowledge-item p {
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    /* 表单控件调整 */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
        height: auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 图片容器调整 */
    .pet-image,
    .animal-image,
    .topic-image,
    .program-image,
    .service-image,
    .method-image,
    .timeline-image,
    .philosophy-image,
    .emergency-rescue-image,
    .hero-image {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    
    .pet-image img,
    .animal-image img,
    .topic-image img,
    .program-image img,
    .service-image img,
    .method-image img,
    .timeline-image img,
    .philosophy-image img,
    .emergency-rescue-image img,
    .hero-image img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
    
    /* 页脚区域改进 */
    .new-footer {
        width: 100%;
        padding: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-qrcode {
        width: 100%;
        text-align: center;
    }
    
    .footer-about .footer-logo {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 15px;
    }
    
    .contact-list {
        align-items: flex-start;
    }
    
    .footer-links ul {
        text-align: center;
    }
    
    .qrcode-container {
        justify-content: center;
    }
    
    .qrcode-img {
        max-width: 150px;
    }
    
    .footer-bottom {
        padding: 15px;
    }
    
    .copyright {
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* 特定页面元素调整 */
    
    /* 教育页面 */
    .knowledge-base {
        padding: 20px 15px;
    }
    
    .knowledge-base h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .knowledge-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-section {
        padding: 15px;
    }
    
    /* 联系页面 */
    .emergency-rescue-section {
        padding: 20px 15px;
    }
    
    .emergency-rescue-text h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .emergency-hotline {
        flex-direction: column;
        align-items: center;
    }
    
    .hotline-btn {
        width: 100%;
        max-width: 280px;
        font-size: 0.8rem;
    }
    
    /* 医院页面 */
    .hospitals-intro {
        padding: 20px 15px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hospitals-list {
        padding: 20px 15px;
    }
    
    .medical-process {
        padding: 20px 15px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 参与页面 */
    .membership-invitation {
        padding: 20px 15px;
    }
    
    .membership-types {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .volunteer-types {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .donation-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 极小屏幕额外优化 (小于400px的设备) */
@media (max-width: 400px) {
    /* 减小内边距，最大化内容区域 */
    .container {
        padding: 0 10px;
    }
    
    /* 进一步减小标题尺寸 */
    .section-title,
    .hero-title,
    .hero-text h1,
    .hero-text-content h1 {
        font-size: 1.5rem;
    }
    
    /* 移动端样式已统一定义在5600行处 */
    
    /* 统计项目单列排列 */
    .stat-item {
        flex-basis: 100%;
    }
    
    /* 优化按钮尺寸和触摸友好性 */
    .btn,
    button,
    a.btn,
    input[type="button"],
    input[type="submit"] {
        width: 100%;
        max-width: 250px;
        font-size: 0.9rem;
        padding: 12px 15px;
        min-height: 44px; /* 触摸友好尺寸 */
        margin: 0 auto;
    }
    
    /* 优化列表间距 */
    li {
        margin-bottom: 10px;
    }
    
    /* 优化触摸目标尺寸 */
    a, button, 
    .nav-link,
    .social-icons a,
    .footer-links ul li a {
        min-height: 33px;
        min-width: 33px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 卡片内边距减小 */
    .mission-card,
    .pet-card,
    .option-card,
    .program-card,
    .process-step-modern,
    .contact-card,
    .hospital-card,
    .service-card,
    .topic-card,
    .animal-card,
    .requirement-item,
    .way-card,
    .donation-method,
    .form-container-apple,
    .application-card {
        padding: 4px;
    }
    
    /* 图标进一步缩小 */
    .facility-icon,
    .service-icon,
    .contact-icon,
    .program-icon,
    .step-icon-modern,
    .way-icon,
    .option-icon,
    .type-icon,
    .hospital-icon,
    .mission-icon,
    .method-icon,
    .follow-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* 表单调整 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    /* 最小屏幕样式已统一定义在5600行处 */
    
    /* 页脚元素紧凑化 */
    .footer-grid {
        gap: 15px;
    }
    
    .footer-top {
        padding: 25px 10px 15px;
    }
    
    .footer-about .footer-logo img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h3 {
        font-size: 1rem;
    }
    
    .slogan {
        font-size: 0.8rem;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin: 0 6px;
    }
    
    .footer-contact h4, 
    .footer-links h4, 
    .footer-qrcode h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .contact-list li span,
    .footer-links ul li a,
    .footer-qrcode p {
        font-size: 0.70rem;
    }
    
    .qrcode-img {
        width: 80px;
        height: 80px;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
    
    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-qrcode {
        padding: 10px 0;
    }
    
    .footer-contact h4, 
    .footer-links h4, 
    .footer-qrcode h4 {
        font-size: 1.1rem;
    }
    
    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

