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

:root {
    --primary-color: #d4a5a5;
    --secondary-color: #5ba8c4;
    --accent-color: #f4a460;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--bg-white);
}

/* 防止图片加载时的白屏 */
img:not(.loaded) {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* 确保图片即使加载失败也能显示占位背景 */
img {
    background-color: #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    /* max-height: 900px; */
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* 高分辨率屏幕优化 */
@media (min-width: 1920px) {
    .hero {
        min-height: 800px;
        max-height: 1000px;
    }
}

@media (min-width: 2560px) {
    .hero {
        min-height: 900px;
        max-height: 1100px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8e9e4 0%, #e8f4f8 100%);
    z-index: -1;
}

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

.hero-text {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #c18d8d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.hero-img {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    object-fit: cover;
    background: linear-gradient(135deg, #f8e9e4 0%, #e8f4f8 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-img.loaded {
    opacity: 1;
}

.image-placeholder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder svg {
    max-width: 100%;
    height: auto;
}

/* About Us */
.about {
    padding: 4rem 0;
    background: var(--bg-white);
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

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

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

.about-img {
    width: 100%;
    height: auto;
    min-height: 300px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    object-fit: cover;
    background: #f0f0f0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-img.loaded {
    opacity: 1;
}

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

.about-text>p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.75rem;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.feature-icon img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    display: block;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-light);
}

/* Services */
.services {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    margin-bottom: 0rem;
}

.service-icon .material-symbols-outlined {
    font-size: 3.5rem;
    color: var(--primary-color);
    display: inline-block;
    transition: var(--transition);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 40;
}

.service-icon svg {
    width: 80px;
    height: 80px;
}

.service-card:hover .service-icon .material-symbols-outlined {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-emoji {
    font-size: 4rem;
    display: inline-block;
    line-height: 1;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-emoji {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Service Price Styling */
.service-price {
    display: block;
    color: var(--text-dark);
    font-weight: 400;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-price strong {
    font-weight: bold !important;
    color:black !important;
}

/* Postpartum Doula Care Details */
.postpartum-doula-details {
    padding: 4rem 0 0 0;
    background: linear-gradient(135deg, #f8f4f8 0%, #f0f8f4 50%, #f8f0e8 100%);
    position: relative;
    overflow: hidden;
}

.postpartum-doula-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 165, 165, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(91, 168, 196, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.postpartum-doula-details .container {
    position: relative;
    z-index: 1;
}

.postpartum-content {
    max-width: 1200px;
    margin: 0 auto;
}

.postpartum-intro {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.postpartum-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.postpartum-intro p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.postpartum-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.postpartum-service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.postpartum-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.postpartum-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-color);
}

.postpartum-service-card:hover::before {
    transform: scaleX(1);
}

.postpartum-service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.postpartum-service-icon svg,
.postpartum-service-icon img {
    width: 180px;
    height: 180px;
    transition: var(--transition);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5px;
}

.postpartum-service-card:hover .postpartum-service-icon svg,
.postpartum-service-card:hover .postpartum-service-icon img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.postpartum-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

.postpartum-service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.postpartum-service-card>p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.postpartum-service-card ul {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

.postpartum-service-card ul li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    font-size: 0.9rem;
    transition: var(--transition);
}

.postpartum-service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 168, 196, 0.1);
    border-radius: 50%;
}

.postpartum-service-card:hover ul li {
    padding-left: 2.5rem;
}

.postpartum-service-card:hover ul li::before {
    color: #ffffff;
    background: var(--secondary-color);
}

/* Learn more button - visible on all devices */
.learn-more-btn {
    display: block;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 1rem 0;
    transition: var(--transition);
    width: 100%;
}

.learn-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.learn-more-btn.active {
    background: var(--secondary-color);
}

.learn-more-btn.active::after {
    content: ' ▲';
}

.learn-more-btn::after {
    content: ' ▼';
    font-size: 0.8rem;
}

/* Service details list - collapsed by default, expandable on click */
.service-details-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
}

.service-details-list.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

.postpartum-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.postpartum-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.postpartum-cta p {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.postpartum-cta .btn {
    position: relative;
    z-index: 1;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.postpartum-cta .btn:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Team */
.team {
    padding: 4rem 0;
    background: var(--bg-white);
}

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

.team-card {
    text-align: center;
    transition: var(--transition);
}

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

.team-image {
    margin-bottom: 1.5rem;
}

.team-image .image-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
    display: block;
    background: #f0f0f0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-img.loaded {
    opacity: 1;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #f0f0f0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.avatar-img.loaded {
    opacity: 1;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Core Values */
.values {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8e9e4 0%, #fff0e8 100%);
}

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

.video-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    cursor: pointer;
    max-width: 80%;
    margin: 0 auto;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    min-height: 300px;
    display: block;
    object-fit: cover;
    background: #f0f0f0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-thumbnail.loaded {
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
}

.values-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0.9rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    font-size: 1rem;
    font-weight: 600;
}

.value-icon {
    font-size: 1.6rem;
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0e8f4 0%, #e8f0f8 50%, #f5e8e8 100%);
    position: relative;
    overflow: hidden;
}

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

.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: #ff4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
    line-height: 1.6;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.1);
}

/* Custom Select */
.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: var(--transition);
    box-sizing: border-box;
    line-height: 1.6;
}

.select-selected>span:first-child.material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.select-selected>span:last-child.material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.select-selected>span:not(.material-symbols-outlined) {
    flex: 1;
}

.custom-select.active .select-selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select.active .select-selected .material-symbols-outlined {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: none;
    border-radius: 0 0 10px 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    box-shadow: none;
    margin-top: -2px;
}

.custom-select.active .select-items {
    border: 2px solid var(--primary-color);
    border-top: none;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.custom-select.active .select-items {
    max-height: 400px;
    overflow-y: auto;
}

.select-option {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.select-option:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.select-option:hover {
    background: var(--bg-light);
}

.select-option.selected {
    background: rgba(212, 165, 165, 0.1);
    color: var(--primary-color);
}

.select-option .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

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

.btn-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

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

.footer-contact li {
    font-size: 1.1rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hamburger {
        display: flex;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 2rem;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 1.5rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hero Section - 更紧凑 */
    .hero {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
    }

    .hero-content,
    .about-content,
    .values-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        text-align: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-badges {
        gap: 0.75rem;
    }

    .badge {
        padding: 0.4rem 0.85rem;
        font-size: 0.85rem;
    }

    /* Section 间距缩小 */
    .about,
    .services,
    .team,
    .testimonials,
    .values,
    .contact {
        padding: 2.5rem 0;
    }

    .postpartum-doula-details {
        padding: 2.5rem 0 0 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* About Section */
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-text>p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .about-features {
        margin-bottom: 1.5rem;
    }

    .feature-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        font-size: 2.25rem;
        width: 2.25rem;
        height: 2.25rem;
    }

    .feature-icon img {
        width: 2.25rem;
        height: 2.25rem;
    }

    .feature-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    /* Services */
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-icon .material-symbols-outlined {
        font-size: 3rem;
    }

    /* Postpartum Details */
    .postpartum-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .postpartum-intro {
        padding: 1.5rem 1.25rem;
        margin-bottom: 2rem;
    }

    .postpartum-intro p {
        font-size: 1rem;
    }

    .postpartum-service-card {
        padding: 1.75rem 1.25rem;
    }

    .postpartum-service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .postpartum-service-card>p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .postpartum-service-icon {
        margin-bottom: 1rem;
    }

    .postpartum-service-icon svg,
    .postpartum-service-icon img {
        width: 140px;
        height: 140px;
    }

    .postpartum-service-card ul li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        padding-left: 1.75rem;
        line-height: 1.5;
    }

    .service-details-list {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-bottom: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
    }

    .service-details-list.expanded {
        max-height: 2000px;
        opacity: 1;
        margin-bottom: 1rem;
    }

    .learn-more-btn {
        display: block;
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
        margin: 0.75rem 0;
    }

    .service-summary {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .postpartum-cta {
        display: none;
    }

    /* Team */
    .team-grid {
        gap: 2rem;
    }

    .team-image {
        margin-bottom: 1rem;
    }

    .team-img {
        width: 160px;
        height: 160px;
    }

    .team-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .team-role {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .team-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.75rem;
    }

    .testimonial-rating {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .testimonial-author {
        gap: 0.75rem;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .testimonial-author p {
        font-size: 0.85rem;
    }

    /* Values */
    .values-text {
        text-align: center;
    }

    .values-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .value-item {
        padding: 0.6rem 0.65rem;
        font-size: 0.9rem;
    }

    .value-icon {
        font-size: 1.3rem;
    }

    .values-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .video-placeholder {
        max-width: 90%;
    }

    /* Contact */
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

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

    .btn-submit {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        margin-top: 0.75rem;
    }

    .form-message {
        margin-top: 1.25rem;
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-column li {
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }

    .footer-contact li {
        font-size: 1.1rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .logo h2 {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 1.75rem;
    }

    .nav-container {
        padding: 1rem 12px;
    }

    /* Hero Section - 更紧凑 */
    .hero {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
    }

    .hero-content {
        gap: 1.25rem;
    }

    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 0.85rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.65rem;
        margin-bottom: 1.25rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-badges {
        gap: 0.65rem;
    }

    .badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    /* Section 间距进一步缩小 */
    .about,
    .services,
    .team,
    .testimonials,
    .values,
    .contact {
        padding: 2rem 0;
    }

    .postpartum-doula-details {
        padding: 2rem 0 0 0;
    }

    .section-header {
        margin-bottom: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* About Section */
    .about-content {
        gap: 1.25rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.85rem;
    }

    .about-text>p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .about-features {
        margin-bottom: 1.25rem;
    }

    .feature-item {
        gap: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .feature-icon {
        font-size: 2rem;
        width: 2rem;
        height: 2rem;
    }

    .feature-icon img {
        width: 2rem;
        height: 2rem;
    }

    .feature-text h4 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    /* Services */
    .services-grid,
    .testimonials-grid {
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.65rem;
    }

    .service-card p {
        margin-bottom: 0.85rem;
        font-size: 0.9rem;
    }

    .service-icon .material-symbols-outlined {
        font-size: 2.75rem;
    }

    .service-price {
        padding: 0.35rem 0.75rem;
        font-size: 0.9rem;
        margin-top: 0.4rem;
        margin-bottom: 0.4rem;
    }

    /* Postpartum Details */
    .postpartum-services-grid {
        gap: 1.25rem;
        margin-bottom: 1.75rem;
    }

    .postpartum-intro {
        padding: 1.25rem 1rem;
        margin-bottom: 1.75rem;
    }

    .postpartum-intro p {
        font-size: 0.95rem;
    }

    .postpartum-service-card {
        padding: 1.5rem 1rem;
    }

    .postpartum-service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.65rem;
        padding-bottom: 0.4rem;
    }

    .postpartum-service-card>p {
        font-size: 0.85rem;
        margin-bottom: 0.65rem;
    }

    .postpartum-service-icon {
        margin-bottom: 0.85rem;
    }

    .postpartum-service-icon svg,
    .postpartum-service-icon img {
        width: 120px;
        height: 120px;
    }

    .postpartum-service-card ul li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        padding-left: 1.5rem;
    }

    .service-details-list.expanded {
        margin-bottom: 0.85rem;
    }

    .learn-more-btn {
        padding: 0.6rem 1.15rem;
        font-size: 0.9rem;
        margin: 0.65rem 0;
    }

    .service-summary {
        font-size: 0.85rem;
    }

    /* Team */
    .team-grid {
        gap: 1.75rem;
    }

    .team-image {
        margin-bottom: 0.85rem;
    }

    .team-img {
        width: 140px;
        height: 140px;
    }

    .team-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.35rem;
    }

    .team-role {
        margin-bottom: 0.65rem;
        font-size: 0.9rem;
    }

    .team-description {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem 1.25rem;
    }

    .testimonial-rating {
        font-size: 1rem;
        margin-bottom: 0.65rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1.15rem;
    }

    .testimonial-author {
        gap: 0.65rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-author h4 {
        font-size: 0.95rem;
    }

    .testimonial-author p {
        font-size: 0.8rem;
    }

    /* Values */
    .values-content {
        gap: 1.25rem;
    }

    .values-list {
        gap: 0.65rem;
    }

    .value-item {
        padding: 0.55rem 0.6rem;
        font-size: 0.85rem;
    }

    .value-icon {
        font-size: 1.2rem;
    }

    .values-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    /* Contact */
    .contact-form {
        padding: 1.75rem 1.25rem;
    }

    .form-row {
        gap: 0.85rem;
        margin-bottom: 0.85rem;
    }

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

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 90px;
    }

    .btn-submit {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        margin-top: 0.65rem;
    }

    .form-message {
        margin-top: 1.15rem;
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-content {
        gap: 1.25rem;
        margin-bottom: 1.75rem;
    }

    .footer-links {
        gap: 1.25rem;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
        margin-bottom: 0.65rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.65rem;
    }

    .footer-column li {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .footer-contact li {
        font-size: 1.1rem;
    }

    .footer-bottom {
        padding-top: 1.25rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}